]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
cris: Remove from gcc/config/cris: t-linux, linux.h, linux.opt
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
d3a1459c
UB
12020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2
3 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
4 (__math_force_eval_div): New define.
5 (__sfp_handle_exceptions): Use __math_force_eval_div to use
6 generic division to generate INVALID, DIVZERO and INEXACT
7 exceptions.
8
12667785
KT
92020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
10
11 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
12 instead of getauxval.
13 (AT_HWCAP): Define.
14 (HWCAP_ATOMICS): Define.
15 Guard detection on __gnu_linux__.
16
ef836167
MM
172020-05-05 Michael Meissner <meissner@linux.ibm.com>
18
19 * config.host: Delete changes meant for a private branch.
20 * config/rs6000/t-float128: Likewise.
21 * configure.ac: Likewise.
22 * configure: Likewise.
23
811b7636
ML
242020-05-05 Martin Liska <mliska@suse.cz>
25
26 PR gcov-profile/93623
27 * Makefile.in: Remove __gcov_flush.
28 * gcov.h (__gcov_flush): Remove.
29 * libgcov-interface.c (__gcov_flush): Remove.
30 (init_mx): Use renamed mutex.
31 (__gcov_lock): Likewise.
32 (__gcov_unlock): Likewise.
33 (__gcov_fork): Likewise.
34 (__gcov_flush): Remove.
35
c0532db4
ML
362020-05-05 Martin Liska <mliska@suse.cz>
37
38 PR gcov-profile/93623
39 * libgcov-interface.c (__gcov_fork): Do not flush
40 and reset only in child process.
41 (__gcov_execl): Dump counters only and reset them
42 only if exec* fails.
43 (__gcov_execlp): Likewise.
44 (__gcov_execle): Likewise.
45 (__gcov_execv): Likewise.
46 (__gcov_execvp): Likewise.
47 (__gcov_execve): Likewise.
48
d39f7dc8
ML
492020-05-05 Martin Liska <mliska@suse.cz>
50
51 PR gcov-profile/93623
52 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
53 * libgcov-interface.c (ALIAS_void_fn): Remove.
54 (__gcov_lock): New.
55 (__gcov_unlock): New.
56 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
57 (__gcov_reset): Likewise.
58 (__gcov_dump): Likewise.
59 * libgcov.h (__gcov_lock): New declaration.
60 (__gcov_unlock): Likewise.
61
afb9b710
UB
622020-05-01 Uroš Bizjak <ubizjak@gmail.com>
63
64 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 65 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
66 generic division to generate INVALID and DIVZERO exceptions.
67
66711279
SH
682020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
69
70 * config/rs6000/crtresfpr.S: Use .machine ppc.
71 * config/rs6000/crtresxfpr.S: Likewise.
72 * config/rs6000/crtsavfpr.S: Likewise.
73
fb22faf4
SN
742020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
75
76 PR target/94514
77 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
78 Update context->flags accroding to the frame state.
79
df73e584
UB
802020-04-19 Uroš Bizjak <ubizjak@gmail.com>
81
82 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
83 Remove unneeded assignments to volatile memory.
84
5b2f76e3
JJ
852020-04-15 Jakub Jelinek <jakub@redhat.com>
86
87 PR target/93053
88 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
89 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
90 is not defined, use just .arch armv8-a.
91 (B, M, N, OPN): Define.
92 (COMMENT): New .macro.
93 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
94 defined. Otherwise, move the operands right after the glue? and
95 comment out operands where the macros are used.
96 * configure: Regenerated.
97 * config.in: Regenerated.
98
50c78532
ILT
992020-04-07 Ian Lance Taylor <iant@golang.org>
100
101 PR libgcc/94513
102 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
103 syscall instead.
104
458ca332
ILT
1052020-04-04 Ian Lance Taylor <iant@golang.org>
106
107 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
108
710d54ed
ILT
1092020-04-03 Ian Lance Taylor <iant@golang.org>
110
111 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
112 than mmap/munmap, to avoid hooks.
113
b749b5ec
JJ
1142020-04-03 Jim Johnston <jjohnst@us.ibm.com>
115
116 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
117 (TPFRA_OFFSET): Macros removed.
118 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
119 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
120 (PG3_SKIPPING_OFFSET): New macros.
121 (__isPATrange): Use cinfc_fast for the check.
122 (__isSkipResetAddr): New function.
123 (s390_fallback_frame_state): Check for skip trace addresses. Use
124 either ICST_CRET or ICST_SRET to calculate return address
125 location.
126 (__tpf_eh_return): Handle skip trace addresses.
127
a9cd2d78
RE
1282020-03-26 Richard Earnshaw <rearnsha@arm.com>
129
130 PR target/94220
131 * config/arm/lib1funcs.asm (COND): Use a single definition for
132 unified syntax.
133 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
134 (aeabi_idivmod): Likewise.
135 (divsi3_skip_div0_test): Likewise.
136
f582ca0f
MI
1372020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
138
139 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
140
068fe0a9
AK
1412020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
142
143 * config.host: Include the new makefile fragment.
144 * config/s390/t-tpf: New file.
145
6b9ce2b4
RE
1462020-03-03 Richard Earnshaw <rearnsha@arm.com>
147
148 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
149 syntax.
150 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
151 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
152 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
153 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
154 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
155 syntax.
156 (divsi3, modsi3): Likewise.
157 (clzdi2, ctzsi2): Likewise.
158 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
159 unified syntax.
160 (UNWIND_WRAPPER): Likewise.
161
8dd5d8f3
ML
1622020-03-02 Martin Liska <mliska@suse.cz>
163
164 * libgcov-interface.c: Remove duplicate
165 declaration of __gcov_flush_mx.
166
ea0b1252
ML
1672020-02-18 Martin Liska <mliska@suse.cz>
168
169 PR ipa/92924
170 * libgcov-merge.c (merge_topn_values_set): Record
171 when a TOP N counter becomes invalid. When merging
172 remove a smallest value if the space is needed.
173
02ce382c
SL
1742020-02-12 Sandra Loosemore <sandra@codesourcery.com>
175
176 PR libstdc++/79193
177 PR libstdc++/88999
178
179 * configure: Regenerated.
180
7214fce3
JL
1812020-02-10 Jeff Law <law@redhat.com>
182
183 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
184 sections.
185 * config/frv/frvend.c: Similarly.
186
cf0f07ef
L
1872020-02-10 H.J. Lu <hongjiu.lu@intel.com>
188
189 PR libgcc/85334
190 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
191 New.
192
5602b48b
CL
1932020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
194
195 PR target/93615
196 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
197 _Unwind_gnu_Find_got.
198 * unwind-pe.h: Likewise.
199
811a475e
JJ
2002020-02-07 Jakub Jelinek <jakub@redhat.com>
201
202 PR target/93615
203 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
204 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
205 trailing :s in asm. Formatting fixes.
206 (_Unwind_decode_typeinfo_ptr): Adjust caller.
207
2d33dcfe
SL
2082020-01-31 Sandra Loosemore <sandra@codesourcery.com>
209
210 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
211
212 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
213 * config/nios2-elf-lib.h: New.
214 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
215 code for finding GOT base for nios2.
216
3ae37f92
ML
2172020-01-27 Martin Liska <mliska@suse.cz>
218
219 PR gcov-profile/93403
220 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
221 Call __gcov_indirect_call_profiler_body.
222 (__gcov_indirect_call_profiler_body): New.
223 (__gcov_indirect_call_profiler_v4_atomic): New.
224 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
225 New declaration.
226
2744b8b2
CZ
2272020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
228
229 * config/arc/crti.S: Add RF16 object attribute.
230 * config/arc/crtn.S: Likewise.
231 * config/arc/crttls.S: Likewise.
232 * config/arc/lib1funcs.S: Likewise.
233 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
234 * config/arc/lib2funcs.c: New file.
235 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
236
e8e66971
MR
2372020-01-24 Maciej W. Rozycki <macro@wdc.com>
238
239 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
240 * configure.ac: Handle `--with-toolexeclibdir='.
241 * configure: Regenerate.
242
54b3d52c
DM
2432020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
244
245 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
246
a3c1e1f2
DM
2472020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
248
249 * config/mips/gnustack.h: New file.
250 * config/mips/crti.S: Include gnustack.h.
251 * config/mips/crtn.S: Likewise.
252 * config/mips/mips16.S: Likewise.
253 * config/mips/vr4120-div.S: Likewise.
254
e9ee848d
ML
2552020-01-23 Martin Liska <mliska@suse.cz>
256
257 * libgcov-driver.c (prune_topn_counter): Remove
258 check for -1 as we only prune run-time counters
259 that do not generate an invalid state.
260
7491c17f
ML
2612020-01-22 Martin Liska <mliska@suse.cz>
262
263 PR tree-optimization/92924
264 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
265 try to find an existing value, then find an empty slot
266 if not found.
267
5f32f9cf
ML
2682020-01-22 Martin Liska <mliska@suse.cz>
269
270 PR tree-optimization/92924
271 * libgcov-driver.c (prune_topn_counter): New.
272 (prune_counters): Likewise.
273 (dump_one_gcov): Prune a run-time counter.
274 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
275 For a known value, add GCOV_TOPN_VALUES to value.
276 Otherwise, decrement all counters by one.
277
463f6499
HPN
2782020-01-18 Hans-Peter Nilsson <hp@axis.com>
279
280 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
281
84479e3a
JDA
2822020-01-18 John David Anglin <danglin@gcc.gnu.org>
283
284 PR libgcc/92988
285 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
286 DEFAULT_USE_CXA_ATEXIT is true.
287
e953433f 2882020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 289 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
290
291 * config/arm/t-arm: Check return value of gcc rather than lack of
292 output.
293
03e87724
GJL
2942020-01-14 Georg-Johann Lay <avr@gjlay.de>
295
296 * config/avr/lib1funcs.S (skip): Simplify.
297
af9bd920
KCY
2982020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
299
300 * config/gcn/atomic.c: Remove include of stdint.h.
301 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
302 __UINTPTR_TYPE__.
303
d6491d15
KCY
3042020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
305
306 * config/gcn/atomic.c: New.
307 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
308
f30dd607
GJL
3092020-01-08 Georg-Johann Lay <avr@gjlay.de>
310
311 Implement 64-bit double functions.
312
313 PR target/92055
314 * config.host (tmake_file) [target=avr]: Add t-libf7,
315 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
316 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
317 depending on sizeof (double) or sizeof (long double).
318 * config/avr/libf7: New folder.
319
5205a445
OH
3202020-01-05 Olivier Hainque <hainque@adacore.com>
321
322 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
323 by IN_LIBGCC2.
324
8d9254fc
JJ
3252020-01-01 Jakub Jelinek <jakub@redhat.com>
326
327 Update copyright years.
328
abb6c3ee
OH
3292019-12-30 Olivier Hainque <hainque@adacore.com>
330
331 * config/gthr-vxworks.h: Use _vxworks-versions.h.
332 * config/gthr-vxworks-tls.c: Likewise.
333
d7f5094a
OH
3342019-12-30 Olivier Hainque <hainque@adacore.com>
335
336 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
337 standard zero-initializer syntax.
338
49cfaa2a
OH
3392019-12-30 Olivier Hainque <hainque@adacore.com>
340
341 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
342 reference to the internal VX_GET_TLS_DATA interface.
343
89b9a554
OH
3442019-12-30 Olivier Hainque <hainque@adacore.com>
345
346 * config/vxcrtstuff.c: Fix incorrect spelling of
347 USE_INITFINI_ARRAY in guard.
348
e8aa9f55
JL
3492019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
350
351 * config.host: s/msp430*-*-elf/msp430-*-elf*.
352 Override default "extra_parts" variable.
353 * configure: Regenerate.
354 * configure.ac: Disable TM clone registry by default for
355 msp430-elfbare.
356
a9046e98
JL
3572019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
358
359 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
360 "extra_parts".
361 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
362
34a53788
JL
3632019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
364
365 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
366 true.
367
21a098f4
JL
3682019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
369
370 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
371 defined instead of its value.
372
ad8b7783
JL
3732019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
374
375 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
376 if it will have contents.
377
08d7ff78
GJL
3782019-12-05 Georg-Johann Lay <avr@gjlay.de>
379
380 PR target/92055
381 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
382
3d3a96a2
SN
3832019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
384
34b4d99d 385 PR libgcc/91737
3d3a96a2
SN
386 * config.host: Add t-gthr-noweak on *-*-musl*.
387 * config/t-gthr-noweak: New file.
388
632b5e3d
JDA
3892019-11-17 John David Anglin <danglin@gcc.gnu.org>
390
391 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
392 volatile void *. Remove trap check.
393 (__kernel_cmpxchg2): Likewise.
394 (FETCH_AND_OP_2): Adjust operand types.
395 (OP_AND_FETCH_2): Likewise.
396 (FETCH_AND_OP_WORD): Likewise.
397 (OP_AND_FETCH_WORD): Likewise.
398 (COMPARE_AND_SWAP_2): Likewise.
399 (__sync_val_compare_and_swap_4): Likewise.
400 (__sync_bool_compare_and_swap_4): Likewise.
401 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
402 (__sync_lock_test_and_set_4): Likewise.
403 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
404 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
405 for release.
406 (__sync_lock_release_8): Remove.
407
838fd641
SN
4082019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
409
410 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
411 of __sigset_t.
412
27204060
JL
4132019-11-14 Jerome Lambourg <lambourg@adacore.com>
414 Doug Rupp <rupp@adacore.com>
415 Olivier Hainque <hainque@adacore.com>
416
417 * config.host: Collapse the arm-vxworks entries into
418 a single arm-wrs-vxworks7* one.
419 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
420 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
421 kernel modules, to be overriden by libstdc++ when we link with
422 it. Rely on externally provided __exidx_start/end.
423
3004f893
DR
4242019-11-14 Doug Rupp <rupp@adacore.com>
425 Olivier Hainque <hainque@adacore.com>
426
427 * config.host: Handle aarch64*-wrs-vxworks7*.
428
36e5f4d4
OH
4292019-11-12 Olivier Hainque <hainque@adacore.com>
430
431 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
432 sources except the cxx0x support to LIB2ADDEH. We don't support
433 cxx0x on AE/653.
434 * config/t-vxworksae: New file.
435 * config.host: Handle *-*-vxworksae: Add the two aforementioned
436 Makefile fragment files at their expected position in the tmake_file
437 list, in accordance with what is done for other VxWorks variants.
438
806dd047
CG
4392019-11-12 Corentin Gay <gay@adacore.com>
440 Jerome Lambourg <lambourg@adacore.com>
441 Olivier Hainque <hainque@adacore.com>
442
443 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
444 sources to LIB2ADDEH.
445 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
446 * config/t-vxworks7: Likewise.
447
448 * config.host: Append a block at the end of the file to add the
449 t-gthr files to the tmake_file list for VxWorks after everything
450 else.
451
452 * config/vxlib.c: Rename as gthr-vxworks.c.
453 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
454
455 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
456 API and a basic error checking API, both internal. Simplify the
457 __gthread_once_t type definition and initializers. Add sections
458 for condition variables support and for the C++0x thread support,
459 conditioned against Vx653 for the latter.
460
461 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
462 implementation, leveraging the TAS internal API.
463 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
464 API, leveraging the general availability of TLS services in VxWorks7
465 post SR6xxx.
466 (__gthread_setspecific, __gthread_setspecific): Use it.
467 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
468 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
469 support based on VxWorks primitives.
470 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
471 based on VxWorks primitives.
472
78e49fb1
JL
4732019-11-06 Jerome Lambourg <lambourg@adacore.com>
474 Olivier Hainque <hainque@adacore.com>
475
476 * config/vxcrtstuff.c: New file.
477 * config/t-vxcrtstuff: New Makefile fragment.
478 * config.host: Append t-vxcrtstuff to the tmake_file list
479 on all VxWorks ports using dwarf for table based EH.
480
29f3def3
GJL
4812019-11-07 Georg-Johann Lay <avr@gjlay.de>
482
483 Support 64-bit double and 64-bit long double configurations.
484
485 PR target/92055
486 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
487 long double is a 32-bit type.
488 * config/avr/t-avrlibc: Copy double64 and long-double64
489 multilib(s) from the vanilla one.
490 * config/avr/t-copy-libgcc: New Makefile snip.
491
62ec242e
JL
4922019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
493
494 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
495 the target output object format is not ELF.
496 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
497
da5c1bbe
OE
4982019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
499
500 PR libgcc/78804
501 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
502 * fp-bit.c (pack_d, unpack_d): Remove special cases for
503 FLOAT_BIT_ORDER_MISMATCH.
504 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
505
8dc56a22
JW
5062019-11-01 Jim Wilson <jimw@sifive.com>
507
508 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
509
91c64455
JL
5102019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
511
512 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
513 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
514 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
515 Define symbols for 32-bit and f5series hardware multiply
516 register addresses.
517 Replace hard-coded register addresses with symbols.
518 Fix "_mspabi*" typo.
519 Fix whitespace.
520 * config/msp430/lib2mul.c: Add comment.
521
85093ac6
JDA
5222019-10-15 John David Anglin <danglin@gcc.gnu.org>
523
524 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
525 unsigned int. Adjust callers.
526 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
527 unsigned int *. Load relocation offset before function pointer.
528 Add barrier to ensure ordering.
529
1aea083d
JDA
5302019-10-12 John David Anglin <danglin@gcc.gnu.org>
531
532 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
533 Load PIC register after branch target. Fix white space.
534 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
535 implementations. Load PIC register after branch target. Don't
536 clobber function pointer when it points to function descriptor.
537 Use nullification instead of branch in LINUX implementation.
538
c49af82c
JDA
5392019-10-03 John David Anglin <danglin@gcc.gnu.org>
540
541 * config/pa/fptr.c: Disable -Warray-bounds warning.
542
88a51d68
RH
5432019-09-25 Richard Henderson <richard.henderson@linaro.org>
544
9e46fd07
RH
545 * config.in, configure: Re-rebuild with stock autoconf 2.69,
546 not the ubuntu modified 2.69.
547
58d169ba
RH
548 PR target/91833
549 * config/aarch64/lse-init.c: Include auto-target.h. Disable
550 initialization if !HAVE_SYS_AUXV_H.
551 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
552 * config.in, configure: Rebuild.
553
88a51d68
RH
554 PR target/91834
555 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
556 overlap the inputs.
557
761e6bb9
SZ
5582019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
559
560 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
561 CTR_EL0.IDC and CTR_EL0.DIC.
562
76c93295
CL
5632019-09-20 Christophe Lyon <christophe.lyon@st.com>
564
565 Revert:
566 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
567 Mickaël Guêné <mickael.guene@st.com>
568
569 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
570 architecture.
571
33befddc
RH
5722019-09-19 Richard Henderson <richard.henderson@linaro.org>
573
574 * config/aarch64/lse-init.c: New file.
575 * config/aarch64/lse.S: New file.
576 * config/aarch64/t-lse: New file.
577 * config.host: Add t-lse to all aarch64 tuples.
578
ae1152e5
CL
5792019-09-10 Christophe Lyon <christophe.lyon@st.com>
580 Mickaël Guêné <mickael.guene@st.com>
581
84818dbb
CL
582 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
583 architecture.
584
5852019-09-10 Christophe Lyon <christophe.lyon@st.com>
586 Mickaël Guêné <mickael.guene@st.com>
587
ae1152e5
CL
588 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
589 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
590 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
591 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
592 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
593 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
594 (__gnu_personality_sigframe_fdpic): New.
595 (get_eit_entry): Add FDPIC signal frame support.
596
5d727a4b
CL
5972019-09-10 Christophe Lyon <christophe.lyon@st.com>
598 Mickaël Guêné <mickael.guene@st.com>
599
600 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
601 (__kernel_dmb): Likewise.
602 (__fdpic_cmpxchg): New function.
603 (__fdpic_dmb): New function.
604 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
605 (gnu_Unwind_Find_got): New function.
606 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
607 * unwind-arm-common.inc (UCB_PR_GOT): New.
608 (funcdesc_t): New struct.
609 (get_eit_entry): Add FDPIC support.
610 (unwind_phase2): Likewise.
611 (unwind_phase2_forced): Likewise.
612 (__gnu_Unwind_RaiseException): Likewise.
613 (__gnu_Unwind_Resume): Likewise.
614 (__gnu_Unwind_Backtrace): Likewise.
615 * unwind-pe.h (read_encoded_value_with_base): Likewise.
616
b1e21e5a 6172019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 618 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 619
11189793
CL
620 * libgcc/crtstuff.c: Add support for FDPIC.
621
6222019-09-10 Christophe Lyon <christophe.lyon@st.com>
623
624 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 625
91dfef96
JM
6262019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
627
628 * config.host: Set cpu_type for bpf-*-* targets.
629 * config/bpf/t-bpf: Likewise.
630 * config/bpf/crtn.S: Likewise.
631 * config/bpf/crti.S: New file.
632
2f4d8951
JW
6332019-09-06 Jim Wilson <jimw@sifive.com>
634
635 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
636 (riscv*-*-freebsd*): Likewise.
637
2f2aeda9
UW
6382019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
639
640 * config.host: Remove references to spu.
641 * config/spu/: Remove directory.
642
d16017da
JL
6432019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
644
645 PR target/91306
646 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
647 element type, instead of "sizeof" the element type.
648 (__DTOR_LIST__): Likewise.
649 (__TMC_LIST__): Likewise.
650 (__do_global_dtors_aux_fini_array_entry): Likewise.
651 (__frame_dummy_init_array_entry): Likewise.
652 (__CTOR_END__): Likewise.
653 (__DTOR_END__): Likweise.
654 (__FRAME_END__): Likewise.
655 (__TMC_END__): Likewise.
656
a9fcfec3
HL
6572019-08-20 Lili Cui <lilicui@intel.com>
658
659 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
660 INTEL_COREI7_COOPERLAKE.
661
428642b1
MT
6622019-07-31 Matt Thomas <matt@3am-software.com>
663 Nick Hudson <nick@nthcliff.demon.co.uk>
664 Matthew Green <mrg@eterna.com.au>
665 Maya Rashish <coypu@sdf.org>
666
667 * config.host (hppa*-*-netbsd*): New case.
668 * config/pa/t-netbsd: New file.
669
f0efd925
JH
6702019-07-31 Joel Hutton <Joel.Hutton@arm.com>
671
672 * config/arm/cmse.c (cmse_check_address_range): Add
673 warn_unused_result attribute.
674
a861990d
ML
6752019-07-22 Martin Liska <mliska@suse.cz>
676
677 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
678 * config/pa/t-stublib: Likewise.
679
9c0dba7c
SH
6802019-07-22 Stafford Horne <shorne@gmail.com>
681
682 PR target/90362
683 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
684 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
685 instructions are not available on every processor. Change a
686 l.bnf to l.bf to fix logic issue.
687
61afc8f8
IS
6882019-07-04 Iain Sandoe <iain@sandoe.co.uk>
689
690 * config.host: Remove reference to t-darwin8.
691
179c7ef5
IS
6922019-07-03 Iain Sandoe <iain@sandoe.co.uk>
693
694 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
695 list.
696 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
697 mmacosx-version-min for crts to run across all system versions.
698 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
699 * config/t-darwin: Revise mmacosx-version-min for crts to run across
700 system versions >= 10.4.
701
596341c7
ML
7022019-07-03 Martin Liska <mliska@suse.cz>
703
704 * Makefile.in: Use topn_values instead of one_value names.
705 * libgcov-merge.c (__gcov_merge_single): Move to ...
706 (__gcov_merge_topn): ... this.
707 (merge_single_value_set): Move to ...
708 (merge_topn_values_set): ... this.
709 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
710 ...
711 (__gcov_topn_values_profiler_body): ... this.
712 (__gcov_one_value_profiler_v2): Move to ...
713 (__gcov_topn_values_profiler): ... this.
714 (__gcov_one_value_profiler_v2_atomic): Move to ...
715 (__gcov_topn_values_profiler_atomic): ... this.
716 (__gcov_indirect_call_profiler_v4): Remove.
717 * libgcov-util.c (__gcov_single_counter_op): Move to ...
718 (__gcov_topn_counter_op): ... this.
719 * libgcov.h (L_gcov_merge_single): Remove.
720 (L_gcov_merge_topn): New.
721 (__gcov_merge_single): Remove.
722 (__gcov_merge_topn): New.
723 (__gcov_one_value_profiler_v2): Move to ..
724 (__gcov_topn_values_profiler): ... this.
725 (__gcov_one_value_profiler_v2_atomic): Move to ...
726 (__gcov_topn_values_profiler_atomic): ... this.
727
1b309ca5
ML
7282019-07-03 Martin Liska <mliska@suse.cz>
729
730 * libgcov-merge.c (merge_single_value_set): Support N values.
731 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
732
5a460280
ID
7332019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
734
735 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
736 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
737 * configure.ac: Add --disable-tm-clone-registry option.
738 * configure: Regenerate.
739
45309d28
ML
7402019-06-27 Martin Liska <mliska@suse.cz>
741
742 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
743 dead assignments.
744 * libgcov-util.c: Likewise.
745
c2f7a665
ML
7462019-06-27 Martin Liska <mliska@suse.cz>
747
748 * libgcov-util.c (gcov_profile_merge): Release allocated
749 memory.
750 (calculate_overlap): Likewise.
751
a8e55c61
IS
7522019-06-25 Iain Sandoe <iain@sandoe.co.uk>
753
754 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
755 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
756 Build objects for the out of line save/restore register functions
757 so that they can be used for any supported Darwin version.
758 * config/t-darwin: Default the build Darwin version to Darwin8
759 (MacOS 10.4).
760
e5ce4cbc
ML
7612019-06-25 Martin Liska <mliska@suse.cz>
762
763 * libgcov-driver-system.c (replace_filename_variables): Do not
764 call strlen with NULL argument.
765
52a47d28
AS
7662019-06-25 Andrew Stubbs <ams@codesourcery.com>
767
768 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
769 * config/gcn/unwind-gcn.c: New file.
770
76d46331
KCY
7712019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
772 Andrew Stubbs <ams@codesourcery.com>
773
774 * configure: Regenerate.
775 * config/gcn/gthr-gcn.h: New.
776
787783a0
TV
7772019-06-18 Tom de Vries <tdevries@suse.de>
778
779 * config/nvptx/crt0.c (__main): Declare.
780
f32f7585
MG
7812019-06-17 Matthew Green <mrg@eterna.com.au>
782 Maya Rashish <coypu@sdf.org>
783
784 * config.host (aarch64*-*-netbsd*): New case.
785
0fcc78f7
JL
7862019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
787
788 * config/msp430/slli.S (__mspabi_sllll): New library function for
789 performing a logical left shift of a 64-bit value.
790 * config/msp430/srai.S (__mspabi_srall): New library function for
791 performing a arithmetic right shift of a 64-bit value.
792 * config/msp430/srll.S (__mspabi_srlll): New library function for
793 performing a logical right shift of a 64-bit value.
794
b27c1082
MT
7952019-06-14 Matt Thomas <matt@3am-software.com>
796 Matthew Green <mrg@eterna.com.au>
797 Nick Hudson <skrll@netbsd.org>
798 Maya Rashish <coypu@sdf.org>
799
800 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
801 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
802 functions to build.
803 * config/arm/t-netbsd-eabi: New file.
804
ae7deb4b
DD
8052019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
806
807 * config.host: Add PRU target.
808 * config/pru/asri.c: New file.
809 * config/pru/eqd.c: New file.
810 * config/pru/eqf.c: New file.
811 * config/pru/ged.c: New file.
812 * config/pru/gef.c: New file.
813 * config/pru/gtd.c: New file.
814 * config/pru/gtf.c: New file.
815 * config/pru/led.c: New file.
816 * config/pru/lef.c: New file.
817 * config/pru/lib2bitcountHI.c: New file.
818 * config/pru/lib2divHI.c: New file.
819 * config/pru/lib2divQI.c: New file.
820 * config/pru/lib2divSI.c: New file.
821 * config/pru/libgcc-eabi.ver: New file.
822 * config/pru/ltd.c: New file.
823 * config/pru/ltf.c: New file.
824 * config/pru/mpyll.S: New file.
825 * config/pru/pru-abi.h: New file.
826 * config/pru/pru-asm.h: New file.
827 * config/pru/pru-divmod.h: New file.
828 * config/pru/sfp-machine.h: New file.
829 * config/pru/t-pru: New file.
830
0d7b3e47
JJ
8312019-06-11 Jakub Jelinek <jakub@redhat.com>
832
833 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
834
54e2d83c
ML
8352019-06-10 Martin Liska <mliska@suse.cz>
836
837 PR bootstrap/90808
838 * libgcov.h: Add ATTRIBUTE_UNUSED.
839
92d41717
ML
8402019-06-10 Martin Liska <mliska@suse.cz>
841
842 * Makefile.in: Add __gcov_one_value_profiler_v2,
843 __gcov_one_value_profiler_v2_atomic and
844 __gcov_indirect_call_profiler_v4.
845 * libgcov-merge.c (__gcov_merge_single): Change
846 function signature.
847 (merge_single_value_set): New.
848 * libgcov-profiler.c (__gcov_one_value_profiler_body):
849 Update functionality.
850 (__gcov_one_value_profiler): Remove.
851 (__gcov_one_value_profiler_v2): ... this.
852 (__gcov_one_value_profiler_atomic): Rename to ...
853 (__gcov_one_value_profiler_v2_atomic): this.
854 (__gcov_indirect_call_profiler_v3): Rename to ...
855 (__gcov_indirect_call_profiler_v4): ... this.
856 * libgcov.h (__gcov_one_value_profiler): Remove.
857 (__gcov_one_value_profiler_atomic): Remove.
858 (__gcov_one_value_profiler_v2_atomic): New.
859 (__gcov_indirect_call_profiler_v3): Remove.
860 (__gcov_one_value_profiler_v2): New.
861 (__gcov_indirect_call_profiler_v4): New.
862 (gcov_get_counter_ignore_scaling): New function.
863
e37333ba
ML
8642019-06-07 Martin Liska <mliska@suse.cz>
865
866 * Makefile.in: Remove usage of
867 _gcov_merge_icall_topn.
868 * libgcov-driver.c (gcov_sort_n_vals): Remove.
869 (gcov_sort_icall_topn_counter): Likewise.
870 (gcov_sort_topn_counter_arrays): Likewise.
871 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
872 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
873 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
874 Likewise.
875 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
876 (struct indirect_call_tuple): Remove.
877 (__gcov_indirect_call_topn_profiler): Remove.
878 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
879 * libgcov.h (gcov_sort_n_vals): Remove.
880 (L_gcov_merge_icall_topn): Likewise.
881 (__gcov_merge_icall_topn): Likewise.
882 (__gcov_indirect_call_topn_profiler): Likewise.
883
34a4a9c2
IS
8842019-06-06 Iain Sandoe <iain@sandoe.co.uk>
885
886 * config/rs6000/t-darwin: Ensure that the unwinder is built with
887 altivec enabled.
888
d1b2f85f
JL
8892019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
890
891 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
892 section.
893 (__mspabi_slli): Likewise.
894 (__mspabi_slll_n): Likewise.
895 (__mspabi_slll): Likewise.
896 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
897 (__mspabi_srai): Likewise.
898 (__mspabi_sral_n): Likewise.
899 (__mspabi_sral): Likewise.
900 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
901 (__mspabi_srli): Likewise.
902 (__mspabi_srll_n): Likewise.
903 (__mspabi_srll): Likewise.
904
e69a13d1
YS
9052019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
906
907 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
908 Add appropriate tm_file clause as well.
909 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
910
b009eac1
JC
9112019-06-05 James Clarke <jrtc27@jrtc27.com>
912
913 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
914 rather than .data/.bss so it can be accessed via gp-relative
915 addressing.
916
781d39f2
DE
9172019-06-05 David Edelsohn <dje.gcc@gmail.com>
918
919 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
920 (CR2_REGNO): Rename to R_CR2.
921 (XER_REGNO): Rename to R_XER.
922 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
923 (VRSAVE_REGNO): Rename to R_VRSAVE.
924 (VSCR_REGNO): R_VSCR.
925
76aaa9cd
YS
9262019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
927
928 * config.host (rx-*-linux*): Add new case.
929 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
930
8fc16d72
ST
9312019-05-29 Sam Tebbs <sam.tebbs@arm.com>
932
933 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
934 function.
935 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
936 aarch64_post_frob_eh_handler_addr): Add check for b-key.
937 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
938 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
939 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
940 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
941 string.
942 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
943 string.
944 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
945
e54b1a92
RO
9462019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
947
948 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
949 Remove Solaris 9 and 10 support.
950 (sparc_is_sighandler): Likewise.
951
abbb8307
JDA
9522019-05-26 John David Anglin <danglin@gcc.gnu.org>
953
954 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
955
2581344d
L
9562019-05-17 H.J. Lu <hongjiu.lu@intel.com>
957
958 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
959 4_FP_W_TYPEs are used for IEEE quad precision.
960 * soft-fp/extendhftf2.c: Likewise.
961 * soft-fp/extendsftf2.c: Likewise.
962 * soft-fp/extendxftf2.c: Likewise.
963 * soft-fp/trunctfdf2.c: Likewise.
964 * soft-fp/trunctfhf2.c: Likewise.
965 * soft-fp/trunctfsf2.c: Likewise.
966 * soft-fp/trunctfxf2.c: Likewise.
967 * config/rs6000/ibm-ldouble.c: Likewise.
968
ccd1242e
RO
9692019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
970
971 * config.host: Simplify various *-*-solaris2.1[0-9]* to
972 *-*-solaris2*.
973 * configure.ac: Likewise.
974 * configure: Regenerate.
975
976 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
977 Solaris 10 and Solaris 11 < snv_125 handling.
978
ef5eb79d
IS
9792019-05-12 Iain Sandoe <iain@sandoe.co.uk>
980
981 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
982
4f0e90fa
HL
9832019-05-07 Hongtao Liu <hongtao.liu@intel.com>
984
985 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
986 * config/i386/cpuinfo.h (enum processor_features): Add
987 FEATURE_AVX512BF16.
988
48528842
RR
9892019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
990 Bernd Edlinger <bernd.edlinger@hotmail.de>
991 Jakub Jelinek <jakub@redhat.com>
992
993 PR target/89093
994 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
995 * config/arm/unwind-arm.c: Likewise.
996 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
997 attribute for ARM.
998
887e182f
MC
9992019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1000
1001 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1002 (RT_SIGRETURN): Update.
1003 (nds32_fallback_frame_state): Update.
1004
a90b0cdd
MS
10052019-02-21 Martin Sebor <msebor@redhat.com>
1006
1007 * libgcc2.h (__clear_cache): Correct signature.
1008 * libgcc2.c (__clear_cache): Same.
1009
1ed28eda
UB
10102019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1011
1012 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1013 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1014
fe95aee9
UB
10152019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1016
1017 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1018 regno instead of index to DWARF_ZERO_REG.
1019
bf7988f1
EB
10202019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1021
1022 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1023 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1024
ba2c1ca8
UB
10252019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1026
1027 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1028 to HOST_LIBGCC2_CFLAGS.
1029
6395ba73
L
10302019-01-23 Joseph Myers <joseph@codesourcery.com>
1031
1032 PR libgcc/88931
ba2c1ca8 1033 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 1034
756721ba
ML
10352019-01-18 Martin Liska <mliska@suse.cz>
1036
1037 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1038 to ...
1039 (__gcov_indirect_call_profiler_v3): ... this.
1040 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1041 (__gcov_indirect_call_profiler_v3): Likewise.
1042 * Makefile.in: Bump function name.
1043
d273c40a
ML
10442019-01-18 Martin Liska <mliska@suse.cz>
1045
1046 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1047 (gcov_version): Use in gcov_error.
1048 (merge_one_data): Likewise.
1049 (dump_one_gcov): Likewise.
1050
be9d9fdb
ML
10512019-01-18 Martin Liska <mliska@suse.cz>
1052
1053 * libgcov-driver.c (gcov_version_string): New function.
1054 (gcov_version): Convert version integer into string.
1055
91d7b7fe
AS
10562019-01-17 Andrew Stubbs <ams@codesourcery.com>
1057 Kwok Cheung Yeung <kcy@codesourcery.com>
1058 Julian Brown <julian@codesourcery.com>
1059 Tom de Vries <tom@codesourcery.com>
1060
1061 * config.host: Recognize amdgcn*-*-amdhsa.
1062 * config/gcn/crt0.c: New file.
1063 * config/gcn/lib2-divmod-hi.c: New file.
1064 * config/gcn/lib2-divmod.c: New file.
1065 * config/gcn/lib2-gcn.h: New file.
1066 * config/gcn/sfp-machine.h: New file.
1067 * config/gcn/t-amdgcn: New file.
1068
67914693
SL
10692019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1070
1071 PR other/16615
1072
1073 * config/c6x/libunwind.S: Mechanically replace "can not" with
1074 "cannot".
1075 * config/tilepro/atomic.h: Likewise.
1076 * config/vxlib-tls.c: Likewise.
1077 * generic-morestack-thread.c: Likewise.
1078 * generic-morestack.c: Likewise.
1079 * mkmap-symver.awk: Likewise.
1080
a5544970
JJ
10812019-01-01 Jakub Jelinek <jakub@redhat.com>
1082
1083 Update copyright years.
1084
da77eace
L
10852018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1086
1087 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1088 to ignore -Waddress-of-packed-member.
1089
72e3a529
TP
10902018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1091
1092 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1093 parameter and corresponding code.
1094 (ARM_FUNC_START): Likewise in both definitions.
1095 Also update footer comment about condition that need to match with
1096 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1097 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1098 defined. Weakly define it in this case.
1099 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1100 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1101 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1102 comment to keep condition in sync with the one in
1103 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1104
5d54c798
WX
11052018-12-18 Wei Xiao <wei3.xiao@intel.com>
1106
1107 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1108 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1109
5a2580b6
RV
11102018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1111
1112 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1113 and .cfi_endproc directives for VxWorks targets.
1114
c0c5112b
PK
11152018-12-05 Paul Koning <ni1d@arrl.net>
1116
1117 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1118
1ea7ea18
AM
11192018-11-27 Alan Modra <amodra@gmail.com>
1120
1121 * config/rs6000/morestack.S (__stack_split_initialize),
1122 (__morestack_get_guard, __morestack_set_guard),
1123 (__morestack_make_guard): Provide CFI covering these functions.
1124 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1125
ff641ae1
XQ
11262018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1127
1ea7ea18 1128 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1129 (sc_pt_regs_lr): Update for kernel.
1130 (sc_pt_regs_tls): Update for kernel.
1131
28209372
XQ
11322018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1133
1134 * config/csky/linux-unwind.h: Fix coding style.
1135
b2a71af6
XQ
11362018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1137
1138 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1139 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1140 instructions to adapt to changes in the kernel
1141
d929e137
SH
11422018-11-09 Stafford Horne <shorne@gmail.com>
1143 Richard Henderson <rth@twiddle.net>
1144
1145 * config.host: Add OpenRISC support.
1146 * config/or1k/*: New.
1147
222cfefa
KC
11482018-11-08 Kito Cheng <kito@andestech.com>
1149
1150 * soft-fp/adddf3.c: Update from glibc.
1151 * soft-fp/addsf3.c: Likewise.
1152 * soft-fp/addtf3.c: Likewise.
1153 * soft-fp/divdf3.c: Likewise.
1154 * soft-fp/divsf3.c: Likewise.
1155 * soft-fp/divtf3.c: Likewise.
1156 * soft-fp/double.h: Likewise.
1157 * soft-fp/eqdf2.c: Likewise.
1158 * soft-fp/eqsf2.c: Likewise.
1159 * soft-fp/eqtf2.c: Likewise.
1160 * soft-fp/extenddftf2.c: Likewise.
1161 * soft-fp/extended.h: Likewise.
1162 * soft-fp/extendhftf2.c: Likewise.
1163 * soft-fp/extendsfdf2.c: Likewise.
1164 * soft-fp/extendsftf2.c: Likewise.
1165 * soft-fp/extendxftf2.c: Likewise.
1166 * soft-fp/fixdfdi.c: Likewise.
1167 * soft-fp/fixdfsi.c: Likewise.
1168 * soft-fp/fixdfti.c: Likewise.
1169 * soft-fp/fixhfti.c: Likewise.
1170 * soft-fp/fixsfdi.c: Likewise.
1171 * soft-fp/fixsfsi.c: Likewise.
1172 * soft-fp/fixsfti.c: Likewise.
1173 * soft-fp/fixtfdi.c: Likewise.
1174 * soft-fp/fixtfsi.c: Likewise.
1175 * soft-fp/fixtfti.c: Likewise.
1176 * soft-fp/fixunsdfdi.c: Likewise.
1177 * soft-fp/fixunsdfsi.c: Likewise.
1178 * soft-fp/fixunsdfti.c: Likewise.
1179 * soft-fp/fixunshfti.c: Likewise.
1180 * soft-fp/fixunssfdi.c: Likewise.
1181 * soft-fp/fixunssfsi.c: Likewise.
1182 * soft-fp/fixunssfti.c: Likewise.
1183 * soft-fp/fixunstfdi.c: Likewise.
1184 * soft-fp/fixunstfsi.c: Likewise.
1185 * soft-fp/fixunstfti.c: Likewise.
1186 * soft-fp/floatdidf.c: Likewise.
1187 * soft-fp/floatdisf.c: Likewise.
1188 * soft-fp/floatditf.c: Likewise.
1189 * soft-fp/floatsidf.c: Likewise.
1190 * soft-fp/floatsisf.c: Likewise.
1191 * soft-fp/floatsitf.c: Likewise.
1192 * soft-fp/floattidf.c: Likewise.
1193 * soft-fp/floattihf.c: Likewise.
1194 * soft-fp/floattisf.c: Likewise.
1195 * soft-fp/floattitf.c: Likewise.
1196 * soft-fp/floatundidf.c: Likewise.
1197 * soft-fp/floatundisf.c: Likewise.
1198 * soft-fp/floatunditf.c: Likewise.
1199 * soft-fp/floatunsidf.c: Likewise.
1200 * soft-fp/floatunsisf.c: Likewise.
1201 * soft-fp/floatunsitf.c: Likewise.
1202 * soft-fp/floatuntidf.c: Likewise.
1203 * soft-fp/floatuntihf.c: Likewise.
1204 * soft-fp/floatuntisf.c: Likewise.
1205 * soft-fp/floatuntitf.c: Likewise.
1206 * soft-fp/gedf2.c: Likewise.
1207 * soft-fp/gesf2.c: Likewise.
1208 * soft-fp/getf2.c: Likewise.
1209 * soft-fp/half.h: Likewise.
1210 * soft-fp/ledf2.c: Likewise.
1211 * soft-fp/lesf2.c: Likewise.
1212 * soft-fp/letf2.c: Likewise.
1213 * soft-fp/muldf3.c: Likewise.
1214 * soft-fp/mulsf3.c: Likewise.
1215 * soft-fp/multf3.c: Likewise.
1216 * soft-fp/negdf2.c: Likewise.
1217 * soft-fp/negsf2.c: Likewise.
1218 * soft-fp/negtf2.c: Likewise.
1219 * soft-fp/op-1.h: Likewise.
1220 * soft-fp/op-2.h: Likewise.
1221 * soft-fp/op-4.h: Likewise.
1222 * soft-fp/op-8.h: Likewise.
1223 * soft-fp/op-common.h: Likewise.
1224 * soft-fp/quad.h: Likewise.
1225 * soft-fp/single.h: Likewise.
1226 * soft-fp/soft-fp.h: Likewise.
1227 * soft-fp/subdf3.c: Likewise.
1228 * soft-fp/subsf3.c: Likewise.
1229 * soft-fp/subtf3.c: Likewise.
1230 * soft-fp/truncdfsf2.c: Likewise.
1231 * soft-fp/trunctfdf2.c: Likewise.
1232 * soft-fp/trunctfhf2.c: Likewise.
1233 * soft-fp/trunctfsf2.c: Likewise.
1234 * soft-fp/trunctfxf2.c: Likewise.
1235 * soft-fp/unorddf2.c: Likewise.
1236 * soft-fp/unordsf2.c: Likewise.
1237 * soft-fp/unordtf2.c: Likewise.
1238
2901f42f
VK
12392018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1240
1241 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1242 * config/i386/cpuinfo.h (processor_types): Add znver2.
1243
4310ca66
PK
12442018-11-01 Paul Koning <ni1d@arrl.net>
1245
1246 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1247 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1248
22e05272
JM
12492018-10-31 Joseph Myers <joseph@codesourcery.com>
1250
1251 PR bootstrap/82856
1252 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1253 * configure: Regenerate.
1254
8180cde0
CZ
12552018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1256
1257 * config/arc/lib1funcs.S (_muldi3): New function.
1258 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1259
be7b071e
RV
12602018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1261
1262 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1263
3239d726
ML
12642018-10-25 Martin Liska <mliska@suse.cz>
1265
1266 PR other/87735
1267 * libgcov-profiler.c: Revert.
1268
19b55958
ML
12692018-10-24 Martin Liska <mliska@suse.cz>
1270
1271 * libgcov-profiler.c: Start from 1 in order to distinguish
1272 functions which were seen and these that were not.
1273
a9a2fddb
PK
12742018-10-18 Paul Koning <ni1d@arrl.net>
1275
1276 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1277 standard.
1278 * divmod.c: Update references to __udivmodsi4.
1279 * udivmod.c: Ditto.
1280 * udivhi3.c: New file.
1281 * udivmodhi4.c: New file.
1282 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1283
fc8abc46
RV
12842018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1285
1286 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1287
87f918e3
OH
12882018-10-12 Olivier Hainque <hainque@adacore.com>
1289
1290 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1291 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1292
be86efa7
PK
12932018-10-08 Paul Koning <ni1d@arrl.net>
1294
1295 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1296
3edbcdbe
ML
12972018-10-04 Martin Liska <mliska@suse.cz>
1298
1299 PR gcov-profile/84107
1300 * libgcov-profiler.c (__gcov_indirect_call):
1301 Change type to indirect_call_tuple.
1302 (struct indirect_call_tuple): New struct.
1303 (__gcov_indirect_call_topn_profiler): Change type.
1304 (__gcov_indirect_call_profiler_v2): Use the new
1305 variables.
1306 * libgcov.h (struct indirect_call_tuple): New struct
1307 definition.
1308
af8096fc
UB
13092018-10-03 Uros Bizjak <ubizjak@gmail.com>
1310
1311 * libgcc2.c (isnan): Use __builtin_isnan.
1312 (isfinite): Use __builtin_isfinite.
1313 (isinf): Use __builtin_isinf.
1314
0a76bba4
UB
13152018-09-26 Uros Bizjak <ubizjak@gmail.com>
1316
1317 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1318
5244089f
OH
13192018-09-21 Alexandre Oliva <oliva@adacore.com>
1320
1321 * config/vxcache.c: New file. Provide __clear_cache, based on
1322 the cacheTextUpdate VxWorks service.
1323 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1324 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1325 * config/t-vxwoks7: Likewise.
1326
512cc015
ML
13272018-09-21 Martin Liska <mliska@suse.cz>
1328
1329 * libgcov-driver.c (crc32_unsigned): Remove.
1330 (gcov_histogram_insert): Likewise.
1331 (gcov_compute_histogram): Likewise.
1332 (compute_summary): Simplify rapidly.
1333 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1334 (merge_summary): Rapidly simplify.
1335 (dump_one_gcov): Ignore gcov_summary.
1336 (gcov_do_dump): Do not handle program summary, it's not
1337 used.
1338 * libgcov-util.c (tag_summary): Remove.
1339 (read_gcda_finalize): Fix coding style.
1340 (read_gcda_file): Initialize curr_object_summary.
1341 (compute_summary): Remove.
1342 (calculate_overlap): Remove settings of run_max.
1343
36ff254b
MC
13442018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1345
1346 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1347 ucontext_t type instead.
1348 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1349
229a033d
KC
13502018-09-21 Kito Cheng <kito.cheng@gmail.com>
1351
1352 * config/nds32/t-nds32-glibc: New file.
1353
53c6feb2
RO
13542018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1355
1356 * configure.ac (solaris_ld_v2_maps): New test.
1357 * configure: Regenerate.
1358 * Makefile.in (solaris_ld_v2_maps): New variable.
1359 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1360 if supported.
1361
ebdb6f23
RE
13622018-08-23 Richard Earnshaw <rearnsha@arm.com>
1363
1364 PR target/86951
1365 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1366 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1367 to build.
1368
a49c064e
IS
13692018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1370
1ea7ea18 1371 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1372 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1373 * config/darwin10-unwind-find-enc-func.c: … to here.
1374 * config/t-darwin: Build Darwin10 unwinder shim crt.
1375 * libgcc/config.host: Add the Darwin10 unwinder shim.
1376
9a5b8df7
RV
13772018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1378
1379 * config.host: Add crtbegin.o and crtend.o for
1380 powerpc-wrs-vxworks target.
1381
4cd0bc3b
J
13822018-08-17 Jojo <jijie_rong@c-sky.com>
1383 Huibin Wang <huibin_wang@c-sky.com>
1384 Sandra Loosemore <sandra@codesourcery.com>
1385 Chung-Lin Tang <cltang@codesourcery.com>
1386
1387 C-SKY port: libgcc
1388
1389 * config.host: Add C-SKY support.
1390 * config/csky/*: New.
1391
a4931745
CJW
13922018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1393
1394 * config/nds32/t-nds32-isr: Rearrange object dependency.
1395 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1396 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1397 and registers usage.
1398 * config/nds32/isr-library/excp_isr.S: Ditto.
1399 * config/nds32/isr-library/intr_isr.S: Ditto.
1400 * config/nds32/isr-library/reset.S: Ditto.
1401 * config/nds32/isr-library/restore_all.inc: Ditto.
1402 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1403 * config/nds32/isr-library/restore_partial.inc: Ditto.
1404 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1405 * config/nds32/isr-library/save_all.inc: Ditto.
1406 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1407 * config/nds32/isr-library/save_partial.inc: Ditto.
1408 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1409 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1410
2b1969f6
JDA
14112018-08-11 John David Anglin <danglin@gcc.gnu.org>
1412
1413 * config/pa/linux-atomic.c: Update comment.
1414 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1415 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1416 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1417 __ATOMIC_RELAXED for atomic loads.
1418 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1419 unordered store to release lock.
1420 (__sync_lock_release_8): Likewise.
1421 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1422
89fff9cc
NP
14232018-08-02 Nicolas Pitre <nico@fluxnic.net>
1424
1425 PR libgcc/86512
1426 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1427 exponent goes negative. Update my email address.
1428 * config/arm/ieee754-sf.S: Likewise.
1429
fd2e1dcd
ML
14302018-08-01 Martin Liska <mliska@suse.cz>
1431
1432 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1433 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1434
b7415975
CL
14352018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1436
1437 * config/arm/ieee754-df.S: Fix comment for code working on
1438 architectures >= 4.
1439 * config/arm/ieee754-sf.S: Likewise.
1440
b72e71a3
L
14412018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1442
1443 PR libgcc/85334
1444 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1445 Removed.
1446
1c686aa4
JC
14472018-07-05 James Clarke <jrtc27@jrtc27.com>
1448
1449 * configure: Regenerated.
1450
b61c9b99
RO
14512018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1452
1453 * Makefile.in (install_leaf): Use enable_gcov instead of
1454 enable_libgcov.
1455
1765b023
RV
14562018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1457
1458 * configure.ac: Add --disable-gcov option.
1459 * configure: Regenerate.
1460 * Makefile.in: Honour @enable_gcov@.
1461
9b2e34ef
CL
14622018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1463
1464 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1465 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1466 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1467 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1468 __ARM_ARCH__.
1469 * config/arm/ieee754-sf.S: Likewise.
1470 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1471
d1b0dd54
CL
14722018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1473
1474 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1475 longer supported.
1476 * config/arm/ieee754-sf.S: Likewise.
1477
1f3fa525
TM
14782018-06-20 Than McIntosh <thanm@google.com>
1479
1480 PR libgcc/86213
1481 * generic-morestack.c (allocate_segment): Move calls to getenv and
1482 getpagesize to __morestack_load_mmap.
1483 (__morestack_load_mmap) Initialize static_pagesize and
1484 use_guard_page here so as to avoid clobbering SSE regs during a
1485 __morestack call.
1486
6a8886e4
MM
14872018-06-18 Michael Meissner <meissner@linux.ibm.com>
1488
1489 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1490 support modules with -mno-gnu-attribute.
1491 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1492
fb997097
OH
14932018-06-07 Olivier Hainque <hainque@adacore.com>
1494
1495 * config/t-vxworks (LIBGCC_INCLUDES): Add
1496 -I$(MULTIBUILDTOP)../../gcc/include.
1497 * config/t-vxworks7: Likewise. Reformat a bit to match
1498 the t-vxworks layout.
1499
a548a5a1
OM
15002018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1501
1502 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1503
244aebfd
ML
15042018-06-07 Martin Liska <mliska@suse.cz>
1505
1506 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1507 all_prg.
244aebfd 1508
6c086e8c
ML
15092018-06-07 Martin Liska <mliska@suse.cz>
1510
92a285c1 1511 PR bootstrap/86057
6c086e8c 1512 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1513 memcpy instead of mempcpy.
6c086e8c 1514 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1515 prefix and set it.
6c086e8c 1516 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1517 here and properly copy content into it.
6c086e8c 1518 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1519 field, change prefix from size_t into char *.
6c086e8c
ML
1520 (compute_summary): Do not calculate longest filename.
1521 (gcov_do_dump): Release memory of gf.filename after each file.
1522 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1523 compute_summary.
6c086e8c
ML
1524 (calculate_overlap): Likewise.
1525
97a53d1d
ML
15262018-06-05 Martin Liska <mliska@suse.cz>
1527
1528 PR gcov-profile/47618
1529 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1530 function.
97a53d1d
ML
1531 (gcov_exit_open_gcda_file): Use it.
1532
7f3577f5
ML
15332018-06-05 Martin Liska <mliska@suse.cz>
1534
1535 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1536 of gcov_ctr_summary.
1537 (compute_summary): Do it just for a single summary.
1538 (merge_one_data): Likewise.
1539 (merge_summary): Simplify as we read just single summary.
1540 (dump_one_gcov): Pass proper argument.
1541 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1542 single summary.
1543 (gcov_info_count_all_cold): Likewise.
1544 (calculate_overlap): Likewise.
1545
cf3cd43d
CJW
15462018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1547 Monk Chiang <sh.chiang04@gmail.com>
1548
1549 * config.host (nds32*-linux*): New.
1550 * config/nds32/linux-atomic.c: New file.
1551 * config/nds32/linux-unwind.h: New file.
1552
8b8003ed
UB
15532018-05-31 Uros Bizjak <ubizjak@gmail.com>
1554
1555 PR target/85591
1556 * config/i386/cpuinfo.c (get_amd_cpu): Return
1557 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1558
bbdf026f
RV
15592018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1560
92a285c1 1561 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1562
0e8f29da
ML
15632018-05-29 Martin Liska <mliska@suse.cz>
1564
92a285c1 1565 PR gcov-profile/85759
0e8f29da 1566 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1567 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1568 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1569 overwrite a gcov file with a different timestamp.
0e8f29da 1570
54fd1590
K
15712018-05-23 Kalamatee <kalamatee@gmail.com>
1572
1573 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1574 path to Lf$finfty.
1575
09baee1a
KC
15762018-05-18 Kito Cheng <kito.cheng@gmail.com>
1577 Monk Chiang <sh.chiang04@gmail.com>
1578 Jim Wilson <jimw@sifive.com>
1579
1580 * config/riscv/save-restore.S: Add support for rv32e.
1581
c3f808d3
KT
15822018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1583
1584 * config/arm/libunwind.S: Update comment relating to armv5.
1585
fcf4f831
JL
15862018-05-17 Jerome Lambourg <lambourg@adacore.com>
1587
1588 * config/arm/cmse.c (cmse_check_address_range): Replace
1589 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1590
74b2bb19
OM
15912018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1592
1593 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1594 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1595
50e461df
OM
15962018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1597
1598 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1599 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1600
e5f1cdb1
AC
16012018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1602
1603 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1604
8f479d7a
AT
16052018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1606 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1607
1608 PR libgcc/84292
1609 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1610 op_and_fetch to return the right result.
1611
ae043291
AM
16122018-04-27 Alan Modra <amodra@gmail.com>
1613
1614 PR libgcc/85532
1615 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1616 -fno-asynchronous-unwind-tables.
1617
ba169b74
CJW
16182018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1619
1620 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1621 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1622
ffc2fc06
L
16232018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1624
1625 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1626 when including "config/i386/shadow-stack-unwind.h".
1627
7b47ecf2
L
16282018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 * configure: Regenerated.
1631
661eb8f9
MM
16322018-04-20 Michael Meissner <meissner@linux.ibm.com>
1633
1634 PR target/85456
1635 * config/rs6000/_powikf2.c: New file. Add support for the
1636 __builtin_powil function when long double is IEEE 128-bit floating
1637 point.
1638 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1639 __powikf2 support.
1640 (__powikf2): Likewise.
1641 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1642 (__powikf2_hw): Likewise.
1643 (__powikf2): Likewise.
1644 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1645 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1646 (_powikf2-hw.c): Likewise.
1647
5707be3c
L
16482018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 PR libgcc/85334
1651 * unwind-generic.h (_Unwind_Frames_Increment): New.
1652 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1653 Likewise.
1654 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1655 count with _Unwind_Frames_Increment.
1656 (_Unwind_ForcedUnwind_Phase2): Likewise.
1657
5f9ca0b8
L
16582018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1659
1660 PR libgcc/85379
1661 * config/i386/morestack.S (__stack_split_initialize): Add
1662 _CET_ENDBR.
1663
a0e1df88
JJ
16642018-04-19 Jakub Jelinek <jakub@redhat.com>
1665
1666 * configure: Regenerated.
1667
001ddaa8
DM
16682018-04-18 David Malcolm <dmalcolm@redhat.com>
1669
1670 PR jit/85384
1671 * configure: Regenerate.
1672
a57f99ba
JJ
16732018-04-16 Jakub Jelinek <jakub@redhat.com>
1674
1675 PR target/84945
1676 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1677 -Wdangling-else warnings. Mask shift counts to avoid
1678 -Wshift-count-negative and -Wshift-count-overflow false positives.
1679
4d47fe5a
RB
16802018-04-06 Ruslan Bukin <br@bsdpad.com>
1681
1682 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1683
059cc8ac
L
16842018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1685
1686 PR target/85100
1687 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1688 (XSTATE_FP): Likewise.
1689 (XSTATE_SSE): Likewise.
1690 (XSTATE_YMM): Likewise.
1691 (XSTATE_OPMASK): Likewise.
1692 (XSTATE_ZMM): Likewise.
1693 (XSTATE_HI_ZMM): Likewise.
1694 (XCR_AVX_ENABLED_MASK): Likewise.
1695 (XCR_AVX512F_ENABLED_MASK): Likewise.
1696 (get_available_features): Enable AVX and AVX512 features only
1697 if their states are supported by OSXSAVE.
1698
f2620385
IT
16992018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1700
1701 PR target/85025
1702 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1703 Fix a typo, tmp => 255.
1704
ae6dca8c
JJ
17052018-03-20 Jakub Jelinek <jakub@redhat.com>
1706
1707 PR target/84945
1708 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1709 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1710 ifndef SHARED only.
1711 (set_feature): Define.
1712 (get_available_features): Use set_feature macro. Set __cpu_features2
1713 to the second word of features ifndef SHARED.
1714
c36b04c1
JK
17152018-03-15 Julia Koval <julia.koval@intel.com>
1716
1717 * config/i386/cpuinfo.c (get_available_features): Add
1718 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1719 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1720 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1721 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1722 FEATURE_AVX512BITALG.
1723
79ab5364
JK
17242018-03-14 Julia Koval <julia.koval@intel.com>
1725
1726 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1727 icelake client and icelake server.
1728
66a00b11
JDA
17292018-03-06 John David Anglin <danglin@gcc.gnu.org>
1730
1731 * config/pa/fptr.c (_dl_read_access_allowed): New.
1732 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1733
ce579a4f
JJ
17342018-02-28 Jakub Jelinek <jakub@redhat.com>
1735
1736 PR debug/83917
1737 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1738 $asm_hidden_op if visibility ("hidden") attribute works.
1739 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1740 * config/i386/i386-asm.h: Don't include auto-host.h.
1741 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1742 PACKAGE_URL): Don't undefine.
1743 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1744 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1745 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1746 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1747 definition instead of hardcoded .hidden.
1748 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1749 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1750 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1751 (USE_GAS_CFI_DIRECTIVES): Don't define.
1752 * configure: Regenerated.
1753 * config.in: Likewise.
1754
e5868319
JJ
17552018-02-26 Jakub Jelinek <jakub@redhat.com>
1756
1757 PR debug/83917
1758 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1759 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1760 inclusion of auto-target.h and auto-host.h.
1761 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1762 __GCC_HAVE_DWARF2_CFI_ASM.
1763 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1764 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1765 cfi_pop): Define.
1766 * config/i386/cygwin.S: Don't include auto-host.h here, just
1767 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1768 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1769 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1770 * config/i386/resms64fx.h: Add cfi_* directives.
1771 * config/i386/resms64x.h: Likewise.
1772
faef260e
MF
17732018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1774
1775 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1776 .literal_position directive.
1777 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1778
14e335ed
IT
17792018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1780
1781 PR target/84148
1782 * configure: Regenerate.
1783
95df0433
IT
17842018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1785
1786 PR target/84239
1787 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1788 Include cetintrin.h not x86intrin.h.
1789
f8de876d
IT
17902018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1791
1792 PR target/84239
95df0433 1793 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1794 Use new _get_ssp and _inc_ssp intrinsics.
1795
02da1e9c
JK
17962018-02-02 Julia Koval <julia.koval@intel.com>
1797
1798 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1799
048c6a9a
CZ
18002018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1801
1802 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1803 option.
1804 (__divsi3): Use RF16 safe registers.
1805 (__modsi3): Likewise.
1806
0889f168
MF
18072018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1808
1809 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1810 (__divsf3): Make NaN return value quiet.
1811 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1812 (__divdf3): Make NaN return value quiet.
1813
bc8b0d04
SP
18142018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1815
1816 * config/rl78/anddi3.S: New assembly file.
1817 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1818
99cc06ea
SP
18192018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1820
1821 * config/rl78/umindi3.S: New assembly file.
1822 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1823
6e9007a0
SP
18242018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1825
1826 * config/rl78/smindi3.S: New assembly file.
1827 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1828
d975e494 18292018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1830
d975e494
SP
1831 * config/rl78/smaxdi3.S: New assembly file.
1832 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1833
6a18c146 18342018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1835
5dd16013
SP
1836 * config/rl78/umaxdi3.S: New assembly file.
1837 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1838
07baf4a5
JDA
18392018-01-21 John David Anglin <danglin@gcc.gnu.org>
1840
1841 PR lto/83452
1842 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1843 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1844
dbc3af4f
RS
18452018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1846
1847 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1848 (DWARF_LAZY_REGISTER_VALUE): Define.
1849 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1850 to provide a fallback register value.
1851
68df9882
MM
18522018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1853
1854 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1855 __ibm128, instead of trying to use long double.
1856 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1857 accomidate -mabi=ieeelongdouble multilibs.
1858 (CVT_IBM128_TO_FLOAT128): Likewise.
1859 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1860 the appropriate IBM extended double type.
1861 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1862 (__gcc_qsub): Likewise.
1863 (__gcc_qmul): Likewise.
1864 (__gcc_qdiv): Likewise.
1865 (pack_ldouble): Likewise.
1866 (__gcc_qneg): Likewise.
1867 (__gcc_qeq): Likewise.
1868 (__gcc_qne): Likewise.
1869 (__gcc_qge): Likewise.
1870 (__gcc_qle): Likewise.
1871 (__gcc_stoq): Likewise.
1872 (__gcc_dtoq): Likewise.
1873 (__gcc_itoq): Likewise.
1874 (__gcc_utoq): Likewise.
1875 (__gcc_qunord): Likewise.
1876 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1877 quad-float128.h for the definitions.
1878 (COPYSIGN): Use the f128 version instead of the q version.
1879 (INFINITY): Likewise.
1880 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1881 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1882 quad-float128.h for the definitions.
1883 (COPYSIGN): Use the f128 version instead of the q version.
1884 (INFINITY): Likewise.
1885 (FABS): Likewise.
1886 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1887 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1888 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1889
64b371b1
SH
18902018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1891
1892 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1893 configuration.
1894
85ec4feb
JJ
18952018-01-03 Jakub Jelinek <jakub@redhat.com>
1896
1897 Update copyright years.
1898
18992017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1900
1901 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1902 * config/riscv/multi3.c: New file.
1903 * config/riscv/multi3.S: Remove.
1904
3a4c600f
JW
19052017-12-08 Jim Wilson <jimw@sifive.com>
1906
1907 * config/riscv/div.S: Use FUNC_* macros.
1908 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1909 * config/riscv/save-restore.S: Likewise.
1910 * config/riscv/riscv-asm.h: New.
1911
75ad35b5
MM
19122017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1913
6ae3512c
MM
1914 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1915 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1916
75ad35b5
MM
1917 PR libgcc/83112
1918 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1919 correct type for all ifunc resolvers to silence -Wattribute-alias
1920 warnings. Eliminate the forward declaration of the resolver
1921 functions which is no longer needed.
1922 (__subkf3_resolve): Likewise.
1923 (__mulkf3_resolve): Likewise.
1924 (__divkf3_resolve): Likewise.
1925 (__negkf2_resolve): Likewise.
1926 (__eqkf2_resolve): Likewise.
1927 (__nekf2_resolve): Likewise.
1928 (__gekf2_resolve): Likewise.
1929 (__gtkf2_resolve): Likewise.
1930 (__lekf2_resolve): Likewise.
1931 (__ltkf2_resolve): Likewise.
1932 (__unordkf2_resolve): Likewise.
1933 (__extendsfkf2_resolve): Likewise.
1934 (__extenddfkf2_resolve): Likewise.
1935 (__trunckfsf2_resolve): Likewise.
1936 (__trunckfdf2_resolve): Likewise.
1937 (__fixkfsi_resolve): Likewise.
1938 (__fixkfdi_resolve): Likewise.
1939 (__fixunskfsi_resolve): Likewise.
1940 (__fixunskfdi_resolve): Likewise.
1941 (__floatsikf_resolve): Likewise.
1942 (__floatdikf_resolve): Likewise.
1943 (__floatunsikf_resolve): Likewise.
1944 (__floatundikf_resolve): Likewise.
1945 (__extendkftf2_resolve): Likewise.
1946 (__trunctfkf2_resolve): Likewise.
1947
1948 PR libgcc/83103
1949 * config/rs6000/quad-float128.h (TF): Don't define if long double
1950 is IEEE 128-bit floating point.
1951 (TCtype): Define as either TCmode or KCmode, depending on whether
1952 long double is IEEE 128-bit floating point.
1953 (__mulkc3_sw): Add declarations for software/hardware versions of
1954 complex multiply/divide.
1955 (__divkc3_sw): Likewise.
1956 (__mulkc3_hw): Likewise.
1957 (__divkc3_hw): Likewise.
1958 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1959 handlers to switch between using software emulation and hardware
1960 float128 instructions, build the complex multiply/divide functions
1961 for both software and hardware support.
1962 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1963 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1964 (__divkc3_resolve): Likewise.
1965 (__mulkc3): Likewise.
1966 (__divkc3): Likewise.
1967 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1968 (fp128_hw_src): Likewise.
1969 (fp128_hw_static_obj): Likewise.
1970 (fp128_hw_shared_obj): Likewise.
1971 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1972 _mulkc3.c and _divkc3.c, changing the function name.
1973 (_divkc3-hw.c): Likewise.
1974 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1975 and _divkc3-hw.c.
1976
c234d831
UB
19772017-11-26 Julia Koval <julia.koval@intel.com>
1978
1979 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1980 * config/i386/cpuinfo.h (processor_subtypes): Add
1981 INTEL_COREI7_CANNONLAKE.
1982
1ebafce0
IT
19832017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1984
1985 PR bootstrap/83015
1986 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1987 parameter.
1988 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1989 * config/ia64/unwind-ia64.c: Add frames parameter.
1990 * unwind-sjlj.c: Likewise.
1991
6a10fff4
IT
19922017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1993
1994 * config/i386/linux-unwind.h: Include
1995 config/i386/shadow-stack-unwind.h.
1996 * config/i386/shadow-stack-unwind.h: New file.
1997 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1998 pass it to _Unwind_Frames_Extra.
1999 * unwind-generic.h (_Unwind_Frames_Extra): New.
2000 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2001 parameter. Add local variable frames to count number of frames.
2002 (_Unwind_ForcedUnwind_Phase2): Likewise.
2003 (_Unwind_RaiseException): Add local variable frames to count
2004 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2005 uw_install_context.
2006 (_Unwind_ForcedUnwind): Likewise.
2007 (_Unwind_Resume): Likewise.
2008 (_Unwind_Resume_or_Rethrow): Likewise.
2009
1ecae1fc
IT
20102017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2011
2012 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2013 (CET_FLAGS): New.
2014 * config/i386/morestack.S: Include <cet.h>.
2015 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2016 * config/i386/resms64.h: Include <cet.h>.
2017 * config/i386/resms64f.h: Likewise.
2018 * config/i386/resms64fx.h: Likewise.
2019 * config/i386/resms64x.h: Likewise.
2020 * config/i386/savms64.h: Likewise.
2021 * config/i386/savms64f.h: Likewise.
2022 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2023 (CRTSTUFF_T_CFLAGS): Likewise.
2024 * configure.ac: Include ../config/cet.m4.
2025 Set and substitute CET_FLAGS.
2026 * configure: Regenerated.
2027
f021f1d3
RO
20282017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2029
2030 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2031 renaming.
2032 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2033 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2034 * configure: Regenerate.
2035
65f480c7
TV
20362017-11-07 Tom de Vries <tom@codesourcery.com>
2037
2038 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2039 after "do {} while (0)".
2040
2a321acb
TV
20412017-11-07 Tom de Vries <tom@codesourcery.com>
2042
2043 PR other/82784
2044 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2045 semicolon after "do {} while (0)".
2046 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2047 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2048 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2049 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2050
59fcf6c3
AT
20512017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2052
2053 PR libgcc/82635
2054 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2055 sysctl to determine whether we're in a trampoline.
2056 Keep the pattern matching method for systems without
2057 KERN_PROC_SIGTRAMP sysctl.
2058
b0c7ddf8
CM
20592017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2060 Vineet Gupta <vgupta@synopsys.com>
2061
2062 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2063 * config/arc/linux-unwind-reg.def: New file.
2064 * config/arc/linux-unwind-reg.h: Likewise.
2065
5feee954
SP
20662017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2067
2068 * config/rl78/subdi3.S: New assembly file.
2069 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2070
a0bf6cf7
SP
20712017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2072
2073 * config/rl78/adddi3.S: New assembly file.
2074 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2075
e7176f75
JJ
20762017-10-13 Jakub Jelinek <jakub@redhat.com>
2077
2078 PR target/82274
2079 * libgcc2.c (__mulvDI3): If both operands have
2080 the same highpart of -1 and the topmost bit of lowpart is 0,
2081 multiplication overflows even if both lowparts are 0.
2082
db6601d2
JB
20832017-09-28 James Bowman <james.bowman@ftdichip.com>
2084
2085 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2086
938b6f1e
JM
20872017-09-26 Joseph Myers <joseph@codesourcery.com>
2088
2089 * config/microblaze/crti.S, config/microblaze/crtn.S,
2090 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2091 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2092 config/microblaze/mulsi3.S,
2093 config/microblaze/stack_overflow_exit.S,
2094 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2095 config/pa/milli64.S: Add .note.GNU-stack section.
2096
89762a83
DS
20972017-09-23 Daniel Santos <daniel.santos@pobox.com>
2098
2099 * configure.ac: Add Check for HAVE_AS_AVX.
2100 * config.in: Regenerate.
2101 * configure: Likewise.
2102 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2103 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2104 Correct out-of-date comments.
2105
cace2309
SP
21062017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2107
2108 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2109 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2110
3cb626e4
DS
21112017-09-17 Daniel Santos <daniel.santos@pobox.com>
2112
cace2309 2113 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2114 (ASMNAME): Modify to use PASTE2.
2115 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2116 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2117 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2118 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2119 * config/i386/resms64f.S: Likewise.
2120 * config/i386/resms64fx.S: Likewise.
2121 * config/i386/resms64x.S: Likewise.
2122 * config/i386/savms64.S: Likewise.
2123 * config/i386/savms64f.S: Likewise.
2124 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2125 includes it's corresponding header file.
cace2309
SP
2126 * config/i386/avx_resms64f.S: Likewise.
2127 * config/i386/avx_resms64fx.S: Likewise.
2128 * config/i386/avx_resms64x.S: Likewise.
2129 * config/i386/avx_savms64.S: Likewise.
2130 * config/i386/avx_savms64f.S: Likewise.
2131 * config/i386/sse_resms64.S: Likewise.
2132 * config/i386/sse_resms64f.S: Likewise.
2133 * config/i386/sse_resms64fx.S: Likewise.
2134 * config/i386/sse_resms64x.S: Likewise.
2135 * config/i386/sse_savms64.S: Likewise.
2136 * config/i386/sse_savms64f.S: Likewise.
2137 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2138
2f19c491 21392017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2140 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2141
611e7036
OH
21422017-08-31 Olivier Hainque <hainque@adacore.com>
2143
2144 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2145 match as powerpc-wrs-vxworks*.
2146
c8f34527
JY
21472017-08-07 Jonathan Yong <10walls@gmail.com>
2148
2149 * config.host (*-cygwin): Include file from mingw
2150 config/i386/enable-execute-stack-mingw32.c
2151
0b458d2b 21522017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
2153 Doug Rupp <rupp@adacore.com>
2154 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
2155
2156 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2157 as well as arm-wrs-vxworks.
2158 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2159 LIB2ADDEH.
2160 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2161 __exidx_start and __exidx_end for downloadable modules.
2162
4df612fa
OH
21632017-08-01 Olivier Hainque <hainque@adacore.com>
2164
2165 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2166 * config/t-vxworks7: Likewise.
2167
5560e8c0
OH
21682017-08-01 Olivier Hainque <hainque@adacore.com>
2169
2170 * config/t-vxworks: Instead of redefining LIB2ADD,
2171 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2172
16bab95a
SH
21732017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2174
2175 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2176
9cbc07cc
DS
21772017-07-24 Daniel Santos <daniel.santos@pobox.com>
2178
2179 PR testsuite/80759
2180 * config.host: include i386/t-msabi for darwin and solaris.
2181 * config/i386/i386-asm.h
2182 (ELFFN): Rename to FN_TYPE.
2183 (FN_SIZE): New macro.
2184 (FN_HIDDEN): Likewise.
2185 (ASMNAME): Likewise.
2186 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2187 .globl.
2188 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2189 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2190 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2191 .macro.
2192 * config/i386/resms64f.S: Likewise.
2193 * config/i386/resms64fx.S: Likewise.
2194 * config/i386/resms64x.S: Likewise.
2195 * config/i386/savms64.S: Likewise.
2196 * config/i386/savms64f.S: Likewise.
2197
de742204
JM
21982017-07-19 John Marino <gnugcc@marino.st>
2199
2200 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2201
3787ee47
MM
22022017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2203
2204 PR target/81193
2205 * configure.ac (PowerPC float128 hardware support): Test whether
2206 we can use __builtin_cpu_supports before enabling the ifunc
2207 handler.
2208 * configure: Regenerate.
2209
b1938888
VG
22102017-07-10 Vineet Gupta <vgupta@synopsys.com>
2211
2212 * config.host: Remove uclibc from arc target spec.
2213
bec75e53
KW
22142017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2215
2216 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2217
d4391a62
PB
22182017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2219
2220 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2221 (have_ieee_hw_p): Delete function.
2222 (SW_OR_HW) Use __builtin_cpu_supports().
2223
9296dd9b
TP
22242017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2225
2226 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2227
b85a969e
OH
22282017-07-03 Olivier Hainque <hainque@adacore.com>
2229
d4391a62 2230 * config/t-vxworks7: New file, really.
b85a969e 2231
883312dc
JM
22322017-06-28 Joseph Myers <joseph@codesourcery.com>
2233
2234 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2235 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2236 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2237 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2238 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2239 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2240 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2241 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2242 config/sh/linux-unwind.h (sh_fallback_frame_state),
2243 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2244 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2245 ucontext_t instead of struct ucontext.
2246
50567938
JL
22472017-06-27 Jerome Lambourg <lambourg@adacore.com>
2248
2249 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2250 (x86_64-wrs-vxworks7): Likewise.
2251
e4b0df93
OH
22522017-06-27 Olivier Hainque <hainque@adacore.com>
2253
2254 * config/t-vxworks7: New file.
2255 * config.host (*-*-vxworks7): Use it.
2256
60edf8bb
MT
22572017-06-22 Matt Turner <mattst88@gmail.com>
2258
2259 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2260 skylake case.
2261
a51a76e5
RB
22622017-06-21 Richard Biener <rguenther@suse.de>
2263
2264 PR gcov-profile/81080
2265 * configure.ac: Add AC_SYS_LARGEFILE.
2266 * libgcov.h: Include auto-target.h before tsystem.h to pick
2267 up _FILE_OFFSET_BITS which might differ for multilibs.
2268 * config.in: Regenerate.
2269 * configure: Likewise.
2270
f0cd49c5
RE
22712017-06-16 Richard Earnshaw <rearnsha@arm.com>
2272
2273 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2274
4f751c54
ML
22752017-06-09 Martin Liska <mliska@suse.cz>
2276
2277 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2278 Reset __gcov_indirect_call_callee to NULL.
2279
1ac644c8
OH
22802017-06-08 Olivier Hainque <hainque@adacore.com>
2281
2282 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2283 the set of -I options, support for direct inclusions of net/uio.h
2284 by VxWorks header files via ioLib.h.
2285
d8b9cd27
TR
22862017-06-07 Tony Reix <tony.reix@atos.net>
2287 Matthieu Sarter <matthieu.sarter.external@atos.net>
2288 David Edelsohn <dje.gcc@gmail.com>
2289
92a285c1
ML
2290 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2291 unconditionally.
2292 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2293 AIX 7.2 support.
d8b9cd27 2294
38a75ccc
OH
22952017-06-02 Olivier Hainque <hainque@adacore.com>
2296
2297 * config/vxlib.c (__gthread_once): Add missing value to
2298 return statement.
2299
5b2edf53
OH
23002017-05-30 Olivier Hainque <hainque@adacore.com>
2301
2302 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2303 dollar sign before $(MULTIDIR).
2304
7d66e265
RH
23052017-05-26 Richard Henderson <rth@redhat.com>
2306
2307 PR libgcc/80037
2308 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2309
78eca309
AT
23102017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2311
2312 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2313 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2314 * config/arm/unwind-arm.c: Implement the above.
2315
c39d309a
AZ
23162017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2317
2318 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2319 section for a non-executable stack.
2320
eac8c9f2
KW
23212017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2322
2323 PR target/80600
2324 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2325
d6d4d770
DS
23262017-05-14 Daniel Santos <daniel.santos@pobox.com>
2327
2328 * config.host: Add i386/t-msabi to i386/t-linux file list.
2329 * config/i386/i386-asm.h: New file.
2330 * config/i386/resms64.S: New file.
2331 * config/i386/resms64f.S: New file.
2332 * config/i386/resms64fx.S: New file.
2333 * config/i386/resms64x.S: New file.
2334 * config/i386/savms64.S: New file.
2335 * config/i386/savms64f.S: New file.
2336 * config/i386/t-msabi: New file.
2337
8ef2b9a7
AT
23382017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2339
2340 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2341 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2342
7ab8766a
JC
23432017-05-05 Joshua Conner <joshconner@google.com>
2344
2345 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2346 pc-relative indirect handling for fuchsia.
2347 * config/t-slibgcc-fuchsia: New file.
2348 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2349 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2350
46928a8f
ML
23512017-04-19 Martin Liska <mliska@suse.cz>
2352
2353 PR gcov-profile/80435
2354 * Makefile.in: Install gcov.h.
2355 * gcov.h: New file.
2356 * libgcov.h: Use the header and make __gcov_flush publicly
2357 visible.
2358
63971184
ML
23592017-04-18 Martin Liska <mliska@suse.cz>
2360
2361 PR gcov-profile/78783
2362 * libgcov-driver.c (gcov_get_filename): New function.
2363
29d8aae6
JL
23642017-04-07 Jeff Law <law@redhat.com>
2365
2366 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2367 target makefile fragment.
2368 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2369
2bdf7fc6
AM
23702017-04-07 Alan Modra <amodra@gmail.com>
2371
2372 PR target/45053
2373 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2374
5764ee3c
JW
23752017-04-03 Jonathan Wakely <jwakely@redhat.com>
2376
2377 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2378
c4192ad7
CZ
23792017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2380
2381 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2382
4ccfdb28
JM
23832017-03-10 John Marino <gnugcc@marino.st>
2384
2385 * config/aarch64/freebsd-unwind.h: New file.
2386 * config.host: Add aarch64-*-freebsd unwinder.
2387
4144e4e3
SB
23882017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2389
2390 * config/rs6000/crtrestvr.s: Use .machine altivec.
2391 * config/rs6000/crtsavevr.s: Ditto.
2392
7502c597
SB
23932017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2394
2395 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2396 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2397 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2398 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2399 * configure: Regenerate.
2400 * config.in: Regenerate.
2401
db9f7f65
JY
24022017-03-02 Jonathan Yong <10walls@gmail.com>
2403
2404 * config/i386/gthr-win32.h: Define NOGDI before
2405 windows.h include to prevent w32api CC_NONE macro
2406 clash with libgfortran.
2407
126437c5
JY
24082017-03-02 Jonathan Yong <10walls@gmail.com>
2409
2410 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2411
31927af6
AP
24122017-02-16 Andrew Pinski <apinski@cavium.com>
2413
2414 * config/aarch64/value-unwind.h: New file.
2415 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2416 to tm_file.
2417
0bd99911
PD
24182017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2419
2420 * config.host: Add RISC-V tuples.
2421 * config/riscv/atomic.c: New file.
2422 * config/riscv/crti.S: Likewise.
2423 * config/riscv/crtn.S: Likewise.
2424 * config/riscv/div.S: Likewise.
2425 * config/riscv/linux-unwind.h: Likewise.
2426 * config/riscv/muldi3.S: Likewise.
2427 * config/riscv/multi3.S: Likewise.
2428 * config/riscv/save-restore.S: Likewise.
2429 * config/riscv/sfp-machine.h: Likewise.
2430 * config/riscv/t-elf: Likewise.
2431 * config/riscv/t-elf32: Likewise.
2432 * config/riscv/t-elf64: Likewise.
2433 * config/riscv/t-softfp32: Likewise.
2434 * config/riscv/t-softfp64: Likewise.
2435
a8c9ef2a
JJ
24362017-01-24 Jakub Jelinek <jakub@redhat.com>
2437
2438 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2439 /* FALLTHRU */ comments.
2440
c6c82710
GP
24412017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2442
2443 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2444
a876231c
JW
24452017-01-20 Jiong Wang <jiong.wang@arm.com>
2446
2447 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2448 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2449 DW_CFA_GNU_window_save for AArch64 and LP64.
2450
aa348be2
JW
24512017-01-20 Jiong Wang <jiong.wang@arm.com>
2452
2453 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2454
5636faf2
JW
24552017-01-19 Jiong Wang <jiong.wang@arm.com>
2456
2457 * config/aarch64/aarch64-unwind.h: New file.
2458 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2459 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2460 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2461 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2462 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2463 (aarch64_post_extract_frame_addr): New function.
2464 (aarch64_post_frob_eh_handler_addr): New function.
2465 (aarch64_frob_update_context): New function.
2466 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2467 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2468 aarch64*-*-freebsd*):
2469 Initialize md_unwind_header to include aarch64-unwind.h.
2470 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2471 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2472 __aarch64__.
2473 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2474 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2475 (uw_frob_return_addr): New function.
2476 (uw_install_context): Use uw_frob_return_addr.
2477
3c36aa6b
JJ
24782017-01-17 Jakub Jelinek <jakub@redhat.com>
2479
2480 PR other/79046
2481 * configure.ac: Add GCC_BASE_VER.
2482 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2483 version from BASE-VER file.
2484 * configure: Regenerated.
2485
829afb8f
JS
24862017-01-13 Joe Seymour <joe.s@somniumtech.com>
2487
2488 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2489 libmul_f5.a): Filter archived prerequisites.
2490
79fc8ffe
AS
24912017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2492
2493 * config/i386/cpuinfo.h (processor_features): Add
2494 FEATURE_AVX512VPOPCNTDQ.
2495 * config/i386/cpuinfo.c (get_available_features): Habdle new
2496 feature.
2497
fec5f4e0
JM
24982017-01-04 Joseph Myers <joseph@codesourcery.com>
2499
2500 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2501 payload if [__mips_nan2008].
2502
8f56cb51
AM
25032017-01-04 Alan Modra <amodra@gmail.com>
2504
2505 * Makefile.in (configure_deps): Update.
2506 * configure: Regenerate.
2507
cbe34bb5
JJ
25082017-01-01 Jakub Jelinek <jakub@redhat.com>
2509
2510 Update copyright years.
2511
ab955692
KW
25122016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2513
2514 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2515 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2516 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2517
de34320f
MK
25182016-12-17 Matthias Klose <doko@ubuntu.com>
2519
2520 * config/arc/gmon: Remove empty directory.
2521
e04ea1da
CZ
25222016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2523
2524 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2525 crtgend.
2526 (arc*-*-elf*): Likewise.
2527 * config/arc/t-arc: Remove old gmon lib targets.
2528 * config/arc/crtg.S: Remove.
2529 * config/arc/crtgend.S: Likewise.
2530 * config/arc/gmon/atomic.h: Likewise.
2531 * config/arc/gmon/auxreg.h: Likewise.
2532 * config/arc/gmon/dcache_linesz.S: Likewise.
2533 * config/arc/gmon/gmon.c: Likewise.
2534 * config/arc/gmon/machine-gmon.h: Likewise.
2535 * config/arc/gmon/mcount.c: Likewise.
2536 * config/arc/gmon/prof-freq-stub.S: Likewise.
2537 * config/arc/gmon/prof-freq.c: Likewise.
2538 * config/arc/gmon/profil.S: Likewise.
2539 * config/arc/gmon/sys/gmon.h: Likewise.
2540 * config/arc/gmon/sys/gmon_out.h: Likewise.
2541 * config/arc/t-arc-newlib: Likewise.
2542 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2543
8ae1c2c1
GS
25442016-12-12 George Spelvin <linux@sciencehorizons.net>
2545
2546 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2547
a5b947fa
GS
25482016-12-12 George Spelvin <linux@sciencehorizons.net>
2549
2550 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2551 R16 instead of push + pop.
2552 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2553
d6574dd1
KW
25542016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2555
2556 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2557 tmake_file.
2558
62440b4f
CM
25592016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2560
2561 * config.host (arc*-*-linux-uclibc*): Use default extra
2562 objects. Include linux-android header.
2563 * config/arc/crti.S (_init): Declare symbol as function.
2564 (_fini): Likewise.
2565
31cfd832
TK
25662016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2567
2568 PR fortran/78379
2569 * config/i386/cpuinfo.c: Move denums for processor vendors,
2570 processor type, processor subtypes and declaration of
2571 struct __processor_model into
2572 * config/i386/cpuinfo.h: New header file.
2573
c92e08e3
AV
25742016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2575 Thomas Preud'homme <thomas.preudhomme@arm.com>
2576
2577 * config/arm/cmse_nonsecure_call.S: New.
2578 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2579
de7b5723
AV
25802016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2581 Thomas Preud'homme <thomas.preudhomme@arm.com>
2582
2583 * config/arm/t-arm (HAVE_CMSE): New.
2584 * config/arm/cmse.c: New.
2585
7a0d2bce
TP
25862016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2587
b3a5bff4
TP
2588 PR gcc/74748
2589 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2590 use generic linker version information on Blackfin.
2591
7a0d2bce
TP
2592 PR gcc/74748
2593 * libgcc/mkmap-symver.awk: add support for skip_underscore
2594
b410cf1d
IS
25952016-11-27 Iain Sandoe <iain@codesourcery.com>
2596 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2597
2598 PR target/67710
2599 * config/t-darwin: Default builds to 10.5 codegen.
2600
2e5f8203
JG
26012016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2602
2603 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2604 (_FP_NANSIGN_H): Likewise.
2605 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2606 (softfp_truncations): Add tfhf.
2607 (softfp_extras): Add required conversion functions.
2608
bea64ca3
JG
26092016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2610 Matthew Wahab <matthew.wahab@arm.com>
2611
2612 * config/arm/fp16.c (binary64): New.
2613 (__gnu_d2h_internal): New.
2614 (__gnu_d2h_ieee): New.
2615 (__gnu_d2h_alternative): New.
2616
8630cadb
JG
26172016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2618 Matthew Wahab <matthew.wahab@arm.com>
2619
2620 * config/arm/fp16.c (struct format): New.
2621 (binary32): New.
2622 (__gnu_float2h_internal): New. Body moved from
2623 __gnu_f2h_internal and generalize.
2624 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2625 Call it with binary32.
2626
5823ef23
JG
26272016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2628
2629 * soft-fp/extendhftf2.c: Update from glibc.
2630 * soft-fp/fixhfti.c: Likewise.
2631 * soft-fp/fixunshfti.c: Likewise.
2632 * soft-fp/floattihf.c: Likewise.
2633 * soft-fp/floatuntihf.c: Likewise.
2634 * soft-fp/half.h: Likewise.
2635 * soft-fp/trunctfhf2.c: Likewise.
2636
62a7df9f
MG
26372016-11-20 Marc Glisse <marc.glisse@inria.fr>
2638
2639 PR libgcc/77813
2640 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2641 __TMC_END__ behind a passthrough asm.
2642
7a384912
WL
26432016-11-18 Walter Lee <walt@tilera.com>
2644
62a7df9f 2645 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2646
9775c1a5
L
26472016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2648
2649 * config/i386/cpuinfo.c (processor_features): Add
2650 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2651
48c842ab
CZ
26522016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2653
2654 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2655 (__ARC_NORM__): Use instead ARC_OPTFPE.
2656 * config/arc/fp-hack.h: Likewise.
2657 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2658 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2659
5012919d
AM
26602016-11-16 Alexander Monakov <amonakov@ispras.ru>
2661
2662 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2663 * config/nvptx/mgomp.c: New file.
2664 * config/nvptx/t-nvptx: Add mgomp.c
2665
00178b98
WB
26662016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2667
2668 PR libgcc/68468
2669 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2670
d64af69f
CZ
26712016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2672
2673 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2674 of checking for cpus.
2675 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2676 (__modsi3, __clzsi2): Likewise.
2677
9d8f95de
SN
26782016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2679
2680 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2681 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2682 * config/i386/t-cpuinfo-static: New.
2683
7d29f8e3
ML
26842016-11-03 Martin Liska <mliska@suse.cz>
2685
2686 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2687 (__gcov_time_profiler_atomic): Likewise.
2688
5de3e2d8
BE
26892016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2690
2691 PR libgcc/78067
2692 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2693 count_leading_zeros.
2694
18362447
UB
26952016-11-02 Uros Bizjak <ubizjak@gmail.com>
2696
2697 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2698 * libgcc2.c (__divmoddi4): New function.
2699 * libgcc2.h (__divmoddi4): Declare.
2700 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2701 and __PFX_divmodti4.
2702
33107571
FW
27032016-10-24 Florian Weimer <fweimer@redhat.com>
2704
2705 PR libgcc/78064
2706 * unwind-c.c: Include auto-target.h.
2707
4c6d7494
JDA
27082016-10-19 John David Anglin <danglin@gcc.gnu.org>
2709
18362447 2710 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2711 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2712 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2713 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2714 hppa*64*-*-hpux11*.
2715
2a26adf1
MF
27162016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2717
2718 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2719 definition.
2720 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2721 definition.
2722 * config/xtensa/t-windowed (LIB2ADDEH): Use
2723 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2724 or xtensa/t-linux.
2725
66192aa1
DKC
27262016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2727
2728 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2729 __ieee754_sqrt): New functions.
2730 (__divdf3): Add implementation with new FPU instructions under
2731 #if XCHAL_HAVE_DFP_DIV.
2732 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2733 __ieee754_sqrtf): New functions.
2734 (__divsf3): Add implementation with new FPU instructions under
2735 #if XCHAL_HAVE_FP_DIV.
2736 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2737 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2738
4d0cdd0c
TP
27392016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2740
2741 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2742 equivalent.
2743 * config/tilepro/atomic.c: Likewise and stop casting model to
2744 enum memmodel.
2745
73f01cca
JM
27462016-10-10 Joseph Myers <joseph@codesourcery.com>
2747
2748 PR target/77586
2749 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2750 soft-fp.
2751
b20e7532
AT
27522016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2753
2754 * config.host: Add support for aarch64-*-freebsd*.
2755
a786cec4
AS
27562016-10-05 Andreas Schwab <schwab@suse.de>
2757
2758 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2759 (.section .init_array): Don't call __do_jv_register_classes.
2760 (.section .init): Likewise.
2761
5a79befb
JJ
27622016-10-04 Jakub Jelinek <jakub@redhat.com>
2763
2764 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2765 (__JCR_LIST__): Remove.
2766 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2767 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2768 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2769 * config/ia64/crtend.S (__JCR_END__): Remove.
2770 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2771 conditionals.
2772 (__JCR_LIST__, __JCR_END__): Remove.
2773 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2774 (__do_global_ctors_1): Likewise.
2775
e0ab3753
UB
27762015-09-28 Uros Bizjak <ubizjak@gmail.com>
2777
2778 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2779 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2780
8c9434c2
ML
27812016-09-27 Martin Liska <mliska@suse.cz>
2782
2783 PR gcov-profile/7970
2784 PR gcov-profile/16855
2785 PR gcov-profile/44779
2786 * libgcov-driver.c (__gcov_init): Do not register a atexit
2787 handler.
2788 (__gcov_exit): Rename from gcov_exit.
2789 * libgcov.h (__gcov_exit): Declare.
2790
56b653f1
ML
27912016-09-27 Martin Liska <mliska@suse.cz>
2792
2793 PR bootstrap/77749
2794 * Makefile.in: Remove _gcov_merge_delta.
2795 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2796 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2797 * libgcov.h: Remove declaration of __gcov_merge_delta.
2798
7e02fd1b
EB
27992016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2800
2801 * configure.ac: Do not create links, only substitute the filenames.
2802 * configure: Regenerate.
2803 * Makefile.in: Assign the substitution results to variables.
2804 (LIBGCC_LINKS): Define.
2805 (enable-execute-stack.c): New rule.
2806 (unwind.h): Likewise.
2807 (md-unwind-support.h): Likewise.
2808 (sfp-machine.h): Likewise.
2809 (gthr-default.h): Likewise.
2810 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2811 unwind.h as prerequisite of install-unwind_h-forbuild.
2812
29991048
JJ
28132016-09-16 Jakub Jelinek <jakub@redhat.com>
2814
2815 PR libgcc/71744
2816 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2817 is not the primary registry and atomics are available.
2818 (any_objects_registered): New variable.
2819 (__register_frame_info_bases, __register_frame_info_table_bases):
2820 Atomically store 1 to any_objects_registered after registering first
2821 unwind info.
2822 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2823
0abcd6cc
JG
28242016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2825
2826 PR target/63250
2827 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2828 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2829 (HFtype): Likewise.
2830 (HCtype): Likewise.
2831 (__divhc3): Likewise.
2832 (__mulhc3): Likewise.
2833 * libgcc2.c: Support _mulhc3 and _divhc3.
2834
d758aeb5
JM
28352016-09-07 Joseph Myers <joseph@codesourcery.com>
2836
2837 PR libgcc/77519
2838 * libgcc2.c (NOTRUNC): Invert settings.
2839
7fe76f6a
ML
28402016-09-06 Martin Liska <mliska@suse.cz>
2841
2842 PR gcov-profile/77378
2843 PR gcov-profile/77466
2844 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2845 conditionaly enable/disable *_atomic functions.
2846
21184026
JM
28472016-08-26 Joseph Myers <joseph@codesourcery.com>
2848
2849 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2850 where not already enabled.
2851
726f49c3
SN
28522016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2853
2854 * config/mips/linux-unwind.h: Use sys/syscall.h.
2855
feeb6268
JM
28562016-08-16 Joseph Myers <joseph@codesourcery.com>
2857
2858 PR libgcc/77265
2859 * soft-fp/adddf3.c: Update from glibc.
2860 * soft-fp/addsf3.c: Likewise.
2861 * soft-fp/addtf3.c: Likewise.
2862 * soft-fp/divdf3.c: Likewise.
2863 * soft-fp/divsf3.c: Likewise.
2864 * soft-fp/divtf3.c: Likewise.
2865 * soft-fp/double.h: Likewise.
2866 * soft-fp/eqdf2.c: Likewise.
2867 * soft-fp/eqsf2.c: Likewise.
2868 * soft-fp/eqtf2.c: Likewise.
2869 * soft-fp/extenddftf2.c: Likewise.
2870 * soft-fp/extended.h: Likewise.
2871 * soft-fp/extendsfdf2.c: Likewise.
2872 * soft-fp/extendsftf2.c: Likewise.
2873 * soft-fp/extendxftf2.c: Likewise.
2874 * soft-fp/fixdfdi.c: Likewise.
2875 * soft-fp/fixdfsi.c: Likewise.
2876 * soft-fp/fixdfti.c: Likewise.
2877 * soft-fp/fixsfdi.c: Likewise.
2878 * soft-fp/fixsfsi.c: Likewise.
2879 * soft-fp/fixsfti.c: Likewise.
2880 * soft-fp/fixtfdi.c: Likewise.
2881 * soft-fp/fixtfsi.c: Likewise.
2882 * soft-fp/fixtfti.c: Likewise.
2883 * soft-fp/fixunsdfdi.c: Likewise.
2884 * soft-fp/fixunsdfsi.c: Likewise.
2885 * soft-fp/fixunsdfti.c: Likewise.
2886 * soft-fp/fixunssfdi.c: Likewise.
2887 * soft-fp/fixunssfsi.c: Likewise.
2888 * soft-fp/fixunssfti.c: Likewise.
2889 * soft-fp/fixunstfdi.c: Likewise.
2890 * soft-fp/fixunstfsi.c: Likewise.
2891 * soft-fp/fixunstfti.c: Likewise.
2892 * soft-fp/floatdidf.c: Likewise.
2893 * soft-fp/floatdisf.c: Likewise.
2894 * soft-fp/floatditf.c: Likewise.
2895 * soft-fp/floatsidf.c: Likewise.
2896 * soft-fp/floatsisf.c: Likewise.
2897 * soft-fp/floatsitf.c: Likewise.
2898 * soft-fp/floattidf.c: Likewise.
2899 * soft-fp/floattisf.c: Likewise.
2900 * soft-fp/floattitf.c: Likewise.
2901 * soft-fp/floatundidf.c: Likewise.
2902 * soft-fp/floatundisf.c: Likewise.
2903 * soft-fp/floatunditf.c: Likewise.
2904 * soft-fp/floatunsidf.c: Likewise.
2905 * soft-fp/floatunsisf.c: Likewise.
2906 * soft-fp/floatunsitf.c: Likewise.
2907 * soft-fp/floatuntidf.c: Likewise.
2908 * soft-fp/floatuntisf.c: Likewise.
2909 * soft-fp/floatuntitf.c: Likewise.
2910 * soft-fp/gedf2.c: Likewise.
2911 * soft-fp/gesf2.c: Likewise.
2912 * soft-fp/getf2.c: Likewise.
2913 * soft-fp/ledf2.c: Likewise.
2914 * soft-fp/lesf2.c: Likewise.
2915 * soft-fp/letf2.c: Likewise.
2916 * soft-fp/muldf3.c: Likewise.
2917 * soft-fp/mulsf3.c: Likewise.
2918 * soft-fp/multf3.c: Likewise.
2919 * soft-fp/negdf2.c: Likewise.
2920 * soft-fp/negsf2.c: Likewise.
2921 * soft-fp/negtf2.c: Likewise.
2922 * soft-fp/op-1.h: Likewise.
2923 * soft-fp/op-2.h: Likewise.
2924 * soft-fp/op-4.h: Likewise.
2925 * soft-fp/op-8.h: Likewise.
2926 * soft-fp/op-common.h: Likewise.
2927 * soft-fp/quad.h: Likewise.
2928 * soft-fp/single.h: Likewise.
2929 * soft-fp/soft-fp.h: Likewise.
2930 * soft-fp/subdf3.c: Likewise.
2931 * soft-fp/subsf3.c: Likewise.
2932 * soft-fp/subtf3.c: Likewise.
2933 * soft-fp/truncdfsf2.c: Likewise.
2934 * soft-fp/trunctfdf2.c: Likewise.
2935 * soft-fp/trunctfsf2.c: Likewise.
2936 * soft-fp/trunctfxf2.c: Likewise.
2937 * soft-fp/unorddf2.c: Likewise.
2938 * soft-fp/unordsf2.c: Likewise.
2939 * soft-fp/unordtf2.c: Likewise.
2940
2e6fc1ac
GG
29412016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2942
2943 PR gcov-profile/67097
2944 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2945
a266236e
ML
29462016-08-10 Martin Liska <mliska@suse.cz>
2947
2948 PR gcov-profile/58306
2949 * Makefile.in: New functions (modules) are added.
2950 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2951 function.
2952 (__gcov_pow2_profiler_atomic): New function.
2953 (__gcov_one_value_profiler_body): New argument is instroduced.
2954 (__gcov_one_value_profiler): Call with the new argument.
2955 (__gcov_one_value_profiler_atomic): Likewise.
2956 (__gcov_indirect_call_profiler_v2): Likewise.
2957 (__gcov_time_profiler_atomic): New function.
2958 (__gcov_average_profiler_atomic): Likewise.
2959 (__gcov_ior_profiler_atomic): Likewise.
2960 * libgcov.h: Declare the aforementioned functions.
2961
e0c8eebf
ML
29622016-08-09 Martin Liska <mliska@suse.cz>
2963
2964 * libgcov-util.c: Fix typo and GNU coding style.
2965
6dce6418
ML
29662016-08-09 Martin Liska <mliska@suse.cz>
2967
2968 * Makefile.in: Remove __gcov_indirect_call_profiler.
2969 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2970 function.
2971 * libgcov.h: And the declaration of the function.
2972
dcb1e137
ML
29732016-08-09 Martin Liska <mliska@suse.cz>
2974
2975 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2976 power of two.
2977
d6e69705
BS
29782016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2979
2980 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2981 * config/rs6000/_mulkc3.c: Likewise.
2982
96aa1f95
GJL
29832016-07-29 Georg-Johann Lay <avr@gjlay.de>
2984
2985 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2986 zero_reg as previous call to __umulhisi3 already cleared it.
2987
a1b01d34
AJ
29882016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2989
2990 PR target/59833
2991 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2992
985a47b2
NC
29932016-07-19 Nick Clifton <nickc@redhat.com>
2994
2995 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2996 Add crtinit.o and crtfini.o to extra_parts.
2997
f906f5ed
BS
29982016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2999
3000 * config/rs6000/_divkc3.c: New.
3001 * config/rs6000/_mulkc3.c: New.
3002 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3003 and _divkc3.
3004 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3005 fp128_ppc_funcs.
3006
82742404
HW
30072016-07-11 Hale Wang <hale.wang@arm.com>
3008 Andre Vieira <andre.simoesdiasvieira@arm.com>
3009
3010 * config/arm/lib1funcs.S: Add new wrapper.
3011
05a437c1
TP
30122016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3013
3014 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3015
3d16d9ec
TP
30162016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3017
3018 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3019 and ARMv5t* rather than for a fixed list of architectures.
3020
6f493951
TP
30212016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3022
3023 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3024 implementation suitable for.
3025 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3026 for all Thumb-1 only targets.
3027 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3028 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3029 __ARM_ARCH_6M__.
3030 (EQUIV): Likewise.
3031 (ARM_FUNC_ALIAS): Likewise.
3032 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3033 version.
3034 (modsi3): Likewise.
3035 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3036 (clzdi2): Likewise.
3037 (ctzsi2): Likewise.
3038 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3039 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3040 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3041 __ARM_ARCH_6M__ and add comment to indicate the connection between
3042 this condition and the one in gcc/config/arm/elf.h.
3043 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3044 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3045 * config/arm/t-softfp: Likewise.
3046
1770511a
TS
30472016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3048
3049 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3050 CTOR_LISTS_DEFINED_EXTERNALLY.
3051
ba6be749
WL
30522016-06-28 Walter Lee <walt@tilera.com>
3053
3054 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3055 asm/unistd.h.
3056 (SPR_CMPEXCH_VALUE): Define for tilegx.
3057 (__NR_FAST_cmpxchg): Define for tilepro.
3058 (__NR_FAST_atomic_update): Define for tilepro.
3059 (__NR_FAST_cmpxchg64): Define for tilepro.
3060
a34c0db5
JS
30612016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3062
18362447 3063 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 3064
0609abda
TS
30652016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3066
3067 * config.host: Remove support for mep-*.
3068 * config/mep/lib1funcs.S: Remove.
3069 * config/mep/lib2funcs.c: Remove.
3070 * config/mep/t-mep: Remove.
3071 * config/mep/tramp.c: Remove.
3072
3e326935
TS
30732016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3074
3075 * config.host: Remove support for avr-rtems.
3076 * config/avr/t-rtems: Remove.
3077
914b155c
TS
30782016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3079
3080 * config.host: Remove m32r-rtems support.
3081
5ebf89bd
TS
30822016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3083
3084 * config.host: Remove h8300-rtems support.
3085
8466af06
TS
30862016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3087
3088 * config.host: Remove support for knetbsd.
3089
d980e738
TS
30902016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3091
3092 * config.host: Remove support for openbsd 2 and 3.
3093
ee2499b4
TS
30942016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3095
3096 * config.host: Remove interix support.
3097 * config/i386/t-interix: Remove.
3098
9f92937b
JDA
30992016-06-18 John David Anglin <danglin@gcc.gnu.org>
3100
3101 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3102 least-significant bit in function pointer for fixup.
3103
0a0ec53d
AC
31042016-06-05 Aaron Conole <aconole@redhat.com>
3105 Nathan Sidwell <nathan@acm.org>
3106
3107 PR libgcc/71400
3108 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3109 (get_gcov_error_file): Check __gcov_error_file before trying to
3110 initialize it.
3111 (gcov_error): Always use get_gcov_error_file.
3112
8aa5bdd6
AC
31132016-06-02 Aaron Conole <aconole@redhat.com>
3114
3115 * libgcov-driver-system.c (__gcov_error_file): New.
3116 (get_gcov_error_file): New.
3117 (gcov_error): Use and set __gcov_error_file.
3118 (gcov_error_exit): New.
3119 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3120
40774faf
NS
31212016-05-26 Nathan Sidwell <nathan@acm.org>
3122
3123 * config/nvptx/free.asm: Delete.
3124 * config/nvptx/malloc.asm: Delete.
3125 * config/nvptx/realloc.c: Delete.
3126 * t-nvptx: Update.
3127
69a6d5ad
NS
31282016-05-25 Nathan Sidwell <nathan@acm.org>
3129
3130 * config/nvptx/crt0.s: Delete.
3131 * config/nvptx/crt0.c: New.
3132 * t-nvptx: Update.
3133
6befaff6
SL
31342016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3135
385c7747 3136 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3137 dw2/seh configuration.
3138 [x86_64-*-mingw*]: Likewise.
3139
ad251dfd
JS
31402016-05-10 Joel Sherrill <joel@rtems.org>
3141
3142 PR libgcc/70720
3143 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3144 targets so the same extra_parts are built. Also have tmake_file add
3145 on to its value rather than override.
3146
bc6d9014
OE
31472016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3148
3149 * config.host: Remove SH5 support.
3150 * configure: Likewise.
3151
9129c8cf
OE
31522016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3153
3154 * config/sh/crt1.S: Remove SH5 support.
3155 * config/sh/crti.S: Likewise.
3156 * config/sh/crtn.S: Likewise.
3157 * config/sh/lib1funcs-4-300.S: Likewise.
3158 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3159 * config/sh/lib1funcs.S: Likewise.
3160 * config/sh/linux-unwind.h: Likewise.
3161 * config/sh/t-sh64: Delete.
3162
39d50464
CZ
31632016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3164
3165 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3166
8b48923b
CZ
31672016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3168 Joern Rennecke <joern.rennecke@embecosm.com>
3169
3170 * config/arc/crttls.S: New file.
3171 * config/arc/t-arc: New rule.
3172 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3173
2de1cf8c
NC
31742016-04-25 Nick Clifton <nickc@redhat.com>
3175
3176 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3177 (__mspabi_cmpd): Likewise.
3178 * config/msp430/floathidf.c (__floathidf): Likewise.
3179 * config/msp430/floathisf.c (__floathisf): Likewise
3180 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3181 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3182 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3183 second parameter.
3184 (__ashrsi3): Likewise.
3185
b8ce3fe2
WB
31862016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3187
3188 * config/m68k/linux-atomic.c: Do not include unistd.h
3189
4986f823
MG
31902016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3191
3192 * config/arm/ieee754-df.S: Fix typos in comments.
3193
35fbda43
MM
31942016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3195
3196 PR target/70381
3197 * configure.ac (powerpc*-*-linux*): Rework tests to build
3198 __float128 emulation routines to not depend on using #pragma GCC
3199 target to enable -mfloat128.
3200 * configure: Regnerate.
3201
72d1a48d
EB
32022016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3203
3204 PR target/67172
3205 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3206 __MINGW32__ is defined.
3207
dc2e8995
JB
32082016-03-28 James Bowman <james.bowman@ftdichip.com>
3209
385c7747 3210 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3211
104cdaf1
MM
32122016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3213
3214 PR libgcc/70363
3215 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3216 built with an assembler that does not support ISA 3.0
3217 instructions, rename __extendkftf2_sw to __extendkftf2.
3218
a5046f48
RO
32192016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3220
3221 PR target/38239
3222 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3223 call-clobbered registers.
3224 (internal_mcount): Remove __i386__ handling.
3225
df674f74
JS
32262016-02-26 Joel Sherrill <joel@rtems.org>
3227
3228 * config.host: Add x86_64-*-rtems*.
3229
7cb065d6
JS
32302016-02-26 Joel Sherrill <joel@rtems.org>
3231
3232 * libgcc/config.host: Add aarch64-*-rtems*.
3233
47dfdc53
PM
32342016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3235 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3236
3237 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3238 union of u64 and double.
3239 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3240 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3241 value.
3242 (FP_ROUNDMODE): Update the usage of _fpscr.
3243
e6861a99
IV
32442016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3245
3246 PR driver/68463
3247 * Makefile.in (crtoffloadtable$(objext)): New rule.
3248 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3249 enable_offload_targets is not empty.
3250 * configure: Regenerate.
3251 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3252 crtoffloadtable.
3253
9bfcbdee
MF
32542016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3255
3256 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3257 .literal_position before the function.
3258 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3259 Likewise.
3260
4cb4721f
MK
32612016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3262
3263 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3264 * config/s390/morestack.S: New file.
3265 * config/s390/t-stack-s390: New file.
3266 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3267
b29d9a29
WL
32682016-02-12 Walter Lee <walt@tilera.com>
3269
3270 * config.host (tilegx*-*-linux*): remove ti from
3271 softfp_int_modes for 32-bit configs.
3272
03a0ae7d
ILT
32732016-02-10 Ian Lance Taylor <iant@google.com>
3274
3275 PR go/68562
3276 * config/i386/morestack.S (__stack_split_initialize): Align
3277 stack.
3278
68750bce
AT
32792016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3280
3281 PR bootstrap/69611
3282 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3283 __FLOAT128__ to compile only for __float128 capable targets.
3284
7d296953
JJ
32852016-01-25 Jakub Jelinek <jakub@redhat.com>
3286
3287 PR target/69444
3288 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3289 instead of ___NO_FPRS__.
3290
a71c0334 32912016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3292 Steven Munroe <munroesj@linux.vnet.ibm.com>
3293 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3294
3295 * config/rs6000/float128-sed: New files to convert TF names to KF
3296 names for PowerPC IEEE 128-bit floating point support.
3297 * config/rs6000/float128-sed-hw: Likewise.
3298
3299 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3300 floating point hardware support.
3301
3302 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3303 128-bit floating point software emulation or use ISA 3.0 hardware
3304 support if it is available.
3305
3306 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3307 floating point.
3308
3309 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3310 floating point to IBM extended double.
3311
3312 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3313 double to IEEE 128-bit floating point.
3314
3315 * config/rs6000/t-float128: New Makefile fragments to enable
3316 building __float128 emulation support.
3317 * config/rs6000/t-float128-hw: Likewise.
3318
3319 * config/rs6000/sfp-exceptions.c: New file to provide exception
3320 support for IEEE 128-bit floating point.
3321
3322 * config/rs6000/floattikf.c: New files for converting between IEEE
3323 128-bit floating point and signed/unsigned 128-bit integers.
3324 * config/rs6000/fixunskfti.c: Likewise.
3325 * config/rs6000/fixkfti.c: Likewise.
3326 * config/rs6000/floatuntikf.c: Likewise.
3327
3328 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3329 when building on 64-bit systems, or when VSX is enabled.
3330 (_FP_W_TYPE): Likewise.
3331 (_FP_WS_TYPE): Likewise.
3332 (_FP_I_TYPE): Likewise.
3333 (TItype): Define on 64-bit systems.
3334 (UTItype): Likewise.
3335 (TI_BITS): Likewise.
3336 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3337 (_FP_MUL_MEAT_Q): Likewise.
3338 (_FP_DIV_MEAT_D): Likewise.
3339 (_FP_DIV_MEAT_Q): Likewise.
3340 (_FP_NANFRAC_D): Likewise.
3341 (_FP_NANFRAC_Q): Likewise.
3342 (ISA_BIT): Add exception support if we are being compiled on a
3343 machine with hardware floating point support to build the IEEE
3344 128-bit emulation functions.
3345 (FP_EX_INVALID): Likewise.
3346 (FP_EX_OVERFLOW): Likewise.
3347 (FP_EX_UNDERFLOW): Likewise.
3348 (FP_EX_DIVZERO): Likewise.
3349 (FP_EX_INEXACT): Likewise.
3350 (FP_EX_ALL): Likewise.
3351 (__sfp_handle_exceptions): Likewise.
3352 (FP_HANDLE_EXCEPTIONS): Likewise.
3353 (FP_RND_NEAREST): Likewise.
3354 (FP_RND_ZERO): Likewise.
3355 (FP_RND_PINF): Likewise.
3356 (FP_RND_MINF): Likewise.
3357 (FP_RND_MASK): Likewise.
3358 (_FP_DECL_EX): Likewise.
3359 (FP_INIT_ROUNDMODE): Likewise.
3360 (FP_ROUNDMODE): Likewise.
3361
3362 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3363 VSX code, enable IEEE 128-bit floating point. If the compiler can
3364 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3365 floating point hardware instructions and it supports declaring
3366 functions with the ifunc attribute, enable ifunc functions to
3367 switch between software and hardware support.
3368 * configure.ac (powerpc*-*-linux*): Likewise.
3369 * configure: Regenerate.
3370
bdc27e50
NC
33712016-01-15 Nick Clifton <nickc@redhat.com>
3372
3373 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3374 dependency as the source file to be compiled.
3375 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3376 (lib2hw_mul_f5.o): Likewise.
3377
006df05d
MM
33782016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3379
3380 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3381 * libgcc/config/rs6000/fixkfti.c: Likewise.
3382 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3383 * libgcc/config/rs6000/float128-hw.c: Likewise.
3384 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3385 * libgcc/config/rs6000/float128-sed: Likewise.
3386 * libgcc/config/rs6000/floattikf.c: Likewise.
3387 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3388 * libgcc/config/rs6000/quad-float128.h: Likewise.
3389 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3390 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3391 * libgcc/config/rs6000/t-float128: Likewise.
3392 * libgcc/config/rs6000/t-float128-hw: Likewise.
3393 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3394 * libgcc/config.host: Likewise.
3395 * libgcc/configure: Likewise.
3396 * libgcc/configure.ac: Likewise.
3397
29176d57 33982016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3399 Steven Munroe <munroesj@linux.vnet.ibm.com>
3400 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3401
3402 * config/rs6000/sfp-exceptions.c: New file to provide exception
3403 support for IEEE 128-bit floating point.
3404
3405 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3406 floating point hardware support.
3407
3408 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3409 point conversions.
3410 * config/rs6000/fixunskfti.c: Likewise.
3411 * config/rs6000/fixkfti.c: Likewise.
3412 * config/rs6000/floatuntikf.c: Likewise.
3413 * config/rs6000/extendkftf2-sw.c: Likewise.
3414 * config/rs6000/trunctfkf2-sw.c: Likewise.
3415
3416 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3417 128-bit floating point software emulation or use ISA 3.0 hardware
3418 support if it is available.
3419
3420 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3421 floating point.
3422
3423 * config/rs6000/t-float128: New Makefile fragments to enable
3424 building __float128 emulation support.
3425 * config/rs6000/t-float128-hw: Likewise.
3426
3427 * config/rs6000/float128-sed: New file to convert TF names to KF
3428 names for PowerPC IEEE 128-bit floating point support.
3429
3430 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3431 when building on 64-bit systems, or when VSX is enabled.
3432 (_FP_W_TYPE): Likewise.
3433 (_FP_WS_TYPE): Likewise.
3434 (_FP_I_TYPE): Likewise.
3435 (TItype): Define on 64-bit systems.
3436 (UTItype): Likewise.
3437 (TI_BITS): Likewise.
3438 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3439 (_FP_MUL_MEAT_Q): Likewise.
3440 (_FP_DIV_MEAT_D): Likewise.
3441 (_FP_DIV_MEAT_Q): Likewise.
3442 (_FP_NANFRAC_D): Likewise.
3443 (_FP_NANFRAC_Q): Likewise.
3444 (ISA_BIT): Add exception support if we are being compiled on a
3445 machine with hardware floating point support to build the IEEE
3446 128-bit emulation functions.
3447 (FP_EX_INVALID): Likewise.
3448 (FP_EX_OVERFLOW): Likewise.
3449 (FP_EX_UNDERFLOW): Likewise.
3450 (FP_EX_DIVZERO): Likewise.
3451 (FP_EX_INEXACT): Likewise.
3452 (FP_EX_ALL): Likewise.
3453 (__sfp_handle_exceptions): Likewise.
3454 (FP_HANDLE_EXCEPTIONS): Likewise.
3455 (FP_RND_NEAREST): Likewise.
3456 (FP_RND_ZERO): Likewise.
3457 (FP_RND_PINF): Likewise.
3458 (FP_RND_MINF): Likewise.
3459 (FP_RND_MASK): Likewise.
3460 (_FP_DECL_EX): Likewise.
3461 (FP_INIT_ROUNDMODE): Likewise.
3462 (FP_ROUNDMODE): Likewise.
3463
3464 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3465 compiler can do __float128.
3466 * configure: Regenerate.
3467
3468 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3469 VSX code, enable IEEE 128-bit floating point.
3470
a2218983
OH
34712016-01-05 Olivier Hainque <hainque@adacore.com>
3472
3473 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3474 specificities.
a2218983 3475
818ab71a
JJ
34762016-01-04 Jakub Jelinek <jakub@redhat.com>
3477
3478 Update copyright years.
3479
5a6c8ffa
AP
34802015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3481
3482 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3483 soft-fp targets.
5a6c8ffa 3484
077067a5
BE
34852015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3486
3487 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3488 instead of abort to avoid dependency on stdlib.h.
3489
787c1027
JDA
34902015-12-09 John David Anglin <danglin@gcc.gnu.org>
3491
3492 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3493 to initialize call to __dl_fixup once.
3494
04a9ae28
NC
34952015-12-04 Nick Clifton <nickc@redhat.com>
3496
3497 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3498 Allow for the second argument being negative.
3499 * config.host (extra_parts): Define for MSP430. Create separate
3500 libraries for each of the hardware multiply formats.
3501 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3502 that are needed.
3503 * config/msp430/lib2mul.c: Likewise.
3504 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3505 Add rules to build hardware multiply libraries.
3506 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3507 __mspabi_divul function.
3508 (__mspabi_divllu): New stub function.
3509
9a32d437
JDA
35102015-12-01 John David Anglin <danglin@gcc.gnu.org>
3511
3512 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3513 fixup values if saved GOT address doesn't match runtime address.
3514 (fixup_branch_offset): Reorder list.
3515
e5ef217c
RO
35162015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3517
3518 * Makefile.in (VTV_CFLAGS): New variable.
3519 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3520 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3521 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3522 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3523 to extra_parts if $enable_vtable_verify = yes.
3524
78cc43a2
SN
35252015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3526
3527 PR target/68059
3528 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3529 (write): ...this and fix the return type.
3530
9afebea2
DD
35312015-11-19 DJ Delorie <dj@redhat.com>
3532
3533 * config/msp430/lib2hw_mul.S: Fix alignment.
3534
33f47f42
NS
35352015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3536
3537 * config/nvptx/reduction.c: New.
3538 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3539
d9adb476
DE
35402015-11-15 David Edelsohn <dje.gcc@gmail.com>
3541
3542 * config/rs6000/on_exit.c: New file.
3543 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3544 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3545
c0ab1970
CZ
35462015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3547
3548 * config/arc/dp-hack.h: Add support for ARCHS.
3549 * config/arc/ieee-754/divdf3.S: Likewise.
3550 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3551 * config/arc/ieee-754/muldf3.S: Likewise.
3552 * config/arc/ieee-754/mulsf3.S: Likewise
3553 * config/arc/lib1funcs.S: Likewise
3554 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3555 for ARCv2 cores.
3556 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3557 for ARCv2 cores.
3558 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3559 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3560 cores.
3561
e6b6bf09
RO
35622015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3563
3564 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3565 value.
3566 * config/ia64/crtend.S: Likewise.
3567
a153644f
TS
35682015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3569
3570 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3571 __CHAR_BIT__ instead of BITS_PER_UNIT.
3572 * fixed-bit.h: Likewise.
3573 * fp-bit.h: Likewise.
3574 * libgcc2.c (__popcountSI2): Likewise.
3575 (__popcountDI2): Likewise.
3576 * libgcc2.h: Likewise.
3577 * libgcov.h: Likewise.
3578
3dee689d
DE
35792015-11-07 David Edelsohn <dje.gcc@gmail.com>
3580
3581 * config/rs6000/atexit.c: New file.
3582 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3583 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3584 * config/rs6000/cxa_finalize.c
3585 (catomic_compare_and_exchange_bool_acq): Negate return value.
3586
2ef543e4
VK
35872015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3588
3589 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3590 (processor_subtypes): Add znver1.
3591 (get_amd_cpu): Detect znver1.
3592
1300f017
CL
35932015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3594
3595 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3596 Include crtfastmath.o.
3597
3e5bb7ee
JR
35982015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3599
3600 PR libgcc/66883
3601 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3602
793aa938
KP
36032015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3604
3605 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3606 * config/rl78/divmodsi.S: Update return register to r8.
3607 * config/rl78/divmodhi.S: Update return register to r8,r9.
3608 Branch to main_loop_done_himode to pop registers before return.
3609
7d296953 36102015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3611
3612 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3613 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3614
6a192b5a
KY
36152015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3616
3617 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3618
4a0a9457
MF
36192015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3620
3621 * config.host (xtensa*-*-uclinux*): New configuration.
3622
ab91c076
KY
36232015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3624
385c7747 3625 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3626 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3627
30954527
JM
36282015-09-28 Joseph Myers <joseph@codesourcery.com>
3629
3630 * soft-fp/adddf3.c: Update from glibc.
3631 * soft-fp/addsf3.c: Likewise.
3632 * soft-fp/addtf3.c: Likewise.
3633 * soft-fp/divdf3.c: Likewise.
3634 * soft-fp/divsf3.c: Likewise.
3635 * soft-fp/divtf3.c: Likewise.
3636 * soft-fp/double.h: Likewise.
3637 * soft-fp/eqdf2.c: Likewise.
3638 * soft-fp/eqsf2.c: Likewise.
3639 * soft-fp/eqtf2.c: Likewise.
3640 * soft-fp/extenddftf2.c: Likewise.
3641 * soft-fp/extended.h: Likewise.
3642 * soft-fp/extendsfdf2.c: Likewise.
3643 * soft-fp/extendsftf2.c: Likewise.
3644 * soft-fp/extendxftf2.c: Likewise.
3645 * soft-fp/fixdfdi.c: Likewise.
3646 * soft-fp/fixdfsi.c: Likewise.
3647 * soft-fp/fixdfti.c: Likewise.
3648 * soft-fp/fixsfdi.c: Likewise.
3649 * soft-fp/fixsfsi.c: Likewise.
3650 * soft-fp/fixsfti.c: Likewise.
3651 * soft-fp/fixtfdi.c: Likewise.
3652 * soft-fp/fixtfsi.c: Likewise.
3653 * soft-fp/fixtfti.c: Likewise.
3654 * soft-fp/fixunsdfdi.c: Likewise.
3655 * soft-fp/fixunsdfsi.c: Likewise.
3656 * soft-fp/fixunsdfti.c: Likewise.
3657 * soft-fp/fixunssfdi.c: Likewise.
3658 * soft-fp/fixunssfsi.c: Likewise.
3659 * soft-fp/fixunssfti.c: Likewise.
3660 * soft-fp/fixunstfdi.c: Likewise.
3661 * soft-fp/fixunstfsi.c: Likewise.
3662 * soft-fp/fixunstfti.c: Likewise.
3663 * soft-fp/floatdidf.c: Likewise.
3664 * soft-fp/floatdisf.c: Likewise.
3665 * soft-fp/floatditf.c: Likewise.
3666 * soft-fp/floatsidf.c: Likewise.
3667 * soft-fp/floatsisf.c: Likewise.
3668 * soft-fp/floatsitf.c: Likewise.
3669 * soft-fp/floattidf.c: Likewise.
3670 * soft-fp/floattisf.c: Likewise.
3671 * soft-fp/floattitf.c: Likewise.
3672 * soft-fp/floatundidf.c: Likewise.
3673 * soft-fp/floatundisf.c: Likewise.
3674 * soft-fp/floatunditf.c: Likewise.
3675 * soft-fp/floatunsidf.c: Likewise.
3676 * soft-fp/floatunsisf.c: Likewise.
3677 * soft-fp/floatunsitf.c: Likewise.
3678 * soft-fp/floatuntidf.c: Likewise.
3679 * soft-fp/floatuntisf.c: Likewise.
3680 * soft-fp/floatuntitf.c: Likewise.
3681 * soft-fp/gedf2.c: Likewise.
3682 * soft-fp/gesf2.c: Likewise.
3683 * soft-fp/getf2.c: Likewise.
3684 * soft-fp/ledf2.c: Likewise.
3685 * soft-fp/lesf2.c: Likewise.
3686 * soft-fp/letf2.c: Likewise.
3687 * soft-fp/muldf3.c: Likewise.
3688 * soft-fp/mulsf3.c: Likewise.
3689 * soft-fp/multf3.c: Likewise.
3690 * soft-fp/negdf2.c: Likewise.
3691 * soft-fp/negsf2.c: Likewise.
3692 * soft-fp/negtf2.c: Likewise.
3693 * soft-fp/op-1.h: Likewise.
3694 * soft-fp/op-2.h: Likewise.
3695 * soft-fp/op-4.h: Likewise.
3696 * soft-fp/op-8.h: Likewise.
3697 * soft-fp/op-common.h: Likewise.
3698 * soft-fp/quad.h: Likewise.
3699 * soft-fp/single.h: Likewise.
3700 * soft-fp/soft-fp.h: Likewise.
3701 * soft-fp/subdf3.c: Likewise.
3702 * soft-fp/subsf3.c: Likewise.
3703 * soft-fp/subtf3.c: Likewise.
3704 * soft-fp/truncdfsf2.c: Likewise.
3705 * soft-fp/trunctfdf2.c: Likewise.
3706 * soft-fp/trunctfsf2.c: Likewise.
3707 * soft-fp/trunctfxf2.c: Likewise.
3708 * soft-fp/unorddf2.c: Likewise.
3709 * soft-fp/unordsf2.c: Likewise.
3710 * soft-fp/unordtf2.c: Likewise.
3711
4dfe21ac
RE
37122015-09-24 Richard Earnshaw <rearnsha@arm.com>
3713
3714 PR libgcc/67624
3715 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3716
df2a1cc4
RO
37172015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3718
3719 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3720 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3721 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3722 messages.
3723 (internal_mcount): Likewise.
3724 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3725 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3726
2d110442
RO
37272015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3728
3729 * configure.ac (libgcc_cv_solaris_crts): New test.
3730 * configure: Regenerate.
3731 * config.in: Regenerate.
3732 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3733 * config/gmon-sol2.c: Rename to ...
3734 * config/sol2/gmon.c: ... this.
3735 Include auto-target.h.
3736 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3737 * config/t-sol2: Rename to ...
3738 * config/sol2/t-sol2: ... this.
3739 (gmon.o): Reflect renaming.
3740 (crtp.o, crtpg.o): New rules.
3741 * config.host (*-*-solaris2*): Reflect renaming.
3742 Use system CRTs if present.
3743 Remove default CRT case.
3744
d572e439
JDA
37452015-09-23 John David Anglin <danglin@gcc.gnu.org>
3746
3747 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3748 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3749 __kernel_cmpxchg2.
3750 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3751 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3752 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3753 (__sync_lock_test_and_set_##WIDTH): Likewise.
3754 (__sync_lock_release_##WIDTH): Likewise.
3755 (__sync_fetch_and_##OP##_4): Change result to match type of
3756 __kernel_cmpxchg.
3757 (__sync_##OP##_and_fetch_4): Likewise.
3758 (__sync_val_compare_and_swap_4): Likewise.
3759 (__sync_bool_compare_and_swap_4): likewise.
3760 (__sync_lock_test_and_set_4): Likewise.
3761 (__sync_lock_release_4): Likewise.
3762 (FETCH_AND_OP_2): Add long long variants.
3763 (OP_AND_FETCH_2): Likewise.
3764 (COMPARE_AND_SWAP_2 ): Likewise.
3765 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3766 (SYNC_LOCK_RELEASE_2): Likewise.
3767 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3768
7d296953 37692015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3770
3771 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3772 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3773 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3774 (get_available_features): Habdle new features.
3775
131314e1
JB
37762015-09-21 James Bowman <james.bowman@ftdichip.com>
3777
3778 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3779 memory layout. Deal correctly with BSS region larger than 32K.
3780 Handle a watchdog reset like a power-on reset. Clean up unused
3781 code.
3782
04218b35
AD
37832015-09-18 Andrew Dixie <andrewd@gentrack.com>
3784 David Edelsohn <dje.gcc@gmail.com>
3785
3786 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3787 * config/rs6000/crtdbase.S: New file.
3788 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3789
c8338173
MF
37902015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3791
3792 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3793 Add support for call0 ABI.
3794
7a84bf71
JDA
37952015-09-13 John David Anglin <danglin@gcc.gnu.org>
3796
3797 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3798
4efab402
SH
37992015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3800
3801 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3802 (__GTHREAD_HAS_COND): Likewise.
3803 (__gthread_t): Likewise.
3804 (__gthread_cond_t): Likewise.
3805 (__gthread_time_t): Likewise.
3806 (__GTHREAD_MUTEX_INIT): Likewise.
3807 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3808 (__GTHREAD_COND_INIT): Likewise.
3809 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3810 (__GTHREAD_TIME_INIT): Likewise.
3811 (__gthread_create): Likewise.
3812 (__gthread_join): Likewise.
3813 (__gthread_detach): Likewise.
3814 (__gthread_equal): Likewise.
3815 (__gthread_self): Likewise.
3816 (__gthread_yield): Likewise.
3817 (__gthread_cond_broadcast): Likewise.
3818 (__gthread_cond_signal): Likewise.
3819 (__gthread_cond_wait): Likewise.
3820 (__gthread_cond_timedwait): Likewise.
3821 (__gthread_cond_wait_recursive): Likewise.
3822 (__gthread_cond_destroy): Likewise.
3823 (rtems_gxx_once): Delete.
3824 (rtems_gxx_key_create): Likewise.
3825 (rtems_gxx_key_delete): Likewise.
3826 (rtems_gxx_getspecific): Likewise.
3827 (rtems_gxx_setspecific): Likewise.
3828 (rtems_gxx_mutex_init): Likewise.
3829 (rtems_gxx_mutex_destroy): Likewise.
3830 (rtems_gxx_mutex_lock): Likewise.
3831 (rtems_gxx_mutex_trylock): Likewise.
3832 (rtems_gxx_mutex_unlock): Likewise.
3833 (rtems_gxx_recursive_mutex_init): Likewise.
3834 (rtems_gxx_recursive_mutex_lock): Likewise.
3835 (rtems_gxx_recursive_mutex_trylock): Likewise.
3836 (rtems_gxx_recursive_mutex_unlock): Likewise.
3837 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3838 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3839 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3840 (__gthread_once): Likewise.
3841 (__gthread_key_create): Likewise.
3842 (__gthread_key_delete): Likewise.
3843 (__gthread_getspecific): Likewise.
3844 (__gthread_setspecific): Likewise.
3845 (__gthread_key_t): Use <pthread.h> type.
3846 (__gthread_once_t): Likewise
3847 (__gthread_mutex_t): Use <sys/lock.h> type.
3848 (__gthread_recursive_mutex_t): Likewise
3849 (__gthread_mutex_lock): Use <sys/lock.h> function.
3850 (__gthread_mutex_trylock): Likewise.
3851 (__gthread_mutex_timedlock): Likewise.
3852 (__gthread_mutex_unlock): Likewise.
3853 (__gthread_mutex_destroy): Likewise.
3854 (__gthread_recursive_mutex_lock): Likewise.
3855 (__gthread_recursive_mutex_trylock): Likewise.
3856 (__gthread_recursive_mutex_timedlock): Likewise.
3857 (__gthread_recursive_mutex_unlock): Likewise.
3858 (__gthread_recursive_mutex_destroy): Likewise.
3859
991995c4
MF
38602015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3861
3862 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3863 context->sp instead of context->cfa.
3864
0e19db59
MF
38652015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3866
3867 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3868 with unwind-dw2-fde-dip.
3869
b6ac5f62
MF
38702015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3871
3872 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3873 CALL12 followed by series of ENTRY to spill windowed registers.
3874 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3875 instead of making linux spill syscall.
3876
3e0f3349
YR
38772015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3878
3879 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3880 (get_intel_cpu): Likewise.
3881
51c728b1
L
38822015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3883
3884 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3885 (get_intel_cpu): Add Knights Landing support.
3886
aff4eeac
UB
38872015-08-11 Uros Bizjak <ubizjak@gmail.com>
3888
3889 PR target/66954
3890 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3891 (get_available_features): Handle FEATURE_PCLMUL.
3892
736e56da
L
38932015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3894
3895 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3896 Broadwell.
3897
54d22142
UB
38982015-07-22 Uros Bizjak <ubizjak@gmail.com>
3899
3900 PR target/66954
3901 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3902 (get_available_features): Handle FEATURE_AES.
3903
20ca17e4
CLT
39042015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3905
3906 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3907 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3908
ebe4a560
NS
39092015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3910
3911 * offloadstuff.c: Constify host data.
3912
180744c0
JB
39132015-07-17 Jan Beulich <jbeulich@suse.com>
3914
3915 * config/t-softfp: Split up "else ifneq".
3916
a03c6ae3
SL
39172015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3918 Cesar Philippidis <cesar@codesourcery.com>
3919 Chung-Lin Tang <cltang@codesourcery.com>
3920
3921 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3922 for __nios2_arch__ level.
3923
73358db5
JM
39242015-07-13 John Marino <gnugcc@marino.st>
3925
3926 * config/i386/t-dragonfly: New.
3927
f9a12f7b
JDA
39282015-07-01 John David Anglin <danglin@gcc.gnu.org>
3929
3930 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3931 better match light-weight syscall argument order.
3932 (__kernel_cmpxchg2): Likewise.
3933 Adjust callers.
3934
cb78b51c
L
39352015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3936
3937 * config.host: Support i[34567]86-*-elfiamcu target.
3938 * config/t-softfp-sfdftf: New file.
3939 * config/i386/32/t-iamcu: Likewise.
3940 * configure: Regenerated.
3941
4fa0f9ea
JL
39422015-06-23 James Lemke <jwlemke@codesourcery.com>
3943
3944 libgcc/config/arm/
3945 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3946
428b3812
L
39472015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3948
3949 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3950
7d296953 39512015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3952
3953 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3954 md_unwind_header
3955 * config/i386/freebsd-unwind.h: New.
3956
9b789cc1
UB
39572015-05-22 Uros Bizjak <ubizjak@gmail.com>
3958
3959 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3960 i386/t-crtfm to tmake_file.
3961 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3962 (set_fast_math): Use set_fast_math_sse for SSE targets.
3963 * config/i386/t-crtfm: Remove.
3964
3dafb220
AM
39652015-05-21 Alan Modra <amodra@gmail.com>
3966
3967 PR libgcc/66225
3968 * config/rs6000/morestack.S: Remove ".abiversion 1".
3969
0f0fd745
AM
39702015-05-20 Alan Modra <amodra@gmail.com>
3971
3972 * config/rs6000/morestack.S: New.
3973 * config/rs6000/t-stack-rs6000: New.
3974 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3975 to tmake_file.
3976 * generic-morestack.c: Don't build for powerpc 32-bit.
3977
515ae71b
EB
39782015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3979
3980 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3981 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3982
36805406
JL
39832015-05-16 James Bowman <james.bowman@ftdichip.com>
3984
3985 * config.host: FT32 target added.
3986 * config/ft32/*: New files for FT32 target.
3987
ff935d0c
MG
39882015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3989
385c7747
UB
3990 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3991 New macros.
3992 * config/arm/ieee754-df.S: Add CFI directives.
3993 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3994
9b92a9f3
EB
39952015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3996
3997 * configure.ac: Include config/sjlj.m4.
3998 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3999 * config.in: Regenerate.
4000 * configure: Likewise.
4001 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4002
98b5dc61
UB
40032015-05-12 Uros Bizjak <ubizjak@gmail.com>
4004
4005 * libgcov-util.c: Add space between string literal and macro name.
4006
5a0ff57c
SL
40072015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4008 Chris Jones <chrisj@nvidia.com>
4009 Joshua Conner <jconner@nvidia.com>
4010
4011 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4012 (arm*-*-uclinux*): Likewise.
4013 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4014 * config/arm/crtfastmath.c: New file.
4015
d28ad5d4
BS
40162014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4017
4018 * Makefile.in (real_host_noncanonical): New variable.
4019 (libsubdir): Use it.
4020 * configure.ac (real_host_noncanonical): Compute. Remove special
4021 case for intelmicemul.
4022 * configure: Regenerate.
4023
cc86234f
UB
40242015-04-28 Uros Bizjak <ubizjak@gmail.com>
4025
4026 * config/frv/elf-lib.h: New file.
4027 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4028 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4029 to tm_file.
4030
40312015-04-28 Uros Bizjak <ubizjak@gmail.com>
4032
4033 * config/frv/frvbengin.c: Do not include defaults.h
4034 * config/frv/frvend.c: Ditto.
4035
2f6bd6eb
YS
40362015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4037
4038 * config.host: Add h8300-*-linux
4039 * config/h8300/t-linux: New file.
4040 * config/h8300/lib1funs.s: Change symbol prefix.
4041 * config/h8300/sfp-machine.h: 64bit double support.
4042
15aa7b44
GR
40432015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4044 Szabolcs Nagy <szabolcs.nagy@arm.com>
4045
4046 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4047 Linux if target provides dl_iterate_phdr.
4048
abd0cdc9
L
40492015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 PR target/65612
4052 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4053 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4054 (__cpu_indicator_init@GCC_4.8.0): New.
4055 (__cpu_model@GCC_4.8.0): Likewise.
4056 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4057 -DUSE_ELF_SYMVER.
4058
72ed1126
NC
40592015-04-16 Nick Clifton <nickc@redhat.com>
4060
4061 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4062 and __modhi3 functions.
4063 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4064 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4065
d26b2237
CG
40662015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4067
4068 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4069 do-while loop as macro body to avoid warnings.
4070
cacf1f59
JJ
40712015-04-10 Jakub Jelinek <jakub@redhat.com>
4072 Iain Sandoe <iain@codesourcery.com>
4073
4074 PR target/65351
4075 * configure: Regenerate.
4076
e8a4ed3b
JJ
40772015-04-07 Jakub Jelinek <jakub@redhat.com>
4078 Iain Sandoe <iain@codesourcery.com>
4079
4080 PR target/65351
4081 * configure: Regenerate.
4082
0341335e
CLT
40832015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4084
4085 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4086
590e2636 40872015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4088
590e2636
MF
4089 Implement call0 ABI for xtensa
4090 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4091 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4092 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4093 use ret in call0 ABI.
4094 * config/xtensa/t-windowed: New file.
4095 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4096 * libgcc/configure: Regenerated.
4097 * libgcc/configure.ac: Check if xtensa target is configured for
4098 windowed ABI and thus needs to use custom unwind code.
4099
7727f8f2
JW
41002015-02-12 Jonathan Wakely <jwakely@redhat.com>
4101
4102 PR libgcc/64885
4103 * gthr-single.h: Use __unused__ attribute instead of unused.
4104 * config/gthr-vxworks.h: Likewise.
4105 * config/i386/gthr-win32.h: Likewise.
4106
0e4a0def
KT
41072015-02-27 Kai Tietz <ktietz@redhat.com>
4108
4109 PR target/65038
4110 * config.in: Regenerated.
4111 * configure: Likewise.
4112 * configure.ac (AC_HEADER_STDC): Added explicit.
4113 (AC_CHECK_HEADERS): Check for default headers plus
4114 for ftw.h header.
4115 * libgcov-util.c (gcov_read_profile_dir): Disable use
4116 of ftw-function, if header is not found.
4117 (ftw_read_file): Likewise.
4118
b6530d0a
TS
41192015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4120
4121 PR target/65181
4122 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4123 -Dinhibit_libc.
4124
53cfb467
SL
41252015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4126
4127 * config/arm/bpabi.S (test_div_by_zero): Make label names
4128 consistent between thumb2 and arm mode cases. Separate the
4129 signed comparison on the high word of the numerator from the
4130 unsigned comparison on the low word.
4131 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4132 signed comparison.
4133
77d10a1b
JM
41342015-02-17 Joseph Myers <joseph@codesourcery.com>
4135
4136 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4137 and <string.h>.
4138 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4139
98174188
RE
41402015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4141
4142 PR gcov-profile/61889
471274de 4143 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 4144
771bef14
NC
41452015-02-02 Nick Clifton <nickc@redhat.com>
4146
4147 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4148 rounding up the fraction.
4149
40702893
JDA
41502015-01-31 John David Anglin <danglin@gcc.gnu.org>
4151
4152 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4153 oldval and newval to const void *. Fix typo.
4154 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4155 (FETCH_AND_OP_WORD): Likewise.
4156 (OP_AND_FETCH_WORD): Likewise.
4157 (COMPARE_AND_SWAP_2): Likewise.
4158 (__sync_val_compare_and_swap_4): Likewise.
4159 (__sync_lock_test_and_set_4): Likewise.
4160 (SYNC_LOCK_RELEASE_2): Likewise.
4161 Remove support for long long atomic operations.
4162
f7f049fa
CT
41632015-01-27 Caroline Tice <cmtice@google.com>
4164
4165 Committing VTV Cywin/Ming patch for Patrick Wollgast
4166 * Makefile.in: Move rules to build vtv_*.o out of the check
4167 for CUSTOM_CRTSTUFF.
4168 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4169 i[34567]86-*-mingw*)
4170 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4171 enable_vtable_verify.
4172
8410904a
NC
41732015-01-27 Nick Clifton <nickc@redhat.com>
4174
4175 * config/rl78/cmpsi2.S: Use function start and end macros.
4176 (__gcc_bcmp): New function.
4177 * config/rl78/lshrsi3.S: Use function start and end macros.
4178 * config/rl78/mulsi3.S: Add support for G10.
4179 (__mulqi3): New function for G10.
4180 * config/rl78/signbit.S: Use function start and end macros.
4181 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4182 fpmath-sf.S.
4183 (LIB2FUNCS_EXCLUDE): Define.
4184 (LIB2FUNCS_ST): Define.
4185 * config/rl78/trampoline.S: Use function start and end macros.
4186 * config/rl78/vregs.h (START_FUNC): New macro.
4187 (START_ANOTHER_FUNC): New macro.
4188 (END_FUNC): New macro.
4189 (END_ANOTHER_FUNC): New macro.
4190 * config/rl78/bit-count.S: New file. Contains assembler
4191 implementations of the bit counting functions: ___clzhi2,
4192 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4193 __paritysi2, __popcounthi2 and __popcountsi2.
4194 * config/rl78/fpbit-sf.S: New file. Contains assembler
4195 implementationas of the math functions: __negsf2, __cmpsf2,
4196 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4197 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4198 * config/rl78/fpmath-sf.S: New file. Contains assembler
4199 implementations of the math functions: __subsf3, __addsf3,
4200 __mulsf3 and __divsf3
4201
f962fbf1
RO
42022015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4203
4204 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4205 Add i386/elf-lib.h to tm_file.
4206 * config/i386/elf-lib.h: Fix comment.
4207 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4208 && __sun__ && __svr4__]: Remove workaround.
4209
939911c5
ASJ
42102015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4211
4212 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4213 FEATURE_BMI2.
4214 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4215
c8f2dff2
L
42162015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 * config/i386/cpuinfo.c (processor_subtypes): Add
4219 INTEL_COREI7_BROADWELL.
4220 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4221 model numbers.
4222
7bbf9734
UB
42232015-01-23 Uros Bizjak <ubizjak@gmail.com>
4224
4225 * config/i386/elf-lib.h: New file.
4226 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4227 Wrap definition in #ifdef __i386__.
4228 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4229 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4230 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4231 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4232 to tm_file.
4233
324820f1
CG
42342015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4235
4236 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4237 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4238
a9ce4e4a
CLT
42392015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4240
4241 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4242 Update rt_sigframe format and address for current Nios II
4243 Linux conventions.
4244
82a19768
AT
42452015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4246
4247 * config.host (arm*-*-freebsd*): Add new configuration for
4248 arm*-*-freebsd*.
4249 * config/arm/freebsd-atomic.c: New file.
4250 * config/arm/t-freebsd: Likewise.
4251 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4252 'PC-relative indirect' OS's.
4253
0969ec7d
EB
42542015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4255
4256 * config.host: Add Visium support.
4257 * config/visium: New directory.
4258
5624e564
JJ
42592015-01-05 Jakub Jelinek <jakub@redhat.com>
4260
4261 Update copyright years.
4262
82f84ecb
MF
42632014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4264
4265 * config.host: Support mipsisa32r6 and mipsisa64r6.
4266 * config/mips/mips16.S: Do not build for R6.
4267
69044fa9
OE
42682014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4269
4270 * config/sh/crt.h: New.
4271 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4272 symbols.
4273 * config/sh/crt1.S: Likewise.
4274
2405e0ea
UB
42752014-12-15 Uros Bizjak <ubizjak@gmail.com>
4276
4277 PR libgcc/63832
4278 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4279 func_ptr *dtor_list temporary variable to avoid "array subscript
4280 is above array bounds" warnings.
4281
7d296953 42822014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4283
4284 * Makefile.in (with_aix_soname): Define.
4285 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4286 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4287 * configure: Recreate.
4288
a66272f6
OH
42892014-12-05 Olivier Hainque <hainque@adacore.com>
4290
4291 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4292 now provided by defaults.h.
4293
6342b2c5
OE
42942014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4295
7d0ee249 4296 PR target/55351
6342b2c5
OE
4297 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4298 whether it's defined.
4299
c17eac85
IT
43002014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4301
4302 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4303 * config/i386/cpuinfo.c (get_available_features): Detect it.
4304
1025cb6c
TW
43052014-11-27 Tony Wang <tony.wang@arm.com>
4306
4307 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4308 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4309 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4310
d19f2e38
SB
43112014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4312
4313 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4314
17f6e9a3
JDA
43152014-11-24 John David Anglin <danglin@gcc.gnu.org>
4316
4317 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4318 instead.
4319
0cd7c672
GM
43202014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4321 John David Anglin <danglin@gcc.gnu.org>
4322
4323 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4324 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4325 (OP_AND_FETCH_2): Likewise.
4326 (COMPARE_AND_SWAP_2): Likewise.
4327 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4328 (SYNC_LOCK_RELEASE_2): Likewise.
4329 (SUBWORD_SYNC_OP): Remove.
4330 (SUBWORD_VAL_CAS): Likewise.
4331 (SUBWORD_BOOL_CAS): Likewise.
4332 (FETCH_AND_OP_WORD): Update.
4333 Consistently use signed types.
cc86234f 4334
85c64bbe
BS
43352014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4336 Thomas Schwinge <thomas@codesourcery.com>
4337 Ilya Verbin <ilya.verbin@intel.com>
4338 Andrey Turetskiy <andrey.turetskiy@intel.com>
4339
4340 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4341 (crtoffloadend$(objext)): Likewise.
4342 * configure: Regenerate.
4343 * configure.ac (accel_dir_suffix): Compute new variable.
4344 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4345 if enable_offload_targets is not empty.
4346 * offloadstuff.c: New file.
4347
52a1ff8b
NC
43482014-11-13 Nick Clifton <nickc@redhat.com>
4349
4350 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4351 Use START_FUNC and END_FUNC macros to enable linker garbage
4352 collection.
4353 * config/rl78/divmodqi.S: Likewise.
4354 * config/rl78/divmodsi.S: Likewise.
4355 * config/rl78/mulsi3.S: Likewise.
4356 * config/rl78/lib2div.c: Remove G10 functions.
4357 * config/rl78/lib2muls.c: Likewise.
4358 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4359 * config/rl78/vregs.h (START_FUNC): New macro.
4360 (END_FUNC): New macro.
4361
050af144
MF
43622014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4363
4364 * config/mips/mips16.S: Set .module when supported. Update O32
4365 FP64 calling convention and use for FPXX when possible. Add FPXX
4366 calling convention fallback case.
4367
738f2522
BS
43682014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4369
4370 * config.host: Handle nvptx-*-*.
4371 * shared-object.mk (as-flags-$o): Define.
4372 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4373 -xassembler-with-cpp.
4374 * static-object.mk: Identical changes.
4375 * config/nvptx/t-nvptx: New file.
4376 * config/nvptx/crt0.s: New file.
4377 * config/nvptx/free.asm: New file.
4378 * config/nvptx/malloc.asm: New file.
4379 * config/nvptx/realloc.c: New file.
4380
e610393c
JM
43812014-10-30 Joseph Myers <joseph@codesourcery.com>
4382
4383 * Makefile.in (libgcc.map.in): New target.
4384 (libgcc.map): Use libgcc.map.in.
4385 * config/t-softfp (softfp_compat): New variable to be set by
4386 users.
4387 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4388 variables.
4389 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4390 directory.
4391 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4392 that use compat symbols and disable all code unless [SHARED].
4393 * config/t-softfp-compat: New file.
4394 * find-symver.awk: New file.
4395 * configure.ac (--with-glibc-version): New configure option.
4396 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4397 * configure: Regenerate.
4398 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4399 soft-float and e500.
4400
bc1b3a88
JM
44012014-10-29 Joseph Myers <joseph@codesourcery.com>
4402
4403 * config/t-hardfp (hardfp_exclusions): Document new variable for
4404 user to define.
4405 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4406 * config/t-softfp (softfp_extras): Document new variable for user
4407 to define.
4408 (softfp_func_list): Add functions from $(softfp_extras).
4409 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4410 * config.host (powerpc*-*-linux*): For e500v1, use
4411 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4412 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4413 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4414
ef2810c1
JDA
44152014-10-26 John David Anglin <danglin@gcc.gnu.org>
4416
4417 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4418 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4419 memory read accesses are ok.
4420
d80c2bea
JM
44212014-10-25 Joseph Myers <joseph@codesourcery.com>
4422
4423 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4424 * configure: Regenerate.
4425 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4426 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4427 of soft-fp for 32-bit classic hard float. Do not use
4428 t-softfp-excl for soft float.
4429
693b297b
JM
44302014-10-22 Joseph Myers <joseph@codesourcery.com>
4431
4432 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4433 configurations.
4434 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4435 Remove variables.
4436
18a3415e
GJL
44372014-10-22 Georg-Johann Lay <avr@gjlay.de>
4438
4439 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4440 introduced with 2014-10-21 trunk r216525.
4441
c1dd9790 44422014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4443 Vidya Praveen <vidya.praveen@atmel.com>
4444 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4445 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4446 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4447
4448 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4449 order.
4450
4451 Updated library functions for AVRTINY arch.
4452 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4453 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4454 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4455 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4456 wsubi/wadi macors.
4457 (__mulsi3_helper): Update stack, preserve callee saved regs and
4458 argument from stack. Restore callee save registers.
4459 (__mulpsi3): Likewise.
4460 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4461 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4462 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4463 AVRTINY.
4464 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4465 (__do_copy_data): Added new definition for AVRTINY.
4466 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4467 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4468 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4469 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4470 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4471 macors.
18a3415e 4472 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4473 AVRTINY.
4474
18a3415e 4475 Fix broken long multiplication on tiny arch.
c1dd9790 4476
5f606431
JM
44772014-10-09 Joseph Myers <joseph@codesourcery.com>
4478
4479 * soft-fp/double.h: Update from glibc.
4480 * soft-fp/eqdf2.c: Likewise.
4481 * soft-fp/eqsf2.c: Likewise.
4482 * soft-fp/eqtf2.c: Likewise.
4483 * soft-fp/extenddftf2.c: Likewise.
4484 * soft-fp/extended.h: Likewise.
4485 * soft-fp/extendsfdf2.c: Likewise.
4486 * soft-fp/extendsftf2.c: Likewise.
4487 * soft-fp/extendxftf2.c: Likewise.
4488 * soft-fp/gedf2.c: Likewise.
4489 * soft-fp/gesf2.c: Likewise.
4490 * soft-fp/getf2.c: Likewise.
4491 * soft-fp/ledf2.c: Likewise.
4492 * soft-fp/lesf2.c: Likewise.
4493 * soft-fp/letf2.c: Likewise.
4494 * soft-fp/op-1.h: Likewise.
4495 * soft-fp/op-2.h: Likewise.
4496 * soft-fp/op-4.h: Likewise.
4497 * soft-fp/op-8.h: Likewise.
4498 * soft-fp/op-common.h: Likewise.
4499 * soft-fp/quad.h: Likewise.
4500 * soft-fp/single.h: Likewise.
4501 * soft-fp/soft-fp.h: Likewise.
4502 * soft-fp/unorddf2.c: Likewise.
4503 * soft-fp/unordsf2.c: Likewise.
4504 * soft-fp/unordtf2.c: Likewise.
4505 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4506 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4507 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4508 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4509 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4510 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4511 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4512 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4513 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4514 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4515
9b84e7a8
RX
45162014-10-08 Rong Xu <xur@google.com>
4517
4518 * libgcov-util.c (read_gcda_file): Fix format.
4519 (find_match_gcov_info): Ditto.
4520 (calculate_2_entries): New.
4521 (compute_one_gcov): Ditto.
4522 (gcov_info_count_all_cold): Ditto.
4523 (gcov_info_count_all_zero): Ditto.
4524 (extract_file_basename): Ditto.
4525 (get_file_basename): Ditto.
4526 (set_flag): Ditto.
4527 (matched_gcov_info): Ditto.
4528 (calculate_overlap): Ditto.
4529 (gcov_profile_overlap): Ditto.
4530 * libgcov-driver.c (compute_summary): Make
4531 it avavilable for external calls.
4532
fe1090c1
RX
45332014-10-06 Rong Xu <xur@google.com>
4534
4535 * Makefile.in: Ditto.
4536 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4537 (gcov_sort_icall_topn_counter): Ditto.
4538 (gcov_sort_topn_counter_arrays): Ditto.
4539 (dump_one_gcov): Sort indirect_call topn counters.
4540 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4541 function.
4542 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4543 utility function.
4544 (__gcov_indirect_call_topn_profiler): New profiler function.
4545 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4546 * libgcov.h: New decls.
4547
3daa7bbf
TS
45482014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4549
4550 * config.host: Remove support for score-*.
4551
9a79452d
JM
45522014-09-22 Joseph Myers <joseph@codesourcery.com>
4553
4554 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4555 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4556 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4557 __LIBGCC_XF_MANT_DIG__.
4558 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4559 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4560 __LIBGCC_TF_MANT_DIG__.
4561 * libgcc2.c (NOTRUNC): Define in terms of
4562 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4563 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4564
1a849e50
JM
45652014-09-22 Joseph Myers <joseph@codesourcery.com>
4566
4567 PR target/63312
4568 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4569 New macros.
4570
598a1586
HPN
45712014-09-22 Hans-Peter Nilsson <hp@axis.com>
4572
4573 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4574 override USE_PT_GNU_EH_FRAME.
4575 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4576 check USE_EH_FRAME_REGISTRY_ALWAYS against
4577 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4578 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4579 variable for substituted force_explicit_eh_registry.
4580 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4581 * configure.ac (explicit-exception-frame-registration):
4582 New AC_ARG_ENABLE.
4583 * configure: Regenerate.
4584
3a8fe7c6
OH
45852014-09-19 Olivier Hainque <hainque@adacore.com>
4586
4587 * config.host (powerpc-wrs-vxworksmils): New configuration,
4588 same as vxworksae.
4589
dd69f047
JM
45902014-09-18 Joseph Myers <joseph@codesourcery.com>
4591
4592 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4593
e770bfd9
JM
45942014-09-18 Joseph Myers <joseph@codesourcery.com>
4595
4596 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4597 bits not set bits as indicating trapping exceptions.
4598
cadb2b96
NS
45992014-09-17 Nathan sidwell <nathan@acm.org>
4600
4601 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4602 (LIBGCOV_DRIVER): ... here.
4603 * libgcov-driver.c (gcov_master): New.
4604 (gcov_exit): Remove from master chain.
4605 (__gcov_init): Add to master chain if version compatible. Don't
4606 clear the version.
4607 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4608 (gcov_reset_int): Clear master chain, if compatible.
4609 (gcov_dump_int): New internal interface. Dump master chain, if
4610 compatible.
4611 (gcov_dump): Alias for gcov_dump_int.
4612 * libgcov.h (struct gcov_root): Add next and prev fields.
4613 (struct gcov_master): New struct.
4614 (__gcov_master): New.
4615 (gcov_dump_int): Declare.
4616
580d22a3
OH
46172014-09-17 Olivier Hainque <hainque@adacore.com>
4618
4619 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4620 and crtbegin.o + crtend.o to extra_parts.
4621
8cc4b7a2
JM
46222014-09-12 Joseph Myers <joseph@codesourcery.com>
4623
4624 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4625 __LIBGCC_HAS_SF_MODE__.
4626 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4627 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4628 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4629 * config/libbid/bid_gcc_intrinsics.h
4630 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4631 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4632 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4633 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4634 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4635 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4636
ea3f2b24
GJL
46372014-09-11 Georg-Johann Lay <avr@gjlay.de>
4638
4639 PR target/63223
4640 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4641 and R24 as needed. Make work for all devices and .text locations.
4642 (__do_global_ctors, __do_global_dtors): Use word addresses.
4643 (__tablejump__, __tablejump_elpm__): Remove functions.
4644 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4645 Add _tablejump2.
4646 (XICALL, XIJMP): New macros.
4647
b677236a
MS
46482014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4649 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4650
4651 * config.host (aarch64*): Include crtfastmath.o and
4652 t-crtfm.
4653 * config/aarch64/crtfastmath.c: New file.
4654
157e859f
TS
46552014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4656
4657 * config.host: Remove picochip support.
4658 * config/picochip/adddi3.S: Remove.
4659 * config/picochip/ashlsi3.S: Remove.
4660 * config/picochip/ashlsi3.c: Remove.
4661 * config/picochip/ashrsi3.S: Remove.
4662 * config/picochip/ashrsi3.c: Remove.
4663 * config/picochip/clzsi2.S: Remove.
4664 * config/picochip/cmpsi2.S: Remove.
4665 * config/picochip/divmod15.S: Remove.
4666 * config/picochip/divmodhi4.S: Remove.
4667 * config/picochip/divmodsi4.S: Remove.
4668 * config/picochip/lib1funcs.S: Remove.
4669 * config/picochip/longjmp.S: Remove.
4670 * config/picochip/lshrsi3.S: Remove.
4671 * config/picochip/lshrsi3.c: Remove.
4672 * config/picochip/parityhi2.S: Remove.
4673 * config/picochip/popcounthi2.S: Remove.
4674 * config/picochip/setjmp.S: Remove.
4675 * config/picochip/subdi3.S: Remove.
4676 * config/picochip/t-picochip: Remove.
4677 * config/picochip/ucmpsi2.S: Remove.
4678 * config/picochip/udivmodhi4.S: Remove.
4679 * config/picochip/udivmodsi4.S: Remove.
4680
66bb34c0
JM
46812014-09-08 Joseph Myers <joseph@codesourcery.com>
4682
4683 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4684 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4685 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4686 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4687 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4688 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4689 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4690 defined and LIBGCC2_HAS_DF_MODE is defined.
4691 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4692 defined and LIBGCC2_HAS_XF_MODE is defined.
4693 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4694 defined and LIBGCC2_HAS_TF_MODE is defined.
4695
9686a2e6
JM
46962014-09-08 Joseph Myers <joseph@codesourcery.com>
4697
4698 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4699 and ROUND_TOWARDS_ZERO conditionals.
4700
71c3e2ef
NS
47012014-09-07 Nathan sidwell <nathan@acm.org>
4702
4703 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4704 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4705
53d68b9f
JM
47062014-09-05 Joseph Myers <joseph@codesourcery.com>
4707
4708 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4709 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4710 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4711 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4712 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4713 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4714 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4715 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4716 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4717 (DWARF_FRAME_REGISTERS): Change all uses to
4718 __LIBGCC_DWARF_FRAME_REGISTERS__.
4719 (EH_RETURN_STACKADJ_RTX): Change all uses to
4720 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4721 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4722 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4723 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4724 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4725 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4726 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4727 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4728 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4729 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4730 __LIBGCC_STACK_POINTER_REGNUM__.
4731 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4732 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4733 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4734 to __LIBGCC_STACK_POINTER_REGNUM__.
4735 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4736 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4737 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4738 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4739 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4740 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4741 (STACK_POINTER_REGNUM): Change all uses to
4742 __LIBGCC_STACK_POINTER_REGNUM__.
4743 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4744 use to __LIBGCC_STACK_POINTER_REGNUM__.
4745 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4746 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4747 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4748 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4749 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4750 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4751 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4752 to __LIBGCC_STACK_POINTER_REGNUM__.
4753 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4754 Remove conditional definition.
4755 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4756 __LIBGCC_TEXT_SECTION_ASM_OP__.
4757 (EH_FRAME_SECTION_NAME): Change all uses to
4758 __LIBGCC_EH_FRAME_SECTION_NAME__.
4759 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4760 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4761 (CTORS_SECTION_ASM_OP): Change all uses to
4762 __LIBGCC_CTORS_SECTION_ASM_OP__.
4763 (DTORS_SECTION_ASM_OP): Change all uses to
4764 __LIBGCC_DTORS_SECTION_ASM_OP__.
4765 (JCR_SECTION_NAME): Change all uses to
4766 __LIBGCC_JCR_SECTION_NAME__.
4767 (INIT_SECTION_ASM_OP): Change all uses to
4768 __LIBGCC_INIT_SECTION_ASM_OP__.
4769 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4770 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4771 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4772 __LIBGCC_STACK_GROWS_DOWNWARD__.
4773 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4774 __LIBGCC_INIT_SECTION_ASM_OP__.
4775 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4776 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4777 (EH_FRAME_SECTION_NAME): Change all uses to
4778 __LIBGCC_EH_FRAME_SECTION_NAME__.
4779 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4780 definitions. Change all uses to
4781 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4782 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4783 __LIBGCC_STACK_GROWS_DOWNWARD__.
4784 (DWARF_FRAME_REGISTERS): Change all uses to
4785 __LIBGCC_DWARF_FRAME_REGISTERS__.
4786 (EH_RETURN_STACKADJ_RTX): Change all uses to
4787 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4788 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4789 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4790 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4791 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4792 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4793
b20ee094
NS
47942014-09-02 Nathan sidwell <nathan@acm.org>
4795
4796 * libgcov-interface.c (STRONG_ALIAS): New.
4797 (__gcov_flush): Call __gcov_reset_int.
4798 (__gcov_reset): Strong alias for ...
4799 (__gcov_reset_ing): ... this renamed hidden version.
4800 * libgcov.h (__gcov_reset_int): New declaration.
4801
1ac83976
YS
48022014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4803
25efdb9f
YS
4804 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4805 call from here...
4806 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4807 (__dso_handle): Define on Cygwin.
4808 * config/i386/t-cygming (crtbeginS.o): New rule.
4809 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4810
1ac83976
YS
4811 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4812 declaration syntax.
4813
c6f9ea3b
SE
48142014-08-13 Steve Ellcey <sellcey@mips.com>
4815
4816 * crtstuff.c: Undef caddr_t.
4817
5b1ea7c5
SE
48182014-08-12 Steve Ellcey <sellcey@mips.com>
4819
4820 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4821
4303c581
NS
48222014-08-07 Nathan Sidwell <nathan@acm.org>
4823
4824 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4825 (LIBGCOV_DRIVER): ... to here.
4826 * libgcov.h (gcov_do_dump): New #define.
4827 (struct gcov_root): New.
4828 (__gcov_root): New declaration.
4829 (__gcov_dump_one): Declare.
4830 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4831 run_accounted): Delete.
4832 (gcov_compute_histogram): Add LIST argument, adjust.
4833 (compute_summary): Adjust gcov_compute_histogram call.
4834 (gcov_do_dump): Not hidden, static in libgcov.
4835 (gcov_clear): Move to interface.c.
4836 (__gcov_dump_one): New, broken out of ...
4837 (gcov_exit): ... here. Make static.
4838 (__gcov_root): New.
4839 (__gcov_init): Adjust.
4840 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4841 declarations.
4842 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4843 (gcov_clear): Moved from driver.c. Add LIST argument.
4844 (__gcov_reset): Adjust for changed interfaces.
4845 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4846
23742a9e
RAR
48472014-08-04 Rohit <rohitarulraj@freescale.com>
4848
4849 PR target/60102
4850 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4851 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4852
b98a872b
NS
48532014-08-01 Nathan Sidwell <nathan@acm.org>
4854
4855 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4856 LIBGCOV_INTERFACE): Reformat.
4857 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4858 IN_GCOV_TOOL.
4859 * libgcov-interface.c: Reformat some comments.
4860 (__gcov_flush_mx): Add declaration. Tidy up definition.
4861
6adaaa1d
AM
48622014-07-31 Alan Modra <amodra@gmail.com>
4863 Peter Bergner <bergner@vnet.ibm.com>
4864
4865 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4866 (pack_ldouble): New function.
4867 (__gcc_qadd): Use it.
4868 (__gcc_qmul): Likewise.
4869 (__gcc_qdiv): Likewise.
4870 (__gcc_qneg): Likewise.
4871 (__gcc_stoq): Likewise.
4872 (__gcc_dtoq): Likewise.
4873
87cb0c0c
UW
48742014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4875
4876 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4877 (__tpf_eh_return): Add original return address as second parameter.
4878 Handle cases where unwinder routines were called directly, instead
4879 of from within the C++ library.
4880
19926161
NS
48812014-07-29 Nathan Sidwell <nathan@acm.org>
4882
4883 * libgcov.h: Move renaming of entry points to lib gcov specific
4884 portion.
4885 (gcov_do_dump): New rename.
4886 (gcov_rewrite): Remove inline, make HIDDEN.
4887 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4888 (gcov_exit_compute_summary): Rename to ...
4889 (compute_summary): ... here. Add LIST argument.
4890 (gcov_exit_merge_gcda): Rename to ...
4891 (merge_one_data): ... here.
4892 (gcov_exit_write_gcda): Rename to ...
4893 (write_one_data): ... here.
4894 (gcov_exit_merge_summary): Rename to ...
4895 (merge_summary): Add RUN_COUNTED argument.
4896 (gcov_exit_dump_gcov): Rename to ...
4897 (dump_one_gcov): Add RUN_COUNTED argument.
4898 (gcov_do_dump): New function, broken out of ...
4899 (gcov_exit): ... here. Call it.
4900
17522262
AG
49012014-07-27 Anthony Green <green@moxielogic.com>
4902
4903 * config.host: Add moxiebox configuration suppport.
4904
6dc33097
NS
49052014-07-27 Nathan Sidwell <nathan@acm.org>
4906
4907 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4908 (struct gcov_filename): ... here. Include buffer and max length
4909 fields.
4910 (gcov_max_filename): Remove.
4911 (gi_filename): Remove.
4912 (gcov_exit_compute_summary): Compute max filename here.
4913 (gcov_exit_merge_gcda): Add filename parm, adjust.
4914 (gcov_exit_merge_summary): Likewise.
4915 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4916 (gcov_exit): Likewise.
4917 (__gcov_init): Don't calculate max length here.
4918 * libgcov_util.c (max_filename_len): Remove.
4919 (read_gcda_file): Don't calculate max length here.
4920 (gcov_read_profile_dir): Don't propagate here.
4921 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4922 struct gcov_filename changes.
4923 (gcov_exit_open_gcda_file): Likewise.
4924
770f687d
NS
49252014-07-25 Nathan Sidwell <nathan@acm.org>
4926
4927 * libgcov-driver.c (set_gcov_dump_complete,
4928 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4929 functions polluting user's namespace.
4930 (gcov_exit): Set variable directly.
4931 (gcov_clear): Reset variable directly.
4932 * libgcov-interface.c (get_gcov_dymp_complete,
4933 reset_gov_dump_complete): Remove declarations.
4934 (__gcov_reset, __gcov_dump): Don't call them.
4935
fabf71ba
DD
49362014-07-24 DJ Delorie <dj@redhat.com>
4937
4938 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4939 (__gcc_deregister_frame): Move logic to detect deregister function
4940 to ...
4941 (__gcc_register_frame): here, so it's consistent with the register
4942 logic.
fabf71ba 4943
d10ee722
NS
49442014-07-23 Nathan Sidwell <nathan@acm.org>
4945
4946 * libgcov-driver.c (set_gcov_list): Remove.
4947 (gcov_list): Make non-static in GCOV_TOOL.
4948 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4949
a4137090
JDA
49502014-07-17 John David Anglin <danglin@gcc.gnu.org>
4951
4952 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4953 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4954 Don't use SYNC_LOCK_RELEASE for int type.
4955
72602c6c
RB
49562014-07-14 Richard Biener <rguenther@suse.de>
4957
4958 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4959
d5313205
RX
49602014-07-11 Rong Xu <xur@google.com>
4961
4962 * libgcov-util.c (gcov_max_filename): Fix declartion.
4963
c77556a5
RX
49642014-07-10 Rong Xu <xur@google.com>
4965
4966 Add gcov-tool: an offline gcda profile processing tool
4967 Support.
4968 * libgcov-driver.c (gcov_max_filename): Make available
4969 to gcov-tool.
4970 * libgcov-merge.c (__gcov_merge_add): Replace
4971 gcov_read_counter() with a Macro.
4972 (__gcov_merge_ior): Ditto.
4973 (__gcov_merge_time_profile): Ditto.
4974 (__gcov_merge_single): Ditto.
4975 (__gcov_merge_delta): Ditto.
4976 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4977 in the utility functions.
4978 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4979 gcov_list object link lists.
4980 (tag_function): Ditto.
4981 (tag_blocks): Ditto.
4982 (tag_arcs): Ditto.
4983 (tag_lines): Ditto.
4984 (tag_counters): Ditto.
4985 (tag_summary): Ditto.
4986 (read_gcda_finalize): Ditto.
4987 (read_gcda_file): Ditto.
4988 (ftw_read_file): Ditto.
4989 (read_profile_dir_init): Ditto.
4990 (gcov_read_profile_dir): Ditto.
4991 (gcov_read_counter_mem): Ditto.
4992 (gcov_get_merge_weight): Ditto.
4993 (merge_wrapper): A wrapper function that calls merging handler.
4994 (gcov_merge): Merge two gcov_info objects with weights.
4995 (find_match_gcov_info): Find the matched gcov_info in the list.
4996 (gcov_profile_merge): Merge two gcov_info object lists.
4997 (__gcov_add_counter_op): Process edge profile counter values.
4998 (__gcov_ior_counter_op): Process IOR profile counter values.
4999 (__gcov_delta_counter_op): Process delta profile counter values.
5000 (__gcov_single_counter_op): Process single profile counter values.
5001 (fp_scale): Callback function for float-point scaling.
cc86234f 5002 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
5003 (gcov_profile_scale): Scaling profile counters.
5004 (gcov_profile_normalize): Normalize profile counters.
5005 * libgcov.h: Add headers and functions for gcov-tool use.
5006 (gcov_get_counter): New.
5007 (gcov_get_counter_target): Ditto.
5008 (struct gcov_info): Make the functions field mutable in gcov-tool
5009 compilation.
5010
5c7dac8a
KT
50112014-06-23 Kai Tietz <ktietz@redhat.com>
5012
5013 PR libgcc/61585
5014 * unwind-seh.c (_Unwind_GetGR): Check for proper
5015 index range.
5016 (_Unwind_SetGR): Likewise.
5017
161c9312
NC
50182014-05-22 Nick Clifton <nickc@redhat.com>
5019
5020 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5021 -mhwmult=none.
5022
e3f0315f
TJ
50232014-05-22 Teresa Johnson <tejohnson@google.com>
5024
5025 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5026 include.
5027
dbed5a9b
JM
50282014-05-20 John Marino <gnugcc@marino.st>
5029
5030 * config.host (*-*-dragonfly*): New target.
5031 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5032 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5033 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5034 * config/i386/dragonfly-unwind.h: New.
5035
1ec380e5
MR
50362014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5037
5038 PR libgcc/60166
5039 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5040 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5041
54fde020
BE
50422014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5043
5044 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5045 implementation.
5046
999db125
GJL
50472014-05-12 Georg-Johann Lay <avr@gjlay.de>
5048
5049 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5050
cceaf54a
RO
50512014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5052
5053 PR libgcc/61097
5054 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5055 if --enable-shared.
5056
e3fe9b5b
BE
50572014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5058
5059 Work around for current cygwin32 build problems.
5060 * config/i386/cygming-crtbegin.c (__register_frame_info,
5061 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5062 functions only for 64-bit systems.
5063
54cf37e9
RO
50642014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5065
5066 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5067 (sigill_caught, sigill_hdlr): Remove.
5068
d9f069ab
RO
50692014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5070
5071 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5072 check.
5073 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5074 Solaris 9 single-threaded support.
5075 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5076 Solaris 9 single-threaded support. Add call_user_handler code
5077 sequences.
5078 (sparc_is_sighandler): Likewise.
5079
59976ef8
AK
50802014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5081
5082 * config.host: Append t-floattodi to tmake_file depending on
5083 host_address.
5084
d02bbcf3
JS
50852014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5086
31466bc0 5087 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5088
c2e7e597
UB
50892014-03-10 Uros Bizjak <ubizjak@gmail.com>
5090
5091 PR libgcc/60472
5092 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5093 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5094 Use __builtin_expect when checking *jcr_list for NULL.
5095
227a7dc8
RO
50962014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5097
5098 PR libgcc/59339
5099 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5100 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5101 vtv_*.o to extra_parts if enable_vtable_verify.
5102
df2b279c
NC
51032014-03-06 Nick Clifton <nickc@redhat.com>
5104
5105 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5106 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5107
dc11d79b
JY
51082014-02-28 Joey Ye <joey.ye@arm.com>
5109
5110 PR libgcc/60166
5111 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5112 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5113 Set to zero.
5114
341c653c
WL
51152014-02-24 Walter Lee <walt@tilera.com>
5116
5117 * config.host: Support "tilegx*" and "tilepro*" triplets.
5118 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5119 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5120
95ce7613
CLT
51212014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5122 Chung-Lin Tang <cltang@codesourcery.com>
5123
5124 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5125 * config/nios2/crti.S: Remove .file directive.
5126 * config/nios2/crtn.S: Likewise.
5127
0bb4fc05
KT
51282014-02-18 Kai Tietz <ktietz@redhat.com>
5129 Jonathan Schleifer <js@webkeks.org>
5130
5131 PR objc/56870
5132 * unwind-seh.c (_GCC_specific_handler): Pass proper
5133 value to unwind-handler.
5134
9acf28f1
JM
51352014-02-12 Joseph Myers <joseph@codesourcery.com>
5136
5137 * soft-fp/adddf3.c: Update from glibc.
5138 * soft-fp/addsf3.c: Likewise.
5139 * soft-fp/addtf3.c: Likewise.
5140 * soft-fp/divdf3.c: Likewise.
5141 * soft-fp/divsf3.c: Likewise.
5142 * soft-fp/divtf3.c: Likewise.
5143 * soft-fp/double.h: Likewise.
5144 * soft-fp/eqdf2.c: Likewise.
5145 * soft-fp/eqsf2.c: Likewise.
5146 * soft-fp/eqtf2.c: Likewise.
5147 * soft-fp/extenddftf2.c: Likewise.
5148 * soft-fp/extended.h: Likewise.
5149 * soft-fp/extendsfdf2.c: Likewise.
5150 * soft-fp/extendsftf2.c: Likewise.
5151 * soft-fp/extendxftf2.c: Likewise.
5152 * soft-fp/fixdfdi.c: Likewise.
5153 * soft-fp/fixdfsi.c: Likewise.
5154 * soft-fp/fixdfti.c: Likewise.
5155 * soft-fp/fixsfdi.c: Likewise.
5156 * soft-fp/fixsfsi.c: Likewise.
5157 * soft-fp/fixsfti.c: Likewise.
5158 * soft-fp/fixtfdi.c: Likewise.
5159 * soft-fp/fixtfsi.c: Likewise.
5160 * soft-fp/fixtfti.c: Likewise.
5161 * soft-fp/fixunsdfdi.c: Likewise.
5162 * soft-fp/fixunsdfsi.c: Likewise.
5163 * soft-fp/fixunsdfti.c: Likewise.
5164 * soft-fp/fixunssfdi.c: Likewise.
5165 * soft-fp/fixunssfsi.c: Likewise.
5166 * soft-fp/fixunssfti.c: Likewise.
5167 * soft-fp/fixunstfdi.c: Likewise.
5168 * soft-fp/fixunstfsi.c: Likewise.
5169 * soft-fp/fixunstfti.c: Likewise.
5170 * soft-fp/floatdidf.c: Likewise.
5171 * soft-fp/floatdisf.c: Likewise.
5172 * soft-fp/floatditf.c: Likewise.
5173 * soft-fp/floatsidf.c: Likewise.
5174 * soft-fp/floatsisf.c: Likewise.
5175 * soft-fp/floatsitf.c: Likewise.
5176 * soft-fp/floattidf.c: Likewise.
5177 * soft-fp/floattisf.c: Likewise.
5178 * soft-fp/floattitf.c: Likewise.
5179 * soft-fp/floatundidf.c: Likewise.
5180 * soft-fp/floatundisf.c: Likewise.
5181 * soft-fp/floatunditf.c: Likewise.
5182 * soft-fp/floatunsidf.c: Likewise.
5183 * soft-fp/floatunsisf.c: Likewise.
5184 * soft-fp/floatunsitf.c: Likewise.
5185 * soft-fp/floatuntidf.c: Likewise.
5186 * soft-fp/floatuntisf.c: Likewise.
5187 * soft-fp/floatuntitf.c: Likewise.
5188 * soft-fp/gedf2.c: Likewise.
5189 * soft-fp/gesf2.c: Likewise.
5190 * soft-fp/getf2.c: Likewise.
5191 * soft-fp/ledf2.c: Likewise.
5192 * soft-fp/lesf2.c: Likewise.
5193 * soft-fp/letf2.c: Likewise.
5194 * soft-fp/muldf3.c: Likewise.
5195 * soft-fp/mulsf3.c: Likewise.
5196 * soft-fp/multf3.c: Likewise.
5197 * soft-fp/negdf2.c: Likewise.
5198 * soft-fp/negsf2.c: Likewise.
5199 * soft-fp/negtf2.c: Likewise.
5200 * soft-fp/op-1.h: Likewise.
5201 * soft-fp/op-2.h: Likewise.
5202 * soft-fp/op-4.h: Likewise.
5203 * soft-fp/op-8.h: Likewise.
5204 * soft-fp/op-common.h: Likewise.
5205 * soft-fp/quad.h: Likewise.
5206 * soft-fp/single.h: Likewise.
5207 * soft-fp/soft-fp.h: Likewise.
5208 * soft-fp/subdf3.c: Likewise.
5209 * soft-fp/subsf3.c: Likewise.
5210 * soft-fp/subtf3.c: Likewise.
5211 * soft-fp/truncdfsf2.c: Likewise.
5212 * soft-fp/trunctfdf2.c: Likewise.
5213 * soft-fp/trunctfsf2.c: Likewise.
5214 * soft-fp/trunctfxf2.c: Likewise.
5215 * soft-fp/unorddf2.c: Likewise.
5216 * soft-fp/unordsf2.c: Likewise.
5217 * soft-fp/unordtf2.c: Likewise.
5218 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5219 macro.
5220 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5221 Likewise.
5222 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5223 Likewise.
5224 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5225 Likewise.
5226 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5227 Likewise.
5228 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5229 Likewise.
5230 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5231 Likewise.
5232 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5233 Likewise.
5234 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5235 Likewise.
5236 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5237 Likewise.
5238 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5239 Likewise.
5240 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5241 Likewise.
5242 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5243 Likewise.
5244 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5245 Likewise.
5246 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5247 Likewise.
5248 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5249 Likewise.
5250
ce245ec6
AK
52512014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5252
5253 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5254 cannot be represented.
5255 * config/s390/32/_fixsfdi.c: Likewise.
5256 * config/s390/32/_fixtfdi.c: Likewise.
5257 * config/s390/32/_fixunsdfdi.c: Likewise.
5258 * config/s390/32/_fixunssfdi.c: Likewise.
5259 * config/s390/32/_fixunstfdi.c: Likewise.
5260
1c51d688
RS
52612014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5262
5263 * configure.ac (libgcc_cv_mips_hard_float): New.
5264 * configure: Regenerate.
5265 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5266 t-softfp-sfdf for hard-float targets.
5267 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5268 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5269 (softfp_truncations, softfp_exclude_libgcc2): New.
5270 * config/t-hardfp: New file.
5271 * config/t-hardfp-sfdf: Likewise.
5272 * config/hardfp.c: Likewise.
5273
bbf391db
AK
52742014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5275
5276 * config.host: Include t-floattodi also for s390x.
5277 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5278 * config/s390/32/_fixsfdi.c: Likewise.
5279 * config/s390/32/_fixtfdi.c: Likewise.
5280 * config/s390/32/_fixunsdfdi.c: Likewise.
5281 * config/s390/32/_fixunssfdi.c: Likewise.
5282 * config/s390/32/_fixunstfdi.c: Likewise.
5283
91da0481
RO
52842014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5285
5286 PR target/59788
5287 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5288 (install-libgcc-unwind-map-forbuild): New target.
5289 (all): Depend on install-libgcc-unwind-map-forbuild.
5290 (install-libgcc-unwind-map): New target.
5291 (install): Depend on install-libgcc-unwind-map.
5292
02b67731
SL
52932014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5294
5295 * config/nios2/crti.S (_init): Initialize GOT pointer from
5296 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5297
1ea0a651
RS
52982014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5299
5300 * configure.ac: Check __mips64 when setting host_address.
5301 * configure: Regenerate.
5302 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5303 mips/t-mips64 and t-softfp.
5304 (mips*-*-linux*): Don't add mips/t-tpbit.
5305 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5306 (DPBIT, DPBIT_CFLAGS): Delete.
5307 * config/mips/sfp-machine.h: New file.
5308 * config/mips/t-mips64: Likewise.
5309 * config/mips/t-softfp-tf: Likewise.
5310 * config/mips/t-tpbit: Delete.
5311
f32b0061
MS
53122014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5313
5314 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5315 as long long.
5316
a5420aa4
WL
53172014-01-25 Walter Lee <walt@tilera.com>
5318
5319 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5320 config.h or system.h.
5321 (bool) Define.
5322
24534912
WL
53232014-01-25 Walter Lee <walt@tilera.com>
5324
5325 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5326 (post_atomic_barrier): Ditto.
5327 (__fetch_and_do): New macro.
5328 (__atomic_fetch_and_do): Use __fetch_and_do.
5329 (__sync_fetch_and_do): New macro.
5330 (__sync_fetch_and_add_4): New function.
5331 (__sync_fetch_and_sub_4): New function.
5332 (__sync_fetch_and_or_4): New function.
5333 (__sync_fetch_and_and_4): New function.
5334 (__sync_fetch_and_xor_4): New function.
5335 (__sync_fetch_and_nand_4): New function.
5336 (__sync_fetch_and_add_8): New function.
5337 (__sync_fetch_and_sub_8): New function.
5338 (__sync_fetch_and_or_8): New function.
5339 (__sync_fetch_and_and_8): New function.
5340 (__sync_fetch_and_xor_8): New function.
5341 (__sync_fetch_and_nand_8): New function.
5342 (__do_and_fetch): New macro.
5343 (__atomic_do_and_fetch): Use __do_and_fetch.
5344 (__sync_do_and_fetch): New macro.
5345 (__sync_add_and_fetch_4): New function.
5346 (__sync_sub_and_fetch_4): New function.
5347 (__sync_or_and_fetch_4): New function.
5348 (__sync_and_and_fetch_4): New function.
5349 (__sync_xor_and_fetch_4): New function.
5350 (__sync_nand_and_fetch_4): New function.
5351 (__sync_add_and_fetch_8): New function.
5352 (__sync_sub_and_fetch_8): New function.
5353 (__sync_or_and_fetch_8): New function.
5354 (__sync_and_and_fetch_8): New function.
5355 (__sync_xor_and_fetch_8): New function.
5356 (__sync_nand_and_fetch_8): New function.
5357 (__sync_exchange_methods): New macro.
5358 (__sync_val_compare_and_swap_4): New function.
5359 (__sync_bool_compare_and_swap_4): New function.
5360 (__sync_lock_test_and_test_4): New function.
5361 (__sync_val_compare_and_swap_8): New function.
5362 (__sync_bool_compare_and_swap_8): New function.
5363 (__sync_lock_test_and_test_8): New function.
5364 (__subword_cmpxchg_body): New macro.
5365 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5366 (__atomic_compare_exchange_2): Ditto.
5367 (__sync_subword_cmpxchg): New macro.
5368 (__sync_val_compare_and_swap_1): New function.
5369 (__sync_bool_compare_and_swap_1): New function.
5370 (__sync_val_compare_and_swap_2): New function.
5371 (__sync_bool_compare_and_swap_2): New function.
5372 (__atomic_subword): Rename to ...
5373 (__subword): ... New name.
5374 (__atomic_subword_fetch): Use __subword.
5375 (__sync_subword_fetch): New macro.
5376 (__sync_fetch_and_add_1): New function.
5377 (__sync_fetch_and_sub_1): New function.
5378 (__sync_fetch_and_or_1): New function.
5379 (__sync_fetch_and_and_1): New function.
5380 (__sync_fetch_and_xor_1): New function.
5381 (__sync_fetch_and_nand_1): New function.
5382 (__sync_fetch_and_add_2): New function.
5383 (__sync_fetch_and_sub_2): New function.
5384 (__sync_fetch_and_or_2): New function.
5385 (__sync_fetch_and_and_2): New function.
5386 (__sync_fetch_and_xor_2): New function.
5387 (__sync_fetch_and_nand_2): New function.
5388 (__sync_add_and_fetch_1): New function.
5389 (__sync_sub_and_fetch_1): New function.
5390 (__sync_or_and_fetch_1): New function.
5391 (__sync_and_and_fetch_1): New function.
5392 (__sync_xor_and_fetch_1): New function.
5393 (__sync_nand_and_fetch_1): New function.
5394 (__sync_add_and_fetch_2): New function.
5395 (__sync_sub_and_fetch_2): New function.
5396 (__sync_or_and_fetch_2): New function.
5397 (__sync_and_and_fetch_2): New function.
5398 (__sync_xor_and_fetch_2): New function.
5399 (__sync_nand_and_fetch_2): New function.
5400 (__atomic_subword_lock): Use __subword.
5401 (__sync_subword_lock): New macro.
5402 (__sync_lock_test_and_set_1): New function.
5403 (__sync_lock_test_and_set_2): New function.
5404
4d6d3bc5
WL
54052014-01-25 Walter Lee <walt@tilera.com>
5406
5407 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5408 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5409 (__atomic_subword): Ditto.
5410
cbd9890e
WL
54112014-01-25 Walter Lee <walt@tilera.com>
5412
5413 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5414 a prefix op argument.
5415 (__atomic_nand_fetch_4): Add prefix op.
5416 (__atomic_nand_fetch_8): Ditto.
5417
7d296953 54182014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5419
5420 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5421
46dd1242
L
54222014-01-09 Rong Xu <xur@google.com>
5423
5424 * libgcov-driver.c (this_prg): make it local to save
5425 bss space.
5426 (gcov_exit_compute_summary): Ditto.
5427 (gcov_exit_merge_gcda): Ditto.
5428 (gcov_exit_merge_summary): Ditto.
5429 (gcov_exit_dump_gcov): Ditto.
5430
cc86234f 54312014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5432
5433 * libgcov-driver.c: Use libgcov.h.
5434 (buffer_fn_data): Use xmalloc instead of malloc.
5435 (gcov_exit_merge_gcda): Ditto.
5436 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5437 * libgcov.h: New common header files for libgcov-*.h.
5438 * libgcov-interface.c: Use libgcov.h
5439 * libgcov-merge.c: Ditto.
5440 * libgcov-profiler.c: Ditto.
5441 * Makefile.in: Add dependence to libgcov.h
5442
a02e7bdd
JM
54432014-01-02 Joseph Myers <joseph@codesourcery.com>
5444
5445 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5446 case of small numerator and finite nonzero result.
5447
ac1dca3c
RS
54482014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5449
5450 Update copyright years
5451
f9030485
RS
54522014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5453
5454 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5455 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5456 config/arc/dp-hack.h, config/arc/fp-hack.h,
5457 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5458 config/arc/ieee-754/arc600-dsp/divdf3.S,
5459 config/arc/ieee-754/arc600-dsp/divsf3.S,
5460 config/arc/ieee-754/arc600-dsp/muldf3.S,
5461 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5462 config/arc/ieee-754/arc600-mul64/divdf3.S,
5463 config/arc/ieee-754/arc600-mul64/divsf3.S,
5464 config/arc/ieee-754/arc600-mul64/muldf3.S,
5465 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5466 config/arc/ieee-754/arc600/divsf3.S,
5467 config/arc/ieee-754/arc600/mulsf3.S,
5468 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5469 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5470 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5471 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5472 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5473 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5474 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5475 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5476 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5477 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5478 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5479 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5480 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5481 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5482 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5483 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5484 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5485 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5486 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5487 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5488 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5489 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5490 vtv_start_preinit.c: Use the standard form for the copyright notice.
5491
e430824f
CLT
54922013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5493 Chung-Lin Tang <cltang@codesourcery.com>
5494 Based on patches from Altera Corporation
5495
5496 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5497 * config/nios2/lib2-nios2.h: New file.
5498 * config/nios2/lib2-divmod-hi.c: New file.
5499 * config/nios2/linux-unwind.h: New file.
5500 * config/nios2/lib2-divmod.c: New file.
5501 * config/nios2/linux-atomic.c: New file.
5502 * config/nios2/t-nios2: New file.
5503 * config/nios2/crti.asm: New file.
5504 * config/nios2/t-linux: New file.
5505 * config/nios2/lib2-divtable.c: New file.
5506 * config/nios2/lib2-mul.c: New file.
5507 * config/nios2/tramp.c: New file.
5508 * config/nios2/crtn.asm: New file.
5509
1879e97f
UB
55102013-12-26 Uros Bizjak <ubizjak@gmail.com>
5511
5512 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5513 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5514 from cpuid.h to check vendor signatures.
5515
f4a4bdbb
GG
55162013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5517
c2e7e597 5518 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5519 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5520 (get_amd_cpu): Likewise.
5521
8d2ae544
L
55222013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5523
5524 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5525 Haswell.
5526
74924838
ASJ
55272013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5528 H.J. Lu <hongjiu.lu@intel.com>
5529
0bb52f25
L
5530 PR target/59422
5531 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5532 and AMD_JAGUAR.
5533 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5534 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5535 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5536 FEATURE_XOP and FEATURE_FMA.
5537 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5538 AMDFAM15H_BDVER3.
5539 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5540 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5541 FEATURE_FMA4 and FEATURE_XOP.
5542
d3c11974
L
55432013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5544
5545 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5546 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5547 (get_intel_cpu): Updated.
5548
064c4ff2
ZC
55492013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5550
5551 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5552
8b02e720
UB
55532013-12-09 Uros Bizjak <ubizjak@gmail.com>
5554
5555 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5556 instructions when __SSE_MATH__ is defined.
8b02e720 5557
3fa2ccb4
RC
55582013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5559
5560 * config.host (microblaze-*-rtems*): New.
5561
ecd78fc9
KV
55622013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5563
5564 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5565 architectures that do not have hardware divide instruction.
5566 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5567
b21fbbd2
RS
55682013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5569
5570 * longlong.h: Delete (moved to include/).
5571
b03fb8c9
AZ
55722013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5573
5574 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5575 of normal number and qNaN to not raise an inexact exception.
5576
3c716922
UB
55772013-11-28 Uros Bizjak <ubizjak@gmail.com>
5578
5579 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5580
55812013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5582
5583 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5584 for correct opcodes on BE.
5585
a3458d22
UB
55862013-11-27 Uros Bizjak <ubizjak@gmail.com>
5587
5588 * soft-fp/op-4.h: Update from glibc.
5589
30b8f78b
KV
55902013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5591
5592 * libgcc2.c (__udivmoddi4): Define new implementation when
5593 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5594 divide instructions.
5595
82552a29
OE
55962013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5597
5598 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5599
80e87457
RO
56002013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5601
5602 * config/t-softfp (soft-fp-objects-base): New variable.
5603 (soft-fp-objects): Use it.
5604
44178879
DE
56052013-11-23 David Edelson <dje.gcc@gmail.com>
5606 Andrew Dixie <andrewd@gentrack.com>
5607
5608 PR target/33704
5609 * config/rs6000/aixinitfini.c: New file.
5610 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5611 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5612 symbols.
5613
e5287671
YR
56142013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5615
a3458d22 5616 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5617
867c8b03
JH
56182013-11-18 Jan Hubicka <jh@suse.cz>
5619
7f369373
JH
5620 * libgcov-driver.c (run_accounted): Make global level static.
5621 (gcov_exit_merge_summary): Silence warning; do not clear
5622 run_accounted here.
5623 (gcov_exit): Clear it here.
5624
1d0b3334
JH
5625 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5626 run_accounted.
5627
867c8b03
JH
5628 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5629 (all_prg, crc32): Remove static vars.
5630 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5631 all_prg.
5632 (gcov_exit_merge_gcda): Add crc32 parameter.
5633 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5634 do not account run if it was already accounted.
5635 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5636 (gcov_exit): Initialize all_prg; update.
5637
66204992
AS
56382013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5639
5640 * configure: Regenerate.
5641
b54214fe
UW
56422013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5643 Alan Modra <amodra@gmail.com>
5644
5645 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5646 (frob_update_context): Use it.
5647
56482013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5649 Alan Modra <amodra@gmail.com>
5650
5651 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5652 (trampoline_initial): Provide ELFv2 variant.
5653 (__trampoline_setup): Likewise.
5654
5655 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5656 check for AIX indirect function call sequence if _CALL_ELF == 2.
5657
56582013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5659 Alan Modra <amodra@gmail.com>
5660
5661 * config/rs6000/linux-unwind.h (get_regs): Do not support
5662 old kernel versions if _CALL_ELF == 2.
5663 (frob_update_context): Do not support PLT stub variants only
5664 generated by old linkers if _CALL_ELF == 2.
5665
13e0981a
UW
56662013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5667 Alan Modra <amodra@gmail.com>
5668
5669 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5670 location of CR save area for 64-bit little-endian systems.
5671
1a80085d
EB
56722013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5673
5674 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5675 in tmake_file.
5676 * config/arm/t-vxworks: Delete.
5677
cabeea52
KT
56782013-11-10 Kai Tietz <ktietz@redhat.com>
5679
5680 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5681 Increment load-count on use of LIBGCC_SONAME DLL.
5682 (hmod_libgcc): New static variable to hold handle of
5683 LIBGCC_SONAME DLL.
5684 (__gcc_deregister_frame): Decrement load-count of
5685 LIBGCC_SONAME DLL.
5686
ac088ba1
BRF
56872013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5688
5689 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5690 availability.
5691 * configure: Regenerate
5692
d59a8fcc
UB
56932013-11-07 Uros Bizjak <ubizjak@gmail.com>
5694
5695 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5696 FP_EX_DENORM. Store result to volatile location after SSE division
5697 to close interrupt window. Remove unneeded fwait after x87
5698 division since interrupt window will be closed by emitted fstp.
9de84e84 5699 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5700
9954c743
JM
57012013-11-06 Joseph Myers <joseph@codesourcery.com>
5702
5703 * soft-fp/README: Update.
5704 * soft-fp/adddf3.c: Update from glibc.
5705 * soft-fp/addsf3.c: Likewise.
5706 * soft-fp/addtf3.c: Likewise.
5707 * soft-fp/divdf3.c: Likewise.
5708 * soft-fp/divsf3.c: Likewise.
5709 * soft-fp/divtf3.c: Likewise.
5710 * soft-fp/double.h: Likewise.
5711 * soft-fp/eqdf2.c: Likewise.
5712 * soft-fp/eqsf2.c: Likewise.
5713 * soft-fp/eqtf2.c: Likewise.
5714 * soft-fp/extenddftf2.c: Likewise.
5715 * soft-fp/extended.h: Likewise.
5716 * soft-fp/extendsfdf2.c: Likewise.
5717 * soft-fp/extendsftf2.c: Likewise.
5718 * soft-fp/extendxftf2.c: Likewise.
5719 * soft-fp/fixdfdi.c: Likewise.
5720 * soft-fp/fixdfsi.c: Likewise.
5721 * soft-fp/fixdfti.c: Likewise.
5722 * soft-fp/fixsfdi.c: Likewise.
5723 * soft-fp/fixsfsi.c: Likewise.
5724 * soft-fp/fixsfti.c: Likewise.
5725 * soft-fp/fixtfdi.c: Likewise.
5726 * soft-fp/fixtfsi.c: Likewise.
5727 * soft-fp/fixtfti.c: Likewise.
5728 * soft-fp/fixunsdfdi.c: Likewise.
5729 * soft-fp/fixunsdfsi.c: Likewise.
5730 * soft-fp/fixunsdfti.c: Likewise.
5731 * soft-fp/fixunssfdi.c: Likewise.
5732 * soft-fp/fixunssfsi.c: Likewise.
5733 * soft-fp/fixunssfti.c: Likewise.
5734 * soft-fp/fixunstfdi.c: Likewise.
5735 * soft-fp/fixunstfsi.c: Likewise.
5736 * soft-fp/fixunstfti.c: Likewise.
5737 * soft-fp/floatdidf.c: Likewise.
5738 * soft-fp/floatdisf.c: Likewise.
5739 * soft-fp/floatditf.c: Likewise.
5740 * soft-fp/floatsidf.c: Likewise.
5741 * soft-fp/floatsisf.c: Likewise.
5742 * soft-fp/floatsitf.c: Likewise.
5743 * soft-fp/floattidf.c: Likewise.
5744 * soft-fp/floattisf.c: Likewise.
5745 * soft-fp/floattitf.c: Likewise.
5746 * soft-fp/floatundidf.c: Likewise.
5747 * soft-fp/floatundisf.c: Likewise.
5748 * soft-fp/floatunditf.c: Likewise.
5749 * soft-fp/floatunsidf.c: Likewise.
5750 * soft-fp/floatunsisf.c: Likewise.
5751 * soft-fp/floatunsitf.c: Likewise.
5752 * soft-fp/floatuntidf.c: Likewise.
5753 * soft-fp/floatuntisf.c: Likewise.
5754 * soft-fp/floatuntitf.c: Likewise.
5755 * soft-fp/gedf2.c: Likewise.
5756 * soft-fp/gesf2.c: Likewise.
5757 * soft-fp/getf2.c: Likewise.
5758 * soft-fp/ledf2.c: Likewise.
5759 * soft-fp/lesf2.c: Likewise.
5760 * soft-fp/letf2.c: Likewise.
5761 * soft-fp/muldf3.c: Likewise.
5762 * soft-fp/mulsf3.c: Likewise.
5763 * soft-fp/multf3.c: Likewise.
5764 * soft-fp/negdf2.c: Likewise.
5765 * soft-fp/negsf2.c: Likewise.
5766 * soft-fp/negtf2.c: Likewise.
5767 * soft-fp/op-1.h: Likewise.
5768 * soft-fp/op-2.h: Likewise.
5769 * soft-fp/op-4.h: Likewise.
5770 * soft-fp/op-8.h: Likewise.
5771 * soft-fp/op-common.h: Likewise.
5772 * soft-fp/quad.h: Likewise.
5773 * soft-fp/single.h: Likewise.
5774 * soft-fp/soft-fp.h: Likewise.
5775 * soft-fp/subdf3.c: Likewise.
5776 * soft-fp/subsf3.c: Likewise.
5777 * soft-fp/subtf3.c: Likewise.
5778 * soft-fp/truncdfsf2.c: Likewise.
5779 * soft-fp/trunctfdf2.c: Likewise.
5780 * soft-fp/trunctfsf2.c: Likewise.
5781 * soft-fp/trunctfxf2.c: Likewise.
5782 * soft-fp/unorddf2.c: Likewise.
5783 * soft-fp/unordsf2.c: Likewise.
5784 * soft-fp/unordtf2.c: Likewise.
5785
02ac9503
UB
57862013-11-05 Uros Bizjak <ubizjak@gmail.com>
5787
5788 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5789 (_FP_MUL_MEAT_D): Ditto.
5790 (_FP_DIV_MEAT_S): Ditto.
5791 (_FP_DIV_MEAT_D): Ditto.
5792 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5793 t-softfp-sfdf and t-softfp to tmake_file.
5794
61221141
UB
57952013-11-03 Uros Bizjak <ubizjak@gmail.com>
5796
5797 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5798 * config/i386/crtprec.c: Ditto.
5799
9304f876
CJW
58002013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5801 Shiva Chen <shiva0217@gmail.com>
5802
5803 * config.host (nds32*-elf*): Add nds32 target.
5804 * config/nds32 : New directory and files.
5805
0e499e75
HPN
58062013-10-16 Hans-Peter Nilsson <hp@axis.com>
5807
5808 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5809 * config.host (cpu_type) <Setting default>: Add entry for
5810 crisv32-*-*.
5811 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5812 <crisv32-*-linux*>: Adjust.
5813 * longlong.h: Wrap the whole CRIS section in a single
5814 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5815 and sub_ddmmss.
5816 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5817 defined.
5818 [__CRIS__] (__umulsidi3): Define.
5819 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5820 * config/cris/sfp-machine.h: New file.
5821 * config/cris/umulsidi3.S: New file.
5822 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5823 * config/cris/arit.c (SIGNMULT): New macro.
5824 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5825 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5826 saving 3 out of originally 33 cycles from the fastest
5827 path, 3 out of 54 from the medium path and one from the longest
5828 path. Improve comments.
5829
16022041
RS
58302013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5831
5832 * sync.c: Remove static aliases and define each function directly
5833 under its real name.
5834
69778659
JDA
58352013-10-02 John David Anglin <danglin@gcc.gnu.org>
5836
5837 * config.host (hppa*64*-*-linux*): Define extra_parts.
5838 (hppa*-*-linux*): Likewise.
5839
2deaf8b0
JR
58402013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5841
5842 * config/arc/crtgend.S: Add 2013 to Copyright years.
5843 * config/arc/gmon/atomic.h: Likewise.
5844 * config/arc/gmon/auxreg.h: Likewise.
5845 * config/arc/gmon/sys/gmon_out.h: Likewise.
5846 * config/arc/gmon/sys/gmon.h: Likewise.
5847 * config/arc/gmon/prof-freq.c: Likewise.
5848 * config/arc/gmon/mcount.c: Likewise.
5849 * config/arc/gmon/prof-freq-stub.S: Likewise.
5850 * config/arc/gmon/gmon.c: Likewise.
5851 * config/arc/gmon/machine-gmon.h: Likewise.
5852 * config/arc/gmon/profil.S: Likewise.
5853 * config/arc/gmon/dcache_linesz.S: Likewise.
5854 * config/arc/crtg.S: Likewise.
5855 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5856 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5857 * config/arc/ieee-754/adddf3.S: Likewise.
5858 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5859 * config/arc/ieee-754/fixsfsi.S: Likewise.
5860 * config/arc/ieee-754/gtsf2.S: Likewise.
5861 * config/arc/ieee-754/floatsisf.S: Likewise.
5862 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5863 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5864 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5865 * config/arc/ieee-754/fixdfsi.S: Likewise.
5866 * config/arc/ieee-754/addsf3.S: Likewise.
5867 * config/arc/ieee-754/gesf2.S: Likewise.
5868 * config/arc/ieee-754/floatsidf.S: Likewise.
5869 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5870 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5871 * config/arc/ieee-754/gtdf2.S: Likewise.
5872 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5873 * config/arc/ieee-754/uneqdf2.S: Likewise.
5874 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5875 * config/arc/ieee-754/uneqsf2.S: Likewise.
5876 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5877 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5878 * config/arc/ieee-754/eqdf2.S: Likewise.
5879 * config/arc/ieee-754/ordsf2.S: Likewise.
5880 * config/arc/ieee-754/divsf3.S: Likewise.
5881 * config/arc/ieee-754/divdf3.S: Likewise.
5882 * config/arc/ieee-754/floatunsidf.S: Likewise.
5883 * config/arc/ieee-754/orddf2.S: Likewise.
5884 * config/arc/ieee-754/eqsf2.S: Likewise.
5885 * config/arc/ieee-754/gedf2.S: Likewise.
5886 * config/arc/crtn.S: Likewise.
5887 * config/arc/crti.S: Likewise.
5888 * config/arc/t-arc700-uClibc: Likewise.
5889 * config/arc/asm.h: Likewise.
5890 * config/arc/libgcc-excl.ver: Likewise.
5891 * config/arc/t-arc-newlib: Likewise.
5892 * config/arc/divtab-arc700.c: Likewise.
5893 * config/arc/initfini.c: Likewise.
5894 * config/arc/fp-hack.h: Likewise.
5895
c8e318b0
JR
58962013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5897 Diego Novillo <dnovillo@google.com>
5898
5899 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5900 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5901 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5902 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5903
d38a64b4
JR
59042013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5905 Brendan Kehoe <brendan@zen.org>
5906 Simon Cook <simon.cook@embecosm.com>
5907
5908 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5909 * config/arc: New directory.
5910 * longlong.h [__arc__] (umul_ppmm): Remove.
5911 [__arc__] (__umulsidi3): Define.
5912 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5913 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5914
dff717d2
JC
59152013-09-17 Jacek Caban <jacek@codeweavers.com>
5916
5917 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5918 CreateSemaphoreA.
5919 * config/i386/gthr-win32.h: Likewise.
5920
5c0029de
DD
59212013-09-16 DJ Delorie <dj@redhat.com>
5922
844ad6c6 5923 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5924 * config/rl78/lib2mul.c: Enable for RL78/G10.
5925 * config/rl78/lib2div.c: Likewise.
5926 * config/rl78/lshrsi3.S: Use vregs.h.
5927 * config/rl78/cmpsi2.S: Likewise.
5928 * config/rl78/trampoline.S: Likewise.
5929 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5930
ceb2fc49
DD
59312013-09-14 DJ Delorie <dj@redhat.com>
5932 Nick Clifton <nickc@redhat.com>
5933
5934 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5935 * config/rl78/vregs.h: New.
5936 * config/rl78/signbit.S: New file. Implements signbit function.
5937 * config/rl78/divmodsi.S: New.
5938 * config/rl78/divmodhi.S: New.
5939 * config/rl78/divmodqi.S: New.
5940 * config/rl78/t-rl78: Build them here...
5941 * config/rl78/lib2div.c: ...but not here.
5942
f6a83b4a
DD
59432013-09-12 DJ Delorie <dj@redhat.com>
5944
5945 * config.host (msp*-*-elf): New.
5946 * config/msp430/: New port.
5947
9107b096
IS
59482013-08-18 Iain Sandoe <iain@codesourcery.com>
5949
5950 PR gcov-profile/58127
5951 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5952 __thread var for emulated TLS.
5953 (__gcov_indirect_call_counters): Likewise.
5954
0f9bde1f 59552013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5956 Catherine Moore <clm@codesourcery.com>
7d296953 5957 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5958
5959 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5960 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5961 (CALL_STUB_NO_RET): Likewise.
5962 (CALL_STUB_RET): Likewise.
5963 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5964 __mips16_ret call/return stub symbols.
5965 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5966 to tmake_file.
5967
2dc14aac
MR
59682013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5969
5970 * config.host <mips*-*-linux*>: Remove a stray comment.
5971
748d71f3
JH
59722013-08-10 Jan Hubicka <jh@suse.cz>
5973
5974 Work around binutils PR14342
5975 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5976 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5977 (L_gcov_indirect_call_profiler_v2): New.
5978
2fa3d31b
JH
59792013-08-06 Jan Hubicka <jh@suse.cz>
5980
5981 * libgcov.c (__gcov_indirect_call_callee,
5982 __gcov_indirect_call_counters): New global vars.
5983 (__gcov_indirect_call_profiler): replace by ...
5984 (__gcov_indirect_call_profiler_v2) ... this one.
5985
2077db1b
CT
59862013-08-06 Caroline Tice <cmtice@google.com>
5987
d0595b65 5988 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5989 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5990 * configure.ac: Add code to check/set enable_vtable_verify.
5991 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5992 true.
d0595b65
CT
5993 * vtv_start_preinit.c: New file.
5994 * vtv_end_preinit.c: New file.
5995 * vtv_start.c: New file.
5996 * vtv_end.c: New file.
5997 * configure: Regenerated.
2077db1b 5998
46549c20
MK
59992013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6000
6001 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6002 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6003 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6004 GPL-3.0-with-GCC-exception.
6005
72be589b
MR
60062013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6007
6008 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6009 ISA and up.
6010
902a3faf
AK
60112013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6012
6013 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6014 mapping for FPRs when creating the fallback framestate.
6015
02371798
GJL
60162013-07-19 Georg-Johann Lay <avr@gjlay.de>
6017
6018 PR target/57516
6019 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6020 (__round_s2_const, __round_u2_const)
6021 (__round_s4_const, __round_u4_const, __round_x8):
6022 Saturate result if addition result cannot be represented.
6023
ab0e8379
MK
60242013-07-15 Matthias Klose <doko@ubuntu.com>
6025
6026 * libgcc2.c: Don't include <limits.h>.
6027
7da38058
JJ
60282013-07-09 Janis Johnson <janisjo@codesourcery.com>
6029
6030 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6031
1f6eac90
JJ
60322013-07-06 Jakub Jelinek <jakub@redhat.com>
6033
6034 PR target/29776
6035 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6036
4ea3d774
JJ
60372013-06-28 Jakub Jelinek <jakub@redhat.com>
6038
6039 PR middle-end/36041
6040 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6041 Define.
6042 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6043 instead of table lookups.
6044 (__popcountDI2): Likewise.
6045
9d2cdf25
CJW
60462013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6047
6048 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6049 correctly.
6050
fa1e55b0
JM
60512013-06-21 Joseph Myers <joseph@codesourcery.com>
6052
6053 PR other/53317
6054 * soft-fp/adddf3.c: Update from glibc.
6055 * soft-fp/addsf3.c: Likewise.
6056 * soft-fp/addtf3.c: Likewise.
6057 * soft-fp/divdf3.c: Likewise.
6058 * soft-fp/divsf3.c: Likewise.
6059 * soft-fp/divtf3.c: Likewise.
6060 * soft-fp/double.h: Likewise.
6061 * soft-fp/eqdf2.c: Likewise.
6062 * soft-fp/eqsf2.c: Likewise.
6063 * soft-fp/eqtf2.c: Likewise.
6064 * soft-fp/extenddftf2.c: Likewise.
6065 * soft-fp/extended.h: Likewise.
6066 * soft-fp/extendsfdf2.c: Likewise.
6067 * soft-fp/extendsftf2.c: Likewise.
6068 * soft-fp/fixdfdi.c: Likewise.
6069 * soft-fp/fixdfsi.c: Likewise.
6070 * soft-fp/fixsfdi.c: Likewise.
6071 * soft-fp/fixsfsi.c: Likewise.
6072 * soft-fp/fixtfdi.c: Likewise.
6073 * soft-fp/fixtfsi.c: Likewise.
6074 * soft-fp/fixunsdfdi.c: Likewise.
6075 * soft-fp/fixunsdfsi.c: Likewise.
6076 * soft-fp/fixunssfdi.c: Likewise.
6077 * soft-fp/fixunssfsi.c: Likewise.
6078 * soft-fp/fixunstfdi.c: Likewise.
6079 * soft-fp/fixunstfsi.c: Likewise.
6080 * soft-fp/floatdidf.c: Likewise.
6081 * soft-fp/floatdisf.c: Likewise.
6082 * soft-fp/floatditf.c: Likewise.
6083 * soft-fp/floatsidf.c: Likewise.
6084 * soft-fp/floatsisf.c: Likewise.
6085 * soft-fp/floatsitf.c: Likewise.
6086 * soft-fp/floatundidf.c: Likewise.
6087 * soft-fp/floatundisf.c: Likewise.
6088 * soft-fp/floatunditf.c: Likewise.
6089 * soft-fp/floatunsidf.c: Likewise.
6090 * soft-fp/floatunsisf.c: Likewise.
6091 * soft-fp/floatunsitf.c: Likewise.
6092 * soft-fp/gedf2.c: Likewise.
6093 * soft-fp/gesf2.c: Likewise.
6094 * soft-fp/getf2.c: Likewise.
6095 * soft-fp/ledf2.c: Likewise.
6096 * soft-fp/lesf2.c: Likewise.
6097 * soft-fp/letf2.c: Likewise.
6098 * soft-fp/muldf3.c: Likewise.
6099 * soft-fp/mulsf3.c: Likewise.
6100 * soft-fp/multf3.c: Likewise.
6101 * soft-fp/negdf2.c: Likewise.
6102 * soft-fp/negsf2.c: Likewise.
6103 * soft-fp/negtf2.c: Likewise.
6104 * soft-fp/op-1.h: Likewise.
6105 * soft-fp/op-2.h: Likewise.
6106 * soft-fp/op-4.h: Likewise.
6107 * soft-fp/op-8.h: Likewise.
6108 * soft-fp/op-common.h: Likewise.
6109 * soft-fp/quad.h: Likewise.
6110 * soft-fp/single.h: Likewise.
6111 * soft-fp/soft-fp.h: Likewise.
6112 * soft-fp/subdf3.c: Likewise.
6113 * soft-fp/subsf3.c: Likewise.
6114 * soft-fp/subtf3.c: Likewise.
6115 * soft-fp/truncdfsf2.c: Likewise.
6116 * soft-fp/trunctfdf2.c: Likewise.
6117 * soft-fp/trunctfsf2.c: Likewise.
6118 * soft-fp/unorddf2.c: Likewise.
6119 * soft-fp/unordsf2.c: Likewise.
6120 * soft-fp/unordtf2.c: Likewise.
6121 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6122 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6123 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6124 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6125 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6126 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6127 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6128 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6129 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6130 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6131 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6132 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6133
0de86a92
JU
61342013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6135
6136 * config/mips/lib2funcs.c: New file.
6137 * config/mips/t-mips (LIB2ADD_ST): Add it.
6138
0d008882
OE
61392013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6140
6141 PR target/6526
6142 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6143 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6144
776434d1
WL
61452013-06-08 Walter Lee <walt@tilera.com>
6146
6147 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6148 Replace int64_t with long long. Add __extension__ where
6149 appropriate.
6150 * config/tilepro/atomic.c: Include config.h.
6151
6ab3ebb4
DR
61522013-06-06 Douglas B Rupp <rupp@adacore.com>
6153
6154 * config.host (arm-wrs-vxworks): Configure with other soft float.
6155
107eea2c
JU
61562013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6157
6158 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6159 (mips64r5900el-*-elf*): New configurations.
6160
5cc19c62
AM
61612013-06-04 Alan Modra <amodra@gmail.com>
6162
6163 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6164
0f1d3965
YR
61652013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6166
6167 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6168
0ba045df
EB
61692013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6170
6171 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6172 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6173 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6174
49dcafd4
EB
61752013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6176
6177 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6178 (powerpc-wrs-vxworks): Likewise.
6179
4fcb5d87
EB
61802013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6181
6182 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6183 signal frames as well.
6184 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6185 STACK_BIAS to the CFA offset.
6186
0ec33224
RH
61872013-05-17 Richard Henderson <rth@redhat.com>
6188
6189 PR target/49146
6190 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6191 (execute_cfa_program): Use it when storing to fs->regs.
6192
492a8029
KT
61932013-05-08 Kai Tietz <ktietz@redhat.com>
6194
6195 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6196 (__deregister_frame_info): Likewise.
6197
701e2f0a
TS
61982013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6199
e5123d08
TS
6200 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6201 NaN's payload.
6202
701e2f0a
TS
6203 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6204
b9a7eb5d
AM
62052013-04-25 Alan Modra <amodra@gmail.com>
6206
6207 * config.host: Match little-endian powerpc-linux.
6208
dfe192f5
YZ
62092013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6210
6211 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6212 as 'unsigned long long' instead of 'unsigned long'.
6213 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6214 'signed long'.
6215
b6b9af2f
JB
62162013-04-10 Julian Brown <julian@codesourcery.com>
6217
6218 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6219 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6220 unsigned char/unsigned short.
6221 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6222
ecabdd00
JDA
62232013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6224
6225 PR other/55274
6226 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6227
34652576
MI
62282013-04-04 Meador Inge <meadori@codesourcery.com>
6229
6230 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6231 computing the location of the link register.
6232 (aeabi_uldivmod): Ditto.
6233
e9fd8c19
KT
62342013-03-27 Kai Tietz <ktietz@redhat.com>
6235
6236 * config.host: Add support for cygwin x64 target.
6237 * configure: Regenerated.
6238
a6406324
WL
62392013-03-26 Walter Lee <walt@tilera.com>
6240
6241 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6242 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6243
55446c7e
KT
62442013-03-25 Kai Tietz <ktietz@redhat.com>
6245
6246 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6247
d2ae19d9
RM
62482013-03-20 Robert Mason <rbmj@verizon.net>
6249
6250 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6251 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6252 (__gthread_leave_tsd_dtor_context): Add prototypes.
6253 (tls_delete_hook): Update.
6254
22c4c869
CM
62552013-03-20 Catherine Moore <clm@codesourcery.com>
6256 Joseph Myers <joseph@codesourcery.com>
6257 Chao-ying Fu <fu@mips.com>
6258
6259 * config/mips/mips16.S: Don't build for microMIPS.
6260 * config/mips/linux-unwind.h: Handle microMIPS frame.
6261 * config/mips/crtn.S (fini, init): New labels.
6262
fbd28bc3
JJ
62632013-03-14 Jakub Jelinek <jakub@redhat.com>
6264
6265 PR tree-optimization/53265
6266 * unwind-dw2.c (execute_cfa_program): Avoid
6267 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6268 on targets with DWARF_FRAME_REGISTERS < 32.
6269
decc676e
OE
62702013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6271
6272 PR target/49880
6273 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6274 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6275
84ea618a
ST
62762013-03-07 Sriraman Tallam <tmsriram@google.com>
6277
6278 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6279 sandybridge processors.
6280
8f6d1c86
OE
62812013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6282
6283 PR target/56529
6284 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6285 inclusion list.
6286
ecdbd01a 62872013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6288
6289 * config/microblaze/crti.S: Setup stack protection at entry
6290
0b4ce21b
GJL
62912013-03-04 Georg-Johann Lay <avr@gjlay.de>
6292
6293 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6294 (__rotldi3): Shift bytewise if applicable.
6295
b7c3f1ca
JG
62962013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6297
6298 * config/aarch64/sync-cache.c
6299 (__aarch64_sync_cache_range): Silence warnings.
6300
6d65e8f1
CM
63012013-02-25 Catherine Moore <clm@codesourcery.com>
6302
6303 Revert:
6304 2013-02-24 Catherine Moore <clm@codesourcery.com>
6305 Joseph Myers <joseph@codesourcery.com>
6306 Chao-ying Fu <fu@mips.com>
6307
6308 * config/mips/mips16.S: Don't build for microMIPS.
6309 * config/mips/linux-unwind.h: Handle microMIPS frame.
6310 * config/mips/crtn.S (fini, init): New labels.
6311
6941b508
CM
63122013-02-24 Catherine Moore <clm@codesourcery.com>
6313 Joseph Myers <joseph@codesourcery.com>
6314 Chao-ying Fu <fu@mips.com>
6315
6316 * config/mips/mips16.S: Don't build for microMIPS.
6317 * config/mips/linux-unwind.h: Handle microMIPS frame.
6318 * config/mips/crtn.S (fini, init): New labels.
6319
7c422dbb 63202012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6321 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6322 as dividend.
6323
110207ad
AM
63242013-02-16 Alan Modra <amodra@gmail.com>
6325
6326 PR target/55431
6327 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6328 (ppc_fallback_frame_state): Always set up save locations for fp
6329 and altivec. Don't bother with non-callee-saved regs, r0-r13
6330 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6331
e68a4ef6
GJL
63322013-02-12 Georg-Johann Lay <avr@gjlay.de>
6333
6334 PR target/54222
6335 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6336 _ssmulHA, _ssmulSA.
6337 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6338 _ssmulha3, _usmulusa3, _ssmulsa3.
6339 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6340 (__muldi3): XCALL __muldi3_6 instead of rcall.
6341 (__umulsidi3, __mulsidi3): New functions.
6342 (do_prologue_saves, do_epilogue_restores): New .macros.
6343 (__divdi3_moddi3): Use them.
6344 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6345 (__usmulusa3, __ssmulsa3): New functions.
6346
6c59ffd1
IS
63472013-02-11 Iain Sandoe <iain@codesourcery.com>
6348 Jack Howarth <howarth@bromo.med.uc.edu>
6349 Patrick Marlier <patrick.marlier@gmail.com>
6350
6351 PR libitm/55693
6352 * config/darwin-crt-tm.c: Remove dummy functions hack.
6353
85d768f3
GJL
63542013-02-08 Georg-Johann Lay <avr@gjlay.de>
6355
6356 PR target/54222
6357 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6358 * config/avr/lib2-object.mk: New iterator to build objects from it.
6359 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6360 lib2funcs.c.
6361 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6362 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6363 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6364 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6365 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6366 * config/avr/lib1funcs-fixed.S: Implement them.
6367
5d5bf775
RS
63682013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6369
6370 Update copyright years.
6371
99113dff
DE
63722013-02-01 David Edelsohn <dje.gcc@gmail.com>
6373
6374 PR target/54601
6375 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6376 Add crtcxa to extra_parts.
6377 * config/rs6000/exit.h: New file.
6378 * config/rs6000/cxa_atexit.c: New file.
6379 * config/rs6000/cxa_finalize.c: New file.
6380 * config/rs6000/crtcxa.c: New file.
6381 * config/rs6000/t-aix-cxa: New file.
6382 * config/rs6000/libgcc-aix-cxa.ver: New file.
6383
dbdbd982
NC
63842013-01-31 Nick Clifton <nickc@redhat.com>
6385
6386 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6387 variant.
6388
5893f158
GJL
63892013-01-29 Georg-Johann Lay <avr@gjlay.de>
6390
6391 PR target/54222
6392 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6393 _mulQQ, _mulHQ, _mulHA, _mulSA,
6394 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6395 _divQQ, _divHQ, _divHA, _divSA,
6396 _divUQQ, _divUHQ, _divUHA, _divUSA.
6397
ecdbd01a 63982013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6399
dbdbd982 6400 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6401 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6402 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6403 to exclude functions from being built with libgcc.c and use
6404 the microblaze assembly.
6405
ecdbd01a 64062013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6407
6408 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6409 extra_parts.
6410
922c57d1
YZ
64112013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6412
6413 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6414 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6415 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6416 alignment operation.
6417
e0f8b6a0
SN
64182013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6419
6420 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6421 loop start address for cache clearing.
6422
00892272
GJL
64232013-01-14 Georg-Johann Lay <avr@gjlay.de>
6424
6425 * config/avr/lib1funcs.S: Remove trailing blanks.
6426 * config/avr/lib1funcs-fixed.S: Ditto.
6427
e59ec5fd
GJL
64282013-01-14 Georg-Johann Lay <avr@gjlay.de>
6429
6430 * config/avr/avr-lib.h: Add GPL copyright notice.
6431
3ffc1958
GJL
64322013-01-14 Georg-Johann Lay <avr@gjlay.de>
6433
6434 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6435 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6436 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6437 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6438
25c210f9
MK
64392013-01-07 Mark Kettenis <kettenis@openbsd.org>
6440
6441 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6442 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6443
db59befb
NC
64442013-01-04 Nick Clifton <nickc@redhat.com>
6445
6446 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6447 the CALLT instruction is supported.
6448
5aa12dbf
JW
64492012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6450
6451 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6452 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6453
65f14117
JT
64542012-12-13 John Tytgat <John@bass-software.com>
6455
6456 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6457 is 25.
6458
ee3ae4f7
JJ
64592012-12-12 Jakub Jelinek <jakub@redhat.com>
6460
6461 PR libgcc/55451
6462 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6463 undefined signed overflows.
6464
2fcfba3d
UB
64652012-12-09 Uros Bizjak <ubizjak@gmail.com>
6466
6467 PR target/55344
6468 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6469
4f2b3dc2
UB
64702012-12-06 Uros Bizjak <ubizjak@gmail.com>
6471
6472 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6473 (FP_TRAPPING_EXCEPTIONS): Define.
6474 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6475 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6476
066161a2
RH
64772012-12-04 Richard Henderson <rth@redhat.com>
6478
6479 PR bootstrap/55571
6480 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6481
7d296953 64822012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6483
4f2b3dc2 6484 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6485 (FP_EX_SHIFT): Define.
6486 (FP_TRAPPING_EXCEPTIONS): Define.
6487
7d296953 64882012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6489
6490 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6491 (FP_ROUNDMODE): Use FP_RND_MASK.
6492 * config/aarch64/sfp-exceptions.c: New.
6493 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6494 Use __sfp_handle_exceptions.
6495
5005fe22
RE
64962012-12-04 Richard Earnshaw <rearnsha@arm.com>
6497
6498 * config.host: (arm*-*-freebsd*): Remove.
6499 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6500 (arm*-*-elf*): Remove.
6501 (arm*-*-wince-pe*): Remove.
6502 * arm/unwind-arm.c (struct fpa_reg): Delete.
6503 (struct fpa_regs): Delete.
6504 (phase1_vrs): Remove fpa element.
6505 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6506 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6507 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6508 * ieee754-sf.S (floatundisf): Remove FPA support.
6509 (floatdisf): Likewise.
6510 * ieee75f-df.S (floatundidf): Likewise.
6511 (floatdidf): Likewise.
6512
e5a81c8e
KT
65132012-11-29 Kai Tietz <ktietz@redhat.com>
6514
6515 PR target/55445
6516 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6517 * unwind-generic.h: Likewise.
6518 * unwind-seh.c: Likewise.
6519
f4919e4a
RH
65202012-11-28 Richard Henderson <rth@redhat.com>
6521
6522 PR libgcc/48076
6523 * emutls.c (__emutls_get_address): Avoid race condition between
6524 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6525
e13d9d5a
GJL
65262012-11-22 Georg-Johann Lay <avr@gjlay.de>
6527
6528 Adjust decimal point of signed accum mode to GCC default.
6529
6530 PR target/54222
6531 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6532 _divqq_helper.
6533 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6534 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6535 (__mulha3, __mulsa3)
6536 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6537 decimal point of signed accum types.
6538
e13d9d5a
GJL
6539 (__mulusa3_round): New function.
6540 (__mulusa3): Use it.
6541 (__divqq_helper): New function.
6542 (__udivuqq3): Use it.
6543
1b845c6e
JJ
65442012-11-20 Jakub Jelinek <jakub@redhat.com>
6545
6546 PR bootstrap/55370
6547 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6548
822a258a
TJ
65492012-11-18 Teresa Johnson <tejohnson@google.com>
6550
6551 PR bootstrap/55051
6552 * libgcov.c (gcov_exit): Remove merged program summary
6553 comparison unless !GCOV_LOCKED.
6554
7d296953 65552012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6556
6557 * soft-fp: Updated from glibc upstream.
6558
e808687a
ILT
65592012-11-06 Ian Lance Taylor <iant@google.com>
6560
6561 * generic-morestack.c (__generic_morestack): Align the returned
6562 stack pointer to a 32 byte boundary.
6563 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6564 increment the return address until we have decided that we don't
6565 have a varargs function.
6566 (__morestack) [32-bit]: Align stack correctly when calling C
6567 functions.
6568 (__morestack) [64-bit]: Likewise.
6569
460277e0
TS
65702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6571
6572 * configure: Regenerate.
6573
73edb277
UB
65742012-11-02 Uros Bizjak <ubizjak@gmail.com>
6575
6576 PR target/55175
6577 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6578 * config/i386/sfp-machine.h: Guard exception handling
6579 code with _SOFT_FLOAT.
6580 * config/i386/32/sfp-machine.h: Guard rounding handling
6581 code with _SOFT_FLOAT.
6582 * config/i386/64/sfp-machine.h: Ditto.
6583
c1d4fa04
JS
65842012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6585
6586 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6587 as extra_parts.
6588
eff6ca85
UB
65892012-10-26 Uros Bizjak <ubizjak@gmail.com>
6590
6591 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6592 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6593 when appropriate. Correct structure element types.
6594 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6595 -minline-all-stringops from compile flags.
6596
7d296953 65972012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6598
6599 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6600
7d296953 66012012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6602
eff6ca85 6603 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6604
6f288860
SH
66052012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6606
6607 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6608 tmake_file.
6609
1e3d5096
IB
66102012-10-23 Ian Bolton <ian.bolton@arm.com>
6611 Jim MacArthur <jim.macarthur@arm.com>
6612 Marcus Shawcroft <marcus.shawcroft@arm.com>
6613 Nigel Stephens <nigel.stephens@arm.com>
6614 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6615 Richard Earnshaw <rearnsha@arm.com>
6616 Sofiane Naci <sofiane.naci@arm.com>
6617 Stephen Thomas <stephen.thomas@arm.com>
6618 Tejas Belagod <tejas.belagod@arm.com>
6619 Yufeng Zhang <yufeng.zhang@arm.com>
6620
6621 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6622 * config/aarch64/crti.S: New file.
6623 * config/aarch64/crtn.S: New file.
6624 * config/aarch64/linux-unwind.h: New file.
6625 * config/aarch64/sfp-machine.h: New file.
6626 * config/aarch64/sync-cache.c: New file.
6627 * config/aarch64/t-aarch64: New file.
6628 * config/aarch64/t-softfp: New file.
6629
8a740f07
HPN
66302012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6631
6632 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6633 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6634 no-longer-needed LDBU insns.
6635
7d296953 66362012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6637
6638 * config.host
6639 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6640 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6641
595fefee
MGD
66422012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6643
6644 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6645
9945a876
MK
66462012-10-15 Matthias Klose <doko@ubuntu.com>
6647
6648 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6649
1183dc2c
PC
66502012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6651
6652 * configure: Regenerate.
6653 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6654
945a9c1f
UB
66552012-10-10 Uros Bizjak <ubizjak@gmail.com>
6656
6657 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6658 instructions for 64bit targets only.
6659
fb8bf47a
UB
66602012-10-10 Uros Bizjak <ubizjak@gmail.com>
6661
6662 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6663 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6664 * config/i386/32/sfp-machine.h: ... here.
6665 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6666 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6667 New defines.
6668
acb72498
MK
66692012-10-07 Matthias Klose <doko@ubuntu.com>
6670
6671 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6672 as unused.
6673 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6674
8eaee0f0
MK
66752012-10-06 Mark Kettenis <kettenis@openbsd.org>
6676
6677 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6678 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6679 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6680 (ElfW): Likewise.
6681
5e3e4fe8
JW
66822012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6683
6684 PR other/53889
6685 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6686 Fix parameter names.
6687
86086376
OE
66882012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6689
6690 PR target/33135
6691 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6692 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6693 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6694
9597375a
OE
66952012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6696
6697 PR target/50457
6698 * config/sh/linux-atomic.S: Delete.
6699 * config/sh/linux-atomic.c: New.
6700 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6701 linux-atomic.c. Add cflags to disable warnings.
6702
1504e3e1
JW
67032012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6704
6705 PR other/53889
6706 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6707 function.
6708 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6709 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6710 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6711 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6712 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6713 Likewise.
1504e3e1
JW
6714 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6715 Likewise.
6716 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6717 Likewise.
6718 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6719 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6720
17f293b0
MK
67212012-09-19 Mark Kettenis <kettenis@openbsd.org>
6722
9597375a
OE
6723 * config.host (hppa-*-openbsd*): New target.
6724 * config/pa/t-openbsd: New file.
17f293b0 6725
51526856
GJL
67262012-09-15 Georg-Johann Lay <avr@gjlay.de>
6727
6728 PR target/54222
6729 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6730 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6731 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6732 (__divsa3): Use __negsi2 to negate r_quoL.
6733 * config/avr/lib1funcs.S (FALIAS): New macro.
6734 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6735 (__negsi2): ...this new function.
6736 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6737 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6738 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6739 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6740 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6741 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6742
aadb5b43
OE
67432012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6744
6745 PR target/54089
6746 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6747 (lshrsi3): Reimplement as lshrsi3_r0.
6748
d5d66749
AS
67492012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6750
6751 PR target/46191
6752 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6753 of libgcc.a.
6754
c6c36e73
TJ
67552012-09-07 Teresa Johnson <tejohnson@google.com>
6756
9597375a 6757 PR gcov-profile/54487
c6c36e73 6758 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6759 differences.
c6c36e73 6760
b588ae30
GJL
67612012-09-05 Georg-Johann Lay <avr@gjlay.de>
6762
6763 PR target/54461
6764 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6765 not configured --with-avrlibc=no.
6766 * config/avr/t-avrlibc: New file.
6767 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6768 (DPBIT_FUNCS): Ditto.
6769 (TPBIT_FUNCS): Ditto.
6770
abd16fb1
TJ
67712012-09-04 Teresa Johnson <tejohnson@google.com>
6772
6773 * libgcov.c (struct gcov_summary_buffer): New structure.
6774 (gcov_histogram_insert): New function.
6775 (gcov_compute_histogram): Ditto.
6776 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6777 histograms during summary merging.
6778
613061fd
MK
67792012-09-01 Mark Kettenis <kettenis@openbsd.org>
6780
6781 * config.host (x86_64-*-openbsd*): New target.
73edb277 6782
867a8345
CLT
67832012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6784
6785 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6786 attribute.
6787
4aeaaca3
GJL
67882012-08-24 Georg-Johann Lay <avr@gjlay.de>
6789
6790 PR target/54222
6791 * config/avr/t-avr (conv_X): Rename to func_X.
6792
e55e4056
GJL
67932012-08-24 Georg-Johann Lay <avr@gjlay.de>
6794
6795 PR target/54222
6796 * config/avr/lib1funcs-fixed.S: New file.
6797 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6798 after they are used.
6799 (neg2, neg4): New macros.
6800 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6801 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6802 (__umulhisi3): Speed up MUL variant if there is enough flash.
6803 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6804 avr-modes.def.
6805 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6806 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6807 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6808 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6809 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6810 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6811 (LIB2FUNCS_EXCLUDE): Add supported functions.
6812
a147b6d2
GJL
68132012-08-22 Georg-Johann Lay <avr@gjlay.de>
6814
6815 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6816 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6817 libgcc-s-objects.
6818 * fixed-obj.mk: Only expand dependency if $o is not in
6819 LIB2FUNCS_EXCLUDE.
6820
c637141a
L
68212012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6822
6823 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6824
130e00bd
JM
68252012-08-22 Joseph Myers <joseph@codesourcery.com>
6826
6827 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6828 depend on --enable-shared.
6829 ($(lib1asmfuncs-o)): Use %.vis files independent of
6830 --enable-shared.
6831 * static-object.mk ($(base)$(objext), $(base).vis)
6832 ($(base)_s$(objext)): Use same rules for visibility handling as in
6833 shared-object.mk.
6834
4b1b3788
ILT
68352012-08-21 Ian Lance Taylor <iant@google.com>
6836
6837 * config/i386/morestack.S (__morestack_non_split): Increase amount
6838 of space allocated for non-split code stack.
6839
d2468141
JM
68402012-08-19 Joseph Myers <joseph@codesourcery.com>
6841
6842 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6843 even if inhibit_libc.
6844
a508e1a8
JB
68452012-08-17 Julian Brown <julian@codesourcery.com>
6846
6847 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6848 -fexceptions -fnon-call-exceptions if not defined.
6849 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6850 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6851
5615a07d
AS
68522012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6853
6854 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6855 type.
6856
138f5acd
DE
68572012-08-16 David Edelsohn <dje.gcc@gmail.com>
6858
6859 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6860 rs6000/t-slibgcc-aix.
6861
18efc0dd
SB
68622012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6863
6864 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6865
6b39bc38
SB
68662012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6867
6868 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6869
cd25dea0
L
68702012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6871
6872 PR driver/54171
6873 * Makefile.in (version): Replace top_srcdir with srcdir.
6874
a3dda30b
JY
68752012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6876
6877 * Makefile.in (version): set to BASE-VER file from gcc directory.
6878
d04aacfc
NC
68792012-08-01 Nick Clifton <nickc@redhat.com>
6880
6881 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6882 Implements __clrsb for an HImode argument.
6883
0d13c974
NC
68842012-07-31 Nick Clifton <nickc@redhat.com>
6885
6886 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6887 Implements __clrsb for an HImode argument.
6888 * config/stormy16/clrsbhi2.c: New file:
6889 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6890
efbb59b2
SB
68912012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6892
6893 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6894
bf1431e3
TG
68952012-07-19 Tristan Gingold <gingold@adacore.com>
6896 Richard Henderson <rth@redhat.com>
6897
6898 * unwind-seh.c: New file.
6899 * unwind-generic.h: Include windows.h for SEH.
6900 (_Unwind_Exception): Use 6 private fields for SEH.
6901 (_GCC_specific_handler): Declare.
6902 * unwind-c.c (__gcc_personality_seh0): New function.
6903 Adjust for SEH.
6904 * config/i386/libgcc-cygming.ver: New file.
6905 * config/i386/t-seh-eh: New file.
6906 * config.host (x86_64-*-mingw*): Default to seh.
6907
659140c8
SB
69082012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6909
6910 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6911
a20d08fd
UB
69122012-06-17 Uros Bizjak <ubizjak@gmail.com>
6913
6914 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6915 __builtin_expect when checking for exceptions.
6916 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6917
79261115
UB
69182012-06-13 Uros Bizjak <ubizjak@gmail.com>
6919
4a172156
UB
6920 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6921 function declaration.
6922 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6923 (FP_RND_MASK): New.
6924 * config/ia64/sfp-exceptions.c: New.
6925 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6926
bb5c97d4
UB
69272012-06-13 Uros Bizjak <ubizjak@gmail.com>
6928
6929 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6930 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6931 * config/i386/64/sfp-machine: ... (delete here) ...
6932 * config/i386/sfp-machine.h: ... to here.
6933 (FP_EX_MASK): Remove.
6934 (FP_RND_MASK): New.
6935 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6936
91fe5efb
ST
69372012-06-11 Sriraman Tallam <tmsriram@google.com>
6938
6939 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6940 * config/i386/libgcc-sol2.ver: Ditto.
6941 * config/i386/libgcc-glibc.ver: Ditto.
6942
67a218c5
RM
69432012-06-11 Roland McGrath <mcgrathr@google.com>
6944
6945 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6946 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6947 pthread_cancel.
6948
492fbea1
UB
69492012-06-09 Uros Bizjak <ubizjak@gmail.com>
6950
6951 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6952 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6953 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6954 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6955 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6956 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6957 * config/i386/64/sfp-machine: ... (delete here) ...
6958 * config/i386/sfp-machine.h: ... to here.
6959 (FP_EX_MASK): New.
6960 (__sfp_handle_exceptions): New function declaration.
6961 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6962 * config/i386/sfp-exceptions.c: New.
6963 * config/i386/t-softfp: New.
6964 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6965 i386/t-softfp to tmake_file.
6966
7b4cf266
DM
69672012-06-03 David S. Miller <davem@davemloft.net>
6968
6969 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6970 change.
6971
0de0d5c6
DM
69722012-05-31 David S. Miller <davem@davemloft.net>
6973
6974 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6975 multiply and divide instructions on 32-bit when V9.
6976 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6977
d8c9d391
JM
69782012-05-29 Joseph Myers <joseph@codesourcery.com>
6979
6980 * config/arm/ieee754-df.S: Fix typos.
6981 * config/arm/ieee754-sf.S: Fix typos.
6982 * config/c6x/libunwind.S: Fix typos.
6983 * config/epiphany/udivsi3-float.c: Fix typos.
6984 * config/microblaze/muldi3_hard.S: Fix typos.
6985 * config/picochip/adddi3.S: Fix typos.
6986 * config/picochip/ashlsi3.S: Fix typos.
6987 * config/picochip/ashrsi3.S: Fix typos.
6988 * config/picochip/clzsi2.S: Fix typos.
6989 * config/picochip/cmpsi2.S: Fix typos.
6990 * config/picochip/divmod15.S: Fix typos.
6991 * config/picochip/divmodhi4.S: Fix typos.
6992 * config/picochip/divmodsi4.S: Fix typos.
6993 * config/picochip/longjmp.S: Fix typos.
6994 * config/picochip/lshrsi3.S: Fix typos.
6995 * config/picochip/parityhi2.S: Fix typos.
6996 * config/picochip/popcounthi2.S: Fix typos.
6997 * config/picochip/setjmp.S: Fix typos.
6998 * config/picochip/subdi3.S: Fix typos.
6999 * config/picochip/ucmpsi2.S: Fix typos.
7000 * config/picochip/udivmodhi4.S: Fix typos.
7001 * config/picochip/udivmodsi4.S: Fix typos.
7002 * config/spu/divv2df3.c: Fix typos.
7003 * config/spu/mfc_multi_tag_release.c: Fix typos.
7004 * config/spu/mfc_tag_release.c: Fix typos.
7005 * configure.ac: Fix typos.
7006 * configure: Regenerate.
7007
31a18a7e
ILT
70082012-05-25 Ian Lance Taylor <iant@google.com>
7009
7010 * config/i386/morestack.S (__morestack_non_split): Check whether
7011 caller is varargs and needs %bp to hold the stack frame on return.
7012
c5768510
OH
70132012-05-25 Olivier Hainque <hainque@adacore.com>
7014
7015 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7016 sequence in the non pic case on VxWorks.
7017
7c7c339b
OH
70182012-05-24 Olivier Hainque <hainque@adacore.com>
7019
73fb7630 7020 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
7021 "install-leaf" to "install".
7022
fdc1b7d3
OH
70232012-05-24 Olivier Hainque <hainque@adacore.com>
7024
7025 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7026 Use a separate command for stamp removals.
7027
07ba94b9
AP
70282012-05-21 Andrew Pinski <apinski@cavium.com>
7029
7030 PR bootstrap/53183
7031 * configure.ac: Define the default includes to being none.
7032 * configure: Regenerate.
7033
4677d2eb
OH
70342012-05-16 Olivier Hainque <hainque@adacore.com>
7035
7036 * Makefile.in (install-unwind_h): Rename into ...
7037 (install-unwind_h-forbuild): New target.
7038 (all): Use it instead of the former install-unwind_h.
7039 (install-unwind_h): Reinstate, copy to user install destination
7040 for include files, not to the internal gcc object directory one.
7041 (install-leaf): Depend on it.
7042
7d67c380
OH
70432012-05-15 Olivier Hainque <hainque@adacore.com>
7044
7045 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7046 register numbers. LR_REGNO replaces R_LR.
7047 (ucontext_for): New, helper for ...
7048 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7049 and 5.3 of ...
7050 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7051
aca06c90
RO
70522012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7053
7054 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7055 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7056 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7057 i386/t-cpuinfo ...
7058 (i[34567]86-*-*, x86_64-*-*): ... here.
7059
7060 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7061 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7062
7063 * config/i386/i386-cpuinfo.c: Rename to ...
7064 * config/i386/cpuinfo.c: ... this.
7065 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7066
7067 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7068 (libgcc_cv_init_priority): New test.
7069 * configure: Regenerate.
7070 * config.in: New file.
7071 * Makefile.in (clean): Rename config.h to auto-target.h.
7072 (config.h): Likewise.
7073 (stamp-h): Likewise.
7074
7075 * config/i386/cpuinfo.c (auto-target.h): Include.
7076 (CONSTRUCTOR_PRIORITY): Define.
7077 (__cpu_indicator_init): Use it.
7078
0d03ac1b
L
70792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7080
7081 * longlong.h: Use a URL instead of an FSF postal address.
7082 Replace spaces with tab.
7083
4a172156 70842012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7085
7086 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7087 (__gcov_dump): Ditto.
7088 (gcov_dump_complete): New global variable.
7089 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7090 (__gcov_flush): Outline functionality now in gcov_clear.
7091 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7092
e4bb767e
AJ
70932012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7094
31a18a7e
ILT
7095 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7096 (mips*-*-linux*): Include mips/t-tpbit when long double is
7097 16 bytes long.
e4bb767e 7098
5ddecff9
ST
70992012-04-25 Sriraman Tallam <tmsriram@google.com>
7100
7101 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7102 (get_available_features): New argument. Check for AVX2.
7103 (__cpu_indicator_init): Modify call to get_available_features.
7104
b427dd7a
AM
71052012-04-25 Alan Modra <amodra@gmail.com>
7106
7107 * config/rs6000/crtsavevr.S: New file.
7108 * config/rs6000/crtrestvr.S: New file.
7109 * config/rs6000/t-savresfgpr: Build the above.
7110 * config/rs6000/t-netbsd: Likewise.
7111
ad491329
ST
71122012-04-24 Sriraman Tallam <tmsriram@google.com>
7113
7114 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7115
792317cc
ST
71162012-04-24 Sriraman Tallam <tmsriram@google.com>
7117
7118 * libgcc/config/i386/i386-cpuinfo.c: New file.
7119 * libgcc/config/i386/t-cpuinfo: New file.
7120 * libgcc/config.host: Include t-cpuinfo.
7121 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7122
e1be98a4
CF
71232012-04-24 Chao-ying Fu <fu@mips.com>
7124
7125 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7126
1bde7dab
TS
71272012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7128
7129 struct siginfo vs. siginfo_t
7130
7131 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7132 siginfo_t instead of struct siginfo.
7133 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7134 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7135 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7136 (ia64_handle_unwabi): Likewise.
7137 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7138 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7139 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7140 (sh_fallback_frame_state): Likewise.
7141 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7142 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7143
24590f66
L
71442012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7145
7146 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7147 system call number.
7148
9a9dcce8
EB
71492012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7150
7151 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7152 if it hasn't been previously saved.
7153
6401aaf5
L
71542012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7155
7156 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7157 only for glibc.
7158
7fd6378e
GJL
71592012-03-28 Georg-Johann Lay <avr@gjlay.de>
7160
7161 PR target/52737
7162 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7163 instead of __AVR_HAVE_8BIT_SP__.
7164
9e916de7
TG
71652012-03-26 Tristan Gingold <gingold@adacore.com>
7166
7167 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7168 (unw_table_entry): Use unw_word instead of unsigned long.
7169 (_Unwind_FindTableEntry): Likewise.
7170 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7171 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7172 (_Unwind_FindTableEntry): Likewise.
7173 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7174 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7175 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7176 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7177 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7178 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7179 (uw_init_context_1, uw_install_context): Likewise.
7180 (unw_word): Move to unwind-ia64.h
7181
4b12e93d
TG
71822012-03-26 Tristan Gingold <gingold@adacore.com>
7183
7184 * config/vms/vms-ucrt0.c: Update copyright years.
7185 Add a sanity check.
7186 (___gcc_main_flags): Declare.
7187 (__main): Check flags to remap argv and exit code.
7188 * config.host (*-*-*vms*): Adjust extra_parts.
7189 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7190 (crt0.o): Add.
7191
06ea7371
RE
71922012-03-22 Richard Earnshaw <rearnsha@arm.com>
7193
7194 * arm/lib1funcs.asm (ctzsi2): New function.
7195 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7196 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7197 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7198 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7199 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7200 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7201
d82ad50d
AT
72022012-03-21 Andreas Tobler <andreast@fgznet.ch>
7203
7204 * config.host: Add bits to support powerpc64-*-freebsd*.
7205 * config/rs6000/freebsd-unwind.h: New file.
7206 * config/rs6000/t-freebsd64: New file.
7207
b260a8c0
RG
72082012-03-20 Richard Guenther <rguenther@suse.de>
7209
7210 PR gcov-profile/52627
7211 * libgcov.c (init_mx): Fix mutex name.
7212
86286a8a
TG
72132012-03-16 Tristan Gingold <gingold@adacore.com>
7214
7215 * config/ia64/vms-unwind.h: Remove ulong (and replace
7216 it by unw_reg where used). Define unw_reg with __int64.
7217
7888f266
RO
72182012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7219
7220 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7221 Solaris 8 handling.
7222 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7223 Solaris 8 handling.
7224 (sparc_is_sighandler): Likewise.
7225
f155bc64
L
72262012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7227
7228 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7229 <= saved reg size.
7230
d47657bd
RO
72312012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7232
7233 * config/arm/crtn.S: Fix typo.
7234
5bef73a1
RG
72352012-03-13 Richard Guenther <rguenther@suse.de>
7236
7237 * libgcov.c: Remove stdio.h include and NULL un-define.
7238
9c4271f3
RG
72392012-03-13 Richard Guenther <rguenther@suse.de>
7240
7241 PR target/52569
7242 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7243
c6d10e7c
RG
72442012-03-13 Richard Guenther <rguenther@suse.de>
7245
7246 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7247
074a385f
RG
72482012-03-13 Richard Guenther <rguenther@suse.de>
7249
7250 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7251 and __gthread_mutex_init_function definitions.
7252
c4bc5c25
RO
72532012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7254
7255 * config.host (mips*-*-openbsd*): Remove.
7256
5c30094f
RO
72572012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7258
7259 * config.host: Remove alpha*-dec-osf5.1* handling.
7260 * config/alpha/gthr-posix.c: Remove.
7261 * config/alpha/libgcc-osf5.ver: Remove.
7262 * config/alpha/osf5-unwind.h: Remove.
7263 * config/alpha/t-osf-pthread: Remove.
7264 * config/alpha/t-slibgcc-osf: Remove.
7265 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7266 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7267 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7268 * mkmap-flat.awk: Remove osf_export handling.
7269
33e3e24d
RG
72702012-03-12 Richard Guenther <rguenther@suse.de>
7271
7272 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7273 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7274 (__gthread_mutex_init_function): New function.
7275 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7276
7277 PR gcov/49484
7278 * libgcov.c: Include gthr.h.
7279 (__gcov_flush_mx): New global variable.
7280 (init_mx, init_mx_once): New functions.
7281 (__gcov_flush): Protect self with a mutex.
7282 (__gcov_fork): Re-initialize mutex after forking.
7283 * unwind-dw2-fde.c: Change condition under which to use
7284 __GTHREAD_MUTEX_INIT_FUNCTION.
7285
d8aba32a
TG
72862012-03-12 Tristan Gingold <gingold@adacore.com>
7287
7288 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7289 * config/ia64/t-vms: Likewise.
7290
75ffafdc
MH
72912012-03-11 Michael Hope <michael.hope@linaro.org>
7292
4a172156
UB
7293 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7294 for Thumb-2.
75ffafdc 7295
ef6c2c53
WL
72962012-03-07 Walter Lee <walt@tilera.com>
7297
7298 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7299 "arch_atomic_".
7300 (atomic_xor): Rename and move definition to
7301 config/tilepro/atomic.h.
7302 (atomic_nand): Ditto.
7303 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7304 "arch_atomic_".
7305 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7306 (arch_atomic_nand): Ditto.
7307
4e30d980
GJL
73082012-03-07 Georg-Johann Lay <avr@gjlay.de>
7309
7310 PR target/52507
7311 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7312
61108225
GJL
73132012-03-07 Georg-Johann Lay <avr@gjlay.de>
7314
7315 PR target/52505
7316 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7317 from RAM.
7318
b30e10ab
GJL
73192012-03-07 Georg-Johann Lay <avr@gjlay.de>
7320
7321 PR target/52461
7322 PR target/52508
7323 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7324 if RAMPZ affects reading from RAM.
7325 (__tablejump_elpm__): Ditto.
7326 (.xload): Ditto.
7327 (__movmemx_hi): Ditto.
7328 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7329 (__do_global_dtors): Ditto.
7330 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7331 (__movmemx_hi): Ditto.
7332
8993fde4
RH
73332012-03-05 Richard Henderson <rth@redhat.com>
7334
7335 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7336 [ARM] (count_trailing_zeros): Use the builtin.
7337
b7633ee3
KT
73382012-03-01 Kai Tietz <ktietz@redhat.com>
7339
7340 * soft-fp: Imported from glibc upstream.
7341
fbd3340c
KT
73422012-02-28 Kai Tietz <ktietz@redhat.com>
7343
7344 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7345 for mingw-targets as attribute gcc_struct.
7346
e9e053eb
ILT
73472012-02-28 Ian Lance Taylor <iant@google.com>
7348
7349 * generic-morestack.c (__splitstack_releasecontext): Correct call
7350 to __morestack_release_segments.
7351
d80c632e
ST
73522012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7353
7354 PR target/52390
7355 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7356 for __linux__ when removing signals from __morestack_fullmask.
7357
0253a8b1
GJL
73582012-02-23 Georg-Johann Lay <avr@gjlay.de>
7359
7360 PR target/52261
7361 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7362
e10e461e
UW
73632012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7364
7365 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7366 instead of HAVE_INITFINI_ARRAY.
7367 * config/ia64/crtend.S: Likewise.
7368
0c0c6398
KT
73692012-02-20 Kai Tietz <ktietz@redhat.com>
7370
d7470374
KT
7371 PR libstdc++/52300
7372 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7373
0c0c6398
KT
7374 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7375 to w32-unwind.h header.
7376
78c27266
RS
73772012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7378
7379 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7380 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7381 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7382 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7383
5adeb246
RS
73842012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7385
7386 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7387
672ed313
IS
73882012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7389
7390 PR libitm/52220
7391 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7392
e948a1fb
IS
73932012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7394 Patrick Marlier <patrick.marlier@gmail.com>
7395
7396 PR libitm/52220
7397 * config/darwin-crt-tm.c: Generate dummy functions.
7398
6017aed3
IS
73992012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7400 Patrick Marlier <patrick.marlier@gmail.com>
7401
7402 PR libitm/52042
7403 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7404 (__doTMRegistrations): Call it.
e9e053eb 7405 (__doTMdeRegistrations): Likewise.
6017aed3 7406
2da8c1ad 74072012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7408 Anatoly Sokolov <aesok@post.ru>
7409 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7410
7411 PR target/52261
7412 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7413 (__epilogue_restores__): Ditto.
7414
0f952eb4
EB
74152012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7416
7417 PR target/51921
7418 PR target/52205
7419 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7420 Solaris 11 and slightly reformat.
7421 (sparc_is_sighandler): Likewise.
7422
dd552284
WL
74232012-02-14 Walter Lee <walt@tilera.com>
7424
7425 * config.host: Handle tilegx and tilepro.
7426 * config/tilegx/sfp-machine.h: New file.
7427 * config/tilegx/sfp-machine32.h: New file.
7428 * config/tilegx/sfp-machine64.h: New file.
7429 * config/tilegx/t-crtstuff: New file.
7430 * config/tilegx/t-softfp: New file.
7431 * config/tilegx/t-tilegx: New file.
7432 * config/tilepro/atomic.c: New file.
7433 * config/tilepro/atomic.h: New file.
7434 * config/tilepro/linux-unwind.h: New file.
7435 * config/tilepro/sfp-machine.h: New file.
7436 * config/tilepro/softdivide.c: New file.
7437 * config/tilepro/softmpy.S: New file.
7438 * config/tilepro/t-crtstuff: New file.
7439 * config/tilepro/t-tilepro: New file.
7440
b59cbd50
JW
74412012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7442
7443 PR libstdc++/51296
7444 PR libstdc++/51906
7445 * gthr-posix.h: Allow static initializer macros to be disabled.
7446 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7447
6caf807f
CLT
74482012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7449
7450 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7451 Add t-slibgcc-libgcc to tmake_file.
7452 * config/mips/libgcc-mips16.ver: Revert previous patch.
7453 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7454
7d296953
JJ
74552012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7456 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7457
7458 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7459 * config/cr16/crti.S: New file.
7460 * config/cr16/crtlibid.S: New file.
7461 * config/cr16/crtn.S: New file.
7462 * config/cr16/lib1funcs.S: New file.
7463 * config/cr16/t-cr16: New file.
7464 * config/cr16/t-crtlibid: New file.
7465 * config/cr16/unwind-dw2.h: New file.
7466 * config/cr16/unwind-cr16.c: New file.
7467 * config/cr16/divmodhi3.c: New file.
7468
8ef03aa7
AM
74692012-01-25 Alan Modra <amodra@gmail.com>
7470
7471 * config/rs6000/t-linux64: Delete. Move..
7472 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7473 * config/rs6000/t-linux: ..and libgcc flags to here.
7474
daecebc8
DR
74752012-01-22 Douglas B Rupp <rupp@gnat.com>
7476
7477 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7478 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7479 * configure: Regenerate.
7480
ddaf8125
RS
74812012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7482 Richard Sandiford <rdsandiford@googlemail.com>
7483
7484 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7485 * config/mips/mips16.S (__mips16_rdhwr): New function.
7486 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7487
2cd8b32c
NS
74882012-01-11 Nathan Sidwell <nathan@acm.org>
7489
7490 * libgcov.c (__gcov_init): Ignore objects with no functions.
7491
cba300dd
GJL
74922012-01-10 Georg-Johann Lay <avr@gjlay.de>
7493
7494 PR target/49868
7495 Extend __pgmx semantics to linearize memory.
7496 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7497 * config/avr/lib1funcs.S (__xload_1): New function.
7498 (__movmemx_qi, __movmemx_hi): New functions.
7499 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7500 semantics.
9ffaf4bc 7501
3d137660
EB
75022012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7503
7504 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7505 purported sigacthandler address isn't null before dereferencing it.
7506 (sparc_is_sighandler): Likewise.
7507
bf4db96c
EB
75082012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7509
7510 PR ada/41929
7511 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7512 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7513 (sparc_is_sighandler): Likewise.
7514 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7515
1ab3568b
TG
75162012-01-06 Tristan Gingold <gingold@adacore.com>
7517
7518 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7519 compatibility thunks...
7520 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7521 (crtbeginS.o, crtendS.o): ... and these to ...
7522 * config/ia64/t-ia64-elf: ... this new file.
7523 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7524 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7525
925b0ed8
AK
75262012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7527
7528 * configure: Regenerate.
7529 * config/s390/t-crtstuff: Remove -fPIC.
7530
a99ad737
JW
75312012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7532
7533 PR bootstrap/51006
7534 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7535 for NetBSD.
7536
884f56d1
GJL
75372012-01-02 Georg-Johann Lay <avr@gjlay.de>
7538
7539 PR target/51345
7540 * config/avr/lib1funcs.S: Remove FIXME comments.
7541 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7542
8c57e547
GJL
75432012-01-02 Georg-Johann Lay <avr@gjlay.de>
7544
7545 Implement light-weight DImode support.
7546 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7547 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7548 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7549 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7550
04dbc287
NS
75512011-12-30 Nathan Sidwell <nathan@acm.org>
7552
7553 * libgcov.c (gcov_crc32): Remove global var.
7554 (free_fn_data): New function.
7555 (buffer_fn_data): Pass in filename, more robust error recovery.
7556 (crc32_unsigned): New function.
7557 (gcov_exit): More robust detection of new program. More robust
7558 error recovery.
7559 (__gcov_init): Do not update program's crc here.
7560
8e1d97d4
TG
75612011-12-21 Tristan Gingold <gingold@adacore.com>
7562
7563 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7564
9ffaf4bc
ILT
75652011-12-21 Ian Lance Taylor <iant@google.com>
7566
7567 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7568
a0c8d0c1
ILT
75692011-12-20 Ian Lance Taylor <iant@google.com>
7570
7571 * config/i386/morestack.S (__morestack_non_split): If there is
7572 enough stack space already, don't split. Ask for more stack space
7573 than we required.
7574
69048898
SDJ
75752011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7576
7577 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7578 `sys/sdt.h'.
7579 (_Unwind_DebugHook): New function.
7580 (uw_restore_core_regs): New define.
7581 (unwind_phase2): Use uw_restore_core_regs instead of
7582 restore_core_regs.
7583 (unwind_phase2_forced): Likewise.
7584 (__gnu_Unwind_Resume): Likewise.
7585
1bb4b6a3
UB
75862011-12-20 Uros Bizjak <ubizjak@gmail.com>
7587
7588 * config/alpha/linux-unwind.h: Update copyright years.
7589 (MD_FROB_UPDATE_CONTEXT): New define.
7590 (alpha_frob_update_context): New function.
7591
eb028768
RS
75922011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7593
7594 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7595 tmake_file rather replacing it.
7596
6a2045bf
IS
75972011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7598
7599 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7600 function is not used for PPC64.
6a2045bf
IS
7601 (save_world): Amend comments. Update the VRsave mask to reflect the
7602 saved regs.
7603 (rest_world): Update comments, do not clobber r10, do not use r8.
7604 (eh_rest_world_r10): Amend comments, do not use r8.
7605 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7606 no longer used, move restore of CR and target address to the end of
7607 the routine.
7608
a13780a6
L
76092011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7610
7611 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7612 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7613
d7288dfb
GJL
76142011-12-14 Georg-Johann Lay <avr@gjlay.de>
7615
7616 PR target/49313
7617 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7618 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7619
8d2c862d
EB
76202011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7621
7622 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7623
3447cae6
GJL
76242011-12-09 Georg-Johann Lay <avr@gjlay.de>
7625
7626 PR target/49313
7627 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7628 * config/avr/lib1funcs.S (__muldi3): New function.
7629
806fc6aa
AP
76302011-12-06 Andrew Pinski <apinski@cavium.com>
7631
7632 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7633 size of func_ptr.
7634 (__frame_dummy_init_array_entry): Likewise.
7635
28c5e6b5
GJL
76362011-12-06 Georg-Johann Lay <avr@gjlay.de>
7637
7638 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7639
7640 PR target/51345
7641 PR target/51002
7642 * config/avr/lib1funcs.S (__prologue_saves__,
7643 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7644 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7645
8f90394a
IS
76462011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7647
7648 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7649
06dd33ac
JDA
76502011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7651
7652 PR other/51272
7653 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7654 (_ITM_deregisterTMCloneTable): Likewise.
7655 (__register_frame_info): Fix unused warning.
7656 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7657 pthread_default_stacksize_np): Likewise.
7658 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7659
85b8555e
DD
76602011-11-29 DJ Delorie <dj@redhat.com>
7661
7662 * config.host (rl78-*-elf): New case.
7663 * config/rl78: New directory for the Renesas RL78.
7664
4d5ae4ea
BS
76652011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7666
7667 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7668 formatting.
7669
f9c55897
RO
76702011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7671
7672 PR other/51022
7673 * config/rs6000/t-savresfgpr: New file.
7674 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7675 $(srcdir)/config/rs6000/eabi.S.
7676 * config/rs6000/t-ppccomm-ldbl: Remove.
7677 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7678 tmake_file.
7679 (powerpc-*-eabispe*): Likewise.
7680 (powerpc-*-eabi*): Likewise.
7681 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7682 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7683 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7684 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7685 tmake_file.
7686 (powerpc-*-eabisim*): Likewise.
7687 (powerpc-*-elf*): Likewise.
7688 (powerpc-*-eabialtivec*): Likewise.
7689 (powerpc-xilinx-eabi*): Likewise.
7690 (powerpc-*-rtems*): Likewise.
7691 (powerpcle-*-elf*): Likewise.
7692 (powerpcle-*-eabisim*): Likewise.
7693 (powerpcle-*-eabi*): Likewise.
7694
a01207c4
ILT
76952011-11-27 Ian Lance Taylor <iant@google.com>
7696
7697 * generic-morestack.c (__splitstack_find): Check for NULL old
7698 stack value.
7699 (__splitstack_resetcontext): New function.
7700 (__splitstack_releasecontext): New function.
7701 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7702
2b0b8ab2
IS
77032011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7704
7705 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7706
c1d8101c
IS
77072011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7708
7709 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7710
8b281334
RH
77112011-11-26 Richard Henderson <rth@redhat.com>
7712
7713 * config/m68k/linux-atomic.c: New file.
7714 * config/m68k/t-linux: New file.
7715 * config.host (m68k-uclinux, m68k-linux): Use it.
7716
7546aa9d
RH
77172011-11-26 Richard Henderson <rth@redhat.com>
7718
7719 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7720 (__TMC_END__): Only declare if hidden is available; in the definition,
7721 if hidden is unavailable add a null record.
7722 (deregister_tm_clones, register_tm_clones): New.
7723 (__do_global_dtors_aux, frame_dummy): Use them.
7724 (__do_global_dtors, __do_global_ctors_1): Likewise.
7725
e2362f5d
IS
77262011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7727
7728 * config/darwin-crt-tm.c: New file.
7729 * config.host (darwin): Build crttms.o crttme.o to provide
7730 startup and shutdown for tm clones.
7731 * config/t-darwin (crttms.o): New build rule.
7732 (crttme.o): Likewise.
7733
6685dd96
HPN
77342011-11-21 Hans-Peter Nilsson <hp@axis.com>
7735
7736 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7737 et al.
7738
b0dc7e4c
RH
77392011-11-21 Richard Henderson <rth@redhat.com>
7740
7741 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7742 (__TMC_LIST__, __TMC_END__): New.
7743 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7744 (__do_global_dtors): Likewise.
7745 (frame_dummy): Call _ITM_registerTMCloneTable.
7746 (__do_global_ctors_1): Likewise.
7747
d4b4b542
RO
77482011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7749
7750 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7751 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7752 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7753 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7754 * config/i386/t-darwin64: Remove.
7755 * config/sh/t-netbsd (LIB2ADD): Remove.
7756
989bdb74
GJL
77572011-11-21 Georg-Johann Lay <avr@gjlay.de>
7758
7759 PR target/49313
7760 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7761 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7762 * config/avr/lib1funcs.S (wmov): New assembler macro.
7763 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7764 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7765 (__udivmod64): New function.
7766 (__negdi2): New function.
7767
515a0cfc
GP
77682011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7769
7770 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7771 *-*-freebsd*aout*): Remove.
7772
0115d17f
HPN
77732011-11-20 Hans-Peter Nilsson <hp@axis.com>
7774
7775 * static-object.mk (c_flags-$o): Save c_flags.
7776 ($(base)$(objext)): Use it.
7777
93aeb62b
SE
77782011-11-18 Steve Ellcey <sje@cup.hp.com>
7779
7780 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7781
7bc6df2c
GJL
77822011-11-18 Georg-Johann Lay <avr@gjlay.de>
7783
7784 PR target/49868
7785 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7786 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7787 New functions.
7788
425d737b
MGD
77892011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7790
7791 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7792 functions.
1bb4b6a3 7793 (aeabi_uidivmod): Likewise.
425d737b
MGD
7794 (umodsi3): Likewise.
7795 (divsi3): Likewise.
7796 (aeabi_idivmod): Likewise.
7797 (modsi3): Likewise.
7798
f2a176dc
TG
77992011-11-16 Tristan Gingold <gingold@adacore.com>
7800
7801 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7802
7c209481
GJL
78032011-11-15 Georg-Johann Lay <avr@gjlay.de>
7804
7805 PR target/49868
7806 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7807 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7808
9dfd5832
JDA
78092011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7810
7811 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7812 tmake_file list.
7813 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7814 * config/pa/t-stublib64: Delete.
7815
f77dca5d
RH
78162011-11-12 Richard Henderson <rth@redhat.com>
7817
7818 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7819 cast the pointer argument to _Unwind_SetGRPtr.
7820
902828f0
RO
78212011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7822
7823 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7824
e14304ef
ILT
78252011-11-09 Ian Lance Taylor <iant@google.com>
7826
7827 * generic-morestack.c: Include <string.h>.
7828 (uintptr_type): Define.
7829 (struct initial_sp): Add dont_block_signals field. Reduce size of
7830 extra array by 1.
7831 (allocate_segment): Set prev field to NULL. Don't set
7832 __morestack_current_segment or __morestack_segments.
7833 (__generic_morestack): Update current->prev and *pp after calling
7834 allocate_segment.
7835 (__morestack_block_signals): Don't do anything if
7836 dont_block_signals is set.
7837 (__morestack_unblock_signals): Likewise.
7838 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7839 uintptr_type.
7840 (__splitstack_block_signals): New function.
7841 (enum __splitstack_content_offsets): Define.
7842 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7843 (__splitstack_makecontext): New function.
7844 (__splitstack_block_signals_context): New function.
7845 (__splitstack_find_context): New function.
7846 * config/i386/morestack.S (__morestack_get_guard): New function.
7847 (__morestack_set_guard, __morestack_make_guard): New functions.
7848 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7849
e3d871e4
RO
78502011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7851
7852 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7853 (i[34567]86-*-mingw*): ... here.
7854 (x86_64-*-mingw*): ... here.
7855
e55cef40
RO
78562011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7857
7858 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7859
5366b186
NS
78602011-11-07 Nathan Sidwell <nathan@acm.org>
7861
7862 * libgcov.c (struct gcov_fn_buffer): New struct.
7863 (buffer_fn_data): New helper.
7864 (gcov_exit): Rework for new gcov data structures.
7865
74155a6f
GJL
78662011-11-07 Georg-Johann Lay <avr@gjlay.de>
7867
7868 PR target/49313
7869 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7870
200feb07
RO
78712011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7872
7873 * config.host (tmake_file): Correct comment.
7874 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7875 t-libgcc-pic.
7876 (bfin*-uclinux*): Likewise.
7877 (bfin*-linux-uclibc*): Likewise.
7878 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7879
7880 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7881 assigning.
7882 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7883 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7884 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7885 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7886 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7887 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7888 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7889 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7890 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7891 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7892 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7893 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7894 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7895
7896 * config/bfin/t-elf: Remove.
7897 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7898
c9cd1a07
RO
78992011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7900
7901 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7902 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7903 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7904 (lm32-*-elf*): ... this.
7905 (lm32-*-rtems*): ... and this.
7906 Add to tmake_file.
7907 (m32r-*-rtems*): Add to tmake_file.
7908 (moxie-*-rtems*): Likewise.
7909 (sparc-*-rtems*): Likewise.
7910 Remove t-rtems from tmake_file.
7911 (sparc64-*-rtems*): Likewise.
7912 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7913 instead.
7914
9fbcc75d
RO
79152011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7916
7917 PR bootstrap/50982
7918 * config/gthr-posix.h: Move ...
7919 * gthr-posix.h: ... here.
7920 * config/gthr-lynx.h: Reflect this.
7921 * config/gthr-vxworks.h: Likewise.
7922 * config/rs6000/gthr-aix.h: Likewise.
7923 * configure.ac (target_thread_file): Likewise.
7924 * configure: Regenerate.
7925
76644b68
SH
79262011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7927
7928 * config.host (arm*-*-rtemseabi*): New target.
7929
5e490f2a
JDA
79302011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7931
7932 PR other/50991
7933 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7934 extra-parts.
7935
feeeff5c
JR
79362011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7937
7938 * config.host (epiphany-*-elf*): New configuration.
7939 * config/epiphany: New Directory.
7940
d618bb2c
RC
79412011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7942
7943 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7944 * config/avr/t-rtems: New.
7945 Filter out _exit from LIB1ASMFUNCS.
7946
1bb6f778
DM
79472011-11-04 David S. Miller <davem@davemloft.net>
7948
7949 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7950 * configure: Rebuild.
7951
9a7f7422
AK
79522011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7953
7954 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7955 variable.
7956
e4fe948a
GJL
79572011-11-04 Georg-Johann Lay <avr@gjlay.de>
7958
7959 PR target/50931
7960 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7961 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7962
7084e037
JS
79632011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7964
7965 PR target/50989
7966 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7967
1a032034
RO
79682011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7969
7970 * config/c6x/t-elf (LIB2ADDEH): Set.
7971 * config/c6x/t-c6x-elf: Remove.
7972
d385f772
RO
79732011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7974
7975 * config/i386/sol2-ci.S: Rename to ...
7976 * config/i386/crti.S: ... this.
7977 * config/i386/sol2-cn.S: Rename to ...
7978 * config/i386/crtn.S: ... this.
7979 * config/sparc/sol2-ci.S: Rename to ...
7980 * config/sparc/crti.S: ... this.
7981 * config/sparc/sol2-cn.S: Rename to ...
7982 * config/sparc/crtn.S: ... this.
7983 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7984 (crti.o, crtn.o): Remove.
7985
1ba878a9
TG
79862011-11-04 Tristan Gingold <gingold@adacore.com>
7987
7988 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7989
02750c15
KK
79902011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7991
7992 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7993
bf86b067
HPN
79942011-11-03 Hans-Peter Nilsson <hp@axis.com>
7995
7996 * config.host (crisv32-*-none, cris-*-none): Remove.
7997 (crisv32-*-elf): Append to tmake_file, don't just set it.
7998 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7999
d0bc53bd
RO
80002011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8001
8002 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8003 (ecrtn$(objext)): Likewise.
8004 (ncrti$(objext)): Likewise.
8005 (ncrtn$(objext)): Likewise.
8006
036da830
AS
80072011-11-03 Andreas Schwab <schwab@redhat.com>
8008
8009 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8010
d2a7d041
DM
80112011-11-02 David S. Miller <davem@davemloft.net>
8012
8013 * configure.ac: Set host_address on sparc too.
8014 * configure: Regenerate.
8015 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8016 based upon host_address.
8017 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8018
af8ed618
JM
80192011-11-02 Jason Merrill <jason@redhat.com>
8020
8021 * config/rs6000/t-ppccomm: Add missing \.
8022
5d1c8e77
RO
80232011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8024
8025 * gthr-single.h, gthr.h: New files.
8026 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8027 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8028 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8029 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8030 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8031 * configure.ac (thread_header): New variable.
8032 Set it depending on target_thread_file.
8033 (gthr-default.h): Link from $thread_header.
8034 * configure: Regenerate.
8035 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8036
852b75ed
RO
80372011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8038
8039 * configure.ac (tm_file_): New variable.
8040 Determine from tm_file.
8041 (tm_file, tm_defines): Substitute.
8042 * configure: Regenerate.
8043 * mkheader.sh: New file.
8044 * Makefile.in (clean): Remove libgcc_tm.h.
8045 ($(objects)): Depend on libgcc_tm.h.
8046 (libgcc_tm_defines, libgcc_tm_file): New variables.
8047 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8048 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8049 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8050 ($(extra-parts)): Depend on libgcc_tm.h.
8051 * config.host (tm_defines, tm_file): New variable.
8052 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8053 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8054 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8055 (avr-*-rtems*): Likewise.
8056 (avr-*-*): Likewise.
8057 (frv-*-elf): Likewise.
8058 (frv-*-*linux*): Likewise.
8059 (h8300-*-rtems*): Likewise.
8060 (h8300-*-elf*): Likewise.
8061 (i[34567]86-*-darwin*): Likewise.
8062 (x86_64-*-darwin*): Likewise.
8063 (rx-*-elf): Likewise.
8064 (tic6x-*-uclinux): Likewise.
8065 (tic6x-*-elf): Likewise.
8066 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8067 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8068 * config/i386/cygming-crtbegin.c: Likewise.
8069 * config/i386/cygming-crtend.c: Likewise.
8070 * config/ia64/fde-vms.c: Likewise.
8071 * config/ia64/unwind-ia64.c: Likewise.
8072 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8073 * config/rs6000/darwin-fallback.c: Likewise.
8074 * config/stormy16/lib2funcs.c: Likewise.
8075 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8076 * crtstuff.c: Likewise.
8077 * dfp-bit.h: Likewise.
8078 * emutls.c: Likewise.
8079 * fixed-bit.c: Likewise.
8080 * fp-bit.c: Likewise.
8081 * generic-morestack-thread.c: Likewise.
8082 * generic-morestack.c: Likewise.
8083 * libgcc2.c: Likewise.
8084 * libgcov.c: Likewise.
8085 * unwind-dw2-fde-dip.c: Likewise.
8086 * unwind-dw2-fde.c: Likewise.
8087 * unwind-dw2.c: Likewise.
8088 * unwind-sjlj.c: Likewise.
8089
f9989b51
RO
80902011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8091
8092 * configure.ac: Include ../config/picflag.m4.
8093 (GCC_PICFLAG): Call it.
8094 Substitute.
8095 * configure: Regenerate.
8096 * Makefile.in (gcc_srcdir): Remove.
8097 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8098 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8099 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8100 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8101 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8102 Use $<.
8103 Remove comment.
8104 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8105 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8106 to refer to libgcc2.c.
8107 Use $<.
8108 * config/darwin-64.c: New file.
8109 * config/darwin-crt3.c: Remove comment.
8110 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8111 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8112 config/udivmodsi4.c: New files.
8113 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8114 config/memset.c: New files.
8115 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8116 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8117 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8118 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8119 * config/t-openbsd-thread: New file.
8120 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8121 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8122 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8123 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8124 qrnnd.S.
8125 Adapt filename.
8126 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8127 to refer to gthr-posix.c.
8128 * config/alpha/t-vms (LIB2ADD): Set.
8129 * config/alpha/vms-gcc_shell_handler.c: New file.
8130 * config/arm/bpabi.c, config/arm/fp16.c,
8131 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8132 config/arm/unaligned-funcs.c: New files.
8133 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8134 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8135 * config/arm/t-linux: Likewise.
8136 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8137 * config/arm/t-netbsd: New file.
8138 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8139 * config/arm/t-symbian (LIB2ADD_ST): Set.
8140 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8141 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8142 * config/bfin/t-elf: New file.
8143 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8144 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8145 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8146 config/c6x/ltf.c: New files.
8147 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8148 (HOST_LIBGCC2_CFLAGS): Set.
8149 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8150 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8151 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8152 New files.
8153 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8154 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8155 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8156 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8157 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8158 files.
8159 * config/frv/t-frv (LIB2ADD): Set.
8160 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8161 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8162 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8163 config/h8300/popcounthi2.c: New files.
8164 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8165 * config/i386/gthr-win32.c: New file.
8166 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8167 * config/i386/t-cygwin: Likewise.
8168 * config/i386/t-darwin, config/i386/t-darwin64,
8169 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8170 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8171 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8172 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8173 * config/ia64/quadlib.c: New file.
8174 * config/ia64/t-hpux (LIB2ADD): Set.
8175 * config/ia64/t-ia64: Add comment.
8176 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8177 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8178 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8179 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8180 * config/m32c/t-m32c (LIB2ADD): Set.
8181 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8182 * config/m32r/t-m32r: Likewise.
8183 * config/m68k/fpgnulib.c: New file.
8184 * config/m68k/t-floatlib (LIB2ADD): Set.
8185 (xfgnulib.c): New target.
8186 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8187 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8188 * config/mep/t-mep (LIB2ADD): Set.
8189 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8190 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8191 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8192 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8193 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8194 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8195 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8196 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8197 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8198 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8199 New files.
8200 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8201 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8202 * config/pa/fptr.c, config/pa/lib2funcs.S,
8203 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8204 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8205 (LIB2ADD, LIB2ADD_ST): Set.
8206 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8207 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8208 Set.
8209 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8210 * config/pdp11/t-pdp11: New file.
8211 * config/picochip/libgccExtras/adddi3.S,
8212 config/picochip/libgccExtras/ashlsi3.S,
8213 config/picochip/libgccExtras/ashrsi3.S,
8214 config/picochip/libgccExtras/clzsi2.S,
8215 config/picochip/libgccExtras/cmpsi2.S,
8216 config/picochip/libgccExtras/divmod15.S,
8217 config/picochip/libgccExtras/divmodhi4.S,
8218 config/picochip/libgccExtras/divmodsi4.S,
8219 config/picochip/libgccExtras/lshrsi3.S,
8220 config/picochip/libgccExtras/parityhi2.S,
8221 config/picochip/libgccExtras/popcounthi2.S,
8222 config/picochip/libgccExtras/subdi3.S,
8223 config/picochip/libgccExtras/ucmpsi2.S,
8224 config/picochip/libgccExtras/udivmodhi4.S,
8225 config/picochip/libgccExtras/udivmodsi4.S: New files.
8226 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8227 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8228 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8229 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8230 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8231 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8232 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8233 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8234 files.
8235 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8236 (HOST_LIBGCC2_CFLAGS): Set.
8237 * config/rs6000/t-darwin64: New file.
8238 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8239 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8240 * config/rs6000/t-ppccomm (LIB2ADD): Add
8241 $(srcdir)/config/rs6000/tramp.S.
8242 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8243 Add $(srcdir)/config/rs6000/eabi.S.
8244 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8245 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8246 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8247 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8248 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8249 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8250 * config/rs6000/tramp.S: New file.
8251 * config/s390/t-tpf: Remove.
8252 * config/sh/linux-atomic.S: New file.
8253 * config/sh/t-linux (LIB2ADD): Set.
8254 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8255 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8256 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8257 to unwind-dw2.c.
8258 (HOST_LIBGCC2_CFLAGS): Set.
8259 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8260 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8261 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8262 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8263 config/spu/mfc_multi_tag_release.c,
8264 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8265 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8266 config/spu/multi3.c: New files.
8267 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8268 (HOST_LIBGCC2_CFLAGS): Set.
8269 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8270 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8271 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8272 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8273 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8274 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8275 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8276 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8277 config/stormy16/umodsi3.c: New files.
8278 * config/xtensa/lib2funcs.S: New file.
8279 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8280 * config/xtensa/t-xtensa (LIB2ADD): Set.
8281 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8282 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8283 Add t-freebsd-thread to tmake_file for posix threads.
8284 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8285 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8286 (*-*-lynxos*): Likewise.
8287 (*-*-netbsd*): Likewise.
8288 (*-*-openbsd*): Likewise.
8289 Add t-openbsd-thread to tmake_file for posix threads.
8290 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8291 (*-*-vxworks*): Set tmake_file.
8292 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8293 (alpha*-*-freebsd*): Likewise.
8294 (alpha*-*-netbsd*): Likewise.
8295 (alpha*-*-openbsd*): Likewise.
8296 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8297 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8298 (alpha*-dec-*vms*): Likewise.
8299 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8300 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8301 (bfin*-uclinux*): Likewise.
8302 (bfin*-linux-uclibc*): Likewise.
8303 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8304 (crisv32-*-none): Likewise.
8305 (cris-*-elf): Likewise.
8306 (cris-*-none): Likewise.
8307 (cris-*-linux*, crisv32-*-linux*): Likewise.
8308 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8309 tmake_file.
8310 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8311 tmake_file.
8312 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8313 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8314 (x86_64-*-elf*): Likewise.
8315 (i[34567]86-*-nto-qnx*): Likewise.
8316 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8317 win32 threads.
8318 (x86_64-*-mingw*): Likewise.
8319 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8320 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8321 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8322 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8323 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8324 tmake_file.
8325 (mipsisa64sr71k-*-elf*): Likewise.
8326 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8327 (mips-*-elf*, mipsel-*-elf*): Likewise.
8328 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8329 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8330 (mips*-*-rtems*): Likewise.
8331 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8332 to tmake_file.
8333 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8334 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8335 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8336 (spu-*-elf*): Likewise.
8337 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8338
45b86625
RO
83392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8340
8341 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8342 $(srcdir) to refer to $(LIB1ASMSRC).
8343 Use $<.
8344 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8345 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8346 config/arm/lib1funcs.S: New files.
8347 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8348 * config/arm/t-arm: New file.
8349 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8350 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8351 config/arm/t-strongarm-elf: New files.
8352 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8353 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8354 * config/avr/lib1funcs.S: New file.
8355 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8356 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8357 * config/c6x/lib1funcs.S: New file.
8358 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8359 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8360 * config/frv/lib1funcs.S: New file.
8361 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8362 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8363 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8364 * config/ia64/__divxf3.asm: Rename to ...
8365 * config/ia64/__divxf3.S: ... this.
8366 Adapt lib1funcs.asm filename.
8367 * config/ia64/_fixtfdi.asm: Rename to ...
8368 * config/ia64/_fixtfdi.S: ... this.
8369 Adapt lib1funcs.asm filename.
8370 * config/ia64/_fixunstfdi.asm: Rename to ...
8371 * config/ia64/_fixunstfdi.S: ... this.
8372 Adapt lib1funcs.asm filename.
8373 * config/ia64/_floatditf.asm: Rename to ...
8374 * config/ia64/_floatditf.S: ... this.
8375 Adapt lib1funcs.asm filename.
8376 * config/ia64/lib1funcs.S: New file.
8377 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8378 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8379 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8380 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8381 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8382 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8383 * config/mep/lib1funcs.S: New file.
8384 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8385 * config/mips/mips16.S: New file.
8386 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8387 * config/pa/milli64.S: New file.
8388 * config/pa/t-linux, config/pa/t-linux64: New files.
8389 * config/picochip/lib1funcs.S: New file.
8390 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8391 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8392 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8393 * config/sh/t-netbsd: New file.
8394 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8395 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8396 * config/sh/t-sh64: New file.
8397 * config/sparc/lb1spc.S: New file.
8398 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8399 filename.
8400 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8401 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8402 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8403 config/xtensa/lib1funcs.S: New files.
8404 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8405 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8406 tmake_file.
8407 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8408 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8409 (arm*-*-linux*): Likewise.
8410 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8411 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8412 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8413 (arm*-*-ecos-elf): Likewise.
8414 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8415 (arm*-*-rtems*): Likewise.
8416 (arm*-*-elf): Likewise.
8417 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8418 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8419 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8420 (bfin*-uclinux*): Likewise.
8421 (bfin*-linux-uclibc*): Likewise.
8422 (bfin*-rtems*): Likewise.
8423 (bfin*-*): Likewise.
8424 (fido-*-elf): Merge into m68k-*-elf*.
8425 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8426 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8427 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8428 (h8300-*-elf*): Likewise.
8429 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8430 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8431 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8432 (i[34567]86-*-mingw*): Likewise.
8433 (x86_64-*-mingw*): Likewise.
8434 (i[34567]86-*-interix3*): Likewise.
8435 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8436 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8437 (m68k-*-elf*): Also handle fido-*-elf.
8438 Add m68k/t-floatlib to tmake_file.
8439 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8440 (m68k-*-linux*): Likewise.
8441 (m68k-*-rtems*): Likewise.
8442 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8443 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8444 sh64*-*-*.
8445 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8446 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8447 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8448 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8449 sh/t-netbsd to tmake_file.
8450 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8451 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8452 (sh-wrs-vxworks): Likewise.
8453 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8454 *-leon[3-9]*.
8455 (v850*-*-*): Add v850/t-v850 to tmake_file.
8456 (vax-*-linux*): Add vax/t-linux to tmake_file.
8457 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8458
5f73c6cc
RO
84592011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8460
8461 * crtstuff.c: New file.
8462 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8463 (CRTSTUFF_T_CFLAGS): Define.
8464 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8465 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8466 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8467 crtstuff.c.
8468 Use $<.
8469 (crtbeginT.o): Use $(objext).
8470 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8471 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8472 (gcc-extra-parts): Remove.
8473 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8474 Set extra_parts.
8475 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8476 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8477 Add t-crtstuff-pic to tmake_file.
8478 (*-*-lynxos*): New case.
8479 Set tmake_file, extra_parts.
8480 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8481 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8482 *-*-netbsdelf[2-9]*.
8483 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8484 (*-*-rtems*): Set extra_parts.
8485 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8486 (*-*-uclinux*): New case.
8487 Set extra_parts.
8488 (*-*-vms*): New case.
8489 Set tmake_file, extra_parts.
8490 (*-*-elf): Set extra_parts.
8491 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8492 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8493 vms/t-vms64.
8494 Set extra_parts.
8495 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8496 Set extra_parts.
8497 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8498 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8499 (arm-wrs-vxworks): Append to tmake_file.
8500 Set extra_parts.
8501 (arm*-*-uclinux*): Set extra_parts.
8502 (arm*-*-ecos-elf): Likewise.
8503 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8504 arm*-*-eabi*.
8505 (arm*-*-rtems*): Set extra_parts.
8506 (arm*-*-elf): Likewise.
8507 (avr-*-rtems*): Clear extra_parts.
8508 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8509 Set extra_parts.
8510 (bfin*-uclinux*): Likewise.
8511 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8512 (bfin*-rtems*): Append to tmake_file.
8513 Set extra_parts.
8514 (bfin*-*): Likewise.
8515 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8516 (crisv32-*-elf): ... this.
8517 (crisv32-*-none): ... this.
8518 (cris-*-elf, cris-*-none): New cases.
8519 Add cris/t-elfmulti to tmake_file.
8520 (fr30-*-elf): Append to tmake_file.
8521 Set extra_parts.
8522 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8523 Set extra_parts.
8524 (h8300-*-rtems*): Append to tmake_file.
8525 Set extra_parts.
8526 (h8300-*-elf*): Likewise.
8527 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8528 Set extra_parts.
8529 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8530 Set extra_parts.
8531 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8532 (x86_64-*-elf*): Likewise.
8533 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8534 (x86_64-*-freebsd*): Likewise.
8535 (x86_64-*-netbsd*): Likewise.
8536 (i[34567]86-*-linux*): Likewise.
8537 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8538 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8539 (x86_64-*-linux*): Likewise.
8540 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8541 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8542 tmake_file.
8543 Set extra_parts.
8544 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8545 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8546 Append to extra_parts, remove crtbegin.o, crtend.o.
8547 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8548 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8549 crtend.o, crtbeginS.o, crtendS.o.
8550 (ia64*-*-linux*): Comment extra_parts.
8551 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8552 Set extra_parts.
8553 (iq2000*-*-elf*): Clear extra_parts.
8554 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8555 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8556 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8557 (m32r-*-rtems*): ... this.
8558 Add m32r/t-m32r to tmake_file.
8559 (m68k-*-elf*): Add t-crtin to tmake_file.
8560 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8561 (mcore-*-elf): Likewise.
8562 (microblaze*-*-*): Set extra_parts.
8563 (mips*-sde-elf*): New case.
8564 Set tmake_file, extra_parts.
8565 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8566 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8567 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8568 tmake_file.
8569 Set extra_parts.
8570 (mipsisa64sr71k-*-elf*): Likewise.
8571 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8572 (mips-*-elf*, mipsel-*-elf*): Likewise.
8573 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8574 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8575 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8576 (mips*-*-rtems*): Likewise.
8577 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8578 (moxie-*-*): Split into ...
8579 (moxie-*-elf, moxie-*-uclinux*): ... this.
8580 Add to extra_parts, remove crtbegin.o, crtend.o.
8581 (moxie-*-rtems*): New case.
8582 Set tmake_file.
8583 Clear extra_parts.
8584 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8585 Set extra_parts.
8586 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8587 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8588 tmake_file.
8589 Set extra_parts.
8590 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8591 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8592 Set extra_parts.
8593 (powerpc-*-eabisim*): Likewise.
8594 (powerpc-*-elf*): Likewise.
8595 (powerpc-*-eabialtivec*): Likewise.
8596 (powerpc-xilinx-eabi*): Likewise.
8597 (powerpc-*-eabi*): Likewise.
8598 (powerpc-*-rtems*): Likewise.
8599 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8600 tmake_file.
8601 Set extra_parts.
8602 (powerpc-*-lynxos*): Add to tmake_file.
8603 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8604 rs6000/t-crtstuff, t-crtstuff-pic.
8605 Set extra_parts.
8606 (powerpcle-*-eabisim*): Likewise.
8607 (powerpcle-*-eabi*): Likewise.
8608 (rx-*-elf): Remove extra_parts.
8609 (s390x-ibm-tpf*): Set extra_parts.
8610 (score-*-elf): Set extra_parts.
8611 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8612 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8613 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8614 (sh64l*-*-netbsd*): Split into ...
8615 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8616 Add t-crtstuff-pic to tmake_file.
8617 Set extra_parts.
8618 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8619 Set extra_parts.
8620 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8621 (sparc-*-elf*): Remove t-crtin from tmake_file.
8622 Add to extra_parts, remove crtbegin.o, crtend.o.
8623 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8624 (sparc64-*-linux*): Likewise.
8625 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8626 Add to extra_parts, remove crtbegin.o, crtend.o.
8627 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8628 Add to extra_parts, remove crtbegin.o, crtend.o.
8629 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8630 Add to extra_parts, remove crtbegin.o, crtend.o.
8631 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8632 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8633 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8634 Set extra_parts.
8635 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8636 Set extra_parts.
8637 (tic6x-*-*): Change to ...
8638 (tic6x-*-elf): ... this.
8639 Set extra_parts.
8640 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8641 Set extra_parts.
8642 (am33_2.0-*-linux*): Add comment.
8643 (mep*-*-*): Add mep/t-mep to tmake_file.
8644 Set extra_parts.
8645 * config/alpha/t-vms: New file.
8646 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8647 * config/arm/crti.S, config/arm/crtn.S: New files.
8648 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8649 * config/bfin/crtlibid.S: New file.
8650 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8651 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8652 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8653 (crti.o, crtin.o): New rules.
8654 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8655 * config/c6x/t-uclinux: New file.
8656 * config/cris/t-elfmulti: New file.
8657 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8658 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8659 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8660 * config/frv/t-frv: New file.
8661 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8662 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8663 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8664 New files.
8665 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8666 refer to cygming-crtbegin.c, cygming-crtend.c.
8667 Use $<.
8668 * config/i386/t-nto: New file.
8669 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8670 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8671 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8672 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8673 Use .S extension.
8674 Use $<.
8675 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8676 (crtinitS.o): New rule.
8677 * config/ia64/vms-crtinit.S: New file.
8678 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8679 * config/m32r/initfini.c: New file.
8680 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8681 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8682 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8683 * config/mep/t-mep: New file.
8684 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8685 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8686 * config/mips/crti.S, config/mips/crtn.S: New files.
8687 * config/mips/t-crtstuff: New file.
8688 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8689 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8690 (CUSTOM_CRTIN): Set.
8691 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8692 dependencies.
8693 Use $(srcdir) to refer to crti.S, crtn.S.
8694 Use .S extension, $<.
8695 * config/moxie/crti.asm: Rename to ...
8696 * config/moxie/crti.S: ... this.
8697 * config/moxie/crtn.asm: Rename to ...
8698 * config/moxie/crtn.S: ... this.
8699 * config/moxie/t-moxie: Remove.
8700 * config/pa/stublib.c: New file.
8701 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8702 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8703 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8704 * config/rs6000/t-crtstuff: New file.
8705 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8706 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8707 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8708 Make output file explicit.
8709 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8710 Make output file explicit.
8711 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8712 Make output file explicit.
8713 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8714 Make output file explicit.
8715 * config/score/crti.S, config/score/crtn.S: New files.
8716 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8717 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8718 files.
8719 * config/sh/t-sh, config/sh/t-superh: New files.
8720 * config/sparc/t-linux64: New file.
8721 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8722 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8723 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8724 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8725 * config/t-crtin: Remove.
8726 * config/t-crtstuff-pic: New file.
8727 * config/t-sol2 (CUSTOM_CRTIN): Set.
8728 (crti.o, crtn.o): New rules.
8729 * config/vms/t-vms: New file.
8730 * config/vms/vms-ucrt0.c: New file.
8731 * config/xtensa/t-elf: New file.
8732
b040f2be
RO
87332011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8734
8735 * Makefile.in (SHLIB_NM_FLAGS): Set.
8736 * mkmap-flat.awk, mkmap-symver.awk: New files.
8737 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8738 exceptions.
8739 * configure: Regenerate.
8740 * config/libgcc-glibc.ver: New file.
8741 * config/libgcc-libsystem.ver: New file.
8742 * config/t-libunwind (SHLIB_LC): Set.
8743 * config/t-linux: New file.
8744 * config/t-slibgcc (INSTALL_SHLIB): New.
8745 (SHLIB_INSTALL): Use it.
8746 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8747 to mkmap-symver.awk.
8748 (SHLIB_MAPFILES): Don't append, adapt pathname.
8749 (SHLIB_VERPFX): Set.
8750 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8751 to mkmap-symver.awk.
8752 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8753 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8754 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8755 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8756 to mkmap-flat.awk.
8757 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8758 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8759 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8760 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8761 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8762 * config/i386/libgcc-darwin.10.4.ver,
8763 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8764 New files.
8765 * config/i386/t-darwin: Remove.
8766 * config/i386/t-darwin64: Likewise.
8767 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8768 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8769 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8770 * config/i386/t-linux: New file.
8771 * config/i386/t-mingw32: New file.
8772 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8773 * config/ia64/t-glibc: Rename to ...
8774 * config/ia64/t-linux: ... this.
8775 (SHLIB_MAPFILES): Set.
8776 * config/ia64/t-glibc-libunwind: Rename to ...
8777 * config/ia64/t-linux-libunwind: ... this.
8778 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8779 * config/ia64/t-slibgcc-hpux: New file.
8780 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8781 * config/m68k/t-slibgcc-elf-ver: New file.
8782 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8783 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8784 to mkmap-flat.awk.
8785 * config/pa/t-slibgcc-hpux: New file.
8786 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8787 files.
8788 * config/rs6000/libgcc-darwin.10.4.ver,
8789 config/rs6000/libgcc-darwin.10.5.ver: New files.
8790 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8791 config/rs6000/libgcc-glibc.ver.
8792 * config/rs6000/libgcc-ppc64.ver: Rename to
8793 config/rs6000/libgcc-ibm-ldouble.ver.
8794 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8795 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8796 * config/rs6000/t-ldbl128: Rename to ...
8797 * config/rs6000/t-linux: ... this.
8798 (SHLIB_MAPFILES): Adapt filename.
8799 * config/rs6000/t-slibgcc-aix: New file.
8800 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8801 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8802 libgcc-excl.ver, libgcc-glibc.ver.
8803 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8804 * config/sparc/libgcc-glibc.ver: New file.
8805 * config/sparc/t-linux: New file.
8806 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8807 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8808 t-slibgcc-elf-ver to tmake_file.
8809 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8810 *-*-freebsd[34].
8811 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8812 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8813 t-slibgcc-elf-ver, t-linux to tmake_file.
8814 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8815 tmake_file.
8816 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8817 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8818 (alpha*-dec-*vms*): Likewise.
8819 (arm*-*-freebsd*): Append to tmake_file.
8820 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8821 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8822 arm*-*-linux-*eabi.
8823 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8824 tmake_file for arm*-*-symbianelf*.
8825 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8826 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8827 cris/t-linux.
8828 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8829 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8830 pa/t-slibgcc-dwarf-ver to tmake_file.
8831 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8832 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8833 (hppa*64*-*-hpux11*): Likewise.
8834 (hppa[12]*-*-hpux11*): Likewise.
8835 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8836 i386/t-crtpc, i386/t-crtfm.
8837 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8838 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8839 to tmake_file.
8840 Add i386/t-cygwin to tmake_file.
8841 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8842 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8843 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8844 to tmake_file.
8845 Add i386/t-mingw32 to tmake_file.
8846 (x86_64-*-mingw*): Likewise.
8847 (ia64*-*-freebsd*): Append to tmake_file.
8848 (ia64*-*-linux*): Append to tmake_file.
8849 Replace ia64/t-glibc by ia64/t-linux.
8850 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8851 system libunwind.
8852 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8853 t-slibgcc-hpux to tmake_file.
8854 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8855 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8856 (m32rle-*-linux*): Likewise.
8857 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8858 sjlj exceptions.
8859 (microblaze*-linux*): New case.
8860 Append to tmake_file, add t-slibgcc-nolc-override.
8861 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8862 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8863 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8864 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8865 rs6000/t-slibgcc-aix to tmake_file.
8866 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8867 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8868 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8869 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8870 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8871 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8872 sh*-*-linux*.
8873 (sparc-*-linux*): Append to tmake_file for *-leon*.
8874 Add sparc/t-linux to tmake_file for non-Leon targets.
8875 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8876 (tic6x-*-uclinux): New case.
8877 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8878 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8879 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8880 (am33_2.0-*-linux*): Append to tmake_file.
8881 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8882 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8883 x86_64-*-kfreebsd*-gnu.
8884 Add i386/t-linux to tmake_file.
8885
18b4bd7b
ILT
88862011-10-28 Ian Lance Taylor <iant@google.com>
8887
8888 * config/i386/morestack.S: Correct CFI information to do proper
8889 returns throughout function. In 32-bit mode, save %ebx so that it
8890 is restored on unwind.
8891
5b2d9d90
BS
88922011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8893
8894 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8895 case where B3 isn't the return register.
8896
0d53e346
BS
8897 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8898 logic for doubleword pops.
8899
cbffbd59
AT
89002011-10-25 Andreas Tobler <andreast@fgznet.ch>
8901
8902 * config/rs6000/t-freebsd: Add wildcard.
8903
56dc349e
PB
89042011-10-21 Paul Brook <paul@codesourcery.com>
8905
8906 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8907
1e06b07d
UB
89082011-10-16 Uros Bizjak <ubizjak@gmail.com>
8909 Eric Botcazou <ebotcazou@adacore.com>
8910
8911 PR target/50737
8912 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8913 fs->signal_frame to 1.
8914
b5204884
ILT
89152011-10-07 Ian Lance Taylor <iant@google.com>
8916
8917 * generic-morestack-thread.c: #include <errno.h>.
8918
91a639a1
ILT
89192011-10-07 Ian Lance Taylor <iant@google.com>
8920
8921 PR target/46093
8922 * generic-morestack.c (__generic_morestack): Make sure the segment
8923 is large enough for both the stack frame and the copied
8924 parameters.
8925
cc49116d
RO
89262011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8927
8928 PR bootstrap/49804
8929 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8930 extra_parts.
8931
2996d8c3
NC
89322011-09-28 Nick Clifton <nickc@redhat.com>
8933
8934 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8935 64-bit doubles are not enabled.
8936 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8937 and floatunsisf functions.
8938
1e874273 89392011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8940
1e874273
PB
8941 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8942 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8943 * unwind-arm-common.inc: New file.
8944 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8945 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8946 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8947 * config/c6x/libunwind.S: New file.
8948 * config/c6x/pr-support.c: New file.
8949 * config/c6x/unwind-c6x.c: New file.
8950 * config/c6x/unwind-c6x.h: New file.
8951 * config/c6x/t-c6x-elf: New file.
8952
f70c879a
UB
89532011-08-23 Uros Bizjak <ubizjak@gmail.com>
8954
8955 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8956 (ASM_DIVZERO): Ditto.
8957 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8958
c55b374b
RS
89592011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8960
8961 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8962
1e138510
RS
89632011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8964
8965 PR target/50090
8966 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8967 instead of an assembly one.
8968
1563503d
PB
89692011-08-12 Paolo Bonzini <bonzini@gnu.org>
8970
8971 PR bootstrap/50047
8972 * Makefile.in (install-unwind_h): Create
8973 $(gcc_objdir)/include/unwind.h atomically.
8974
3627ac1a
RO
89752011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8976
8977 * Makefile.in (install-unwind_h): Remove destination file first.
8978
c6412d86
RO
89792011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8980
8981 * sync.c: New file.
8982 * config/mips/t-mips16: New file.
8983 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8984 (mips*-*-linux*): Likewise.
8985 (mips*-sde-elf*): Likewise.
8986 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8987 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8988 Add mips/t-mips16 to tmake_file.
8989 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8990 (mips-*-elf*): Likewise.
8991 (mips64-*-elf*): Likewise.
8992 (mips64orion-*-elf*): Likewise.
8993 (mips*-*-rtems*): Likewise.
8994 (mipstx39-*-elf*): Likewise.
8995 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8996 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8997 LIBGCC_SYNC_CFLAGS.
8998 Use $(srcdir) to refer to sync.c.
8999 Use $<.
9000 ($(libgcc-sync-funcs-o)): Likewise.
9001 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9002 ($(libgcc-sync-funcs-s-o)): Likewise.
9003
3cb6e5bd
AS
90042011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9005
9006 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9007 t-libunwind.
9008
cca2207a
L
90092011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9010
9011 PR other/48007
9012 * config/i386/value-unwind.h: New.
9013
ed39fbad
RS
90142011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9015
9016 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9017 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9018 Add to tmake_file rather than overriding it.
9019
aca0b0b3
RO
90202011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9021
9022 * config/t-softfp: Remove.
9023 * soft-fp: Moved from ../gcc/config.
9024 * soft-fp/README: Remove t-softfp reference.
9025 * soft-fp/t-softfp: Move to config/t-softfp.
9026 (softfp_machine_header): Remove.
9027 (softfp_file_list): Remove config subdir.
9028 (soft-fp-objects): New variable.
9029 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9030 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9031 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9032 * config/t-softfp-excl: New file.
9033 * config/t-softfp-sfdf: New file.
9034 * config/t-softfp-tf: New file.
9035 * config/no-sfp-machine.h: New file.
9036 * config/arm/sfp-machine.h: New file.
9037 * config/arm/t-softfp: New file.
9038 * config/c6x/sfp-machine.h: New file.
9039 * config/i386/32/t-fprules-softfp: Rename to ...
9040 * config/i386/32/t-softfp: ... this.
9041 (tifunctions, LIB2ADD): Remove.
9042 (softfp_int_modes): Override.
9043 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9044 subdir.
9045 * config/i386/64/eqtf2.c: Likewise.
9046 * config/i386/64/getf2.c: Likewise.
9047 * config/i386/64/letf2.c: Likewise.
9048 * config/ia64/sft-machine.h: New file.
9049 * config/ia64/t-fprules-softfp: Rename to ...
9050 * config/ia64/t-softfp: ... this.
9051 * config/lm32/sfp-machine.h: New file.
9052 * config/moxie/t-moxie-softfp: Remove.
9053 * config/rs6000/ibm-ldouble-format: New file.
9054 * config/rs6000/ibm-ldouble.c: New file.
9055 * config/rs6000/libgcc-ppc-glibc.ver: New file
9056 * config/rs6000/libgcc-ppc64.ver: New file
9057 * config/rs6000/sfp-machine.h: New file.
9058 * config/rs6000/t-freebsd: New file.
9059 * config/rs6000/t-ibm-ldouble: New file.
9060 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9061 libgcc-ppc-glibc.ver.
9062 * config/rs6000/t-linux64: New file.
9063 * config/rs6000/t-ppccomm (LIB2ADD): Add
9064 $(srcdir)/config/rs6000/ibm-ldouble.c.
9065 * config/rs6000/t-ppccomm-ldbl: New file.
9066 * config/score/sfp-machine.h: New file.
9067 * config.host (sfp_machine_header): Explain.
9068 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9069 t-softfp to tmake_file.
9070 (arm*-*-uclinux*): Likewise.
9071 (arm*-*-ecos-elf): Likewise.
9072 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9073 (arm*-*-rtems*): Likewise.
9074 (arm*-*-elf): Likewise.
9075 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9076 in tmake_file.
9077 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9078 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9079 (lm32-*-uclinux*): Likewise.
9080 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9081 t-softfp-excl, t-softfp.
9082 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9083 (powerpc64-*-darwin*): Likewise.
9084 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9085 to tmake_file.
9086 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9087 tmake_file.
9088 (powerpc-*-eabisim*): Likewise.
9089 (powerpc-*-elf*): Likewise.
9090 (powerpc-*-eabialtivec*): Likewise.
9091 (powerpc-xilinx-eabi*): Likewise.
9092 (powerpc-*-rtems*): Likewise.
9093 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9094 t-softfp-excl, t-softfp to tmake_file.
9095 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9096 rs6000/t-ppccomm-ldbl to tmake_file.
9097 (powerpcle-*-elf*): Likewise.
9098 (powerpcle-*-eabisim*): Likewise.
9099 (powerpcle-*-eabi*): Likewise.
9100 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9101 rs6000/t-ibm-ldouble to tmake_file.
9102 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9103 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9104 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9105 (tic6x-*-*): Likewise.
9106 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9107 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9108 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9109 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9110 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9111 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9112 t-softfp to tmake_file.
9113 * configure.ac (sfp_machine_header): Provide default if unset.
9114 Substitute.
9115 Link sfp-machine.h to config/$sfp_machine_header.
9116 * configure: Regenerate.
9117
569dc494
RO
91182011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9119
9120 * Makefile.in (double_type_size, long_double_type_size): Set.
9121 Remove $(fpbit-in-libgcc) support.
9122 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9123 (fpbit-src): New variable.
9124 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9125 Compile with -DFLOAT $(FPBIT_CFLAGS).
9126 Use $<.
9127 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9128 Compile with $(FPBIT_CFLAGS).
9129 Use $<.
9130 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9131 Compile with -DFLOAT $(TPBIT_CFLAGS).
9132 Use $<.
9133 * configure.ac (double_type_size, long_double_type_size):
9134 Determine and substitute.
9135 * configure: Regenerate.
9136 * fp-bit.c, fp-bit.h: New files.
9137 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9138 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9139 * config/mips/t-mips: New file.
9140 * config/mips/t-sdemtk: New file.
9141 * config/rs6000/ppc64-fp.c: New file.
9142 * config/rs6000/t-darwin (LIB2ADD): Add
9143 $(srcdir)/config/rs6000/ppc64-fp.c.
9144 * config/rs6000/t-ppc64-fp: New file.
9145 * config/rx/rx-lib.h: New file.
9146 * config/rx/t-rx (FPBIT): Set to true.
9147 ($(gcc_objdir)/fp-bit.c): Remove.
9148 (DPBIT): Set to true only with -m64bit-doubles.
9149 ($(gcc_objdir)/dp-bit.c): Remove.
9150 * config/sparc/t-softfp: Remove.
9151 * config/spu/t-elf: New file.
9152 * config/t-fdpbit, config/t-fpbit: New files.
9153 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9154 (mips*-*-*): Likewise.
9155 (arm-wrs-vxworks): Likewise.
9156 (arm*-*-freebsd*): Likewise.
9157 (avr-*-rtems*): Add t-fpbit to tmake_file.
9158 (avr-*-*): Likewise.
9159 (bfin*-elf*): Add t-fdpbit to tmake_file.
9160 (bfin*-uclinux*): Likewise.
9161 (bfin*-linux-uclibc*): Likewise.
9162 (bfin*-rtems*): New case.
9163 Add t-fdpbit to tmake_file.
9164 (bfin*-*): Add t-fdpbit to tmake_file.
9165 (crisv32-*-elf): Likewise.
9166 (cris-*-linux*): Likewise.
9167 (fr30-*-elf): Likewise.
9168 (frv-*-elf, frv-*-*linux*): Likewise.
9169 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9170 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9171 (m32r-*-elf*): Likewise.
9172 (m32rle-*-elf*): Likewise.
9173 (m32r-*-linux*): Likewise.
9174 (m32rle-*-linux*): Likewise.
9175 (mcore-*-elf): Add t-fdpbit to tmake_file.
9176 (microblaze*-*-*): Likewise.
9177 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9178 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9179 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9180 Fix typo.
9181 Add mips/t-tpbit to tmake-file.
9182 (mips*-*-linux*): Fix typo.
9183 (mips*-sde-elf*): New case
9184 Add mips/t-sdemtk unless using newlib.
9185 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9186 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9187 (mn10300-*-*): Likewise.
9188 (pdp11-*-*): Likewise.
9189 (picochip-*-*): Add t-fpbit to tmake_file.
9190 (powerpc-*-eabisimaltivec*): Likewise.
9191 (powerpc-*-eabisim*): Likewise.
9192 (powerpc-*-elf*): Likewise.
9193 (powerpc-*-eabialtivec*): Likewise.
9194 (powerpc-xilinx-eabi*): New case.
9195 Add t-fdpbit to tmake_file.
9196 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9197 (powerpc-*-rtems*): Likewise.
9198 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9199 tmake_file.
9200 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9201 tmake_file.
9202 (powerpc-*-lynxos*): Likewise.
9203 (powerpcle-*-elf*): Likewise.
9204 (powerpcle-*-eabisim*): Likewise.
9205 (powerpcle-*-eabi*): Likewise.
9206 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9207 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9208 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9209 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9210 (rx-*-elf): Add t-fdpbit to tmake_file.
9211 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9212 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9213 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9214 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9215 sh*-*-netbsd*.
9216 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9217 (sh-wrs-vxworks): Likewise.
9218 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9219 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9220 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9221 (sparc64-*-rtems*): ... new case.
9222 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9223 (spu-*-elf*): Likewise.
9224 Add spu/t-elf to tmake_file.
9225 (v850*-*-*): Add t-fdpbit to tmake_file.
9226 (xstormy16-*-elf): Likewise.
9227 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9228 (mep*-*-*): Likewise.
9229
201cdb74
RO
92302011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9231
9232 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9233 variables.
9234 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9235 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9236 (install-unwind_h): New target.
9237 (all): Depend on it.
9238 * config.host (unwind_header): New variable.
9239 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9240 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9241 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9242 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9243 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9244 Set unwind_header.
9245 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9246 Set unwind_header.
9247 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9248 arm*-*-eabi*.
9249 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9250 Set unwind_header.
9251 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9252 (ia64*-*-freebsd*): Likewise.
9253 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9254 tmake_file.
9255 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9256 $with_system_libunwind.
9257 (ia64*-*-hpux*): Set tmake_file.
9258 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9259 (picochip-*-*): Set tmake_file.
9260 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9261 md_unwind_header.
9262 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9263 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9264 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9265 (xtensa*-*-elf*): Set tmake_file.
9266 (xtensa*-*-linux*): Likewise.
9267 * configure.ac: Include ../config/unwind_ipinfo.m4.
9268 Call GCC_CHECK_UNWIND_GETIPINFO.
9269 Link unwind.h to $unwind_header.
9270 * configure: Regenerate.
9271 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9272 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9273 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9274 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9275 * config/unwind-dw2-fde-darwin.c: New file.
9276 * config/arm/libunwind.S, config/arm/pr-support.c,
9277 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9278 config/arm/unwind-arm.h,: New files.
9279 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9280 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9281 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9282 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9283 config/ia64/unwind-ia64.h: New files.
9284 * config/picochip/t-picochip: New file.
9285 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9286 files.
9287 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9288 * config/s390/t-tpf (LIB2ADDEH): Remove.
9289 * config/t-darwin (LIB2ADDEH): Set.
9290 * config/t-eh-dw2-dip: New file.
9291 * config/t-libunwind, config/t-libunwind-elf: New files.
9292 * config/t-sol2 (LIB2ADDEH): Remove.
9293 * config/xtensa/t-xtensa: New file.
9294
40f2f11f
L
92952011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9296
9297 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9298 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9299 long long to check rt_sigreturn syscall.
9300
bd15e32c
AM
93012011-08-02 Alan Modra <amodra@gmail.com>
9302
9303 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9304 Restore for indirect call bcrtl from correct stack slot, and only
9305 if cfa+40 isn't valid.
9306
655b30bf
JB
93072011-08-01 Julian Brown <julian@codesourcery.com>
9308
9309 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9310 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9311 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9312
247eb06f
JB
93132011-08-01 Julian Brown <julian@codesourcery.com>
9314
9315 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9316 (libgcc-std.ver.in): Use above.
9317 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9318 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9319 throughout file.
9320 * config/t-fixedpoint-gnu-prefix: New file.
9321 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9322 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9323 instead of __PFX__.
9324
02a8fe00
L
93252011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9326
9327 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9328 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9329 for x86-64. Properly check __x86_64__ and __LP64__.
9330
5fce9126
L
93312010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9332
9333 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9334 version.
9335 (_FP_WS_TYPE): Likewise.
9336 (_FP_I_TYPE): Likewise.
9337
2374a88a
AM
93382011-07-28 Alan Modra <amodra@gmail.com>
9339
9340 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9341 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9342 in a plt call stub. Do restore r2 if stopped on bctrl.
9343
e44dbbe1
RO
93442011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9345
9346 * config.host (i[3456x]86-*-netware*): Remove.
9347 * config/i386/netware-crt0.c, config/i386/t-nwld,
9348 config/i386/t-slibgcc-nwld: Remove.
9349
bcead286
BS
93502011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9351
9352 * config.host: Handle tic6x-*-*.
9353 * config/c6x/c6x-abi.h: New file.
9354
b3fe1584
RO
93552011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9356
9357 * config/i386/crtprec.c: New file.
9358 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9359 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9360 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9361 (x86_64-*-darwin*): Likewise.
9362 (i[34567]86-*-solaris2*: Likewise.
9363
35d8090d
RO
93642011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9365
9366 * config/alpha/crtfastmath.c: New file.
9367 * config/i386/crtfastmath.c: New file.
9368 * config/ia64/crtfastmath.c: New file.
9369 * config/mips/crtfastmath.c: New file.
9370 * config/sparc/crtfastmath.c: New file.
9371
9372 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9373 crtfastmath.c.
9374 Add -frandom-seed=gcc-crtfastmath.
9375 * config/alpha/t-crtfm: Remove.
9376 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9377 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9378
9379 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9380 (alpha*-dec-osf5.1*): Likewise.
9381 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9382 Add crtfastmath.o to extra_parts.
9383 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9384 Add crtfastmath.o to extra_parts.
9385 (x86_64-*-darwin*): Likewise.
9386 (x86_64-*-mingw*): Likewise.
9387 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9388 (ia64*-*-freebsd*): Likewise.
9389 (ia64*-*-linux*): Likewise.
9390 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9391 Add crtfastmath.o to extra_parts.
9392
e141542e
RO
93932011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9394
9395 * config/darwin-crt3.o: New file.
9396 * config/rs6000/darwin-crt2.c: New file.
9397 * config/t-darwin: New file.
9398 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9399 (crt2.o): New rule.
9400 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9401 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9402 (powerpc64-*-darwin*): Likewise.
9403
2d1efe2d
RO
94042011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9405
9406 * config/i386/netware-crt0.c: New file.
9407 * config/i386/t-nwld: Rename to ...
9408 * config/i386/t-slibgcc-nwld: ... this.
9409 * config/i386/t-nwld: New file.
9410 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9411 tmake_file.
9412 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9413 extra_parts.
9414
4a8bb046
RO
94152011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9416
9417 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9418 i386/t-crtstuff.
9419 * configure: Regenerate.
9420
2d8d5935
RO
94212011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9422
9423 * dfp-bit.c, dfp-bit.h: New files.
9424 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9425 variables.
9426 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9427 ($(d64pbit-o)): Likewise.
9428 ($(d128pbit-o)): Likewise.
9429 * config/t-dfprules: New file.
9430 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9431 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9432 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9433 (x86_64-*-linux*): Likewise.
9434 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9435 (i[34567]86-*-cygwin*): Likewise.
9436 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9437 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9438
2c50b2c3
RO
94392011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9440
9441 * Makfile.in (LIBGCOV): New variable.
9442 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9443 * libgcov.c: New file.
9444
a039d7c2
RO
94452011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9446
9447 * fixed-bit.c, fixed-bit.h: New files.
9448 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9449 refer to fixed-bit.c.
9450
1e4b2746
JM
94512011-07-07 Joseph Myers <joseph@codesourcery.com>
9452
9453 * config.host (*local*): Remove.
9454
fbdd5d87
RO
94552011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9456
9457 PR target/39150
9458 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9459 like i?86-*-solaris2.1[0-9]*.
9460 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9461 * configure.ac (i?86-*-solaris2*): Likewise.
9462 * configure: Regenerate.
9463
9e7714f4
TS
94642011-07-06 Thomas Schwinge <thomas@schwinge.name>
9465
9466 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9467 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9468 md_unwind_header by splitting out of...
9469 (i[34567]86-*-linux*): ... this.
9470 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9471 Remove md_unwind_header by splitting out of...
9472 (x86_64-*-linux*): ... this.
9473
6dab9931
GJL
94742011-07-04 Georg-Johann Lay <avr@gjlay.de>
9475
9476 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9477
4be46d19
NC
94782011-06-28 Nick Clifton <nickc@redhat.com>
9479
9480 * config.host: Recognize all V850 variants.
9481
1da9434b
UB
94822011-06-22 Uros Bizjak <ubizjak@gmail.com>
9483
9484 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9485
e4d48a4d
RO
94862011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9487
9488 * shared-object.mk (c_flags-$o): Save c_flags.
9489 ($(base)$(objext)): Use it.
9490 ($(base)_s$(objext)): Likewise.
9491
3801c801
BS
94922011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9493
9494 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9495 * libgcc-std.ver.in (GCC_4.7.0): New section.
9496
0ad8bb3b 94972011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9498
0ad8bb3b
GJL
9499 PR target/49313
9500 PR target/29524
9501 * config/avr/t-avr: Fix line endings.
9502 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9503 _parityXX2.
9504
ea963999
OH
95052011-06-14 Olivier Hainque <hainque@adacore.com>
9506 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9507
9508 * config/mips/irix6-unwind.h: New file.
9509 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9510
b11b0904
EB
95112011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9512
9513 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9514 (sparc64_fallback_frame_state): Use it.
9515 (sparc64_frob_update_context): Further adjust context.
9516 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9517 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9518 * config/sparc/sol2-cn.S: Likewise.
9519
10e48e39
RO
95202011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9521
9522 * enable-execute-stack-empty.c: New file.
9523 * enable-execute-stack-mprotect.c: New file.
9524 * config/i386/enable-execute-stack-mingw32.c: New file.
9525 * config.host (enable_execute_stack): New variable.
9526 Select appropriate variants.
9527 * configure.ac: Link enable-execute-stack.c to
9528 $enable_execute_stack.
9529 * configure: Regenerate.
9530 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9531 (lib2funcs): Remove _enable_execute_stack.
9532
10c4cabc
DM
95332011-06-09 David S. Miller <davem@davemloft.net>
9534 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9535
9536 * config.host (sparc-*-linux*): Correct md_unwind_header
9537 filename.
9538 (s390x-ibm-tpf*): Fix typo.
9539
aa4203e7
RO
95402011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9541
9542 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9543 Add crtfastmath.o to extra_parts.
9544 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9545 mips/t-crtfm.
9546 * config/mips/t-crtfm: Remove.
9547
0defd786
JDA
95482011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9549
9550 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9551
82f247af
KK
95522011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9553
9554 * config.host (sh*-*-linux*): Fix typo.
9555
58cd1d70
RO
95562011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9557
9558 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9559 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9560 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9561 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9562 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9563 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9564 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9565 Wrap in !__MINGW64__.
9566 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9567 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9568 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9569 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9570 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9571 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9572 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9573 Wrap in !__LP64__.
9574 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9575 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9576 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9577 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9578 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9579 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9580 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9581 * config/no-unwind.h: New file.
9582 * config.host (md_unwind_header): Document.
9583 Define.
9584 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9585 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9586 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9587 hppa[12]*-*-hpux11*): Set md_unwind_header.
9588 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9589 Set md_unwind_header.
9590 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9591 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9592 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9593 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9594 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9595 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9596 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9597 md_unwind_header.
9598 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9599 * configure: Regenerate.
9600
737346fa
RO
96012011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9602
9603 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9604 Set tmake_file, extra_parts.
9605 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9606 Remove O32 support.
9607 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9608 Remove O32 support.
9609 * config/mips/t-irix6: New file.
9610 * config/mips/t-slibgcc-irix: New file.
9611
c192cee6
RO
96122011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9613
9614 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9615 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9616
ee33b5f0
RO
96172011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9618
9619 * configure.ac (target_thread_file): Determine thread model.
9620 * configure: Regenerate.
9621 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9622 * config/alpha/t-alpha: New file.
9623 * config/alpha/t-crtfm: Use $<.
9624 * config/alpha/t-ieee: New file.
9625 * config/alpha/t-osf-pthread: New file.
9626 * config/alpha/t-slibgcc-osf: New file.
9627 * config/alpha/libgcc-osf5.ver: New file.
9628
0699e415
RO
96292011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9630
9631 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9632 tmake_file.
9633 Add crtfastmath.o to extra_parts.
9634
a3fab9c2
RO
96352011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9636
9637 * config/gmon-sol2.c: Reindent.
9638 Cleanup comments.
9639 Remove, correct casts.
9640 Use STDERR_FILENO, NULL.
9641 (BASEADDRESS): Remove.
9642 (minbrk): Remove.
9643 (errno, sbrk): Remove declarations.
9644 (monstartup) [hp300]: Remove.
9645 (mcount): Remove.
9646
ca24c5ad
RO
96472011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9648
9649 * Makefile.in (cpu_type): Define.
9650 * config.host (i[34567]86-*-rtems*): Handle it.
9651 (i[34567]86-*-solaris2*): Move body ...
9652 (*-*-solaris2*): ... here.
9653 New case, generalize.
9654 (sparc-*-elf*): Handle it.
9655 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9656 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9657 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9658 Fold into ...
9659 (sparc*-*-solaris2*): ... this.
9660 New case.
9661 (sparc64-*-elf*): Handle it.
9662 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9663 Merge ../gcc/config/i386/gmon-sol2.c.
9664 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9665 Use C comments.
9666 Merge ../gcc/config/i386/sol2-gc1.asm.
9667 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9668 Use C comments.
9669 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9670 Use C comments.
9671 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9672 * config/i386/t-crtstuff: New file.
9673 * config/i386/t-softfp: New file.
9674 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9675 $(T)crti.o, $(T)crtn.o): Remove.
9676 (gcrt1.o): New rule.
9677 (TARGET_LIBGCC2_CFLAGS): Remove.
9678 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9679 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9680 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9681 * config/sparc/t-sol2: New file.
9682 * config/sparc/t-crtfm: Move to ...
9683 * config/t-crtfm: ... this.
9684 Use $(cpu_type), $<.
9685 * config/t-crtin: New file.
9686 * config/sparc/t-softfp: New file.
9687 * config/sparc/t-softmul: New file.
9688 * config/t-rtems: New file.
9689 * config/t-slibgcc: New file.
9690 * config/t-slibgcc-elf-ver: New file.
9691 * config/t-slibgcc-gld: New file.
9692 * config/t-slibgcc-sld: New file.
9693 * config/t-sol2: New file.
9694 * configure.ac: Include ../config/lib-ld.m4.
9695 Call AC_LIB_PROG_LD_GNU.
9696 Substitute cpu_type.
9697 * configure: Regenerate.
9698
ad5f3d7b
BS
96992011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9700
9701 PR bootstrap/49173
9702 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9703 libgcc-std.ver in the build directory.
9704 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9705 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9706
cdbf4541
BS
97072011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9708
9709 * libgcc-std.ver.in: New file.
9710 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9711 variables.
9712 (libgcc-std.ver): New rule.
9713 * config/t-gnu-prefix: New file.
9714
c8028650
RO
97152011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9716
9717 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9718
4a68b4ca
JM
97192011-05-10 Joseph Myers <joseph@codesourcery.com>
9720
9721 * config/i386/darwin-lib.h: New file.
9722
80cf2e08
JM
97232011-05-10 Joseph Myers <joseph@codesourcery.com>
9724
9725 * config/arm/symbian-lib.h: New.
9726
a3330c9d
CD
97272011-05-04 Chris Demetriou <cgd@google.com>
9728
9729 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9730 (__x86.get_pc_thunk.bx): ...this.
9731 (__morestack): Adjust for rename, remove undef of __i686.
9732
6ace0756
CD
97332011-05-03 Chris Demetriou <cgd@google.com>
9734
9735 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9736
ebb9f8b0
JM
97372011-03-22 Joseph Myers <joseph@codesourcery.com>
9738
9739 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9740 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9741 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9742 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9743 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9744 Remove cases.
9745
9cfa1499
AT
97462011-03-14 Andreas Tobler <andreast@fgznet.ch>
9747
9748 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9749 Adjust copyright year.
9750
457186f6
ILT
97512011-03-07 Ian Lance Taylor <iant@google.com>
9752
9753 * generic-morestack.c (__splitstack_find): Adjust returned stack
9754 pointer to include all registers pushed by __morestack.
9755
58c741a6
DK
97562011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9757
9758 PR target/40125
9759 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9760 (toolexecdir): Calculate and AC_SUBST.
9761 (toolexeclibdir): Likewise.
9762 * Makefile.in (target_noncanonical): Import.
9763 (toolexecdir): Likewise.
9764 (toolexeclibdir): Likewise.
9765 * configure: Regenerate.
9766
26716c44
NF
97672010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9768
9769 PR target/46040
9770 * config/arm/bpabi.h: Rename to...
9771 * config/arm/bpabi-lib.h: ...this.
9772
b595b1a1
RO
97732010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9774
9775 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9776 appropriate.
9777 * configure: Regenerate.
9778
a3abe41c
NF
97792010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9780
9781 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9782 __FLOAT_WORD_ORDER__.
9783 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9784 Delete.
9785
455c8f48
RW
97862010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9787
9788 PR other/46202
9789 * Makefile.in (install-strip): New phony target.
9790
f3824a8b
ILT
97912010-11-07 Ian Lance Taylor <iant@google.com>
9792
9793 PR target/46089
9794 * config/i386/morestack.S (__morestack_large_model): New
9795 function.
9796
18ed6ee4
NF
97972010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9798
9799 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9800 Delete.
9801 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9802
8ac7fdcb
NF
98032010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9804
9805 * config/arm/bpabi.h: New file.
9806 * config/frv/frv-abi.h: New file.
9807
cdb388c2
ILT
98082010-10-01 Ian Lance Taylor <iant@google.com>
9809
9810 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9811 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9812
ef7c141c
L
98132010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 PR target/45858
9816 * config.host: Add the missing `$'.
9817
80920132
ME
98182010-09-30 Michael Eager <eager@eagercon.com>
9819
9820 * config.host: Add microblaze*-*-*.
9821 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9822 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9823 udivsi3.asm,umodsi3.asm}: New.
9824
6dace308
ILT
98252010-09-28 Ian Lance Taylor <iant@google.com>
9826
9827 * configure.ac: Adjust CFI test to test assembler directly rather
9828 than checking gcc preprocessor macro.
9829 * configure: Rebuild.
9830
b6110d6d
ILT
98312010-09-27 Ian Lance Taylor <iant@google.com>
9832
9833 * configure.ac: Test whether assembler supports CFI directives.
9834 * config.host: Only add t-stack and i386/t-stack-i386 to
9835 tmake_file if libgcc_cv_cfi is "yes".
9836 * configure: Rebuild.
9837
7458026b
ILT
98382010-09-27 Ian Lance Taylor <iant@google.com>
9839
9840 * generic-morestack.h: New file.
9841 * generic-morestack.c: New file.
9842 * generic-morestack-thread.c: New file.
9843 * config/i386/morestack.S: New file.
9844 * config/t-stack: New file.
9845 * config/i386/t-stack-i386: New file.
9846 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9847 i386/t-stack-i386 to tmake_file.
9848
5b50fc0c
IS
98492010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9850
9851 * Makefile.in (libgcc-extra-parts): Check for static archives and
9852 invoke ranlib after installing them.
9853 (gcc-extra-parts): Likewise.
9854 (install-leaf): Likewise.
9855
b93cf342
L
98562010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9857
9858 * configure: Regenerated.
9859
996b42ef
KT
98602010-09-10 Kai Tietz <kai.tietz@onevision.com>
9861
b93cf342 9862 * configure: Regenerated.
996b42ef 9863
be1c764e
GP
98642010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9865 Andrew Pinski <pinskia@gmail.com>
9866
1da9434b 9867 PR target/40959
be1c764e
GP
9868 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9869
cc0ae0ca
L
98702010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9871
9872 PR target/45524
9873 * configure: Regenerated.
9874
84f47d20
AS
98752010-09-06 Andreas Schwab <schwab@redhat.com>
9876
9877 * configure: Regenerate.
9878
4159fb8d
UB
98792010-09-03 Uros Bizjak <ubizjak@gmail.com>
9880
9881 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9882 64bit targets.
9883 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9884 for 64bit targets.
9885
0df8fcc8
UB
98862010-09-03 Uros Bizjak <ubizjak@gmail.com>
9887 Iain Sandoe <iains@gcc.gnu.org>
9888
9889 PR target/45476
9890 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9891 LIB2FUNCS_EXCLUDE functions.
9892
3c39bca6
AK
98932010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9894
9895 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9896 Include dfp.m4.
9897 * configure: Regenerate.
9898
d78552bd
UB
98992010-09-01 Uros Bizjak <ubizjak@gmail.com>
9900
9901 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9902 i386/t-freebsd to tmake_file.
9903 * config/i386/t-freebsd: New file.
9904 * config/i386/libgcc-bsd.ver: New file.
9905
c5b79d4e
NF
99062010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9907
9908 * config.host (powerpc*-eabispe*): Set tmake_file.
9909 (powerpc*-eabi*): Likewise.
9910 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9911 crtbeginS, crtendS, crtbeginT.
9912
48b09a92
KH
99132010-06-12 Kazu Hirata <kazu@codesourcery.com>
9914
9915 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9916 to tmake_file. Add crtfastmath.o to extra_parts.
9917 * config/mips/t-crtfm: New.
9918
7d296953 99192010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9920
9921 * config.host (sparc64-*-rtems*): New target.
9922
ed104137
RO
99232010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9924
9925 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9926 assembler syntax.
9927
3f56ef8b
TS
99282010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9929
9930 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9931
8c200350
RO
99322010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9933
9934 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9935 alpha-dec-osf5.0* support.
9936
7d296953 99372010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9938
9939 * config.host: Add lm32-*-rtems*.
9940
f128db92 99412010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9942 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9943
9944 PR target/39048
9945 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9946 like other remaining 32-bit x86 OSes.
9947 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9948 assembler syntax.
9949 * config/i386/libgcc-sol2.ver: New file.
9950 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9951
7d296953 99522010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9953
9954 PR c/43553
9955 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9956 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9957 is used and substitute set_use_emutls.
9958 * configure: Regenerated.
9959
15baf7f8
TG
99602010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9961
9962 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9963
7f5441df
RO
99642010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9965
9966 PR target/38085
9967 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9968 MULTILIB_CFLAGS.
9969 ($(T)gcrt1.o): Likewise.
9970 ($(T)crt1.o): Likewise.
9971 ($(T)crti.o): Likewise.
9972 ($(T)crtn.o): Likewise.
9973
ef74edbd
RW
99742010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9975
9976 PR other/42980
9977 * Makefile.in (install): Use $(MAKE) string in rule, for
9978 parallel make.
9979
e7c914db
HPN
99802010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9981
9982 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9983 * config/mmix/t-mmix: New file.
9984 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9985
1bcb71c4
JH
99862010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9987
9988 PR java/41991
9989 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9990 SHLIB_MAPFILES.
9991
e6e50811
AG
99922010-01-04 Anthony Green <green@moxielogic.com>
9993
9994 * config/moxie/crti.asm, config/moxie/crtn.asm,
9995 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9996 config/moxie/t-moxie: New files.
9997 * config.host: Add t-moxie-softfp reference.
9998
7d296953 99992009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
10000
10001 PR other/39888
10002 * config/t-slibgcc-darwin: Fix embedded rpaths for
10003 --enable-version-specific-runtime-libs, build extension stub
10004 libs exposing features available from current libgcc_s.
10005
7d296953 100062009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 10007
d78552bd
UB
10008 * config.host: Add lm32 targets.
10009 * config/lm32: New directory.
10010 * config/lm32/libgcc_lm32.h: New file.
10011 * config/lm32/_mulsi3.c: New file.
10012 * config/lm32/_udivmodsi4.c: New file.
10013 * config/lm32/_divsi3.c: New file.
10014 * config/lm32/_modsi3.c: New file.
10015 * config/lm32/_udivsi3.c: New file.
10016 * config/lm32/_umodsi3.c: New file.
10017 * config/lm32/_lshrsi3.S: New file.
10018 * config/lm32/_ashrsi3.S: New file.
10019 * config/lm32/_ashlsi3.S: New file.
10020 * config/lm32/crti.S: New file.
10021 * config/lm32/crtn.S: New file.
10022 * config/lm32/t-lm32: New file.
10023 * config/lm32/t-elf: New file.
10024 * config/lm32/t-uclinux: New file.
aa4945c1 10025
65a324b4
NC
100262009-10-26 Nick Clifton <nickc@redhat.com>
10027
10028 * config.host: Add support for RX target.
10029 * config/rx: New directory.
10030 * config/rx/rx-abi-functions.c: New file. Supplementary
10031 functions for libgcc to support the RX ABI.
10032 * config/rx/rx-abi.h: New file. Supplementary header file for
10033 libgcc RX ABI functions.
10034 * config/rx/t-rx: New file: Makefile fragment for building
10035 libgcc for the RX.
10036
dfb3b0e3
UB
100372009-10-09 Uros Bizjak <ubizjak@gmail.com>
10038
10039 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10040 constraint of y0 to "g".
10041
81dd9fd7
AK
100422009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10043
10044 * config.host: Include the s390 makefile fragments.
10045 * config/s390/32/_fixdfdi.c: New file.
10046 * config/s390/32/_fixsfdi.c: New file.
10047 * config/s390/32/_fixtfdi.c: New file.
10048 * config/s390/32/_fixunsdfdi.c: New file.
10049 * config/s390/32/_fixunssfdi.c: New file.
10050 * config/s390/32/_fixunstfdi.c: New file.
10051 * config/s390/32/t-floattodi: New file.
10052 * config/s390/libgcc-glibc.ver: New file.
10053 * config/s390/t-crtstuff: New file.
10054 * config/s390/t-linux: New file.
10055 * config/s390/t-tpf: New file.
10056
df58e648
RW
100572009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10058
10059 * configure.ac (AC_PREREQ): Bump to 2.64.
10060
79052be3
KK
100612009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10062
10063 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10064
5213506e
RW
100652009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10066
10067 * configure: Regenerate.
10068
a9a25daa
DR
100692009-08-09 Douglas B Rupp <rupp@gnat.com>
10070
10071 * config.host (ia64-hp-*vms*): New target.
10072 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10073 with ia64-hp-*vms*.
10074
6efbd53f
RW
100752009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10076
10077 * configure.ac: Add snippet for maintainer-mode.
10078 * configure: Regenerate.
10079 * Makefile.in (AUTOCONF, configure_deps): New variables.
10080 ($(srcdir)/configure)): New rule, active only with maintainer
10081 mode turned on.
10082
7acf4da6
DD
100832009-06-23 DJ Delorie <dj@redhat.com>
10084
10085 Add MeP port.
10086 * config.host: Add mep support.
10087
54f549af
KT
100882009-06-22 Kai Tietz <kai.tietz@onevision.com>
10089
34481f28 10090 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10091 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10092
10093 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10094 for mingw targets.
54f549af
KT
10095 * config/i386/64/_multc3.c: Likewise.
10096 * config/i386/64/_powitf2.c: Likewise.
10097 * config/i386/64/eqtf2.c: Likewise.
10098 * config/i386/64/getf2.c: Likewise.
10099 * config/i386/64/letf2.c: Likewise.
10100 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10101 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10102 unsigned long long for x64 mingw targets.
10103 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10104 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10105
fea96e25
MR
101062009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10107
10108 * config.host (vax-*-linux*): New.
10109
cceb575c
AG
101102009-05-31 Anthony Green <green@moxielogic.com>
10111
10112 * config.host: Add moxie support.
10113 * config/moxie/t-moxie: New file.
10114
7d296953 101152009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10116
10117 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10118 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10119
532bfb0a
AJ
101202009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10121
10122 * config.host: Add i386/${host_address}/t-fprules-softfp to
10123 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10124
748086b7
JJ
101252009-04-09 Nick Clifton <nickc@redhat.com>
10126
10127 * config/ia64/tf-signs.c: Change copyright header to refer to
10128 version 3 of the GNU General Public License with version 3.1
10129 of the GCC Runtime Library Exception and to point readers at
10130 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10131 web page.
10132 * config/i386/32/tf-signs.c: Likewise.
10133 * config/libbid/_addsub_dd.c: Likewise.
10134 * config/libbid/_addsub_sd.c: Likewise.
10135 * config/libbid/_addsub_td.c: Likewise.
10136 * config/libbid/_dd_to_df.c: Likewise.
10137 * config/libbid/_dd_to_di.c: Likewise.
10138 * config/libbid/_dd_to_sd.c: Likewise.
10139 * config/libbid/_dd_to_sf.c: Likewise.
10140 * config/libbid/_dd_to_si.c: Likewise.
10141 * config/libbid/_dd_to_td.c: Likewise.
10142 * config/libbid/_dd_to_tf.c: Likewise.
10143 * config/libbid/_dd_to_udi.c: Likewise.
10144 * config/libbid/_dd_to_usi.c: Likewise.
10145 * config/libbid/_dd_to_xf.c: Likewise.
10146 * config/libbid/_df_to_dd.c: Likewise.
10147 * config/libbid/_df_to_sd.c: Likewise.
10148 * config/libbid/_df_to_td.c: Likewise.
10149 * config/libbid/_di_to_dd.c: Likewise.
10150 * config/libbid/_di_to_sd.c: Likewise.
10151 * config/libbid/_di_to_td.c: Likewise.
10152 * config/libbid/_div_dd.c: Likewise.
10153 * config/libbid/_div_sd.c: Likewise.
10154 * config/libbid/_div_td.c: Likewise.
10155 * config/libbid/_eq_dd.c: Likewise.
10156 * config/libbid/_eq_sd.c: Likewise.
10157 * config/libbid/_eq_td.c: Likewise.
10158 * config/libbid/_ge_dd.c: Likewise.
10159 * config/libbid/_ge_sd.c: Likewise.
10160 * config/libbid/_ge_td.c: Likewise.
10161 * config/libbid/_gt_dd.c: Likewise.
10162 * config/libbid/_gt_sd.c: Likewise.
10163 * config/libbid/_gt_td.c: Likewise.
10164 * config/libbid/_isinfd128.c: Likewise.
10165 * config/libbid/_isinfd32.c: Likewise.
10166 * config/libbid/_isinfd64.c: Likewise.
10167 * config/libbid/_le_dd.c: Likewise.
10168 * config/libbid/_le_sd.c: Likewise.
10169 * config/libbid/_le_td.c: Likewise.
10170 * config/libbid/_lt_dd.c: Likewise.
10171 * config/libbid/_lt_sd.c: Likewise.
10172 * config/libbid/_lt_td.c: Likewise.
10173 * config/libbid/_mul_dd.c: Likewise.
10174 * config/libbid/_mul_sd.c: Likewise.
10175 * config/libbid/_mul_td.c: Likewise.
10176 * config/libbid/_ne_dd.c: Likewise.
10177 * config/libbid/_ne_sd.c: Likewise.
10178 * config/libbid/_ne_td.c: Likewise.
10179 * config/libbid/_sd_to_dd.c: Likewise.
10180 * config/libbid/_sd_to_df.c: Likewise.
10181 * config/libbid/_sd_to_di.c: Likewise.
10182 * config/libbid/_sd_to_sf.c: Likewise.
10183 * config/libbid/_sd_to_si.c: Likewise.
10184 * config/libbid/_sd_to_td.c: Likewise.
10185 * config/libbid/_sd_to_tf.c: Likewise.
10186 * config/libbid/_sd_to_udi.c: Likewise.
10187 * config/libbid/_sd_to_usi.c: Likewise.
10188 * config/libbid/_sd_to_xf.c: Likewise.
10189 * config/libbid/_sf_to_dd.c: Likewise.
10190 * config/libbid/_sf_to_sd.c: Likewise.
10191 * config/libbid/_sf_to_td.c: Likewise.
10192 * config/libbid/_si_to_dd.c: Likewise.
10193 * config/libbid/_si_to_sd.c: Likewise.
10194 * config/libbid/_si_to_td.c: Likewise.
10195 * config/libbid/_td_to_dd.c: Likewise.
10196 * config/libbid/_td_to_df.c: Likewise.
10197 * config/libbid/_td_to_di.c: Likewise.
10198 * config/libbid/_td_to_sd.c: Likewise.
10199 * config/libbid/_td_to_sf.c: Likewise.
10200 * config/libbid/_td_to_si.c: Likewise.
10201 * config/libbid/_td_to_tf.c: Likewise.
10202 * config/libbid/_td_to_udi.c: Likewise.
10203 * config/libbid/_td_to_usi.c: Likewise.
10204 * config/libbid/_td_to_xf.c: Likewise.
10205 * config/libbid/_tf_to_dd.c: Likewise.
10206 * config/libbid/_tf_to_sd.c: Likewise.
10207 * config/libbid/_tf_to_td.c: Likewise.
10208 * config/libbid/_udi_to_dd.c: Likewise.
10209 * config/libbid/_udi_to_sd.c: Likewise.
10210 * config/libbid/_udi_to_td.c: Likewise.
10211 * config/libbid/_unord_dd.c: Likewise.
10212 * config/libbid/_unord_sd.c: Likewise.
10213 * config/libbid/_unord_td.c: Likewise.
10214 * config/libbid/_usi_to_dd.c: Likewise.
10215 * config/libbid/_usi_to_sd.c: Likewise.
10216 * config/libbid/_usi_to_td.c: Likewise.
10217 * config/libbid/_xf_to_dd.c: Likewise.
10218 * config/libbid/_xf_to_sd.c: Likewise.
10219 * config/libbid/_xf_to_td.c: Likewise.
10220 * config/libbid/bid128.c: Likewise.
10221 * config/libbid/bid128_2_str.h: Likewise.
10222 * config/libbid/bid128_2_str_macros.h: Likewise.
10223 * config/libbid/bid128_2_str_tables.c: Likewise.
10224 * config/libbid/bid128_add.c: Likewise.
10225 * config/libbid/bid128_compare.c: Likewise.
10226 * config/libbid/bid128_div.c: Likewise.
10227 * config/libbid/bid128_fma.c: Likewise.
10228 * config/libbid/bid128_logb.c: Likewise.
10229 * config/libbid/bid128_minmax.c: Likewise.
10230 * config/libbid/bid128_mul.c: Likewise.
10231 * config/libbid/bid128_next.c: Likewise.
10232 * config/libbid/bid128_noncomp.c: Likewise.
10233 * config/libbid/bid128_quantize.c: Likewise.
10234 * config/libbid/bid128_rem.c: Likewise.
10235 * config/libbid/bid128_round_integral.c: Likewise.
10236 * config/libbid/bid128_scalb.c: Likewise.
10237 * config/libbid/bid128_sqrt.c: Likewise.
10238 * config/libbid/bid128_string.c: Likewise.
10239 * config/libbid/bid128_to_int16.c: Likewise.
10240 * config/libbid/bid128_to_int32.c: Likewise.
10241 * config/libbid/bid128_to_int64.c: Likewise.
10242 * config/libbid/bid128_to_int8.c: Likewise.
10243 * config/libbid/bid128_to_uint16.c: Likewise.
10244 * config/libbid/bid128_to_uint32.c: Likewise.
10245 * config/libbid/bid128_to_uint64.c: Likewise.
10246 * config/libbid/bid128_to_uint8.c: Likewise.
10247 * config/libbid/bid32_to_bid128.c: Likewise.
10248 * config/libbid/bid32_to_bid64.c: Likewise.
10249 * config/libbid/bid64_add.c: Likewise.
10250 * config/libbid/bid64_compare.c: Likewise.
10251 * config/libbid/bid64_div.c: Likewise.
10252 * config/libbid/bid64_fma.c: Likewise.
10253 * config/libbid/bid64_logb.c: Likewise.
10254 * config/libbid/bid64_minmax.c: Likewise.
10255 * config/libbid/bid64_mul.c: Likewise.
10256 * config/libbid/bid64_next.c: Likewise.
10257 * config/libbid/bid64_noncomp.c: Likewise.
10258 * config/libbid/bid64_quantize.c: Likewise.
10259 * config/libbid/bid64_rem.c: Likewise.
10260 * config/libbid/bid64_round_integral.c: Likewise.
10261 * config/libbid/bid64_scalb.c: Likewise.
10262 * config/libbid/bid64_sqrt.c: Likewise.
10263 * config/libbid/bid64_string.c: Likewise.
10264 * config/libbid/bid64_to_bid128.c: Likewise.
10265 * config/libbid/bid64_to_int16.c: Likewise.
10266 * config/libbid/bid64_to_int32.c: Likewise.
10267 * config/libbid/bid64_to_int64.c: Likewise.
10268 * config/libbid/bid64_to_int8.c: Likewise.
10269 * config/libbid/bid64_to_uint16.c: Likewise.
10270 * config/libbid/bid64_to_uint32.c: Likewise.
10271 * config/libbid/bid64_to_uint64.c: Likewise.
10272 * config/libbid/bid64_to_uint8.c: Likewise.
10273 * config/libbid/bid_b2d.h: Likewise.
10274 * config/libbid/bid_binarydecimal.c: Likewise.
10275 * config/libbid/bid_conf.h: Likewise.
10276 * config/libbid/bid_convert_data.c: Likewise.
10277 * config/libbid/bid_decimal_data.c: Likewise.
10278 * config/libbid/bid_decimal_globals.c: Likewise.
10279 * config/libbid/bid_div_macros.h: Likewise.
10280 * config/libbid/bid_dpd.c: Likewise.
10281 * config/libbid/bid_flag_operations.c: Likewise.
10282 * config/libbid/bid_from_int.c: Likewise.
10283 * config/libbid/bid_functions.h: Likewise.
10284 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10285 * config/libbid/bid_inline_add.h: Likewise.
10286 * config/libbid/bid_internal.h: Likewise.
10287 * config/libbid/bid_round.c: Likewise.
10288 * config/libbid/bid_sqrt_macros.h: Likewise.
10289
102902009-04-09 Jakub Jelinek <jakub@redhat.com>
10291
10292 * Makefile.in: Change copyright header to refer to version
10293 3 of the GNU General Public License and to point readers at the
10294 COPYING3 file and the FSF's license web page.
10295 * config.host: Likewise.
10296
633dd061
AM
102972009-04-07 Alan Modra <amodra@bigpond.net.au>
10298
10299 * config.host: Reorder and merge to match config.gcc change.
10300
457d1d00
AM
103012009-04-03 Alan Modra <amodra@bigpond.net.au>
10302
10303 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10304
52c0e446
JM
103052009-03-28 Joseph Myers <joseph@codesourcery.com>
10306
10307 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10308 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10309 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10310 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10311
ba181049
UB
103122009-02-12 Uros Bizjak <ubizjak@gmail.com>
10313
10314 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10315 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10316
c252db20
L
103172009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10318
ba181049
UB
10319 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10320 ia64/t-softfp-compat to tmake_file.
c252db20
L
10321
10322 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10323
10324 * config/ia64/__divxf3.asm: New.
10325 * config/ia64/_fixtfdi.asm: Likewise.
10326 * config/ia64/_fixunstfdi.asm: Likewise.
10327 * config/ia64/_floatditf.asm: Likewise.
10328 * config/ia64/t-fprules-softfp: Likewise.
10329 * config/ia64/t-softfp-compat: Likewise.
10330 * config/ia64/tf-signs.c: Likewise.
10331
c60535f9
BE
103322009-01-18 Ben Elliston <bje@au.ibm.com>
10333
10334 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10335
ce16861e
BE
103362009-01-16 Ben Elliston <bje@au.ibm.com>
10337
10338 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10339 to tmake_file.
10340
bcf4713b
BE
103412009-01-13 Ben Elliston <bje@au.ibm.com>
10342
10343 * config/t-softfp: New file.
10344 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10345 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10346
7d296953 103472009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10348
10349 * config.host: Add m32r*-*-rtems*.
10350
7d296953 103512008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10352
10353 * config.host: Add m32c*-*-rtems*.
10354
19523300
RO
103552008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10356
10357 PR bootstrap/33100
10358 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10359 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10360 * configure: Regenerate.
10361 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10362 tmake_file here from gcc/config.gcc.
10363 Move extra_parts here from gcc/config.gcc.
10364 * config/i386/t-sol2: Move here from gcc/config/i386.
10365 Use gcc_srcdir instead of srcdir.
10366
0a4a51c7
AN
103672008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10368
10369 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10370 case.
10371
2a761e46
TS
103722008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10373
10374 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10375
c0451df7
TS
103762008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10377
10378 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10379
358da97e
HS
103802008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10381
10382 Add picoChip port.
10383 * config.host: Add picochip-*-*.
10384
c660f132
BW
103852008-08-06 Bob Wilson <bob.wilson@acm.org>
10386
10387 * config.host: Match more processor names for Xtensa.
10388
d1349557
L
103892008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10390
10391 * config/i386/64/t-softfp-compat: Update comments.
10392
dd7b73c0
L
103932008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10394
10395 * config/i386/64/_divtc3-compat.c: Moved to ...
10396 * config/i386/64/_divtc3.c: Here.
10397
10398 * config/i386/64/_multc3-compat.c: Moved to ...
10399 * config/i386/64/_multc3.c: Here.
10400
10401 * config/i386/64/_powitf2-compat.c: Moved to ...
10402 * config/i386/64/_powitf2.c: Here.
10403
10404 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10405 .c suffix instead of -compat.c.
10406
6e1fab3d
UB
104072008-07-05 Uros Bizjak <ubizjak@gmail.com>
10408
10409 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10410 (_FP_MUL_MEAT_D): Ditto.
10411 (_FP_DIV_MEAT_S): Ditto.
10412 (_FP_DIV_MEAT_D): Ditto.
10413
f92518d7
RS
104142008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10415
10416 * Makefile.in: Add support for __sync_* libgcc functions.
10417
d0aede14
L
104182008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10419
10420 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10421
c174f11c
L
104222008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10423
10424 PR boostrap/36702
10425 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10426 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10427
10428 * config/i386/64/t-fprules-softfp: Moved to ...
10429 * config/i386/64/t-softfp-compat: This. New.
10430
5f464fa2
UB
104312008-07-02 Uros Bizjak <ubizjak@gmail.com>
10432
10433 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10434 Initialize f with 0.0.
10435
ff473280
L
104362008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10437
10438 PR target/36669
10439 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10440
10441 * config/i386/64/_divtc3-compat.c: New.
10442 * config/i386/64/_multc3-compat.c: Likewise.
10443 * config/i386/64/_powitf2-compat.c: Likewise.
10444 * config/i386/64/eqtf2.c: Likewise.
10445 * config/i386/64/getf2.c: Likewise.
10446 * config/i386/64/letf2.c: Likewise.
10447 * config/i386/64/t-fprules-softfp: Likewise.
10448
104492008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10450
10451 * config.host: Add i386/${host_address}/t-fprules-softfp to
10452 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10453 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10454
10455 * configure.ac: Set host_address to 64 or 32 for x86.
10456 * configure: Regenerated.
10457
10458 * Makefile.in (config.status): Also depend on
10459 $(srcdir)/config.host.
10460
10461 * config/i386/32/t-fprules-softfp: New.
10462 * config/i386/32/tf-signs.c: Likewise.
10463
10464 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10465
104662008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10467 Uros Bizjak <ubizjak@gmail.com>
10468
10469 * config/i386/32/sfp-machine.h: New.
10470
30551d99
NF
104712008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10472
10473 * config/rs6000/t-ppccomm: Remove rules that conflict with
10474 auto-generated rules.
10475
18c04407
RW
104762008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10477
10478 * configure.ac: sinclude override.m4.
10479 * configure: Regenerate.
10480
10fbe77a
BRF
104812008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10482
10483 * configure: Regenerate.
10484
bc6d4c3f
JM
104852008-06-10 Joseph Myers <joseph@codesourcery.com>
10486
10487 * Makefile.in (DECNUMINC): Remove
10488 -I$(MULTIBUILDTOP)../../libdecnumber.
10489 * gstdint.h: New.
10490
cd985f66
JM
104912008-06-07 Joseph Myers <joseph@codesourcery.com>
10492
10493 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10494 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10495 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10496 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10497 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10498 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10499 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10500 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10501 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10502 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10503 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10504 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10505 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10506 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10507
93fea8d3
AL
105082008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10509
10510 * config.host (sh2[lbe]*-*-linux*): Allow target.
10511
18724e30
NF
105122008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10513
10514 * config/rs6000/t-ppccomm: Add build rules for new files.
10515 (LIB2ADD_ST): New variable.
10516
47583040
AH
105172008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10518
10519 PR target/34210
10520 PR target/35508
10521 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10522 * config/t-avr: New file. Build 16bit libgcc functions.
10523
cf8e67fe
JJ
105242008-03-02 Jakub Jelinek <jakub@redhat.com>
10525
10526 PR target/35401
10527 * config/t-slibgcc-darwin: Make install-leaf dependent on
10528 install-darwin-libgcc-stubs instead of install.
10529
8d8da227
JM
105302008-01-25 Joseph Myers <joseph@codesourcery.com>
10531
10532 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10533 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10534 sh-*-rtemscoff*): Remove cases.
10535
edbf8b16
RS
105362007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10537
10538 * Makefile.in (all): Use install-leaf rather than install.
10539 (install): Split most of the rule into...
10540 (install-leaf): ...this new one.
10541
89deeaff
EK
105422007-12-19 Etsushi Kato <ek.kato@gmail.com>
10543 Paolo Bonzini <bonzini@gnu.org>
10544
10545 PR target/30572
5f464fa2
UB
10546 * Makefile.in: Use @shlib_slibdir@ substitution to get
10547 correct install name on darwin.
89deeaff 10548 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10549
4081d704
HPN
105502007-12-15 Hans-Peter Nilsson <hp@axis.com>
10551
10552 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10553 cris-*-elf and cris-*-none.
10554 (crisv32-*-linux*): Similar, as cris-*-linux*.
10555
f43e89a3
RIL
105562007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10557
10558 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10559
b4e9c2c6
L
105602007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10561
10562 PR regression/33926
10563 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10564 * configure: Regenerated.
10565
b2a00c89
L
105662007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10567
10568 * Makefile.in (dfp-filenames): Replace decimal_globals,
10569 decimal_data, binarydecimal and convert_data with
10570 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10571 and bid_convert_data, respectively.
10572
8d2a9e0e
CF
105732007-09-17 Chao-ying Fu <fu@mips.com>
10574 Nigel Stephens <nigel@mips.com>
10575
10576 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10577 * Makefile.in (fixed_point): Define.
10578 Check if fixed_point is yes to build support functions.
10579 * configure.ac: Check for fixed_point support.
10580 * configure: Regenerated.
10581 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10582 funcs, modes, from, to.
10583
2b53935d
JJ
105842007-09-11 Janis Johnson <janis187@us.ibm.com
10585
10586 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10587
2533577f
JJ
105882007-09-10 Janis Johnson <janis187@us.ibm.com>
10589
10590 * Makefile.in (dfp-filenames): Remove decUtility, add
10591 decDouble, decPacked, decQuad, decSingle.
10592
3ae3dbd6
HK
105932007-08-27 Hans Kester <hans.kester@ellips.nl>
10594
10595 * config.host : Add x86_64-elf target.
10596
22867d02
L
105972007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10598
10599 * configure.ac (set_have_cc_tls): Add a missing =.
10600 * configure: Regenerated.
10601
6f461e76
L
106022007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10605 and x86_64-*-linux*.
10606
10607 * config/t-tls: New file.
10608
dfb3b0e3 10609 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10610
10611 * configure.ac: Include ../config/enable.m4 and
10612 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10613 supports TLS and substitute set_have_cc_tls.
10614 * configure: Regenerated.
10615
200359e8
L
106162007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10617
10618 * Makefile.in: Use libbid for DFP when BID is enabled.
10619
76f5e200
DS
106202007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10621
10622 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10623 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10624 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10625
9bd196f0 106262007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10627 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10628
10629 PR target/29498
10630 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10631 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10632 * config/i386/t-crtfm: Compile crtfastmath.o with
10633 -minline-all-stringops.
10634
1910440e
RS
106352007-05-10 Richard Sandiford <richard@codesourcery.com>
10636
10637 * config.host (sparc-wrs-vxworks): New target.
10638
7d33c31d
KH
106392007-04-14 Kazu Hirata <kazu@codesourcery.com>
10640
10641 * config.host: Recognize fido.
10642
96fccd0d
JJ
106432007-04-04 Janis Johnson <janis187@us.ibm.com>
10644
10645 * configure: Check host, not target, for decimal float support.
10646
577565f9
UB
106472007-04-03 Uros Bizjak <ubizjak@gmail.com>
10648
10649 * config/i386/t-crtpc: New file.
10650 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10651 (x86_64-*-linux*): Ditto.
577565f9 10652
ccf8e764
RH
106532007-02-30 Kai Tietz <kai.tietz@onevision.com>
10654
10655 * config.host (x86_64-*-mingw*): New target.
10656
79b87c74
MM
106572007-03-23 Michael Meissner <michael.meissner@amd.com>
10658 H.J. Lu <hongjiu.lu@intel.com>
10659
10660 * Makefile.in (enable_decimal_float): New.
10661 (DECNUMINC): Add
10662 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10663 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10664 (decbits-filenames): This.
10665 (decbits-objects): New.
10666 (libgcc-objects): Add $(decbits-objects).
10667
10668 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10669 Substitute enable_decimal_float.
10670 * configure: Regenerated.
10671
8fce4e31
HPN
106722007-03-19 Hans-Peter Nilsson <hp@axis.com>
10673
10674 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10675
e8bb4597
BM
106762007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10677
10678 * Makefile.in (install-info): New dummy target.
10679
344189f9
BS
106802007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10681
10682 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10683
ac84c172
BM
106842007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10685
10686 * Makefile.in: Add install-html and install-pdf dummy
10687 targets.
10688
cd5c2357
RS
106892007-02-05 Roger Sayle <roger@eyesopen.com>
10690 Daniel Jacobowitz <dan@codesourcery.com>
10691
10692 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10693 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10694 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10695
d9a66f98
JJ
106962007-01-29 Janis Johnson <janis187@us.ibm.com>
10697
10698 * Makefile.in (dec-filenames): Add decExcept.
10699
9891ec5f
DJ
107002007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10701
10702 PR bootstrap/30469
10703 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10704 -fprofile-use.
10705
d6efbf5a
DJ
107062007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10707
10708 * configure.ac: Add --enable-version-specific-runtime-libs.
10709 Correct $slibdir default.
10710 * configure: Regenerated.
10711
17caeff2
JM
107122007-01-23 Joseph Myers <joseph@codesourcery.com>
10713
10714 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10715
5ea41e3a
AP
107162007-01-21 Andrew Pinski <pinskia@gmail.com>
10717
10718 PR target/30519
10719 * config.host (alpha*-*-linux*): Set extra_parts.
10720
26900826
KK
107212007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10722
10723 * config/sh/t-linux: New.
10724 * config.host (sh*-*-linux*): Set tmake_file.
10725
97af925b
DJ
107262007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10727
10728 * Makefile.in (install): Handle multilibs.
10729
b0088af7
BM
107302007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10731
10732 * Makefile.in: Added .PHONY entry for documentation targets.
10733
e0a9456a
BM
107342007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10735
10736 * Makefile.in: Add empty info, html, dvi, pdf targets.
10737
7fd453b4
MS
107382007-01-04 Mike Stump <mrs@apple.com>
10739
10740 * Makefile.in (MAKEINFO): Remove.
10741 (PERL): Likewise.
10742
14e8fc8b
PB
107432007-01-04 Paolo Bonzini <bonzini@gnu.org>
10744
10745 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10746 * configure: Regenerate.
10747 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10748 (gcc_objdir): Use it.
14e8fc8b 10749
1555beba
DJ
107502007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10751
10752 * config.host (ia64*-*-linux*): Set tmake_file.
10753
79e6eaeb
DJ
107542007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10755
10756 * Makefile.in (version): Define.
10757
fa958513
DJ
107582007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10759 Paolo Bonzini <bonzini@gnu.org>
10760
10761 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10762 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10763 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10764 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10765 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10766 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10767 * configure: Generated.
818ab71a 10768\f
8d9254fc 10769Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10770
10771Copying and distribution of this file, with or without modification,
10772are permitted in any medium without royalty provided the copyright
10773notice and this notice are preserved.