]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
coroutines, testsuite: Require C++17 for two tests.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
5b2f76e3
JJ
12020-04-15 Jakub Jelinek <jakub@redhat.com>
2
3 PR target/93053
4 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
5 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
6 is not defined, use just .arch armv8-a.
7 (B, M, N, OPN): Define.
8 (COMMENT): New .macro.
9 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
10 defined. Otherwise, move the operands right after the glue? and
11 comment out operands where the macros are used.
12 * configure: Regenerated.
13 * config.in: Regenerated.
14
50c78532
ILT
152020-04-07 Ian Lance Taylor <iant@golang.org>
16
17 PR libgcc/94513
18 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
19 syscall instead.
20
458ca332
ILT
212020-04-04 Ian Lance Taylor <iant@golang.org>
22
23 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
24
710d54ed
ILT
252020-04-03 Ian Lance Taylor <iant@golang.org>
26
27 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
28 than mmap/munmap, to avoid hooks.
29
b749b5ec
JJ
302020-04-03 Jim Johnston <jjohnst@us.ibm.com>
31
32 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
33 (TPFRA_OFFSET): Macros removed.
34 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
35 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
36 (PG3_SKIPPING_OFFSET): New macros.
37 (__isPATrange): Use cinfc_fast for the check.
38 (__isSkipResetAddr): New function.
39 (s390_fallback_frame_state): Check for skip trace addresses. Use
40 either ICST_CRET or ICST_SRET to calculate return address
41 location.
42 (__tpf_eh_return): Handle skip trace addresses.
43
a9cd2d78
RE
442020-03-26 Richard Earnshaw <rearnsha@arm.com>
45
46 PR target/94220
47 * config/arm/lib1funcs.asm (COND): Use a single definition for
48 unified syntax.
49 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
50 (aeabi_idivmod): Likewise.
51 (divsi3_skip_div0_test): Likewise.
52
f582ca0f
MI
532020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
54
55 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
56
068fe0a9
AK
572020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
58
59 * config.host: Include the new makefile fragment.
60 * config/s390/t-tpf: New file.
61
6b9ce2b4
RE
622020-03-03 Richard Earnshaw <rearnsha@arm.com>
63
64 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
65 syntax.
66 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
67 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
68 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
69 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
70 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
71 syntax.
72 (divsi3, modsi3): Likewise.
73 (clzdi2, ctzsi2): Likewise.
74 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
75 unified syntax.
76 (UNWIND_WRAPPER): Likewise.
77
8dd5d8f3
ML
782020-03-02 Martin Liska <mliska@suse.cz>
79
80 * libgcov-interface.c: Remove duplicate
81 declaration of __gcov_flush_mx.
82
ea0b1252
ML
832020-02-18 Martin Liska <mliska@suse.cz>
84
85 PR ipa/92924
86 * libgcov-merge.c (merge_topn_values_set): Record
87 when a TOP N counter becomes invalid. When merging
88 remove a smallest value if the space is needed.
89
02ce382c
SL
902020-02-12 Sandra Loosemore <sandra@codesourcery.com>
91
92 PR libstdc++/79193
93 PR libstdc++/88999
94
95 * configure: Regenerated.
96
7214fce3
JL
972020-02-10 Jeff Law <law@redhat.com>
98
99 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
100 sections.
101 * config/frv/frvend.c: Similarly.
102
cf0f07ef
L
1032020-02-10 H.J. Lu <hongjiu.lu@intel.com>
104
105 PR libgcc/85334
106 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
107 New.
108
5602b48b
CL
1092020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
110
111 PR target/93615
112 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
113 _Unwind_gnu_Find_got.
114 * unwind-pe.h: Likewise.
115
811a475e
JJ
1162020-02-07 Jakub Jelinek <jakub@redhat.com>
117
118 PR target/93615
119 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
120 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
121 trailing :s in asm. Formatting fixes.
122 (_Unwind_decode_typeinfo_ptr): Adjust caller.
123
2d33dcfe
SL
1242020-01-31 Sandra Loosemore <sandra@codesourcery.com>
125
126 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
127
128 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
129 * config/nios2-elf-lib.h: New.
130 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
131 code for finding GOT base for nios2.
132
3ae37f92
ML
1332020-01-27 Martin Liska <mliska@suse.cz>
134
135 PR gcov-profile/93403
136 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
137 Call __gcov_indirect_call_profiler_body.
138 (__gcov_indirect_call_profiler_body): New.
139 (__gcov_indirect_call_profiler_v4_atomic): New.
140 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
141 New declaration.
142
2744b8b2
CZ
1432020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
144
145 * config/arc/crti.S: Add RF16 object attribute.
146 * config/arc/crtn.S: Likewise.
147 * config/arc/crttls.S: Likewise.
148 * config/arc/lib1funcs.S: Likewise.
149 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
150 * config/arc/lib2funcs.c: New file.
151 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
152
e8e66971
MR
1532020-01-24 Maciej W. Rozycki <macro@wdc.com>
154
155 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
156 * configure.ac: Handle `--with-toolexeclibdir='.
157 * configure: Regenerate.
158
54b3d52c
DM
1592020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
160
161 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
162
a3c1e1f2
DM
1632020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
164
165 * config/mips/gnustack.h: New file.
166 * config/mips/crti.S: Include gnustack.h.
167 * config/mips/crtn.S: Likewise.
168 * config/mips/mips16.S: Likewise.
169 * config/mips/vr4120-div.S: Likewise.
170
e9ee848d
ML
1712020-01-23 Martin Liska <mliska@suse.cz>
172
173 * libgcov-driver.c (prune_topn_counter): Remove
174 check for -1 as we only prune run-time counters
175 that do not generate an invalid state.
176
7491c17f
ML
1772020-01-22 Martin Liska <mliska@suse.cz>
178
179 PR tree-optimization/92924
180 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
181 try to find an existing value, then find an empty slot
182 if not found.
183
5f32f9cf
ML
1842020-01-22 Martin Liska <mliska@suse.cz>
185
186 PR tree-optimization/92924
187 * libgcov-driver.c (prune_topn_counter): New.
188 (prune_counters): Likewise.
189 (dump_one_gcov): Prune a run-time counter.
190 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
191 For a known value, add GCOV_TOPN_VALUES to value.
192 Otherwise, decrement all counters by one.
193
463f6499
HPN
1942020-01-18 Hans-Peter Nilsson <hp@axis.com>
195
196 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
197
84479e3a
JDA
1982020-01-18 John David Anglin <danglin@gcc.gnu.org>
199
200 PR libgcc/92988
201 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
202 DEFAULT_USE_CXA_ATEXIT is true.
203
e953433f 2042020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 205 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
206
207 * config/arm/t-arm: Check return value of gcc rather than lack of
208 output.
209
03e87724
GJL
2102020-01-14 Georg-Johann Lay <avr@gjlay.de>
211
212 * config/avr/lib1funcs.S (skip): Simplify.
213
af9bd920
KCY
2142020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
215
216 * config/gcn/atomic.c: Remove include of stdint.h.
217 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
218 __UINTPTR_TYPE__.
219
d6491d15
KCY
2202020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
221
222 * config/gcn/atomic.c: New.
223 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
224
f30dd607
GJL
2252020-01-08 Georg-Johann Lay <avr@gjlay.de>
226
227 Implement 64-bit double functions.
228
229 PR target/92055
230 * config.host (tmake_file) [target=avr]: Add t-libf7,
231 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
232 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
233 depending on sizeof (double) or sizeof (long double).
234 * config/avr/libf7: New folder.
235
5205a445
OH
2362020-01-05 Olivier Hainque <hainque@adacore.com>
237
238 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
239 by IN_LIBGCC2.
240
8d9254fc
JJ
2412020-01-01 Jakub Jelinek <jakub@redhat.com>
242
243 Update copyright years.
244
abb6c3ee
OH
2452019-12-30 Olivier Hainque <hainque@adacore.com>
246
247 * config/gthr-vxworks.h: Use _vxworks-versions.h.
248 * config/gthr-vxworks-tls.c: Likewise.
249
d7f5094a
OH
2502019-12-30 Olivier Hainque <hainque@adacore.com>
251
252 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
253 standard zero-initializer syntax.
254
49cfaa2a
OH
2552019-12-30 Olivier Hainque <hainque@adacore.com>
256
257 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
258 reference to the internal VX_GET_TLS_DATA interface.
259
89b9a554
OH
2602019-12-30 Olivier Hainque <hainque@adacore.com>
261
262 * config/vxcrtstuff.c: Fix incorrect spelling of
263 USE_INITFINI_ARRAY in guard.
264
e8aa9f55
JL
2652019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
266
267 * config.host: s/msp430*-*-elf/msp430-*-elf*.
268 Override default "extra_parts" variable.
269 * configure: Regenerate.
270 * configure.ac: Disable TM clone registry by default for
271 msp430-elfbare.
272
a9046e98
JL
2732019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
274
275 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
276 "extra_parts".
277 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
278
34a53788
JL
2792019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
280
281 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
282 true.
283
21a098f4
JL
2842019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
285
286 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
287 defined instead of its value.
288
ad8b7783
JL
2892019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
290
291 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
292 if it will have contents.
293
08d7ff78
GJL
2942019-12-05 Georg-Johann Lay <avr@gjlay.de>
295
296 PR target/92055
297 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
298
3d3a96a2
SN
2992019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
300
34b4d99d 301 PR libgcc/91737
3d3a96a2
SN
302 * config.host: Add t-gthr-noweak on *-*-musl*.
303 * config/t-gthr-noweak: New file.
304
632b5e3d
JDA
3052019-11-17 John David Anglin <danglin@gcc.gnu.org>
306
307 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
308 volatile void *. Remove trap check.
309 (__kernel_cmpxchg2): Likewise.
310 (FETCH_AND_OP_2): Adjust operand types.
311 (OP_AND_FETCH_2): Likewise.
312 (FETCH_AND_OP_WORD): Likewise.
313 (OP_AND_FETCH_WORD): Likewise.
314 (COMPARE_AND_SWAP_2): Likewise.
315 (__sync_val_compare_and_swap_4): Likewise.
316 (__sync_bool_compare_and_swap_4): Likewise.
317 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
318 (__sync_lock_test_and_set_4): Likewise.
319 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
320 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
321 for release.
322 (__sync_lock_release_8): Remove.
323
838fd641
SN
3242019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
325
326 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
327 of __sigset_t.
328
27204060
JL
3292019-11-14 Jerome Lambourg <lambourg@adacore.com>
330 Doug Rupp <rupp@adacore.com>
331 Olivier Hainque <hainque@adacore.com>
332
333 * config.host: Collapse the arm-vxworks entries into
334 a single arm-wrs-vxworks7* one.
335 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
336 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
337 kernel modules, to be overriden by libstdc++ when we link with
338 it. Rely on externally provided __exidx_start/end.
339
3004f893
DR
3402019-11-14 Doug Rupp <rupp@adacore.com>
341 Olivier Hainque <hainque@adacore.com>
342
343 * config.host: Handle aarch64*-wrs-vxworks7*.
344
36e5f4d4
OH
3452019-11-12 Olivier Hainque <hainque@adacore.com>
346
347 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
348 sources except the cxx0x support to LIB2ADDEH. We don't support
349 cxx0x on AE/653.
350 * config/t-vxworksae: New file.
351 * config.host: Handle *-*-vxworksae: Add the two aforementioned
352 Makefile fragment files at their expected position in the tmake_file
353 list, in accordance with what is done for other VxWorks variants.
354
806dd047
CG
3552019-11-12 Corentin Gay <gay@adacore.com>
356 Jerome Lambourg <lambourg@adacore.com>
357 Olivier Hainque <hainque@adacore.com>
358
359 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
360 sources to LIB2ADDEH.
361 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
362 * config/t-vxworks7: Likewise.
363
364 * config.host: Append a block at the end of the file to add the
365 t-gthr files to the tmake_file list for VxWorks after everything
366 else.
367
368 * config/vxlib.c: Rename as gthr-vxworks.c.
369 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
370
371 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
372 API and a basic error checking API, both internal. Simplify the
373 __gthread_once_t type definition and initializers. Add sections
374 for condition variables support and for the C++0x thread support,
375 conditioned against Vx653 for the latter.
376
377 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
378 implementation, leveraging the TAS internal API.
379 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
380 API, leveraging the general availability of TLS services in VxWorks7
381 post SR6xxx.
382 (__gthread_setspecific, __gthread_setspecific): Use it.
383 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
384 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
385 support based on VxWorks primitives.
386 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
387 based on VxWorks primitives.
388
78e49fb1
JL
3892019-11-06 Jerome Lambourg <lambourg@adacore.com>
390 Olivier Hainque <hainque@adacore.com>
391
392 * config/vxcrtstuff.c: New file.
393 * config/t-vxcrtstuff: New Makefile fragment.
394 * config.host: Append t-vxcrtstuff to the tmake_file list
395 on all VxWorks ports using dwarf for table based EH.
396
29f3def3
GJL
3972019-11-07 Georg-Johann Lay <avr@gjlay.de>
398
399 Support 64-bit double and 64-bit long double configurations.
400
401 PR target/92055
402 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
403 long double is a 32-bit type.
404 * config/avr/t-avrlibc: Copy double64 and long-double64
405 multilib(s) from the vanilla one.
406 * config/avr/t-copy-libgcc: New Makefile snip.
407
62ec242e
JL
4082019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
409
410 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
411 the target output object format is not ELF.
412 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
413
da5c1bbe
OE
4142019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
415
416 PR libgcc/78804
417 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
418 * fp-bit.c (pack_d, unpack_d): Remove special cases for
419 FLOAT_BIT_ORDER_MISMATCH.
420 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
421
8dc56a22
JW
4222019-11-01 Jim Wilson <jimw@sifive.com>
423
424 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
425
91c64455
JL
4262019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
427
428 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
429 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
430 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
431 Define symbols for 32-bit and f5series hardware multiply
432 register addresses.
433 Replace hard-coded register addresses with symbols.
434 Fix "_mspabi*" typo.
435 Fix whitespace.
436 * config/msp430/lib2mul.c: Add comment.
437
85093ac6
JDA
4382019-10-15 John David Anglin <danglin@gcc.gnu.org>
439
440 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
441 unsigned int. Adjust callers.
442 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
443 unsigned int *. Load relocation offset before function pointer.
444 Add barrier to ensure ordering.
445
1aea083d
JDA
4462019-10-12 John David Anglin <danglin@gcc.gnu.org>
447
448 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
449 Load PIC register after branch target. Fix white space.
450 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
451 implementations. Load PIC register after branch target. Don't
452 clobber function pointer when it points to function descriptor.
453 Use nullification instead of branch in LINUX implementation.
454
c49af82c
JDA
4552019-10-03 John David Anglin <danglin@gcc.gnu.org>
456
457 * config/pa/fptr.c: Disable -Warray-bounds warning.
458
88a51d68
RH
4592019-09-25 Richard Henderson <richard.henderson@linaro.org>
460
9e46fd07
RH
461 * config.in, configure: Re-rebuild with stock autoconf 2.69,
462 not the ubuntu modified 2.69.
463
58d169ba
RH
464 PR target/91833
465 * config/aarch64/lse-init.c: Include auto-target.h. Disable
466 initialization if !HAVE_SYS_AUXV_H.
467 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
468 * config.in, configure: Rebuild.
469
88a51d68
RH
470 PR target/91834
471 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
472 overlap the inputs.
473
761e6bb9
SZ
4742019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
475
476 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
477 CTR_EL0.IDC and CTR_EL0.DIC.
478
76c93295
CL
4792019-09-20 Christophe Lyon <christophe.lyon@st.com>
480
481 Revert:
482 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
483 Mickaël Guêné <mickael.guene@st.com>
484
485 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
486 architecture.
487
33befddc
RH
4882019-09-19 Richard Henderson <richard.henderson@linaro.org>
489
490 * config/aarch64/lse-init.c: New file.
491 * config/aarch64/lse.S: New file.
492 * config/aarch64/t-lse: New file.
493 * config.host: Add t-lse to all aarch64 tuples.
494
ae1152e5
CL
4952019-09-10 Christophe Lyon <christophe.lyon@st.com>
496 Mickaël Guêné <mickael.guene@st.com>
497
84818dbb
CL
498 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
499 architecture.
500
5012019-09-10 Christophe Lyon <christophe.lyon@st.com>
502 Mickaël Guêné <mickael.guene@st.com>
503
ae1152e5
CL
504 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
505 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
506 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
507 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
508 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
509 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
510 (__gnu_personality_sigframe_fdpic): New.
511 (get_eit_entry): Add FDPIC signal frame support.
512
5d727a4b
CL
5132019-09-10 Christophe Lyon <christophe.lyon@st.com>
514 Mickaël Guêné <mickael.guene@st.com>
515
516 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
517 (__kernel_dmb): Likewise.
518 (__fdpic_cmpxchg): New function.
519 (__fdpic_dmb): New function.
520 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
521 (gnu_Unwind_Find_got): New function.
522 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
523 * unwind-arm-common.inc (UCB_PR_GOT): New.
524 (funcdesc_t): New struct.
525 (get_eit_entry): Add FDPIC support.
526 (unwind_phase2): Likewise.
527 (unwind_phase2_forced): Likewise.
528 (__gnu_Unwind_RaiseException): Likewise.
529 (__gnu_Unwind_Resume): Likewise.
530 (__gnu_Unwind_Backtrace): Likewise.
531 * unwind-pe.h (read_encoded_value_with_base): Likewise.
532
b1e21e5a 5332019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 534 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 535
11189793
CL
536 * libgcc/crtstuff.c: Add support for FDPIC.
537
5382019-09-10 Christophe Lyon <christophe.lyon@st.com>
539
540 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 541
91dfef96
JM
5422019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
543
544 * config.host: Set cpu_type for bpf-*-* targets.
545 * config/bpf/t-bpf: Likewise.
546 * config/bpf/crtn.S: Likewise.
547 * config/bpf/crti.S: New file.
548
2f4d8951
JW
5492019-09-06 Jim Wilson <jimw@sifive.com>
550
551 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
552 (riscv*-*-freebsd*): Likewise.
553
2f2aeda9
UW
5542019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
555
556 * config.host: Remove references to spu.
557 * config/spu/: Remove directory.
558
d16017da
JL
5592019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
560
561 PR target/91306
562 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
563 element type, instead of "sizeof" the element type.
564 (__DTOR_LIST__): Likewise.
565 (__TMC_LIST__): Likewise.
566 (__do_global_dtors_aux_fini_array_entry): Likewise.
567 (__frame_dummy_init_array_entry): Likewise.
568 (__CTOR_END__): Likewise.
569 (__DTOR_END__): Likweise.
570 (__FRAME_END__): Likewise.
571 (__TMC_END__): Likewise.
572
a9fcfec3
HL
5732019-08-20 Lili Cui <lilicui@intel.com>
574
575 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
576 INTEL_COREI7_COOPERLAKE.
577
428642b1
MT
5782019-07-31 Matt Thomas <matt@3am-software.com>
579 Nick Hudson <nick@nthcliff.demon.co.uk>
580 Matthew Green <mrg@eterna.com.au>
581 Maya Rashish <coypu@sdf.org>
582
583 * config.host (hppa*-*-netbsd*): New case.
584 * config/pa/t-netbsd: New file.
585
f0efd925
JH
5862019-07-31 Joel Hutton <Joel.Hutton@arm.com>
587
588 * config/arm/cmse.c (cmse_check_address_range): Add
589 warn_unused_result attribute.
590
a861990d
ML
5912019-07-22 Martin Liska <mliska@suse.cz>
592
593 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
594 * config/pa/t-stublib: Likewise.
595
9c0dba7c
SH
5962019-07-22 Stafford Horne <shorne@gmail.com>
597
598 PR target/90362
599 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
600 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
601 instructions are not available on every processor. Change a
602 l.bnf to l.bf to fix logic issue.
603
61afc8f8
IS
6042019-07-04 Iain Sandoe <iain@sandoe.co.uk>
605
606 * config.host: Remove reference to t-darwin8.
607
179c7ef5
IS
6082019-07-03 Iain Sandoe <iain@sandoe.co.uk>
609
610 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
611 list.
612 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
613 mmacosx-version-min for crts to run across all system versions.
614 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
615 * config/t-darwin: Revise mmacosx-version-min for crts to run across
616 system versions >= 10.4.
617
596341c7
ML
6182019-07-03 Martin Liska <mliska@suse.cz>
619
620 * Makefile.in: Use topn_values instead of one_value names.
621 * libgcov-merge.c (__gcov_merge_single): Move to ...
622 (__gcov_merge_topn): ... this.
623 (merge_single_value_set): Move to ...
624 (merge_topn_values_set): ... this.
625 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
626 ...
627 (__gcov_topn_values_profiler_body): ... this.
628 (__gcov_one_value_profiler_v2): Move to ...
629 (__gcov_topn_values_profiler): ... this.
630 (__gcov_one_value_profiler_v2_atomic): Move to ...
631 (__gcov_topn_values_profiler_atomic): ... this.
632 (__gcov_indirect_call_profiler_v4): Remove.
633 * libgcov-util.c (__gcov_single_counter_op): Move to ...
634 (__gcov_topn_counter_op): ... this.
635 * libgcov.h (L_gcov_merge_single): Remove.
636 (L_gcov_merge_topn): New.
637 (__gcov_merge_single): Remove.
638 (__gcov_merge_topn): New.
639 (__gcov_one_value_profiler_v2): Move to ..
640 (__gcov_topn_values_profiler): ... this.
641 (__gcov_one_value_profiler_v2_atomic): Move to ...
642 (__gcov_topn_values_profiler_atomic): ... this.
643
1b309ca5
ML
6442019-07-03 Martin Liska <mliska@suse.cz>
645
646 * libgcov-merge.c (merge_single_value_set): Support N values.
647 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
648
5a460280
ID
6492019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
650
651 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
652 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
653 * configure.ac: Add --disable-tm-clone-registry option.
654 * configure: Regenerate.
655
45309d28
ML
6562019-06-27 Martin Liska <mliska@suse.cz>
657
658 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
659 dead assignments.
660 * libgcov-util.c: Likewise.
661
c2f7a665
ML
6622019-06-27 Martin Liska <mliska@suse.cz>
663
664 * libgcov-util.c (gcov_profile_merge): Release allocated
665 memory.
666 (calculate_overlap): Likewise.
667
a8e55c61
IS
6682019-06-25 Iain Sandoe <iain@sandoe.co.uk>
669
670 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
671 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
672 Build objects for the out of line save/restore register functions
673 so that they can be used for any supported Darwin version.
674 * config/t-darwin: Default the build Darwin version to Darwin8
675 (MacOS 10.4).
676
e5ce4cbc
ML
6772019-06-25 Martin Liska <mliska@suse.cz>
678
679 * libgcov-driver-system.c (replace_filename_variables): Do not
680 call strlen with NULL argument.
681
52a47d28
AS
6822019-06-25 Andrew Stubbs <ams@codesourcery.com>
683
684 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
685 * config/gcn/unwind-gcn.c: New file.
686
76d46331
KCY
6872019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
688 Andrew Stubbs <ams@codesourcery.com>
689
690 * configure: Regenerate.
691 * config/gcn/gthr-gcn.h: New.
692
787783a0
TV
6932019-06-18 Tom de Vries <tdevries@suse.de>
694
695 * config/nvptx/crt0.c (__main): Declare.
696
f32f7585
MG
6972019-06-17 Matthew Green <mrg@eterna.com.au>
698 Maya Rashish <coypu@sdf.org>
699
700 * config.host (aarch64*-*-netbsd*): New case.
701
0fcc78f7
JL
7022019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
703
704 * config/msp430/slli.S (__mspabi_sllll): New library function for
705 performing a logical left shift of a 64-bit value.
706 * config/msp430/srai.S (__mspabi_srall): New library function for
707 performing a arithmetic right shift of a 64-bit value.
708 * config/msp430/srll.S (__mspabi_srlll): New library function for
709 performing a logical right shift of a 64-bit value.
710
b27c1082
MT
7112019-06-14 Matt Thomas <matt@3am-software.com>
712 Matthew Green <mrg@eterna.com.au>
713 Nick Hudson <skrll@netbsd.org>
714 Maya Rashish <coypu@sdf.org>
715
716 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
717 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
718 functions to build.
719 * config/arm/t-netbsd-eabi: New file.
720
ae7deb4b
DD
7212019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
722
723 * config.host: Add PRU target.
724 * config/pru/asri.c: New file.
725 * config/pru/eqd.c: New file.
726 * config/pru/eqf.c: New file.
727 * config/pru/ged.c: New file.
728 * config/pru/gef.c: New file.
729 * config/pru/gtd.c: New file.
730 * config/pru/gtf.c: New file.
731 * config/pru/led.c: New file.
732 * config/pru/lef.c: New file.
733 * config/pru/lib2bitcountHI.c: New file.
734 * config/pru/lib2divHI.c: New file.
735 * config/pru/lib2divQI.c: New file.
736 * config/pru/lib2divSI.c: New file.
737 * config/pru/libgcc-eabi.ver: New file.
738 * config/pru/ltd.c: New file.
739 * config/pru/ltf.c: New file.
740 * config/pru/mpyll.S: New file.
741 * config/pru/pru-abi.h: New file.
742 * config/pru/pru-asm.h: New file.
743 * config/pru/pru-divmod.h: New file.
744 * config/pru/sfp-machine.h: New file.
745 * config/pru/t-pru: New file.
746
0d7b3e47
JJ
7472019-06-11 Jakub Jelinek <jakub@redhat.com>
748
749 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
750
54e2d83c
ML
7512019-06-10 Martin Liska <mliska@suse.cz>
752
753 PR bootstrap/90808
754 * libgcov.h: Add ATTRIBUTE_UNUSED.
755
92d41717
ML
7562019-06-10 Martin Liska <mliska@suse.cz>
757
758 * Makefile.in: Add __gcov_one_value_profiler_v2,
759 __gcov_one_value_profiler_v2_atomic and
760 __gcov_indirect_call_profiler_v4.
761 * libgcov-merge.c (__gcov_merge_single): Change
762 function signature.
763 (merge_single_value_set): New.
764 * libgcov-profiler.c (__gcov_one_value_profiler_body):
765 Update functionality.
766 (__gcov_one_value_profiler): Remove.
767 (__gcov_one_value_profiler_v2): ... this.
768 (__gcov_one_value_profiler_atomic): Rename to ...
769 (__gcov_one_value_profiler_v2_atomic): this.
770 (__gcov_indirect_call_profiler_v3): Rename to ...
771 (__gcov_indirect_call_profiler_v4): ... this.
772 * libgcov.h (__gcov_one_value_profiler): Remove.
773 (__gcov_one_value_profiler_atomic): Remove.
774 (__gcov_one_value_profiler_v2_atomic): New.
775 (__gcov_indirect_call_profiler_v3): Remove.
776 (__gcov_one_value_profiler_v2): New.
777 (__gcov_indirect_call_profiler_v4): New.
778 (gcov_get_counter_ignore_scaling): New function.
779
e37333ba
ML
7802019-06-07 Martin Liska <mliska@suse.cz>
781
782 * Makefile.in: Remove usage of
783 _gcov_merge_icall_topn.
784 * libgcov-driver.c (gcov_sort_n_vals): Remove.
785 (gcov_sort_icall_topn_counter): Likewise.
786 (gcov_sort_topn_counter_arrays): Likewise.
787 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
788 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
789 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
790 Likewise.
791 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
792 (struct indirect_call_tuple): Remove.
793 (__gcov_indirect_call_topn_profiler): Remove.
794 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
795 * libgcov.h (gcov_sort_n_vals): Remove.
796 (L_gcov_merge_icall_topn): Likewise.
797 (__gcov_merge_icall_topn): Likewise.
798 (__gcov_indirect_call_topn_profiler): Likewise.
799
34a4a9c2
IS
8002019-06-06 Iain Sandoe <iain@sandoe.co.uk>
801
802 * config/rs6000/t-darwin: Ensure that the unwinder is built with
803 altivec enabled.
804
d1b2f85f
JL
8052019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
806
807 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
808 section.
809 (__mspabi_slli): Likewise.
810 (__mspabi_slll_n): Likewise.
811 (__mspabi_slll): Likewise.
812 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
813 (__mspabi_srai): Likewise.
814 (__mspabi_sral_n): Likewise.
815 (__mspabi_sral): Likewise.
816 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
817 (__mspabi_srli): Likewise.
818 (__mspabi_srll_n): Likewise.
819 (__mspabi_srll): Likewise.
820
e69a13d1
YS
8212019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
822
823 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
824 Add appropriate tm_file clause as well.
825 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
826
b009eac1
JC
8272019-06-05 James Clarke <jrtc27@jrtc27.com>
828
829 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
830 rather than .data/.bss so it can be accessed via gp-relative
831 addressing.
832
781d39f2
DE
8332019-06-05 David Edelsohn <dje.gcc@gmail.com>
834
835 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
836 (CR2_REGNO): Rename to R_CR2.
837 (XER_REGNO): Rename to R_XER.
838 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
839 (VRSAVE_REGNO): Rename to R_VRSAVE.
840 (VSCR_REGNO): R_VSCR.
841
76aaa9cd
YS
8422019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
843
844 * config.host (rx-*-linux*): Add new case.
845 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
846
8fc16d72
ST
8472019-05-29 Sam Tebbs <sam.tebbs@arm.com>
848
849 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
850 function.
851 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
852 aarch64_post_frob_eh_handler_addr): Add check for b-key.
853 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
854 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
855 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
856 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
857 string.
858 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
859 string.
860 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
861
e54b1a92
RO
8622019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
863
864 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
865 Remove Solaris 9 and 10 support.
866 (sparc_is_sighandler): Likewise.
867
abbb8307
JDA
8682019-05-26 John David Anglin <danglin@gcc.gnu.org>
869
870 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
871
2581344d
L
8722019-05-17 H.J. Lu <hongjiu.lu@intel.com>
873
874 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
875 4_FP_W_TYPEs are used for IEEE quad precision.
876 * soft-fp/extendhftf2.c: Likewise.
877 * soft-fp/extendsftf2.c: Likewise.
878 * soft-fp/extendxftf2.c: Likewise.
879 * soft-fp/trunctfdf2.c: Likewise.
880 * soft-fp/trunctfhf2.c: Likewise.
881 * soft-fp/trunctfsf2.c: Likewise.
882 * soft-fp/trunctfxf2.c: Likewise.
883 * config/rs6000/ibm-ldouble.c: Likewise.
884
ccd1242e
RO
8852019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
886
887 * config.host: Simplify various *-*-solaris2.1[0-9]* to
888 *-*-solaris2*.
889 * configure.ac: Likewise.
890 * configure: Regenerate.
891
892 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
893 Solaris 10 and Solaris 11 < snv_125 handling.
894
ef5eb79d
IS
8952019-05-12 Iain Sandoe <iain@sandoe.co.uk>
896
897 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
898
4f0e90fa
HL
8992019-05-07 Hongtao Liu <hongtao.liu@intel.com>
900
901 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
902 * config/i386/cpuinfo.h (enum processor_features): Add
903 FEATURE_AVX512BF16.
904
48528842
RR
9052019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
906 Bernd Edlinger <bernd.edlinger@hotmail.de>
907 Jakub Jelinek <jakub@redhat.com>
908
909 PR target/89093
910 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
911 * config/arm/unwind-arm.c: Likewise.
912 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
913 attribute for ARM.
914
887e182f
MC
9152019-04-15 Monk Chiang <sh.chiang04@gmail.com>
916
917 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
918 (RT_SIGRETURN): Update.
919 (nds32_fallback_frame_state): Update.
920
a90b0cdd
MS
9212019-02-21 Martin Sebor <msebor@redhat.com>
922
923 * libgcc2.h (__clear_cache): Correct signature.
924 * libgcc2.c (__clear_cache): Same.
925
1ed28eda
UB
9262019-02-20 Uroš Bizjak <ubizjak@gmail.com>
927
928 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
929 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
930
fe95aee9
UB
9312019-02-19 Uroš Bizjak <ubizjak@gmail.com>
932
933 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
934 regno instead of index to DWARF_ZERO_REG.
935
bf7988f1
EB
9362019-02-15 Eric Botcazou <ebotcazou@adacore.com>
937
938 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
939 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
940
ba2c1ca8
UB
9412019-01-31 Uroš Bizjak <ubizjak@gmail.com>
942
943 * config/alpha/t-linux: Add -mfp-rounding-mode=d
944 to HOST_LIBGCC2_CFLAGS.
945
6395ba73
L
9462019-01-23 Joseph Myers <joseph@codesourcery.com>
947
948 PR libgcc/88931
ba2c1ca8 949 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 950
756721ba
ML
9512019-01-18 Martin Liska <mliska@suse.cz>
952
953 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
954 to ...
955 (__gcov_indirect_call_profiler_v3): ... this.
956 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
957 (__gcov_indirect_call_profiler_v3): Likewise.
958 * Makefile.in: Bump function name.
959
d273c40a
ML
9602019-01-18 Martin Liska <mliska@suse.cz>
961
962 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
963 (gcov_version): Use in gcov_error.
964 (merge_one_data): Likewise.
965 (dump_one_gcov): Likewise.
966
be9d9fdb
ML
9672019-01-18 Martin Liska <mliska@suse.cz>
968
969 * libgcov-driver.c (gcov_version_string): New function.
970 (gcov_version): Convert version integer into string.
971
91d7b7fe
AS
9722019-01-17 Andrew Stubbs <ams@codesourcery.com>
973 Kwok Cheung Yeung <kcy@codesourcery.com>
974 Julian Brown <julian@codesourcery.com>
975 Tom de Vries <tom@codesourcery.com>
976
977 * config.host: Recognize amdgcn*-*-amdhsa.
978 * config/gcn/crt0.c: New file.
979 * config/gcn/lib2-divmod-hi.c: New file.
980 * config/gcn/lib2-divmod.c: New file.
981 * config/gcn/lib2-gcn.h: New file.
982 * config/gcn/sfp-machine.h: New file.
983 * config/gcn/t-amdgcn: New file.
984
67914693
SL
9852019-01-09 Sandra Loosemore <sandra@codesourcery.com>
986
987 PR other/16615
988
989 * config/c6x/libunwind.S: Mechanically replace "can not" with
990 "cannot".
991 * config/tilepro/atomic.h: Likewise.
992 * config/vxlib-tls.c: Likewise.
993 * generic-morestack-thread.c: Likewise.
994 * generic-morestack.c: Likewise.
995 * mkmap-symver.awk: Likewise.
996
a5544970
JJ
9972019-01-01 Jakub Jelinek <jakub@redhat.com>
998
999 Update copyright years.
1000
da77eace
L
10012018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1002
1003 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1004 to ignore -Waddress-of-packed-member.
1005
72e3a529
TP
10062018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1007
1008 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1009 parameter and corresponding code.
1010 (ARM_FUNC_START): Likewise in both definitions.
1011 Also update footer comment about condition that need to match with
1012 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1013 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1014 defined. Weakly define it in this case.
1015 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1016 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1017 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1018 comment to keep condition in sync with the one in
1019 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1020
5d54c798
WX
10212018-12-18 Wei Xiao <wei3.xiao@intel.com>
1022
1023 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1024 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1025
5a2580b6
RV
10262018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1027
1028 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1029 and .cfi_endproc directives for VxWorks targets.
1030
c0c5112b
PK
10312018-12-05 Paul Koning <ni1d@arrl.net>
1032
1033 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1034
1ea7ea18
AM
10352018-11-27 Alan Modra <amodra@gmail.com>
1036
1037 * config/rs6000/morestack.S (__stack_split_initialize),
1038 (__morestack_get_guard, __morestack_set_guard),
1039 (__morestack_make_guard): Provide CFI covering these functions.
1040 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1041
ff641ae1
XQ
10422018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1043
1ea7ea18 1044 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1045 (sc_pt_regs_lr): Update for kernel.
1046 (sc_pt_regs_tls): Update for kernel.
1047
28209372
XQ
10482018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1049
1050 * config/csky/linux-unwind.h: Fix coding style.
1051
b2a71af6
XQ
10522018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1053
1054 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1055 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1056 instructions to adapt to changes in the kernel
1057
d929e137
SH
10582018-11-09 Stafford Horne <shorne@gmail.com>
1059 Richard Henderson <rth@twiddle.net>
1060
1061 * config.host: Add OpenRISC support.
1062 * config/or1k/*: New.
1063
222cfefa
KC
10642018-11-08 Kito Cheng <kito@andestech.com>
1065
1066 * soft-fp/adddf3.c: Update from glibc.
1067 * soft-fp/addsf3.c: Likewise.
1068 * soft-fp/addtf3.c: Likewise.
1069 * soft-fp/divdf3.c: Likewise.
1070 * soft-fp/divsf3.c: Likewise.
1071 * soft-fp/divtf3.c: Likewise.
1072 * soft-fp/double.h: Likewise.
1073 * soft-fp/eqdf2.c: Likewise.
1074 * soft-fp/eqsf2.c: Likewise.
1075 * soft-fp/eqtf2.c: Likewise.
1076 * soft-fp/extenddftf2.c: Likewise.
1077 * soft-fp/extended.h: Likewise.
1078 * soft-fp/extendhftf2.c: Likewise.
1079 * soft-fp/extendsfdf2.c: Likewise.
1080 * soft-fp/extendsftf2.c: Likewise.
1081 * soft-fp/extendxftf2.c: Likewise.
1082 * soft-fp/fixdfdi.c: Likewise.
1083 * soft-fp/fixdfsi.c: Likewise.
1084 * soft-fp/fixdfti.c: Likewise.
1085 * soft-fp/fixhfti.c: Likewise.
1086 * soft-fp/fixsfdi.c: Likewise.
1087 * soft-fp/fixsfsi.c: Likewise.
1088 * soft-fp/fixsfti.c: Likewise.
1089 * soft-fp/fixtfdi.c: Likewise.
1090 * soft-fp/fixtfsi.c: Likewise.
1091 * soft-fp/fixtfti.c: Likewise.
1092 * soft-fp/fixunsdfdi.c: Likewise.
1093 * soft-fp/fixunsdfsi.c: Likewise.
1094 * soft-fp/fixunsdfti.c: Likewise.
1095 * soft-fp/fixunshfti.c: Likewise.
1096 * soft-fp/fixunssfdi.c: Likewise.
1097 * soft-fp/fixunssfsi.c: Likewise.
1098 * soft-fp/fixunssfti.c: Likewise.
1099 * soft-fp/fixunstfdi.c: Likewise.
1100 * soft-fp/fixunstfsi.c: Likewise.
1101 * soft-fp/fixunstfti.c: Likewise.
1102 * soft-fp/floatdidf.c: Likewise.
1103 * soft-fp/floatdisf.c: Likewise.
1104 * soft-fp/floatditf.c: Likewise.
1105 * soft-fp/floatsidf.c: Likewise.
1106 * soft-fp/floatsisf.c: Likewise.
1107 * soft-fp/floatsitf.c: Likewise.
1108 * soft-fp/floattidf.c: Likewise.
1109 * soft-fp/floattihf.c: Likewise.
1110 * soft-fp/floattisf.c: Likewise.
1111 * soft-fp/floattitf.c: Likewise.
1112 * soft-fp/floatundidf.c: Likewise.
1113 * soft-fp/floatundisf.c: Likewise.
1114 * soft-fp/floatunditf.c: Likewise.
1115 * soft-fp/floatunsidf.c: Likewise.
1116 * soft-fp/floatunsisf.c: Likewise.
1117 * soft-fp/floatunsitf.c: Likewise.
1118 * soft-fp/floatuntidf.c: Likewise.
1119 * soft-fp/floatuntihf.c: Likewise.
1120 * soft-fp/floatuntisf.c: Likewise.
1121 * soft-fp/floatuntitf.c: Likewise.
1122 * soft-fp/gedf2.c: Likewise.
1123 * soft-fp/gesf2.c: Likewise.
1124 * soft-fp/getf2.c: Likewise.
1125 * soft-fp/half.h: Likewise.
1126 * soft-fp/ledf2.c: Likewise.
1127 * soft-fp/lesf2.c: Likewise.
1128 * soft-fp/letf2.c: Likewise.
1129 * soft-fp/muldf3.c: Likewise.
1130 * soft-fp/mulsf3.c: Likewise.
1131 * soft-fp/multf3.c: Likewise.
1132 * soft-fp/negdf2.c: Likewise.
1133 * soft-fp/negsf2.c: Likewise.
1134 * soft-fp/negtf2.c: Likewise.
1135 * soft-fp/op-1.h: Likewise.
1136 * soft-fp/op-2.h: Likewise.
1137 * soft-fp/op-4.h: Likewise.
1138 * soft-fp/op-8.h: Likewise.
1139 * soft-fp/op-common.h: Likewise.
1140 * soft-fp/quad.h: Likewise.
1141 * soft-fp/single.h: Likewise.
1142 * soft-fp/soft-fp.h: Likewise.
1143 * soft-fp/subdf3.c: Likewise.
1144 * soft-fp/subsf3.c: Likewise.
1145 * soft-fp/subtf3.c: Likewise.
1146 * soft-fp/truncdfsf2.c: Likewise.
1147 * soft-fp/trunctfdf2.c: Likewise.
1148 * soft-fp/trunctfhf2.c: Likewise.
1149 * soft-fp/trunctfsf2.c: Likewise.
1150 * soft-fp/trunctfxf2.c: Likewise.
1151 * soft-fp/unorddf2.c: Likewise.
1152 * soft-fp/unordsf2.c: Likewise.
1153 * soft-fp/unordtf2.c: Likewise.
1154
2901f42f
VK
11552018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1156
1157 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1158 * config/i386/cpuinfo.h (processor_types): Add znver2.
1159
4310ca66
PK
11602018-11-01 Paul Koning <ni1d@arrl.net>
1161
1162 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1163 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1164
22e05272
JM
11652018-10-31 Joseph Myers <joseph@codesourcery.com>
1166
1167 PR bootstrap/82856
1168 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1169 * configure: Regenerate.
1170
8180cde0
CZ
11712018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1172
1173 * config/arc/lib1funcs.S (_muldi3): New function.
1174 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1175
be7b071e
RV
11762018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1177
1178 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1179
3239d726
ML
11802018-10-25 Martin Liska <mliska@suse.cz>
1181
1182 PR other/87735
1183 * libgcov-profiler.c: Revert.
1184
19b55958
ML
11852018-10-24 Martin Liska <mliska@suse.cz>
1186
1187 * libgcov-profiler.c: Start from 1 in order to distinguish
1188 functions which were seen and these that were not.
1189
a9a2fddb
PK
11902018-10-18 Paul Koning <ni1d@arrl.net>
1191
1192 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1193 standard.
1194 * divmod.c: Update references to __udivmodsi4.
1195 * udivmod.c: Ditto.
1196 * udivhi3.c: New file.
1197 * udivmodhi4.c: New file.
1198 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1199
fc8abc46
RV
12002018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1201
1202 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1203
87f918e3
OH
12042018-10-12 Olivier Hainque <hainque@adacore.com>
1205
1206 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1207 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1208
be86efa7
PK
12092018-10-08 Paul Koning <ni1d@arrl.net>
1210
1211 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1212
3edbcdbe
ML
12132018-10-04 Martin Liska <mliska@suse.cz>
1214
1215 PR gcov-profile/84107
1216 * libgcov-profiler.c (__gcov_indirect_call):
1217 Change type to indirect_call_tuple.
1218 (struct indirect_call_tuple): New struct.
1219 (__gcov_indirect_call_topn_profiler): Change type.
1220 (__gcov_indirect_call_profiler_v2): Use the new
1221 variables.
1222 * libgcov.h (struct indirect_call_tuple): New struct
1223 definition.
1224
af8096fc
UB
12252018-10-03 Uros Bizjak <ubizjak@gmail.com>
1226
1227 * libgcc2.c (isnan): Use __builtin_isnan.
1228 (isfinite): Use __builtin_isfinite.
1229 (isinf): Use __builtin_isinf.
1230
0a76bba4
UB
12312018-09-26 Uros Bizjak <ubizjak@gmail.com>
1232
1233 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1234
5244089f
OH
12352018-09-21 Alexandre Oliva <oliva@adacore.com>
1236
1237 * config/vxcache.c: New file. Provide __clear_cache, based on
1238 the cacheTextUpdate VxWorks service.
1239 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1240 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1241 * config/t-vxwoks7: Likewise.
1242
512cc015
ML
12432018-09-21 Martin Liska <mliska@suse.cz>
1244
1245 * libgcov-driver.c (crc32_unsigned): Remove.
1246 (gcov_histogram_insert): Likewise.
1247 (gcov_compute_histogram): Likewise.
1248 (compute_summary): Simplify rapidly.
1249 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1250 (merge_summary): Rapidly simplify.
1251 (dump_one_gcov): Ignore gcov_summary.
1252 (gcov_do_dump): Do not handle program summary, it's not
1253 used.
1254 * libgcov-util.c (tag_summary): Remove.
1255 (read_gcda_finalize): Fix coding style.
1256 (read_gcda_file): Initialize curr_object_summary.
1257 (compute_summary): Remove.
1258 (calculate_overlap): Remove settings of run_max.
1259
36ff254b
MC
12602018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1261
1262 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1263 ucontext_t type instead.
1264 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1265
229a033d
KC
12662018-09-21 Kito Cheng <kito.cheng@gmail.com>
1267
1268 * config/nds32/t-nds32-glibc: New file.
1269
53c6feb2
RO
12702018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1271
1272 * configure.ac (solaris_ld_v2_maps): New test.
1273 * configure: Regenerate.
1274 * Makefile.in (solaris_ld_v2_maps): New variable.
1275 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1276 if supported.
1277
ebdb6f23
RE
12782018-08-23 Richard Earnshaw <rearnsha@arm.com>
1279
1280 PR target/86951
1281 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1282 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1283 to build.
1284
a49c064e
IS
12852018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1286
1ea7ea18 1287 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1288 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1289 * config/darwin10-unwind-find-enc-func.c: … to here.
1290 * config/t-darwin: Build Darwin10 unwinder shim crt.
1291 * libgcc/config.host: Add the Darwin10 unwinder shim.
1292
9a5b8df7
RV
12932018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1294
1295 * config.host: Add crtbegin.o and crtend.o for
1296 powerpc-wrs-vxworks target.
1297
4cd0bc3b
J
12982018-08-17 Jojo <jijie_rong@c-sky.com>
1299 Huibin Wang <huibin_wang@c-sky.com>
1300 Sandra Loosemore <sandra@codesourcery.com>
1301 Chung-Lin Tang <cltang@codesourcery.com>
1302
1303 C-SKY port: libgcc
1304
1305 * config.host: Add C-SKY support.
1306 * config/csky/*: New.
1307
a4931745
CJW
13082018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1309
1310 * config/nds32/t-nds32-isr: Rearrange object dependency.
1311 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1312 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1313 and registers usage.
1314 * config/nds32/isr-library/excp_isr.S: Ditto.
1315 * config/nds32/isr-library/intr_isr.S: Ditto.
1316 * config/nds32/isr-library/reset.S: Ditto.
1317 * config/nds32/isr-library/restore_all.inc: Ditto.
1318 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1319 * config/nds32/isr-library/restore_partial.inc: Ditto.
1320 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1321 * config/nds32/isr-library/save_all.inc: Ditto.
1322 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1323 * config/nds32/isr-library/save_partial.inc: Ditto.
1324 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1325 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1326
2b1969f6
JDA
13272018-08-11 John David Anglin <danglin@gcc.gnu.org>
1328
1329 * config/pa/linux-atomic.c: Update comment.
1330 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1331 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1332 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1333 __ATOMIC_RELAXED for atomic loads.
1334 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1335 unordered store to release lock.
1336 (__sync_lock_release_8): Likewise.
1337 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1338
89fff9cc
NP
13392018-08-02 Nicolas Pitre <nico@fluxnic.net>
1340
1341 PR libgcc/86512
1342 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1343 exponent goes negative. Update my email address.
1344 * config/arm/ieee754-sf.S: Likewise.
1345
fd2e1dcd
ML
13462018-08-01 Martin Liska <mliska@suse.cz>
1347
1348 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1349 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1350
b7415975
CL
13512018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1352
1353 * config/arm/ieee754-df.S: Fix comment for code working on
1354 architectures >= 4.
1355 * config/arm/ieee754-sf.S: Likewise.
1356
b72e71a3
L
13572018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 PR libgcc/85334
1360 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1361 Removed.
1362
1c686aa4
JC
13632018-07-05 James Clarke <jrtc27@jrtc27.com>
1364
1365 * configure: Regenerated.
1366
b61c9b99
RO
13672018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1368
1369 * Makefile.in (install_leaf): Use enable_gcov instead of
1370 enable_libgcov.
1371
1765b023
RV
13722018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1373
1374 * configure.ac: Add --disable-gcov option.
1375 * configure: Regenerate.
1376 * Makefile.in: Honour @enable_gcov@.
1377
9b2e34ef
CL
13782018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1379
1380 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1381 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1382 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1383 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1384 __ARM_ARCH__.
1385 * config/arm/ieee754-sf.S: Likewise.
1386 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1387
d1b0dd54
CL
13882018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1389
1390 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1391 longer supported.
1392 * config/arm/ieee754-sf.S: Likewise.
1393
1f3fa525
TM
13942018-06-20 Than McIntosh <thanm@google.com>
1395
1396 PR libgcc/86213
1397 * generic-morestack.c (allocate_segment): Move calls to getenv and
1398 getpagesize to __morestack_load_mmap.
1399 (__morestack_load_mmap) Initialize static_pagesize and
1400 use_guard_page here so as to avoid clobbering SSE regs during a
1401 __morestack call.
1402
6a8886e4
MM
14032018-06-18 Michael Meissner <meissner@linux.ibm.com>
1404
1405 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1406 support modules with -mno-gnu-attribute.
1407 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1408
fb997097
OH
14092018-06-07 Olivier Hainque <hainque@adacore.com>
1410
1411 * config/t-vxworks (LIBGCC_INCLUDES): Add
1412 -I$(MULTIBUILDTOP)../../gcc/include.
1413 * config/t-vxworks7: Likewise. Reformat a bit to match
1414 the t-vxworks layout.
1415
a548a5a1
OM
14162018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1417
1418 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1419
244aebfd
ML
14202018-06-07 Martin Liska <mliska@suse.cz>
1421
1422 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1423 all_prg.
244aebfd 1424
6c086e8c
ML
14252018-06-07 Martin Liska <mliska@suse.cz>
1426
92a285c1 1427 PR bootstrap/86057
6c086e8c 1428 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1429 memcpy instead of mempcpy.
6c086e8c 1430 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1431 prefix and set it.
6c086e8c 1432 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1433 here and properly copy content into it.
6c086e8c 1434 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1435 field, change prefix from size_t into char *.
6c086e8c
ML
1436 (compute_summary): Do not calculate longest filename.
1437 (gcov_do_dump): Release memory of gf.filename after each file.
1438 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1439 compute_summary.
6c086e8c
ML
1440 (calculate_overlap): Likewise.
1441
97a53d1d
ML
14422018-06-05 Martin Liska <mliska@suse.cz>
1443
1444 PR gcov-profile/47618
1445 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1446 function.
97a53d1d
ML
1447 (gcov_exit_open_gcda_file): Use it.
1448
7f3577f5
ML
14492018-06-05 Martin Liska <mliska@suse.cz>
1450
1451 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1452 of gcov_ctr_summary.
1453 (compute_summary): Do it just for a single summary.
1454 (merge_one_data): Likewise.
1455 (merge_summary): Simplify as we read just single summary.
1456 (dump_one_gcov): Pass proper argument.
1457 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1458 single summary.
1459 (gcov_info_count_all_cold): Likewise.
1460 (calculate_overlap): Likewise.
1461
cf3cd43d
CJW
14622018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1463 Monk Chiang <sh.chiang04@gmail.com>
1464
1465 * config.host (nds32*-linux*): New.
1466 * config/nds32/linux-atomic.c: New file.
1467 * config/nds32/linux-unwind.h: New file.
1468
8b8003ed
UB
14692018-05-31 Uros Bizjak <ubizjak@gmail.com>
1470
1471 PR target/85591
1472 * config/i386/cpuinfo.c (get_amd_cpu): Return
1473 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1474
bbdf026f
RV
14752018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1476
92a285c1 1477 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1478
0e8f29da
ML
14792018-05-29 Martin Liska <mliska@suse.cz>
1480
92a285c1 1481 PR gcov-profile/85759
0e8f29da 1482 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1483 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1484 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1485 overwrite a gcov file with a different timestamp.
0e8f29da 1486
54fd1590
K
14872018-05-23 Kalamatee <kalamatee@gmail.com>
1488
1489 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1490 path to Lf$finfty.
1491
09baee1a
KC
14922018-05-18 Kito Cheng <kito.cheng@gmail.com>
1493 Monk Chiang <sh.chiang04@gmail.com>
1494 Jim Wilson <jimw@sifive.com>
1495
1496 * config/riscv/save-restore.S: Add support for rv32e.
1497
c3f808d3
KT
14982018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1499
1500 * config/arm/libunwind.S: Update comment relating to armv5.
1501
fcf4f831
JL
15022018-05-17 Jerome Lambourg <lambourg@adacore.com>
1503
1504 * config/arm/cmse.c (cmse_check_address_range): Replace
1505 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1506
74b2bb19
OM
15072018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1508
1509 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1510 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1511
50e461df
OM
15122018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1513
1514 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1515 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1516
e5f1cdb1
AC
15172018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1518
1519 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1520
8f479d7a
AT
15212018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1522 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1523
1524 PR libgcc/84292
1525 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1526 op_and_fetch to return the right result.
1527
ae043291
AM
15282018-04-27 Alan Modra <amodra@gmail.com>
1529
1530 PR libgcc/85532
1531 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1532 -fno-asynchronous-unwind-tables.
1533
ba169b74
CJW
15342018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1535
1536 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1537 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1538
ffc2fc06
L
15392018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1542 when including "config/i386/shadow-stack-unwind.h".
1543
7b47ecf2
L
15442018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 * configure: Regenerated.
1547
661eb8f9
MM
15482018-04-20 Michael Meissner <meissner@linux.ibm.com>
1549
1550 PR target/85456
1551 * config/rs6000/_powikf2.c: New file. Add support for the
1552 __builtin_powil function when long double is IEEE 128-bit floating
1553 point.
1554 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1555 __powikf2 support.
1556 (__powikf2): Likewise.
1557 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1558 (__powikf2_hw): Likewise.
1559 (__powikf2): Likewise.
1560 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1561 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1562 (_powikf2-hw.c): Likewise.
1563
5707be3c
L
15642018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 PR libgcc/85334
1567 * unwind-generic.h (_Unwind_Frames_Increment): New.
1568 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1569 Likewise.
1570 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1571 count with _Unwind_Frames_Increment.
1572 (_Unwind_ForcedUnwind_Phase2): Likewise.
1573
5f9ca0b8
L
15742018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 PR libgcc/85379
1577 * config/i386/morestack.S (__stack_split_initialize): Add
1578 _CET_ENDBR.
1579
a0e1df88
JJ
15802018-04-19 Jakub Jelinek <jakub@redhat.com>
1581
1582 * configure: Regenerated.
1583
001ddaa8
DM
15842018-04-18 David Malcolm <dmalcolm@redhat.com>
1585
1586 PR jit/85384
1587 * configure: Regenerate.
1588
a57f99ba
JJ
15892018-04-16 Jakub Jelinek <jakub@redhat.com>
1590
1591 PR target/84945
1592 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1593 -Wdangling-else warnings. Mask shift counts to avoid
1594 -Wshift-count-negative and -Wshift-count-overflow false positives.
1595
4d47fe5a
RB
15962018-04-06 Ruslan Bukin <br@bsdpad.com>
1597
1598 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1599
059cc8ac
L
16002018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1601
1602 PR target/85100
1603 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1604 (XSTATE_FP): Likewise.
1605 (XSTATE_SSE): Likewise.
1606 (XSTATE_YMM): Likewise.
1607 (XSTATE_OPMASK): Likewise.
1608 (XSTATE_ZMM): Likewise.
1609 (XSTATE_HI_ZMM): Likewise.
1610 (XCR_AVX_ENABLED_MASK): Likewise.
1611 (XCR_AVX512F_ENABLED_MASK): Likewise.
1612 (get_available_features): Enable AVX and AVX512 features only
1613 if their states are supported by OSXSAVE.
1614
f2620385
IT
16152018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1616
1617 PR target/85025
1618 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1619 Fix a typo, tmp => 255.
1620
ae6dca8c
JJ
16212018-03-20 Jakub Jelinek <jakub@redhat.com>
1622
1623 PR target/84945
1624 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1625 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1626 ifndef SHARED only.
1627 (set_feature): Define.
1628 (get_available_features): Use set_feature macro. Set __cpu_features2
1629 to the second word of features ifndef SHARED.
1630
c36b04c1
JK
16312018-03-15 Julia Koval <julia.koval@intel.com>
1632
1633 * config/i386/cpuinfo.c (get_available_features): Add
1634 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1635 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1636 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1637 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1638 FEATURE_AVX512BITALG.
1639
79ab5364
JK
16402018-03-14 Julia Koval <julia.koval@intel.com>
1641
1642 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1643 icelake client and icelake server.
1644
66a00b11
JDA
16452018-03-06 John David Anglin <danglin@gcc.gnu.org>
1646
1647 * config/pa/fptr.c (_dl_read_access_allowed): New.
1648 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1649
ce579a4f
JJ
16502018-02-28 Jakub Jelinek <jakub@redhat.com>
1651
1652 PR debug/83917
1653 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1654 $asm_hidden_op if visibility ("hidden") attribute works.
1655 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1656 * config/i386/i386-asm.h: Don't include auto-host.h.
1657 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1658 PACKAGE_URL): Don't undefine.
1659 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1660 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1661 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1662 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1663 definition instead of hardcoded .hidden.
1664 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1665 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1666 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1667 (USE_GAS_CFI_DIRECTIVES): Don't define.
1668 * configure: Regenerated.
1669 * config.in: Likewise.
1670
e5868319
JJ
16712018-02-26 Jakub Jelinek <jakub@redhat.com>
1672
1673 PR debug/83917
1674 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1675 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1676 inclusion of auto-target.h and auto-host.h.
1677 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1678 __GCC_HAVE_DWARF2_CFI_ASM.
1679 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1680 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1681 cfi_pop): Define.
1682 * config/i386/cygwin.S: Don't include auto-host.h here, just
1683 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1684 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1685 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1686 * config/i386/resms64fx.h: Add cfi_* directives.
1687 * config/i386/resms64x.h: Likewise.
1688
faef260e
MF
16892018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1690
1691 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1692 .literal_position directive.
1693 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1694
14e335ed
IT
16952018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1696
1697 PR target/84148
1698 * configure: Regenerate.
1699
95df0433
IT
17002018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1701
1702 PR target/84239
1703 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1704 Include cetintrin.h not x86intrin.h.
1705
f8de876d
IT
17062018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1707
1708 PR target/84239
95df0433 1709 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1710 Use new _get_ssp and _inc_ssp intrinsics.
1711
02da1e9c
JK
17122018-02-02 Julia Koval <julia.koval@intel.com>
1713
1714 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1715
048c6a9a
CZ
17162018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1717
1718 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1719 option.
1720 (__divsi3): Use RF16 safe registers.
1721 (__modsi3): Likewise.
1722
0889f168
MF
17232018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1724
1725 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1726 (__divsf3): Make NaN return value quiet.
1727 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1728 (__divdf3): Make NaN return value quiet.
1729
bc8b0d04
SP
17302018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1731
1732 * config/rl78/anddi3.S: New assembly file.
1733 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1734
99cc06ea
SP
17352018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1736
1737 * config/rl78/umindi3.S: New assembly file.
1738 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1739
6e9007a0
SP
17402018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1741
1742 * config/rl78/smindi3.S: New assembly file.
1743 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1744
d975e494 17452018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1746
d975e494
SP
1747 * config/rl78/smaxdi3.S: New assembly file.
1748 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1749
6a18c146 17502018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1751
5dd16013
SP
1752 * config/rl78/umaxdi3.S: New assembly file.
1753 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1754
07baf4a5
JDA
17552018-01-21 John David Anglin <danglin@gcc.gnu.org>
1756
1757 PR lto/83452
1758 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1759 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1760
dbc3af4f
RS
17612018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1762
1763 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1764 (DWARF_LAZY_REGISTER_VALUE): Define.
1765 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1766 to provide a fallback register value.
1767
68df9882
MM
17682018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1769
1770 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1771 __ibm128, instead of trying to use long double.
1772 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1773 accomidate -mabi=ieeelongdouble multilibs.
1774 (CVT_IBM128_TO_FLOAT128): Likewise.
1775 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1776 the appropriate IBM extended double type.
1777 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1778 (__gcc_qsub): Likewise.
1779 (__gcc_qmul): Likewise.
1780 (__gcc_qdiv): Likewise.
1781 (pack_ldouble): Likewise.
1782 (__gcc_qneg): Likewise.
1783 (__gcc_qeq): Likewise.
1784 (__gcc_qne): Likewise.
1785 (__gcc_qge): Likewise.
1786 (__gcc_qle): Likewise.
1787 (__gcc_stoq): Likewise.
1788 (__gcc_dtoq): Likewise.
1789 (__gcc_itoq): Likewise.
1790 (__gcc_utoq): Likewise.
1791 (__gcc_qunord): Likewise.
1792 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1793 quad-float128.h for the definitions.
1794 (COPYSIGN): Use the f128 version instead of the q version.
1795 (INFINITY): Likewise.
1796 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1797 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1798 quad-float128.h for the definitions.
1799 (COPYSIGN): Use the f128 version instead of the q version.
1800 (INFINITY): Likewise.
1801 (FABS): Likewise.
1802 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1803 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1804 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1805
64b371b1
SH
18062018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1807
1808 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1809 configuration.
1810
85ec4feb
JJ
18112018-01-03 Jakub Jelinek <jakub@redhat.com>
1812
1813 Update copyright years.
1814
18152017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1816
1817 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1818 * config/riscv/multi3.c: New file.
1819 * config/riscv/multi3.S: Remove.
1820
3a4c600f
JW
18212017-12-08 Jim Wilson <jimw@sifive.com>
1822
1823 * config/riscv/div.S: Use FUNC_* macros.
1824 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1825 * config/riscv/save-restore.S: Likewise.
1826 * config/riscv/riscv-asm.h: New.
1827
75ad35b5
MM
18282017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1829
6ae3512c
MM
1830 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1831 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1832
75ad35b5
MM
1833 PR libgcc/83112
1834 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1835 correct type for all ifunc resolvers to silence -Wattribute-alias
1836 warnings. Eliminate the forward declaration of the resolver
1837 functions which is no longer needed.
1838 (__subkf3_resolve): Likewise.
1839 (__mulkf3_resolve): Likewise.
1840 (__divkf3_resolve): Likewise.
1841 (__negkf2_resolve): Likewise.
1842 (__eqkf2_resolve): Likewise.
1843 (__nekf2_resolve): Likewise.
1844 (__gekf2_resolve): Likewise.
1845 (__gtkf2_resolve): Likewise.
1846 (__lekf2_resolve): Likewise.
1847 (__ltkf2_resolve): Likewise.
1848 (__unordkf2_resolve): Likewise.
1849 (__extendsfkf2_resolve): Likewise.
1850 (__extenddfkf2_resolve): Likewise.
1851 (__trunckfsf2_resolve): Likewise.
1852 (__trunckfdf2_resolve): Likewise.
1853 (__fixkfsi_resolve): Likewise.
1854 (__fixkfdi_resolve): Likewise.
1855 (__fixunskfsi_resolve): Likewise.
1856 (__fixunskfdi_resolve): Likewise.
1857 (__floatsikf_resolve): Likewise.
1858 (__floatdikf_resolve): Likewise.
1859 (__floatunsikf_resolve): Likewise.
1860 (__floatundikf_resolve): Likewise.
1861 (__extendkftf2_resolve): Likewise.
1862 (__trunctfkf2_resolve): Likewise.
1863
1864 PR libgcc/83103
1865 * config/rs6000/quad-float128.h (TF): Don't define if long double
1866 is IEEE 128-bit floating point.
1867 (TCtype): Define as either TCmode or KCmode, depending on whether
1868 long double is IEEE 128-bit floating point.
1869 (__mulkc3_sw): Add declarations for software/hardware versions of
1870 complex multiply/divide.
1871 (__divkc3_sw): Likewise.
1872 (__mulkc3_hw): Likewise.
1873 (__divkc3_hw): Likewise.
1874 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1875 handlers to switch between using software emulation and hardware
1876 float128 instructions, build the complex multiply/divide functions
1877 for both software and hardware support.
1878 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1879 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1880 (__divkc3_resolve): Likewise.
1881 (__mulkc3): Likewise.
1882 (__divkc3): Likewise.
1883 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1884 (fp128_hw_src): Likewise.
1885 (fp128_hw_static_obj): Likewise.
1886 (fp128_hw_shared_obj): Likewise.
1887 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1888 _mulkc3.c and _divkc3.c, changing the function name.
1889 (_divkc3-hw.c): Likewise.
1890 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1891 and _divkc3-hw.c.
1892
c234d831
UB
18932017-11-26 Julia Koval <julia.koval@intel.com>
1894
1895 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1896 * config/i386/cpuinfo.h (processor_subtypes): Add
1897 INTEL_COREI7_CANNONLAKE.
1898
1ebafce0
IT
18992017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1900
1901 PR bootstrap/83015
1902 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1903 parameter.
1904 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1905 * config/ia64/unwind-ia64.c: Add frames parameter.
1906 * unwind-sjlj.c: Likewise.
1907
6a10fff4
IT
19082017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1909
1910 * config/i386/linux-unwind.h: Include
1911 config/i386/shadow-stack-unwind.h.
1912 * config/i386/shadow-stack-unwind.h: New file.
1913 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1914 pass it to _Unwind_Frames_Extra.
1915 * unwind-generic.h (_Unwind_Frames_Extra): New.
1916 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1917 parameter. Add local variable frames to count number of frames.
1918 (_Unwind_ForcedUnwind_Phase2): Likewise.
1919 (_Unwind_RaiseException): Add local variable frames to count
1920 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1921 uw_install_context.
1922 (_Unwind_ForcedUnwind): Likewise.
1923 (_Unwind_Resume): Likewise.
1924 (_Unwind_Resume_or_Rethrow): Likewise.
1925
1ecae1fc
IT
19262017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1927
1928 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1929 (CET_FLAGS): New.
1930 * config/i386/morestack.S: Include <cet.h>.
1931 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1932 * config/i386/resms64.h: Include <cet.h>.
1933 * config/i386/resms64f.h: Likewise.
1934 * config/i386/resms64fx.h: Likewise.
1935 * config/i386/resms64x.h: Likewise.
1936 * config/i386/savms64.h: Likewise.
1937 * config/i386/savms64f.h: Likewise.
1938 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1939 (CRTSTUFF_T_CFLAGS): Likewise.
1940 * configure.ac: Include ../config/cet.m4.
1941 Set and substitute CET_FLAGS.
1942 * configure: Regenerated.
1943
f021f1d3
RO
19442017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1945
1946 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1947 renaming.
1948 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1949 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1950 * configure: Regenerate.
1951
65f480c7
TV
19522017-11-07 Tom de Vries <tom@codesourcery.com>
1953
1954 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1955 after "do {} while (0)".
1956
2a321acb
TV
19572017-11-07 Tom de Vries <tom@codesourcery.com>
1958
1959 PR other/82784
1960 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1961 semicolon after "do {} while (0)".
1962 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1963 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1964 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1965 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1966
59fcf6c3
AT
19672017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1968
1969 PR libgcc/82635
1970 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1971 sysctl to determine whether we're in a trampoline.
1972 Keep the pattern matching method for systems without
1973 KERN_PROC_SIGTRAMP sysctl.
1974
b0c7ddf8
CM
19752017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1976 Vineet Gupta <vgupta@synopsys.com>
1977
1978 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1979 * config/arc/linux-unwind-reg.def: New file.
1980 * config/arc/linux-unwind-reg.h: Likewise.
1981
5feee954
SP
19822017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1983
1984 * config/rl78/subdi3.S: New assembly file.
1985 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1986
a0bf6cf7
SP
19872017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1988
1989 * config/rl78/adddi3.S: New assembly file.
1990 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1991
e7176f75
JJ
19922017-10-13 Jakub Jelinek <jakub@redhat.com>
1993
1994 PR target/82274
1995 * libgcc2.c (__mulvDI3): If both operands have
1996 the same highpart of -1 and the topmost bit of lowpart is 0,
1997 multiplication overflows even if both lowparts are 0.
1998
db6601d2
JB
19992017-09-28 James Bowman <james.bowman@ftdichip.com>
2000
2001 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2002
938b6f1e
JM
20032017-09-26 Joseph Myers <joseph@codesourcery.com>
2004
2005 * config/microblaze/crti.S, config/microblaze/crtn.S,
2006 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2007 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2008 config/microblaze/mulsi3.S,
2009 config/microblaze/stack_overflow_exit.S,
2010 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2011 config/pa/milli64.S: Add .note.GNU-stack section.
2012
89762a83
DS
20132017-09-23 Daniel Santos <daniel.santos@pobox.com>
2014
2015 * configure.ac: Add Check for HAVE_AS_AVX.
2016 * config.in: Regenerate.
2017 * configure: Likewise.
2018 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2019 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2020 Correct out-of-date comments.
2021
cace2309
SP
20222017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2023
2024 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2025 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2026
3cb626e4
DS
20272017-09-17 Daniel Santos <daniel.santos@pobox.com>
2028
cace2309 2029 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2030 (ASMNAME): Modify to use PASTE2.
2031 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2032 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2033 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2034 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2035 * config/i386/resms64f.S: Likewise.
2036 * config/i386/resms64fx.S: Likewise.
2037 * config/i386/resms64x.S: Likewise.
2038 * config/i386/savms64.S: Likewise.
2039 * config/i386/savms64f.S: Likewise.
2040 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2041 includes it's corresponding header file.
cace2309
SP
2042 * config/i386/avx_resms64f.S: Likewise.
2043 * config/i386/avx_resms64fx.S: Likewise.
2044 * config/i386/avx_resms64x.S: Likewise.
2045 * config/i386/avx_savms64.S: Likewise.
2046 * config/i386/avx_savms64f.S: Likewise.
2047 * config/i386/sse_resms64.S: Likewise.
2048 * config/i386/sse_resms64f.S: Likewise.
2049 * config/i386/sse_resms64fx.S: Likewise.
2050 * config/i386/sse_resms64x.S: Likewise.
2051 * config/i386/sse_savms64.S: Likewise.
2052 * config/i386/sse_savms64f.S: Likewise.
2053 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2054
2f19c491 20552017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2056 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2057
611e7036
OH
20582017-08-31 Olivier Hainque <hainque@adacore.com>
2059
2060 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2061 match as powerpc-wrs-vxworks*.
2062
c8f34527
JY
20632017-08-07 Jonathan Yong <10walls@gmail.com>
2064
2065 * config.host (*-cygwin): Include file from mingw
2066 config/i386/enable-execute-stack-mingw32.c
2067
0b458d2b 20682017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
2069 Doug Rupp <rupp@adacore.com>
2070 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
2071
2072 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2073 as well as arm-wrs-vxworks.
2074 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2075 LIB2ADDEH.
2076 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2077 __exidx_start and __exidx_end for downloadable modules.
2078
4df612fa
OH
20792017-08-01 Olivier Hainque <hainque@adacore.com>
2080
2081 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2082 * config/t-vxworks7: Likewise.
2083
5560e8c0
OH
20842017-08-01 Olivier Hainque <hainque@adacore.com>
2085
2086 * config/t-vxworks: Instead of redefining LIB2ADD,
2087 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2088
16bab95a
SH
20892017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2090
2091 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2092
9cbc07cc
DS
20932017-07-24 Daniel Santos <daniel.santos@pobox.com>
2094
2095 PR testsuite/80759
2096 * config.host: include i386/t-msabi for darwin and solaris.
2097 * config/i386/i386-asm.h
2098 (ELFFN): Rename to FN_TYPE.
2099 (FN_SIZE): New macro.
2100 (FN_HIDDEN): Likewise.
2101 (ASMNAME): Likewise.
2102 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2103 .globl.
2104 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2105 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2106 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2107 .macro.
2108 * config/i386/resms64f.S: Likewise.
2109 * config/i386/resms64fx.S: Likewise.
2110 * config/i386/resms64x.S: Likewise.
2111 * config/i386/savms64.S: Likewise.
2112 * config/i386/savms64f.S: Likewise.
2113
de742204
JM
21142017-07-19 John Marino <gnugcc@marino.st>
2115
2116 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2117
3787ee47
MM
21182017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2119
2120 PR target/81193
2121 * configure.ac (PowerPC float128 hardware support): Test whether
2122 we can use __builtin_cpu_supports before enabling the ifunc
2123 handler.
2124 * configure: Regenerate.
2125
b1938888
VG
21262017-07-10 Vineet Gupta <vgupta@synopsys.com>
2127
2128 * config.host: Remove uclibc from arc target spec.
2129
bec75e53
KW
21302017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2131
2132 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2133
d4391a62
PB
21342017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2135
2136 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2137 (have_ieee_hw_p): Delete function.
2138 (SW_OR_HW) Use __builtin_cpu_supports().
2139
9296dd9b
TP
21402017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2141
2142 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2143
b85a969e
OH
21442017-07-03 Olivier Hainque <hainque@adacore.com>
2145
d4391a62 2146 * config/t-vxworks7: New file, really.
b85a969e 2147
883312dc
JM
21482017-06-28 Joseph Myers <joseph@codesourcery.com>
2149
2150 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2151 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2152 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2153 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2154 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2155 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2156 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2157 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2158 config/sh/linux-unwind.h (sh_fallback_frame_state),
2159 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2160 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2161 ucontext_t instead of struct ucontext.
2162
50567938
JL
21632017-06-27 Jerome Lambourg <lambourg@adacore.com>
2164
2165 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2166 (x86_64-wrs-vxworks7): Likewise.
2167
e4b0df93
OH
21682017-06-27 Olivier Hainque <hainque@adacore.com>
2169
2170 * config/t-vxworks7: New file.
2171 * config.host (*-*-vxworks7): Use it.
2172
60edf8bb
MT
21732017-06-22 Matt Turner <mattst88@gmail.com>
2174
2175 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2176 skylake case.
2177
a51a76e5
RB
21782017-06-21 Richard Biener <rguenther@suse.de>
2179
2180 PR gcov-profile/81080
2181 * configure.ac: Add AC_SYS_LARGEFILE.
2182 * libgcov.h: Include auto-target.h before tsystem.h to pick
2183 up _FILE_OFFSET_BITS which might differ for multilibs.
2184 * config.in: Regenerate.
2185 * configure: Likewise.
2186
f0cd49c5
RE
21872017-06-16 Richard Earnshaw <rearnsha@arm.com>
2188
2189 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2190
4f751c54
ML
21912017-06-09 Martin Liska <mliska@suse.cz>
2192
2193 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2194 Reset __gcov_indirect_call_callee to NULL.
2195
1ac644c8
OH
21962017-06-08 Olivier Hainque <hainque@adacore.com>
2197
2198 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2199 the set of -I options, support for direct inclusions of net/uio.h
2200 by VxWorks header files via ioLib.h.
2201
d8b9cd27
TR
22022017-06-07 Tony Reix <tony.reix@atos.net>
2203 Matthieu Sarter <matthieu.sarter.external@atos.net>
2204 David Edelsohn <dje.gcc@gmail.com>
2205
92a285c1
ML
2206 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2207 unconditionally.
2208 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2209 AIX 7.2 support.
d8b9cd27 2210
38a75ccc
OH
22112017-06-02 Olivier Hainque <hainque@adacore.com>
2212
2213 * config/vxlib.c (__gthread_once): Add missing value to
2214 return statement.
2215
5b2edf53
OH
22162017-05-30 Olivier Hainque <hainque@adacore.com>
2217
2218 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2219 dollar sign before $(MULTIDIR).
2220
7d66e265
RH
22212017-05-26 Richard Henderson <rth@redhat.com>
2222
2223 PR libgcc/80037
2224 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2225
78eca309
AT
22262017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2227
2228 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2229 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2230 * config/arm/unwind-arm.c: Implement the above.
2231
c39d309a
AZ
22322017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2233
2234 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2235 section for a non-executable stack.
2236
eac8c9f2
KW
22372017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2238
2239 PR target/80600
2240 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2241
d6d4d770
DS
22422017-05-14 Daniel Santos <daniel.santos@pobox.com>
2243
2244 * config.host: Add i386/t-msabi to i386/t-linux file list.
2245 * config/i386/i386-asm.h: New file.
2246 * config/i386/resms64.S: New file.
2247 * config/i386/resms64f.S: New file.
2248 * config/i386/resms64fx.S: New file.
2249 * config/i386/resms64x.S: New file.
2250 * config/i386/savms64.S: New file.
2251 * config/i386/savms64f.S: New file.
2252 * config/i386/t-msabi: New file.
2253
8ef2b9a7
AT
22542017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2255
2256 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2257 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2258
7ab8766a
JC
22592017-05-05 Joshua Conner <joshconner@google.com>
2260
2261 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2262 pc-relative indirect handling for fuchsia.
2263 * config/t-slibgcc-fuchsia: New file.
2264 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2265 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2266
46928a8f
ML
22672017-04-19 Martin Liska <mliska@suse.cz>
2268
2269 PR gcov-profile/80435
2270 * Makefile.in: Install gcov.h.
2271 * gcov.h: New file.
2272 * libgcov.h: Use the header and make __gcov_flush publicly
2273 visible.
2274
63971184
ML
22752017-04-18 Martin Liska <mliska@suse.cz>
2276
2277 PR gcov-profile/78783
2278 * libgcov-driver.c (gcov_get_filename): New function.
2279
29d8aae6
JL
22802017-04-07 Jeff Law <law@redhat.com>
2281
2282 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2283 target makefile fragment.
2284 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2285
2bdf7fc6
AM
22862017-04-07 Alan Modra <amodra@gmail.com>
2287
2288 PR target/45053
2289 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2290
5764ee3c
JW
22912017-04-03 Jonathan Wakely <jwakely@redhat.com>
2292
2293 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2294
c4192ad7
CZ
22952017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2296
2297 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2298
4ccfdb28
JM
22992017-03-10 John Marino <gnugcc@marino.st>
2300
2301 * config/aarch64/freebsd-unwind.h: New file.
2302 * config.host: Add aarch64-*-freebsd unwinder.
2303
4144e4e3
SB
23042017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2305
2306 * config/rs6000/crtrestvr.s: Use .machine altivec.
2307 * config/rs6000/crtsavevr.s: Ditto.
2308
7502c597
SB
23092017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2310
2311 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2312 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2313 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2314 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2315 * configure: Regenerate.
2316 * config.in: Regenerate.
2317
db9f7f65
JY
23182017-03-02 Jonathan Yong <10walls@gmail.com>
2319
2320 * config/i386/gthr-win32.h: Define NOGDI before
2321 windows.h include to prevent w32api CC_NONE macro
2322 clash with libgfortran.
2323
126437c5
JY
23242017-03-02 Jonathan Yong <10walls@gmail.com>
2325
2326 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2327
31927af6
AP
23282017-02-16 Andrew Pinski <apinski@cavium.com>
2329
2330 * config/aarch64/value-unwind.h: New file.
2331 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2332 to tm_file.
2333
0bd99911
PD
23342017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2335
2336 * config.host: Add RISC-V tuples.
2337 * config/riscv/atomic.c: New file.
2338 * config/riscv/crti.S: Likewise.
2339 * config/riscv/crtn.S: Likewise.
2340 * config/riscv/div.S: Likewise.
2341 * config/riscv/linux-unwind.h: Likewise.
2342 * config/riscv/muldi3.S: Likewise.
2343 * config/riscv/multi3.S: Likewise.
2344 * config/riscv/save-restore.S: Likewise.
2345 * config/riscv/sfp-machine.h: Likewise.
2346 * config/riscv/t-elf: Likewise.
2347 * config/riscv/t-elf32: Likewise.
2348 * config/riscv/t-elf64: Likewise.
2349 * config/riscv/t-softfp32: Likewise.
2350 * config/riscv/t-softfp64: Likewise.
2351
a8c9ef2a
JJ
23522017-01-24 Jakub Jelinek <jakub@redhat.com>
2353
2354 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2355 /* FALLTHRU */ comments.
2356
c6c82710
GP
23572017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2358
2359 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2360
a876231c
JW
23612017-01-20 Jiong Wang <jiong.wang@arm.com>
2362
2363 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2364 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2365 DW_CFA_GNU_window_save for AArch64 and LP64.
2366
aa348be2
JW
23672017-01-20 Jiong Wang <jiong.wang@arm.com>
2368
2369 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2370
5636faf2
JW
23712017-01-19 Jiong Wang <jiong.wang@arm.com>
2372
2373 * config/aarch64/aarch64-unwind.h: New file.
2374 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2375 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2376 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2377 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2378 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2379 (aarch64_post_extract_frame_addr): New function.
2380 (aarch64_post_frob_eh_handler_addr): New function.
2381 (aarch64_frob_update_context): New function.
2382 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2383 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2384 aarch64*-*-freebsd*):
2385 Initialize md_unwind_header to include aarch64-unwind.h.
2386 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2387 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2388 __aarch64__.
2389 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2390 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2391 (uw_frob_return_addr): New function.
2392 (uw_install_context): Use uw_frob_return_addr.
2393
3c36aa6b
JJ
23942017-01-17 Jakub Jelinek <jakub@redhat.com>
2395
2396 PR other/79046
2397 * configure.ac: Add GCC_BASE_VER.
2398 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2399 version from BASE-VER file.
2400 * configure: Regenerated.
2401
829afb8f
JS
24022017-01-13 Joe Seymour <joe.s@somniumtech.com>
2403
2404 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2405 libmul_f5.a): Filter archived prerequisites.
2406
79fc8ffe
AS
24072017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2408
2409 * config/i386/cpuinfo.h (processor_features): Add
2410 FEATURE_AVX512VPOPCNTDQ.
2411 * config/i386/cpuinfo.c (get_available_features): Habdle new
2412 feature.
2413
fec5f4e0
JM
24142017-01-04 Joseph Myers <joseph@codesourcery.com>
2415
2416 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2417 payload if [__mips_nan2008].
2418
8f56cb51
AM
24192017-01-04 Alan Modra <amodra@gmail.com>
2420
2421 * Makefile.in (configure_deps): Update.
2422 * configure: Regenerate.
2423
cbe34bb5
JJ
24242017-01-01 Jakub Jelinek <jakub@redhat.com>
2425
2426 Update copyright years.
2427
ab955692
KW
24282016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2429
2430 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2431 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2432 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2433
de34320f
MK
24342016-12-17 Matthias Klose <doko@ubuntu.com>
2435
2436 * config/arc/gmon: Remove empty directory.
2437
e04ea1da
CZ
24382016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2439
2440 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2441 crtgend.
2442 (arc*-*-elf*): Likewise.
2443 * config/arc/t-arc: Remove old gmon lib targets.
2444 * config/arc/crtg.S: Remove.
2445 * config/arc/crtgend.S: Likewise.
2446 * config/arc/gmon/atomic.h: Likewise.
2447 * config/arc/gmon/auxreg.h: Likewise.
2448 * config/arc/gmon/dcache_linesz.S: Likewise.
2449 * config/arc/gmon/gmon.c: Likewise.
2450 * config/arc/gmon/machine-gmon.h: Likewise.
2451 * config/arc/gmon/mcount.c: Likewise.
2452 * config/arc/gmon/prof-freq-stub.S: Likewise.
2453 * config/arc/gmon/prof-freq.c: Likewise.
2454 * config/arc/gmon/profil.S: Likewise.
2455 * config/arc/gmon/sys/gmon.h: Likewise.
2456 * config/arc/gmon/sys/gmon_out.h: Likewise.
2457 * config/arc/t-arc-newlib: Likewise.
2458 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2459
8ae1c2c1
GS
24602016-12-12 George Spelvin <linux@sciencehorizons.net>
2461
2462 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2463
a5b947fa
GS
24642016-12-12 George Spelvin <linux@sciencehorizons.net>
2465
2466 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2467 R16 instead of push + pop.
2468 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2469
d6574dd1
KW
24702016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2471
2472 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2473 tmake_file.
2474
62440b4f
CM
24752016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2476
2477 * config.host (arc*-*-linux-uclibc*): Use default extra
2478 objects. Include linux-android header.
2479 * config/arc/crti.S (_init): Declare symbol as function.
2480 (_fini): Likewise.
2481
31cfd832
TK
24822016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2483
2484 PR fortran/78379
2485 * config/i386/cpuinfo.c: Move denums for processor vendors,
2486 processor type, processor subtypes and declaration of
2487 struct __processor_model into
2488 * config/i386/cpuinfo.h: New header file.
2489
c92e08e3
AV
24902016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2491 Thomas Preud'homme <thomas.preudhomme@arm.com>
2492
2493 * config/arm/cmse_nonsecure_call.S: New.
2494 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2495
de7b5723
AV
24962016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2497 Thomas Preud'homme <thomas.preudhomme@arm.com>
2498
2499 * config/arm/t-arm (HAVE_CMSE): New.
2500 * config/arm/cmse.c: New.
2501
7a0d2bce
TP
25022016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2503
b3a5bff4
TP
2504 PR gcc/74748
2505 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2506 use generic linker version information on Blackfin.
2507
7a0d2bce
TP
2508 PR gcc/74748
2509 * libgcc/mkmap-symver.awk: add support for skip_underscore
2510
b410cf1d
IS
25112016-11-27 Iain Sandoe <iain@codesourcery.com>
2512 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2513
2514 PR target/67710
2515 * config/t-darwin: Default builds to 10.5 codegen.
2516
2e5f8203
JG
25172016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2518
2519 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2520 (_FP_NANSIGN_H): Likewise.
2521 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2522 (softfp_truncations): Add tfhf.
2523 (softfp_extras): Add required conversion functions.
2524
bea64ca3
JG
25252016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2526 Matthew Wahab <matthew.wahab@arm.com>
2527
2528 * config/arm/fp16.c (binary64): New.
2529 (__gnu_d2h_internal): New.
2530 (__gnu_d2h_ieee): New.
2531 (__gnu_d2h_alternative): New.
2532
8630cadb
JG
25332016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2534 Matthew Wahab <matthew.wahab@arm.com>
2535
2536 * config/arm/fp16.c (struct format): New.
2537 (binary32): New.
2538 (__gnu_float2h_internal): New. Body moved from
2539 __gnu_f2h_internal and generalize.
2540 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2541 Call it with binary32.
2542
5823ef23
JG
25432016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2544
2545 * soft-fp/extendhftf2.c: Update from glibc.
2546 * soft-fp/fixhfti.c: Likewise.
2547 * soft-fp/fixunshfti.c: Likewise.
2548 * soft-fp/floattihf.c: Likewise.
2549 * soft-fp/floatuntihf.c: Likewise.
2550 * soft-fp/half.h: Likewise.
2551 * soft-fp/trunctfhf2.c: Likewise.
2552
62a7df9f
MG
25532016-11-20 Marc Glisse <marc.glisse@inria.fr>
2554
2555 PR libgcc/77813
2556 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2557 __TMC_END__ behind a passthrough asm.
2558
7a384912
WL
25592016-11-18 Walter Lee <walt@tilera.com>
2560
62a7df9f 2561 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2562
9775c1a5
L
25632016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2564
2565 * config/i386/cpuinfo.c (processor_features): Add
2566 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2567
48c842ab
CZ
25682016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2569
2570 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2571 (__ARC_NORM__): Use instead ARC_OPTFPE.
2572 * config/arc/fp-hack.h: Likewise.
2573 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2574 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2575
5012919d
AM
25762016-11-16 Alexander Monakov <amonakov@ispras.ru>
2577
2578 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2579 * config/nvptx/mgomp.c: New file.
2580 * config/nvptx/t-nvptx: Add mgomp.c
2581
00178b98
WB
25822016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2583
2584 PR libgcc/68468
2585 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2586
d64af69f
CZ
25872016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2588
2589 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2590 of checking for cpus.
2591 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2592 (__modsi3, __clzsi2): Likewise.
2593
9d8f95de
SN
25942016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2595
2596 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2597 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2598 * config/i386/t-cpuinfo-static: New.
2599
7d29f8e3
ML
26002016-11-03 Martin Liska <mliska@suse.cz>
2601
2602 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2603 (__gcov_time_profiler_atomic): Likewise.
2604
5de3e2d8
BE
26052016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2606
2607 PR libgcc/78067
2608 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2609 count_leading_zeros.
2610
18362447
UB
26112016-11-02 Uros Bizjak <ubizjak@gmail.com>
2612
2613 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2614 * libgcc2.c (__divmoddi4): New function.
2615 * libgcc2.h (__divmoddi4): Declare.
2616 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2617 and __PFX_divmodti4.
2618
33107571
FW
26192016-10-24 Florian Weimer <fweimer@redhat.com>
2620
2621 PR libgcc/78064
2622 * unwind-c.c: Include auto-target.h.
2623
4c6d7494
JDA
26242016-10-19 John David Anglin <danglin@gcc.gnu.org>
2625
18362447 2626 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2627 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2628 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2629 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2630 hppa*64*-*-hpux11*.
2631
2a26adf1
MF
26322016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2633
2634 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2635 definition.
2636 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2637 definition.
2638 * config/xtensa/t-windowed (LIB2ADDEH): Use
2639 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2640 or xtensa/t-linux.
2641
66192aa1
DKC
26422016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2643
2644 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2645 __ieee754_sqrt): New functions.
2646 (__divdf3): Add implementation with new FPU instructions under
2647 #if XCHAL_HAVE_DFP_DIV.
2648 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2649 __ieee754_sqrtf): New functions.
2650 (__divsf3): Add implementation with new FPU instructions under
2651 #if XCHAL_HAVE_FP_DIV.
2652 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2653 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2654
4d0cdd0c
TP
26552016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2656
2657 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2658 equivalent.
2659 * config/tilepro/atomic.c: Likewise and stop casting model to
2660 enum memmodel.
2661
73f01cca
JM
26622016-10-10 Joseph Myers <joseph@codesourcery.com>
2663
2664 PR target/77586
2665 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2666 soft-fp.
2667
b20e7532
AT
26682016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2669
2670 * config.host: Add support for aarch64-*-freebsd*.
2671
a786cec4
AS
26722016-10-05 Andreas Schwab <schwab@suse.de>
2673
2674 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2675 (.section .init_array): Don't call __do_jv_register_classes.
2676 (.section .init): Likewise.
2677
5a79befb
JJ
26782016-10-04 Jakub Jelinek <jakub@redhat.com>
2679
2680 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2681 (__JCR_LIST__): Remove.
2682 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2683 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2684 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2685 * config/ia64/crtend.S (__JCR_END__): Remove.
2686 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2687 conditionals.
2688 (__JCR_LIST__, __JCR_END__): Remove.
2689 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2690 (__do_global_ctors_1): Likewise.
2691
e0ab3753
UB
26922015-09-28 Uros Bizjak <ubizjak@gmail.com>
2693
2694 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2695 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2696
8c9434c2
ML
26972016-09-27 Martin Liska <mliska@suse.cz>
2698
2699 PR gcov-profile/7970
2700 PR gcov-profile/16855
2701 PR gcov-profile/44779
2702 * libgcov-driver.c (__gcov_init): Do not register a atexit
2703 handler.
2704 (__gcov_exit): Rename from gcov_exit.
2705 * libgcov.h (__gcov_exit): Declare.
2706
56b653f1
ML
27072016-09-27 Martin Liska <mliska@suse.cz>
2708
2709 PR bootstrap/77749
2710 * Makefile.in: Remove _gcov_merge_delta.
2711 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2712 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2713 * libgcov.h: Remove declaration of __gcov_merge_delta.
2714
7e02fd1b
EB
27152016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2716
2717 * configure.ac: Do not create links, only substitute the filenames.
2718 * configure: Regenerate.
2719 * Makefile.in: Assign the substitution results to variables.
2720 (LIBGCC_LINKS): Define.
2721 (enable-execute-stack.c): New rule.
2722 (unwind.h): Likewise.
2723 (md-unwind-support.h): Likewise.
2724 (sfp-machine.h): Likewise.
2725 (gthr-default.h): Likewise.
2726 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2727 unwind.h as prerequisite of install-unwind_h-forbuild.
2728
29991048
JJ
27292016-09-16 Jakub Jelinek <jakub@redhat.com>
2730
2731 PR libgcc/71744
2732 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2733 is not the primary registry and atomics are available.
2734 (any_objects_registered): New variable.
2735 (__register_frame_info_bases, __register_frame_info_table_bases):
2736 Atomically store 1 to any_objects_registered after registering first
2737 unwind info.
2738 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2739
0abcd6cc
JG
27402016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2741
2742 PR target/63250
2743 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2744 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2745 (HFtype): Likewise.
2746 (HCtype): Likewise.
2747 (__divhc3): Likewise.
2748 (__mulhc3): Likewise.
2749 * libgcc2.c: Support _mulhc3 and _divhc3.
2750
d758aeb5
JM
27512016-09-07 Joseph Myers <joseph@codesourcery.com>
2752
2753 PR libgcc/77519
2754 * libgcc2.c (NOTRUNC): Invert settings.
2755
7fe76f6a
ML
27562016-09-06 Martin Liska <mliska@suse.cz>
2757
2758 PR gcov-profile/77378
2759 PR gcov-profile/77466
2760 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2761 conditionaly enable/disable *_atomic functions.
2762
21184026
JM
27632016-08-26 Joseph Myers <joseph@codesourcery.com>
2764
2765 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2766 where not already enabled.
2767
726f49c3
SN
27682016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2769
2770 * config/mips/linux-unwind.h: Use sys/syscall.h.
2771
feeb6268
JM
27722016-08-16 Joseph Myers <joseph@codesourcery.com>
2773
2774 PR libgcc/77265
2775 * soft-fp/adddf3.c: Update from glibc.
2776 * soft-fp/addsf3.c: Likewise.
2777 * soft-fp/addtf3.c: Likewise.
2778 * soft-fp/divdf3.c: Likewise.
2779 * soft-fp/divsf3.c: Likewise.
2780 * soft-fp/divtf3.c: Likewise.
2781 * soft-fp/double.h: Likewise.
2782 * soft-fp/eqdf2.c: Likewise.
2783 * soft-fp/eqsf2.c: Likewise.
2784 * soft-fp/eqtf2.c: Likewise.
2785 * soft-fp/extenddftf2.c: Likewise.
2786 * soft-fp/extended.h: Likewise.
2787 * soft-fp/extendsfdf2.c: Likewise.
2788 * soft-fp/extendsftf2.c: Likewise.
2789 * soft-fp/extendxftf2.c: Likewise.
2790 * soft-fp/fixdfdi.c: Likewise.
2791 * soft-fp/fixdfsi.c: Likewise.
2792 * soft-fp/fixdfti.c: Likewise.
2793 * soft-fp/fixsfdi.c: Likewise.
2794 * soft-fp/fixsfsi.c: Likewise.
2795 * soft-fp/fixsfti.c: Likewise.
2796 * soft-fp/fixtfdi.c: Likewise.
2797 * soft-fp/fixtfsi.c: Likewise.
2798 * soft-fp/fixtfti.c: Likewise.
2799 * soft-fp/fixunsdfdi.c: Likewise.
2800 * soft-fp/fixunsdfsi.c: Likewise.
2801 * soft-fp/fixunsdfti.c: Likewise.
2802 * soft-fp/fixunssfdi.c: Likewise.
2803 * soft-fp/fixunssfsi.c: Likewise.
2804 * soft-fp/fixunssfti.c: Likewise.
2805 * soft-fp/fixunstfdi.c: Likewise.
2806 * soft-fp/fixunstfsi.c: Likewise.
2807 * soft-fp/fixunstfti.c: Likewise.
2808 * soft-fp/floatdidf.c: Likewise.
2809 * soft-fp/floatdisf.c: Likewise.
2810 * soft-fp/floatditf.c: Likewise.
2811 * soft-fp/floatsidf.c: Likewise.
2812 * soft-fp/floatsisf.c: Likewise.
2813 * soft-fp/floatsitf.c: Likewise.
2814 * soft-fp/floattidf.c: Likewise.
2815 * soft-fp/floattisf.c: Likewise.
2816 * soft-fp/floattitf.c: Likewise.
2817 * soft-fp/floatundidf.c: Likewise.
2818 * soft-fp/floatundisf.c: Likewise.
2819 * soft-fp/floatunditf.c: Likewise.
2820 * soft-fp/floatunsidf.c: Likewise.
2821 * soft-fp/floatunsisf.c: Likewise.
2822 * soft-fp/floatunsitf.c: Likewise.
2823 * soft-fp/floatuntidf.c: Likewise.
2824 * soft-fp/floatuntisf.c: Likewise.
2825 * soft-fp/floatuntitf.c: Likewise.
2826 * soft-fp/gedf2.c: Likewise.
2827 * soft-fp/gesf2.c: Likewise.
2828 * soft-fp/getf2.c: Likewise.
2829 * soft-fp/ledf2.c: Likewise.
2830 * soft-fp/lesf2.c: Likewise.
2831 * soft-fp/letf2.c: Likewise.
2832 * soft-fp/muldf3.c: Likewise.
2833 * soft-fp/mulsf3.c: Likewise.
2834 * soft-fp/multf3.c: Likewise.
2835 * soft-fp/negdf2.c: Likewise.
2836 * soft-fp/negsf2.c: Likewise.
2837 * soft-fp/negtf2.c: Likewise.
2838 * soft-fp/op-1.h: Likewise.
2839 * soft-fp/op-2.h: Likewise.
2840 * soft-fp/op-4.h: Likewise.
2841 * soft-fp/op-8.h: Likewise.
2842 * soft-fp/op-common.h: Likewise.
2843 * soft-fp/quad.h: Likewise.
2844 * soft-fp/single.h: Likewise.
2845 * soft-fp/soft-fp.h: Likewise.
2846 * soft-fp/subdf3.c: Likewise.
2847 * soft-fp/subsf3.c: Likewise.
2848 * soft-fp/subtf3.c: Likewise.
2849 * soft-fp/truncdfsf2.c: Likewise.
2850 * soft-fp/trunctfdf2.c: Likewise.
2851 * soft-fp/trunctfsf2.c: Likewise.
2852 * soft-fp/trunctfxf2.c: Likewise.
2853 * soft-fp/unorddf2.c: Likewise.
2854 * soft-fp/unordsf2.c: Likewise.
2855 * soft-fp/unordtf2.c: Likewise.
2856
2e6fc1ac
GG
28572016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2858
2859 PR gcov-profile/67097
2860 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2861
a266236e
ML
28622016-08-10 Martin Liska <mliska@suse.cz>
2863
2864 PR gcov-profile/58306
2865 * Makefile.in: New functions (modules) are added.
2866 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2867 function.
2868 (__gcov_pow2_profiler_atomic): New function.
2869 (__gcov_one_value_profiler_body): New argument is instroduced.
2870 (__gcov_one_value_profiler): Call with the new argument.
2871 (__gcov_one_value_profiler_atomic): Likewise.
2872 (__gcov_indirect_call_profiler_v2): Likewise.
2873 (__gcov_time_profiler_atomic): New function.
2874 (__gcov_average_profiler_atomic): Likewise.
2875 (__gcov_ior_profiler_atomic): Likewise.
2876 * libgcov.h: Declare the aforementioned functions.
2877
e0c8eebf
ML
28782016-08-09 Martin Liska <mliska@suse.cz>
2879
2880 * libgcov-util.c: Fix typo and GNU coding style.
2881
6dce6418
ML
28822016-08-09 Martin Liska <mliska@suse.cz>
2883
2884 * Makefile.in: Remove __gcov_indirect_call_profiler.
2885 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2886 function.
2887 * libgcov.h: And the declaration of the function.
2888
dcb1e137
ML
28892016-08-09 Martin Liska <mliska@suse.cz>
2890
2891 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2892 power of two.
2893
d6e69705
BS
28942016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2895
2896 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2897 * config/rs6000/_mulkc3.c: Likewise.
2898
96aa1f95
GJL
28992016-07-29 Georg-Johann Lay <avr@gjlay.de>
2900
2901 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2902 zero_reg as previous call to __umulhisi3 already cleared it.
2903
a1b01d34
AJ
29042016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2905
2906 PR target/59833
2907 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2908
985a47b2
NC
29092016-07-19 Nick Clifton <nickc@redhat.com>
2910
2911 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2912 Add crtinit.o and crtfini.o to extra_parts.
2913
f906f5ed
BS
29142016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2915
2916 * config/rs6000/_divkc3.c: New.
2917 * config/rs6000/_mulkc3.c: New.
2918 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2919 and _divkc3.
2920 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2921 fp128_ppc_funcs.
2922
82742404
HW
29232016-07-11 Hale Wang <hale.wang@arm.com>
2924 Andre Vieira <andre.simoesdiasvieira@arm.com>
2925
2926 * config/arm/lib1funcs.S: Add new wrapper.
2927
05a437c1
TP
29282016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2929
2930 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2931
3d16d9ec
TP
29322016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2933
2934 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2935 and ARMv5t* rather than for a fixed list of architectures.
2936
6f493951
TP
29372016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2938
2939 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2940 implementation suitable for.
2941 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2942 for all Thumb-1 only targets.
2943 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2944 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2945 __ARM_ARCH_6M__.
2946 (EQUIV): Likewise.
2947 (ARM_FUNC_ALIAS): Likewise.
2948 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2949 version.
2950 (modsi3): Likewise.
2951 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2952 (clzdi2): Likewise.
2953 (ctzsi2): Likewise.
2954 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2955 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2956 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2957 __ARM_ARCH_6M__ and add comment to indicate the connection between
2958 this condition and the one in gcc/config/arm/elf.h.
2959 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2960 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2961 * config/arm/t-softfp: Likewise.
2962
1770511a
TS
29632016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2964
2965 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2966 CTOR_LISTS_DEFINED_EXTERNALLY.
2967
ba6be749
WL
29682016-06-28 Walter Lee <walt@tilera.com>
2969
2970 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2971 asm/unistd.h.
2972 (SPR_CMPEXCH_VALUE): Define for tilegx.
2973 (__NR_FAST_cmpxchg): Define for tilepro.
2974 (__NR_FAST_atomic_update): Define for tilepro.
2975 (__NR_FAST_cmpxchg64): Define for tilepro.
2976
a34c0db5
JS
29772016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2978
18362447 2979 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2980
0609abda
TS
29812016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2982
2983 * config.host: Remove support for mep-*.
2984 * config/mep/lib1funcs.S: Remove.
2985 * config/mep/lib2funcs.c: Remove.
2986 * config/mep/t-mep: Remove.
2987 * config/mep/tramp.c: Remove.
2988
3e326935
TS
29892016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2990
2991 * config.host: Remove support for avr-rtems.
2992 * config/avr/t-rtems: Remove.
2993
914b155c
TS
29942016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2995
2996 * config.host: Remove m32r-rtems support.
2997
5ebf89bd
TS
29982016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2999
3000 * config.host: Remove h8300-rtems support.
3001
8466af06
TS
30022016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3003
3004 * config.host: Remove support for knetbsd.
3005
d980e738
TS
30062016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3007
3008 * config.host: Remove support for openbsd 2 and 3.
3009
ee2499b4
TS
30102016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3011
3012 * config.host: Remove interix support.
3013 * config/i386/t-interix: Remove.
3014
9f92937b
JDA
30152016-06-18 John David Anglin <danglin@gcc.gnu.org>
3016
3017 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3018 least-significant bit in function pointer for fixup.
3019
0a0ec53d
AC
30202016-06-05 Aaron Conole <aconole@redhat.com>
3021 Nathan Sidwell <nathan@acm.org>
3022
3023 PR libgcc/71400
3024 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3025 (get_gcov_error_file): Check __gcov_error_file before trying to
3026 initialize it.
3027 (gcov_error): Always use get_gcov_error_file.
3028
8aa5bdd6
AC
30292016-06-02 Aaron Conole <aconole@redhat.com>
3030
3031 * libgcov-driver-system.c (__gcov_error_file): New.
3032 (get_gcov_error_file): New.
3033 (gcov_error): Use and set __gcov_error_file.
3034 (gcov_error_exit): New.
3035 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3036
40774faf
NS
30372016-05-26 Nathan Sidwell <nathan@acm.org>
3038
3039 * config/nvptx/free.asm: Delete.
3040 * config/nvptx/malloc.asm: Delete.
3041 * config/nvptx/realloc.c: Delete.
3042 * t-nvptx: Update.
3043
69a6d5ad
NS
30442016-05-25 Nathan Sidwell <nathan@acm.org>
3045
3046 * config/nvptx/crt0.s: Delete.
3047 * config/nvptx/crt0.c: New.
3048 * t-nvptx: Update.
3049
6befaff6
SL
30502016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3051
385c7747 3052 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3053 dw2/seh configuration.
3054 [x86_64-*-mingw*]: Likewise.
3055
ad251dfd
JS
30562016-05-10 Joel Sherrill <joel@rtems.org>
3057
3058 PR libgcc/70720
3059 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3060 targets so the same extra_parts are built. Also have tmake_file add
3061 on to its value rather than override.
3062
bc6d9014
OE
30632016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3064
3065 * config.host: Remove SH5 support.
3066 * configure: Likewise.
3067
9129c8cf
OE
30682016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3069
3070 * config/sh/crt1.S: Remove SH5 support.
3071 * config/sh/crti.S: Likewise.
3072 * config/sh/crtn.S: Likewise.
3073 * config/sh/lib1funcs-4-300.S: Likewise.
3074 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3075 * config/sh/lib1funcs.S: Likewise.
3076 * config/sh/linux-unwind.h: Likewise.
3077 * config/sh/t-sh64: Delete.
3078
39d50464
CZ
30792016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3080
3081 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3082
8b48923b
CZ
30832016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3084 Joern Rennecke <joern.rennecke@embecosm.com>
3085
3086 * config/arc/crttls.S: New file.
3087 * config/arc/t-arc: New rule.
3088 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3089
2de1cf8c
NC
30902016-04-25 Nick Clifton <nickc@redhat.com>
3091
3092 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3093 (__mspabi_cmpd): Likewise.
3094 * config/msp430/floathidf.c (__floathidf): Likewise.
3095 * config/msp430/floathisf.c (__floathisf): Likewise
3096 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3097 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3098 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3099 second parameter.
3100 (__ashrsi3): Likewise.
3101
b8ce3fe2
WB
31022016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3103
3104 * config/m68k/linux-atomic.c: Do not include unistd.h
3105
4986f823
MG
31062016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3107
3108 * config/arm/ieee754-df.S: Fix typos in comments.
3109
35fbda43
MM
31102016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3111
3112 PR target/70381
3113 * configure.ac (powerpc*-*-linux*): Rework tests to build
3114 __float128 emulation routines to not depend on using #pragma GCC
3115 target to enable -mfloat128.
3116 * configure: Regnerate.
3117
72d1a48d
EB
31182016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3119
3120 PR target/67172
3121 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3122 __MINGW32__ is defined.
3123
dc2e8995
JB
31242016-03-28 James Bowman <james.bowman@ftdichip.com>
3125
385c7747 3126 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3127
104cdaf1
MM
31282016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3129
3130 PR libgcc/70363
3131 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3132 built with an assembler that does not support ISA 3.0
3133 instructions, rename __extendkftf2_sw to __extendkftf2.
3134
a5046f48
RO
31352016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3136
3137 PR target/38239
3138 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3139 call-clobbered registers.
3140 (internal_mcount): Remove __i386__ handling.
3141
df674f74
JS
31422016-02-26 Joel Sherrill <joel@rtems.org>
3143
3144 * config.host: Add x86_64-*-rtems*.
3145
7cb065d6
JS
31462016-02-26 Joel Sherrill <joel@rtems.org>
3147
3148 * libgcc/config.host: Add aarch64-*-rtems*.
3149
47dfdc53
PM
31502016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3151 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3152
3153 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3154 union of u64 and double.
3155 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3156 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3157 value.
3158 (FP_ROUNDMODE): Update the usage of _fpscr.
3159
e6861a99
IV
31602016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3161
3162 PR driver/68463
3163 * Makefile.in (crtoffloadtable$(objext)): New rule.
3164 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3165 enable_offload_targets is not empty.
3166 * configure: Regenerate.
3167 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3168 crtoffloadtable.
3169
9bfcbdee
MF
31702016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3171
3172 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3173 .literal_position before the function.
3174 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3175 Likewise.
3176
4cb4721f
MK
31772016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3178
3179 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3180 * config/s390/morestack.S: New file.
3181 * config/s390/t-stack-s390: New file.
3182 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3183
b29d9a29
WL
31842016-02-12 Walter Lee <walt@tilera.com>
3185
3186 * config.host (tilegx*-*-linux*): remove ti from
3187 softfp_int_modes for 32-bit configs.
3188
03a0ae7d
ILT
31892016-02-10 Ian Lance Taylor <iant@google.com>
3190
3191 PR go/68562
3192 * config/i386/morestack.S (__stack_split_initialize): Align
3193 stack.
3194
68750bce
AT
31952016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3196
3197 PR bootstrap/69611
3198 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3199 __FLOAT128__ to compile only for __float128 capable targets.
3200
7d296953
JJ
32012016-01-25 Jakub Jelinek <jakub@redhat.com>
3202
3203 PR target/69444
3204 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3205 instead of ___NO_FPRS__.
3206
a71c0334 32072016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3208 Steven Munroe <munroesj@linux.vnet.ibm.com>
3209 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3210
3211 * config/rs6000/float128-sed: New files to convert TF names to KF
3212 names for PowerPC IEEE 128-bit floating point support.
3213 * config/rs6000/float128-sed-hw: Likewise.
3214
3215 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3216 floating point hardware support.
3217
3218 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3219 128-bit floating point software emulation or use ISA 3.0 hardware
3220 support if it is available.
3221
3222 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3223 floating point.
3224
3225 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3226 floating point to IBM extended double.
3227
3228 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3229 double to IEEE 128-bit floating point.
3230
3231 * config/rs6000/t-float128: New Makefile fragments to enable
3232 building __float128 emulation support.
3233 * config/rs6000/t-float128-hw: Likewise.
3234
3235 * config/rs6000/sfp-exceptions.c: New file to provide exception
3236 support for IEEE 128-bit floating point.
3237
3238 * config/rs6000/floattikf.c: New files for converting between IEEE
3239 128-bit floating point and signed/unsigned 128-bit integers.
3240 * config/rs6000/fixunskfti.c: Likewise.
3241 * config/rs6000/fixkfti.c: Likewise.
3242 * config/rs6000/floatuntikf.c: Likewise.
3243
3244 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3245 when building on 64-bit systems, or when VSX is enabled.
3246 (_FP_W_TYPE): Likewise.
3247 (_FP_WS_TYPE): Likewise.
3248 (_FP_I_TYPE): Likewise.
3249 (TItype): Define on 64-bit systems.
3250 (UTItype): Likewise.
3251 (TI_BITS): Likewise.
3252 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3253 (_FP_MUL_MEAT_Q): Likewise.
3254 (_FP_DIV_MEAT_D): Likewise.
3255 (_FP_DIV_MEAT_Q): Likewise.
3256 (_FP_NANFRAC_D): Likewise.
3257 (_FP_NANFRAC_Q): Likewise.
3258 (ISA_BIT): Add exception support if we are being compiled on a
3259 machine with hardware floating point support to build the IEEE
3260 128-bit emulation functions.
3261 (FP_EX_INVALID): Likewise.
3262 (FP_EX_OVERFLOW): Likewise.
3263 (FP_EX_UNDERFLOW): Likewise.
3264 (FP_EX_DIVZERO): Likewise.
3265 (FP_EX_INEXACT): Likewise.
3266 (FP_EX_ALL): Likewise.
3267 (__sfp_handle_exceptions): Likewise.
3268 (FP_HANDLE_EXCEPTIONS): Likewise.
3269 (FP_RND_NEAREST): Likewise.
3270 (FP_RND_ZERO): Likewise.
3271 (FP_RND_PINF): Likewise.
3272 (FP_RND_MINF): Likewise.
3273 (FP_RND_MASK): Likewise.
3274 (_FP_DECL_EX): Likewise.
3275 (FP_INIT_ROUNDMODE): Likewise.
3276 (FP_ROUNDMODE): Likewise.
3277
3278 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3279 VSX code, enable IEEE 128-bit floating point. If the compiler can
3280 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3281 floating point hardware instructions and it supports declaring
3282 functions with the ifunc attribute, enable ifunc functions to
3283 switch between software and hardware support.
3284 * configure.ac (powerpc*-*-linux*): Likewise.
3285 * configure: Regenerate.
3286
bdc27e50
NC
32872016-01-15 Nick Clifton <nickc@redhat.com>
3288
3289 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3290 dependency as the source file to be compiled.
3291 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3292 (lib2hw_mul_f5.o): Likewise.
3293
006df05d
MM
32942016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3295
3296 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3297 * libgcc/config/rs6000/fixkfti.c: Likewise.
3298 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3299 * libgcc/config/rs6000/float128-hw.c: Likewise.
3300 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3301 * libgcc/config/rs6000/float128-sed: Likewise.
3302 * libgcc/config/rs6000/floattikf.c: Likewise.
3303 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3304 * libgcc/config/rs6000/quad-float128.h: Likewise.
3305 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3306 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3307 * libgcc/config/rs6000/t-float128: Likewise.
3308 * libgcc/config/rs6000/t-float128-hw: Likewise.
3309 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3310 * libgcc/config.host: Likewise.
3311 * libgcc/configure: Likewise.
3312 * libgcc/configure.ac: Likewise.
3313
29176d57 33142016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3315 Steven Munroe <munroesj@linux.vnet.ibm.com>
3316 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3317
3318 * config/rs6000/sfp-exceptions.c: New file to provide exception
3319 support for IEEE 128-bit floating point.
3320
3321 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3322 floating point hardware support.
3323
3324 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3325 point conversions.
3326 * config/rs6000/fixunskfti.c: Likewise.
3327 * config/rs6000/fixkfti.c: Likewise.
3328 * config/rs6000/floatuntikf.c: Likewise.
3329 * config/rs6000/extendkftf2-sw.c: Likewise.
3330 * config/rs6000/trunctfkf2-sw.c: Likewise.
3331
3332 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3333 128-bit floating point software emulation or use ISA 3.0 hardware
3334 support if it is available.
3335
3336 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3337 floating point.
3338
3339 * config/rs6000/t-float128: New Makefile fragments to enable
3340 building __float128 emulation support.
3341 * config/rs6000/t-float128-hw: Likewise.
3342
3343 * config/rs6000/float128-sed: New file to convert TF names to KF
3344 names for PowerPC IEEE 128-bit floating point support.
3345
3346 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3347 when building on 64-bit systems, or when VSX is enabled.
3348 (_FP_W_TYPE): Likewise.
3349 (_FP_WS_TYPE): Likewise.
3350 (_FP_I_TYPE): Likewise.
3351 (TItype): Define on 64-bit systems.
3352 (UTItype): Likewise.
3353 (TI_BITS): Likewise.
3354 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3355 (_FP_MUL_MEAT_Q): Likewise.
3356 (_FP_DIV_MEAT_D): Likewise.
3357 (_FP_DIV_MEAT_Q): Likewise.
3358 (_FP_NANFRAC_D): Likewise.
3359 (_FP_NANFRAC_Q): Likewise.
3360 (ISA_BIT): Add exception support if we are being compiled on a
3361 machine with hardware floating point support to build the IEEE
3362 128-bit emulation functions.
3363 (FP_EX_INVALID): Likewise.
3364 (FP_EX_OVERFLOW): Likewise.
3365 (FP_EX_UNDERFLOW): Likewise.
3366 (FP_EX_DIVZERO): Likewise.
3367 (FP_EX_INEXACT): Likewise.
3368 (FP_EX_ALL): Likewise.
3369 (__sfp_handle_exceptions): Likewise.
3370 (FP_HANDLE_EXCEPTIONS): Likewise.
3371 (FP_RND_NEAREST): Likewise.
3372 (FP_RND_ZERO): Likewise.
3373 (FP_RND_PINF): Likewise.
3374 (FP_RND_MINF): Likewise.
3375 (FP_RND_MASK): Likewise.
3376 (_FP_DECL_EX): Likewise.
3377 (FP_INIT_ROUNDMODE): Likewise.
3378 (FP_ROUNDMODE): Likewise.
3379
3380 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3381 compiler can do __float128.
3382 * configure: Regenerate.
3383
3384 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3385 VSX code, enable IEEE 128-bit floating point.
3386
a2218983
OH
33872016-01-05 Olivier Hainque <hainque@adacore.com>
3388
3389 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3390 specificities.
a2218983 3391
818ab71a
JJ
33922016-01-04 Jakub Jelinek <jakub@redhat.com>
3393
3394 Update copyright years.
3395
5a6c8ffa
AP
33962015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3397
3398 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3399 soft-fp targets.
5a6c8ffa 3400
077067a5
BE
34012015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3402
3403 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3404 instead of abort to avoid dependency on stdlib.h.
3405
787c1027
JDA
34062015-12-09 John David Anglin <danglin@gcc.gnu.org>
3407
3408 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3409 to initialize call to __dl_fixup once.
3410
04a9ae28
NC
34112015-12-04 Nick Clifton <nickc@redhat.com>
3412
3413 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3414 Allow for the second argument being negative.
3415 * config.host (extra_parts): Define for MSP430. Create separate
3416 libraries for each of the hardware multiply formats.
3417 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3418 that are needed.
3419 * config/msp430/lib2mul.c: Likewise.
3420 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3421 Add rules to build hardware multiply libraries.
3422 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3423 __mspabi_divul function.
3424 (__mspabi_divllu): New stub function.
3425
9a32d437
JDA
34262015-12-01 John David Anglin <danglin@gcc.gnu.org>
3427
3428 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3429 fixup values if saved GOT address doesn't match runtime address.
3430 (fixup_branch_offset): Reorder list.
3431
e5ef217c
RO
34322015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3433
3434 * Makefile.in (VTV_CFLAGS): New variable.
3435 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3436 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3437 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3438 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3439 to extra_parts if $enable_vtable_verify = yes.
3440
78cc43a2
SN
34412015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3442
3443 PR target/68059
3444 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3445 (write): ...this and fix the return type.
3446
9afebea2
DD
34472015-11-19 DJ Delorie <dj@redhat.com>
3448
3449 * config/msp430/lib2hw_mul.S: Fix alignment.
3450
33f47f42
NS
34512015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3452
3453 * config/nvptx/reduction.c: New.
3454 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3455
d9adb476
DE
34562015-11-15 David Edelsohn <dje.gcc@gmail.com>
3457
3458 * config/rs6000/on_exit.c: New file.
3459 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3460 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3461
c0ab1970
CZ
34622015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3463
3464 * config/arc/dp-hack.h: Add support for ARCHS.
3465 * config/arc/ieee-754/divdf3.S: Likewise.
3466 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3467 * config/arc/ieee-754/muldf3.S: Likewise.
3468 * config/arc/ieee-754/mulsf3.S: Likewise
3469 * config/arc/lib1funcs.S: Likewise
3470 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3471 for ARCv2 cores.
3472 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3473 for ARCv2 cores.
3474 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3475 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3476 cores.
3477
e6b6bf09
RO
34782015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3479
3480 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3481 value.
3482 * config/ia64/crtend.S: Likewise.
3483
a153644f
TS
34842015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3485
3486 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3487 __CHAR_BIT__ instead of BITS_PER_UNIT.
3488 * fixed-bit.h: Likewise.
3489 * fp-bit.h: Likewise.
3490 * libgcc2.c (__popcountSI2): Likewise.
3491 (__popcountDI2): Likewise.
3492 * libgcc2.h: Likewise.
3493 * libgcov.h: Likewise.
3494
3dee689d
DE
34952015-11-07 David Edelsohn <dje.gcc@gmail.com>
3496
3497 * config/rs6000/atexit.c: New file.
3498 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3499 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3500 * config/rs6000/cxa_finalize.c
3501 (catomic_compare_and_exchange_bool_acq): Negate return value.
3502
2ef543e4
VK
35032015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3504
3505 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3506 (processor_subtypes): Add znver1.
3507 (get_amd_cpu): Detect znver1.
3508
1300f017
CL
35092015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3510
3511 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3512 Include crtfastmath.o.
3513
3e5bb7ee
JR
35142015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3515
3516 PR libgcc/66883
3517 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3518
793aa938
KP
35192015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3520
3521 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3522 * config/rl78/divmodsi.S: Update return register to r8.
3523 * config/rl78/divmodhi.S: Update return register to r8,r9.
3524 Branch to main_loop_done_himode to pop registers before return.
3525
7d296953 35262015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3527
3528 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3529 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3530
6a192b5a
KY
35312015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3532
3533 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3534
4a0a9457
MF
35352015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3536
3537 * config.host (xtensa*-*-uclinux*): New configuration.
3538
ab91c076
KY
35392015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3540
385c7747 3541 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3542 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3543
30954527
JM
35442015-09-28 Joseph Myers <joseph@codesourcery.com>
3545
3546 * soft-fp/adddf3.c: Update from glibc.
3547 * soft-fp/addsf3.c: Likewise.
3548 * soft-fp/addtf3.c: Likewise.
3549 * soft-fp/divdf3.c: Likewise.
3550 * soft-fp/divsf3.c: Likewise.
3551 * soft-fp/divtf3.c: Likewise.
3552 * soft-fp/double.h: Likewise.
3553 * soft-fp/eqdf2.c: Likewise.
3554 * soft-fp/eqsf2.c: Likewise.
3555 * soft-fp/eqtf2.c: Likewise.
3556 * soft-fp/extenddftf2.c: Likewise.
3557 * soft-fp/extended.h: Likewise.
3558 * soft-fp/extendsfdf2.c: Likewise.
3559 * soft-fp/extendsftf2.c: Likewise.
3560 * soft-fp/extendxftf2.c: Likewise.
3561 * soft-fp/fixdfdi.c: Likewise.
3562 * soft-fp/fixdfsi.c: Likewise.
3563 * soft-fp/fixdfti.c: Likewise.
3564 * soft-fp/fixsfdi.c: Likewise.
3565 * soft-fp/fixsfsi.c: Likewise.
3566 * soft-fp/fixsfti.c: Likewise.
3567 * soft-fp/fixtfdi.c: Likewise.
3568 * soft-fp/fixtfsi.c: Likewise.
3569 * soft-fp/fixtfti.c: Likewise.
3570 * soft-fp/fixunsdfdi.c: Likewise.
3571 * soft-fp/fixunsdfsi.c: Likewise.
3572 * soft-fp/fixunsdfti.c: Likewise.
3573 * soft-fp/fixunssfdi.c: Likewise.
3574 * soft-fp/fixunssfsi.c: Likewise.
3575 * soft-fp/fixunssfti.c: Likewise.
3576 * soft-fp/fixunstfdi.c: Likewise.
3577 * soft-fp/fixunstfsi.c: Likewise.
3578 * soft-fp/fixunstfti.c: Likewise.
3579 * soft-fp/floatdidf.c: Likewise.
3580 * soft-fp/floatdisf.c: Likewise.
3581 * soft-fp/floatditf.c: Likewise.
3582 * soft-fp/floatsidf.c: Likewise.
3583 * soft-fp/floatsisf.c: Likewise.
3584 * soft-fp/floatsitf.c: Likewise.
3585 * soft-fp/floattidf.c: Likewise.
3586 * soft-fp/floattisf.c: Likewise.
3587 * soft-fp/floattitf.c: Likewise.
3588 * soft-fp/floatundidf.c: Likewise.
3589 * soft-fp/floatundisf.c: Likewise.
3590 * soft-fp/floatunditf.c: Likewise.
3591 * soft-fp/floatunsidf.c: Likewise.
3592 * soft-fp/floatunsisf.c: Likewise.
3593 * soft-fp/floatunsitf.c: Likewise.
3594 * soft-fp/floatuntidf.c: Likewise.
3595 * soft-fp/floatuntisf.c: Likewise.
3596 * soft-fp/floatuntitf.c: Likewise.
3597 * soft-fp/gedf2.c: Likewise.
3598 * soft-fp/gesf2.c: Likewise.
3599 * soft-fp/getf2.c: Likewise.
3600 * soft-fp/ledf2.c: Likewise.
3601 * soft-fp/lesf2.c: Likewise.
3602 * soft-fp/letf2.c: Likewise.
3603 * soft-fp/muldf3.c: Likewise.
3604 * soft-fp/mulsf3.c: Likewise.
3605 * soft-fp/multf3.c: Likewise.
3606 * soft-fp/negdf2.c: Likewise.
3607 * soft-fp/negsf2.c: Likewise.
3608 * soft-fp/negtf2.c: Likewise.
3609 * soft-fp/op-1.h: Likewise.
3610 * soft-fp/op-2.h: Likewise.
3611 * soft-fp/op-4.h: Likewise.
3612 * soft-fp/op-8.h: Likewise.
3613 * soft-fp/op-common.h: Likewise.
3614 * soft-fp/quad.h: Likewise.
3615 * soft-fp/single.h: Likewise.
3616 * soft-fp/soft-fp.h: Likewise.
3617 * soft-fp/subdf3.c: Likewise.
3618 * soft-fp/subsf3.c: Likewise.
3619 * soft-fp/subtf3.c: Likewise.
3620 * soft-fp/truncdfsf2.c: Likewise.
3621 * soft-fp/trunctfdf2.c: Likewise.
3622 * soft-fp/trunctfsf2.c: Likewise.
3623 * soft-fp/trunctfxf2.c: Likewise.
3624 * soft-fp/unorddf2.c: Likewise.
3625 * soft-fp/unordsf2.c: Likewise.
3626 * soft-fp/unordtf2.c: Likewise.
3627
4dfe21ac
RE
36282015-09-24 Richard Earnshaw <rearnsha@arm.com>
3629
3630 PR libgcc/67624
3631 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3632
df2a1cc4
RO
36332015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3634
3635 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3636 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3637 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3638 messages.
3639 (internal_mcount): Likewise.
3640 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3641 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3642
2d110442
RO
36432015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3644
3645 * configure.ac (libgcc_cv_solaris_crts): New test.
3646 * configure: Regenerate.
3647 * config.in: Regenerate.
3648 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3649 * config/gmon-sol2.c: Rename to ...
3650 * config/sol2/gmon.c: ... this.
3651 Include auto-target.h.
3652 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3653 * config/t-sol2: Rename to ...
3654 * config/sol2/t-sol2: ... this.
3655 (gmon.o): Reflect renaming.
3656 (crtp.o, crtpg.o): New rules.
3657 * config.host (*-*-solaris2*): Reflect renaming.
3658 Use system CRTs if present.
3659 Remove default CRT case.
3660
d572e439
JDA
36612015-09-23 John David Anglin <danglin@gcc.gnu.org>
3662
3663 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3664 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3665 __kernel_cmpxchg2.
3666 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3667 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3668 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3669 (__sync_lock_test_and_set_##WIDTH): Likewise.
3670 (__sync_lock_release_##WIDTH): Likewise.
3671 (__sync_fetch_and_##OP##_4): Change result to match type of
3672 __kernel_cmpxchg.
3673 (__sync_##OP##_and_fetch_4): Likewise.
3674 (__sync_val_compare_and_swap_4): Likewise.
3675 (__sync_bool_compare_and_swap_4): likewise.
3676 (__sync_lock_test_and_set_4): Likewise.
3677 (__sync_lock_release_4): Likewise.
3678 (FETCH_AND_OP_2): Add long long variants.
3679 (OP_AND_FETCH_2): Likewise.
3680 (COMPARE_AND_SWAP_2 ): Likewise.
3681 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3682 (SYNC_LOCK_RELEASE_2): Likewise.
3683 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3684
7d296953 36852015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3686
3687 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3688 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3689 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3690 (get_available_features): Habdle new features.
3691
131314e1
JB
36922015-09-21 James Bowman <james.bowman@ftdichip.com>
3693
3694 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3695 memory layout. Deal correctly with BSS region larger than 32K.
3696 Handle a watchdog reset like a power-on reset. Clean up unused
3697 code.
3698
04218b35
AD
36992015-09-18 Andrew Dixie <andrewd@gentrack.com>
3700 David Edelsohn <dje.gcc@gmail.com>
3701
3702 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3703 * config/rs6000/crtdbase.S: New file.
3704 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3705
c8338173
MF
37062015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3707
3708 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3709 Add support for call0 ABI.
3710
7a84bf71
JDA
37112015-09-13 John David Anglin <danglin@gcc.gnu.org>
3712
3713 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3714
4efab402
SH
37152015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3716
3717 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3718 (__GTHREAD_HAS_COND): Likewise.
3719 (__gthread_t): Likewise.
3720 (__gthread_cond_t): Likewise.
3721 (__gthread_time_t): Likewise.
3722 (__GTHREAD_MUTEX_INIT): Likewise.
3723 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3724 (__GTHREAD_COND_INIT): Likewise.
3725 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3726 (__GTHREAD_TIME_INIT): Likewise.
3727 (__gthread_create): Likewise.
3728 (__gthread_join): Likewise.
3729 (__gthread_detach): Likewise.
3730 (__gthread_equal): Likewise.
3731 (__gthread_self): Likewise.
3732 (__gthread_yield): Likewise.
3733 (__gthread_cond_broadcast): Likewise.
3734 (__gthread_cond_signal): Likewise.
3735 (__gthread_cond_wait): Likewise.
3736 (__gthread_cond_timedwait): Likewise.
3737 (__gthread_cond_wait_recursive): Likewise.
3738 (__gthread_cond_destroy): Likewise.
3739 (rtems_gxx_once): Delete.
3740 (rtems_gxx_key_create): Likewise.
3741 (rtems_gxx_key_delete): Likewise.
3742 (rtems_gxx_getspecific): Likewise.
3743 (rtems_gxx_setspecific): Likewise.
3744 (rtems_gxx_mutex_init): Likewise.
3745 (rtems_gxx_mutex_destroy): Likewise.
3746 (rtems_gxx_mutex_lock): Likewise.
3747 (rtems_gxx_mutex_trylock): Likewise.
3748 (rtems_gxx_mutex_unlock): Likewise.
3749 (rtems_gxx_recursive_mutex_init): Likewise.
3750 (rtems_gxx_recursive_mutex_lock): Likewise.
3751 (rtems_gxx_recursive_mutex_trylock): Likewise.
3752 (rtems_gxx_recursive_mutex_unlock): Likewise.
3753 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3754 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3755 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3756 (__gthread_once): Likewise.
3757 (__gthread_key_create): Likewise.
3758 (__gthread_key_delete): Likewise.
3759 (__gthread_getspecific): Likewise.
3760 (__gthread_setspecific): Likewise.
3761 (__gthread_key_t): Use <pthread.h> type.
3762 (__gthread_once_t): Likewise
3763 (__gthread_mutex_t): Use <sys/lock.h> type.
3764 (__gthread_recursive_mutex_t): Likewise
3765 (__gthread_mutex_lock): Use <sys/lock.h> function.
3766 (__gthread_mutex_trylock): Likewise.
3767 (__gthread_mutex_timedlock): Likewise.
3768 (__gthread_mutex_unlock): Likewise.
3769 (__gthread_mutex_destroy): Likewise.
3770 (__gthread_recursive_mutex_lock): Likewise.
3771 (__gthread_recursive_mutex_trylock): Likewise.
3772 (__gthread_recursive_mutex_timedlock): Likewise.
3773 (__gthread_recursive_mutex_unlock): Likewise.
3774 (__gthread_recursive_mutex_destroy): Likewise.
3775
991995c4
MF
37762015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3777
3778 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3779 context->sp instead of context->cfa.
3780
0e19db59
MF
37812015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3782
3783 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3784 with unwind-dw2-fde-dip.
3785
b6ac5f62
MF
37862015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3787
3788 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3789 CALL12 followed by series of ENTRY to spill windowed registers.
3790 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3791 instead of making linux spill syscall.
3792
3e0f3349
YR
37932015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3794
3795 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3796 (get_intel_cpu): Likewise.
3797
51c728b1
L
37982015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3799
3800 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3801 (get_intel_cpu): Add Knights Landing support.
3802
aff4eeac
UB
38032015-08-11 Uros Bizjak <ubizjak@gmail.com>
3804
3805 PR target/66954
3806 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3807 (get_available_features): Handle FEATURE_PCLMUL.
3808
736e56da
L
38092015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3810
3811 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3812 Broadwell.
3813
54d22142
UB
38142015-07-22 Uros Bizjak <ubizjak@gmail.com>
3815
3816 PR target/66954
3817 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3818 (get_available_features): Handle FEATURE_AES.
3819
20ca17e4
CLT
38202015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3821
3822 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3823 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3824
ebe4a560
NS
38252015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3826
3827 * offloadstuff.c: Constify host data.
3828
180744c0
JB
38292015-07-17 Jan Beulich <jbeulich@suse.com>
3830
3831 * config/t-softfp: Split up "else ifneq".
3832
a03c6ae3
SL
38332015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3834 Cesar Philippidis <cesar@codesourcery.com>
3835 Chung-Lin Tang <cltang@codesourcery.com>
3836
3837 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3838 for __nios2_arch__ level.
3839
73358db5
JM
38402015-07-13 John Marino <gnugcc@marino.st>
3841
3842 * config/i386/t-dragonfly: New.
3843
f9a12f7b
JDA
38442015-07-01 John David Anglin <danglin@gcc.gnu.org>
3845
3846 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3847 better match light-weight syscall argument order.
3848 (__kernel_cmpxchg2): Likewise.
3849 Adjust callers.
3850
cb78b51c
L
38512015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3852
3853 * config.host: Support i[34567]86-*-elfiamcu target.
3854 * config/t-softfp-sfdftf: New file.
3855 * config/i386/32/t-iamcu: Likewise.
3856 * configure: Regenerated.
3857
4fa0f9ea
JL
38582015-06-23 James Lemke <jwlemke@codesourcery.com>
3859
3860 libgcc/config/arm/
3861 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3862
428b3812
L
38632015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3866
7d296953 38672015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3868
3869 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3870 md_unwind_header
3871 * config/i386/freebsd-unwind.h: New.
3872
9b789cc1
UB
38732015-05-22 Uros Bizjak <ubizjak@gmail.com>
3874
3875 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3876 i386/t-crtfm to tmake_file.
3877 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3878 (set_fast_math): Use set_fast_math_sse for SSE targets.
3879 * config/i386/t-crtfm: Remove.
3880
3dafb220
AM
38812015-05-21 Alan Modra <amodra@gmail.com>
3882
3883 PR libgcc/66225
3884 * config/rs6000/morestack.S: Remove ".abiversion 1".
3885
0f0fd745
AM
38862015-05-20 Alan Modra <amodra@gmail.com>
3887
3888 * config/rs6000/morestack.S: New.
3889 * config/rs6000/t-stack-rs6000: New.
3890 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3891 to tmake_file.
3892 * generic-morestack.c: Don't build for powerpc 32-bit.
3893
515ae71b
EB
38942015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3895
3896 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3897 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3898
36805406
JL
38992015-05-16 James Bowman <james.bowman@ftdichip.com>
3900
3901 * config.host: FT32 target added.
3902 * config/ft32/*: New files for FT32 target.
3903
ff935d0c
MG
39042015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3905
385c7747
UB
3906 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3907 New macros.
3908 * config/arm/ieee754-df.S: Add CFI directives.
3909 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3910
9b92a9f3
EB
39112015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3912
3913 * configure.ac: Include config/sjlj.m4.
3914 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3915 * config.in: Regenerate.
3916 * configure: Likewise.
3917 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3918
98b5dc61
UB
39192015-05-12 Uros Bizjak <ubizjak@gmail.com>
3920
3921 * libgcov-util.c: Add space between string literal and macro name.
3922
5a0ff57c
SL
39232015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3924 Chris Jones <chrisj@nvidia.com>
3925 Joshua Conner <jconner@nvidia.com>
3926
3927 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3928 (arm*-*-uclinux*): Likewise.
3929 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3930 * config/arm/crtfastmath.c: New file.
3931
d28ad5d4
BS
39322014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3933
3934 * Makefile.in (real_host_noncanonical): New variable.
3935 (libsubdir): Use it.
3936 * configure.ac (real_host_noncanonical): Compute. Remove special
3937 case for intelmicemul.
3938 * configure: Regenerate.
3939
cc86234f
UB
39402015-04-28 Uros Bizjak <ubizjak@gmail.com>
3941
3942 * config/frv/elf-lib.h: New file.
3943 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3944 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3945 to tm_file.
3946
39472015-04-28 Uros Bizjak <ubizjak@gmail.com>
3948
3949 * config/frv/frvbengin.c: Do not include defaults.h
3950 * config/frv/frvend.c: Ditto.
3951
2f6bd6eb
YS
39522015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3953
3954 * config.host: Add h8300-*-linux
3955 * config/h8300/t-linux: New file.
3956 * config/h8300/lib1funs.s: Change symbol prefix.
3957 * config/h8300/sfp-machine.h: 64bit double support.
3958
15aa7b44
GR
39592015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3960 Szabolcs Nagy <szabolcs.nagy@arm.com>
3961
3962 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3963 Linux if target provides dl_iterate_phdr.
3964
abd0cdc9
L
39652015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3966
3967 PR target/65612
3968 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3969 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3970 (__cpu_indicator_init@GCC_4.8.0): New.
3971 (__cpu_model@GCC_4.8.0): Likewise.
3972 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3973 -DUSE_ELF_SYMVER.
3974
72ed1126
NC
39752015-04-16 Nick Clifton <nickc@redhat.com>
3976
3977 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3978 and __modhi3 functions.
3979 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3980 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3981
d26b2237
CG
39822015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3983
3984 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3985 do-while loop as macro body to avoid warnings.
3986
cacf1f59
JJ
39872015-04-10 Jakub Jelinek <jakub@redhat.com>
3988 Iain Sandoe <iain@codesourcery.com>
3989
3990 PR target/65351
3991 * configure: Regenerate.
3992
e8a4ed3b
JJ
39932015-04-07 Jakub Jelinek <jakub@redhat.com>
3994 Iain Sandoe <iain@codesourcery.com>
3995
3996 PR target/65351
3997 * configure: Regenerate.
3998
0341335e
CLT
39992015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4000
4001 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4002
590e2636 40032015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4004
590e2636
MF
4005 Implement call0 ABI for xtensa
4006 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4007 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4008 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4009 use ret in call0 ABI.
4010 * config/xtensa/t-windowed: New file.
4011 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4012 * libgcc/configure: Regenerated.
4013 * libgcc/configure.ac: Check if xtensa target is configured for
4014 windowed ABI and thus needs to use custom unwind code.
4015
7727f8f2
JW
40162015-02-12 Jonathan Wakely <jwakely@redhat.com>
4017
4018 PR libgcc/64885
4019 * gthr-single.h: Use __unused__ attribute instead of unused.
4020 * config/gthr-vxworks.h: Likewise.
4021 * config/i386/gthr-win32.h: Likewise.
4022
0e4a0def
KT
40232015-02-27 Kai Tietz <ktietz@redhat.com>
4024
4025 PR target/65038
4026 * config.in: Regenerated.
4027 * configure: Likewise.
4028 * configure.ac (AC_HEADER_STDC): Added explicit.
4029 (AC_CHECK_HEADERS): Check for default headers plus
4030 for ftw.h header.
4031 * libgcov-util.c (gcov_read_profile_dir): Disable use
4032 of ftw-function, if header is not found.
4033 (ftw_read_file): Likewise.
4034
b6530d0a
TS
40352015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4036
4037 PR target/65181
4038 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4039 -Dinhibit_libc.
4040
53cfb467
SL
40412015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4042
4043 * config/arm/bpabi.S (test_div_by_zero): Make label names
4044 consistent between thumb2 and arm mode cases. Separate the
4045 signed comparison on the high word of the numerator from the
4046 unsigned comparison on the low word.
4047 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4048 signed comparison.
4049
77d10a1b
JM
40502015-02-17 Joseph Myers <joseph@codesourcery.com>
4051
4052 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4053 and <string.h>.
4054 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4055
98174188
RE
40562015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4057
4058 PR gcov-profile/61889
471274de 4059 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 4060
771bef14
NC
40612015-02-02 Nick Clifton <nickc@redhat.com>
4062
4063 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4064 rounding up the fraction.
4065
40702893
JDA
40662015-01-31 John David Anglin <danglin@gcc.gnu.org>
4067
4068 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4069 oldval and newval to const void *. Fix typo.
4070 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4071 (FETCH_AND_OP_WORD): Likewise.
4072 (OP_AND_FETCH_WORD): Likewise.
4073 (COMPARE_AND_SWAP_2): Likewise.
4074 (__sync_val_compare_and_swap_4): Likewise.
4075 (__sync_lock_test_and_set_4): Likewise.
4076 (SYNC_LOCK_RELEASE_2): Likewise.
4077 Remove support for long long atomic operations.
4078
f7f049fa
CT
40792015-01-27 Caroline Tice <cmtice@google.com>
4080
4081 Committing VTV Cywin/Ming patch for Patrick Wollgast
4082 * Makefile.in: Move rules to build vtv_*.o out of the check
4083 for CUSTOM_CRTSTUFF.
4084 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4085 i[34567]86-*-mingw*)
4086 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4087 enable_vtable_verify.
4088
8410904a
NC
40892015-01-27 Nick Clifton <nickc@redhat.com>
4090
4091 * config/rl78/cmpsi2.S: Use function start and end macros.
4092 (__gcc_bcmp): New function.
4093 * config/rl78/lshrsi3.S: Use function start and end macros.
4094 * config/rl78/mulsi3.S: Add support for G10.
4095 (__mulqi3): New function for G10.
4096 * config/rl78/signbit.S: Use function start and end macros.
4097 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4098 fpmath-sf.S.
4099 (LIB2FUNCS_EXCLUDE): Define.
4100 (LIB2FUNCS_ST): Define.
4101 * config/rl78/trampoline.S: Use function start and end macros.
4102 * config/rl78/vregs.h (START_FUNC): New macro.
4103 (START_ANOTHER_FUNC): New macro.
4104 (END_FUNC): New macro.
4105 (END_ANOTHER_FUNC): New macro.
4106 * config/rl78/bit-count.S: New file. Contains assembler
4107 implementations of the bit counting functions: ___clzhi2,
4108 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4109 __paritysi2, __popcounthi2 and __popcountsi2.
4110 * config/rl78/fpbit-sf.S: New file. Contains assembler
4111 implementationas of the math functions: __negsf2, __cmpsf2,
4112 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4113 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4114 * config/rl78/fpmath-sf.S: New file. Contains assembler
4115 implementations of the math functions: __subsf3, __addsf3,
4116 __mulsf3 and __divsf3
4117
f962fbf1
RO
41182015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4119
4120 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4121 Add i386/elf-lib.h to tm_file.
4122 * config/i386/elf-lib.h: Fix comment.
4123 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4124 && __sun__ && __svr4__]: Remove workaround.
4125
939911c5
ASJ
41262015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4127
4128 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4129 FEATURE_BMI2.
4130 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4131
c8f2dff2
L
41322015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4133
4134 * config/i386/cpuinfo.c (processor_subtypes): Add
4135 INTEL_COREI7_BROADWELL.
4136 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4137 model numbers.
4138
7bbf9734
UB
41392015-01-23 Uros Bizjak <ubizjak@gmail.com>
4140
4141 * config/i386/elf-lib.h: New file.
4142 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4143 Wrap definition in #ifdef __i386__.
4144 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4145 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4146 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4147 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4148 to tm_file.
4149
324820f1
CG
41502015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4151
4152 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4153 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4154
a9ce4e4a
CLT
41552015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4156
4157 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4158 Update rt_sigframe format and address for current Nios II
4159 Linux conventions.
4160
82a19768
AT
41612015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4162
4163 * config.host (arm*-*-freebsd*): Add new configuration for
4164 arm*-*-freebsd*.
4165 * config/arm/freebsd-atomic.c: New file.
4166 * config/arm/t-freebsd: Likewise.
4167 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4168 'PC-relative indirect' OS's.
4169
0969ec7d
EB
41702015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4171
4172 * config.host: Add Visium support.
4173 * config/visium: New directory.
4174
5624e564
JJ
41752015-01-05 Jakub Jelinek <jakub@redhat.com>
4176
4177 Update copyright years.
4178
82f84ecb
MF
41792014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4180
4181 * config.host: Support mipsisa32r6 and mipsisa64r6.
4182 * config/mips/mips16.S: Do not build for R6.
4183
69044fa9
OE
41842014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4185
4186 * config/sh/crt.h: New.
4187 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4188 symbols.
4189 * config/sh/crt1.S: Likewise.
4190
2405e0ea
UB
41912014-12-15 Uros Bizjak <ubizjak@gmail.com>
4192
4193 PR libgcc/63832
4194 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4195 func_ptr *dtor_list temporary variable to avoid "array subscript
4196 is above array bounds" warnings.
4197
7d296953 41982014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4199
4200 * Makefile.in (with_aix_soname): Define.
4201 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4202 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4203 * configure: Recreate.
4204
a66272f6
OH
42052014-12-05 Olivier Hainque <hainque@adacore.com>
4206
4207 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4208 now provided by defaults.h.
4209
6342b2c5
OE
42102014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4211
7d0ee249 4212 PR target/55351
6342b2c5
OE
4213 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4214 whether it's defined.
4215
c17eac85
IT
42162014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4217
4218 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4219 * config/i386/cpuinfo.c (get_available_features): Detect it.
4220
1025cb6c
TW
42212014-11-27 Tony Wang <tony.wang@arm.com>
4222
4223 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4224 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4225 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4226
d19f2e38
SB
42272014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4228
4229 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4230
17f6e9a3
JDA
42312014-11-24 John David Anglin <danglin@gcc.gnu.org>
4232
4233 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4234 instead.
4235
0cd7c672
GM
42362014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4237 John David Anglin <danglin@gcc.gnu.org>
4238
4239 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4240 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4241 (OP_AND_FETCH_2): Likewise.
4242 (COMPARE_AND_SWAP_2): Likewise.
4243 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4244 (SYNC_LOCK_RELEASE_2): Likewise.
4245 (SUBWORD_SYNC_OP): Remove.
4246 (SUBWORD_VAL_CAS): Likewise.
4247 (SUBWORD_BOOL_CAS): Likewise.
4248 (FETCH_AND_OP_WORD): Update.
4249 Consistently use signed types.
cc86234f 4250
85c64bbe
BS
42512014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4252 Thomas Schwinge <thomas@codesourcery.com>
4253 Ilya Verbin <ilya.verbin@intel.com>
4254 Andrey Turetskiy <andrey.turetskiy@intel.com>
4255
4256 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4257 (crtoffloadend$(objext)): Likewise.
4258 * configure: Regenerate.
4259 * configure.ac (accel_dir_suffix): Compute new variable.
4260 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4261 if enable_offload_targets is not empty.
4262 * offloadstuff.c: New file.
4263
52a1ff8b
NC
42642014-11-13 Nick Clifton <nickc@redhat.com>
4265
4266 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4267 Use START_FUNC and END_FUNC macros to enable linker garbage
4268 collection.
4269 * config/rl78/divmodqi.S: Likewise.
4270 * config/rl78/divmodsi.S: Likewise.
4271 * config/rl78/mulsi3.S: Likewise.
4272 * config/rl78/lib2div.c: Remove G10 functions.
4273 * config/rl78/lib2muls.c: Likewise.
4274 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4275 * config/rl78/vregs.h (START_FUNC): New macro.
4276 (END_FUNC): New macro.
4277
050af144
MF
42782014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4279
4280 * config/mips/mips16.S: Set .module when supported. Update O32
4281 FP64 calling convention and use for FPXX when possible. Add FPXX
4282 calling convention fallback case.
4283
738f2522
BS
42842014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4285
4286 * config.host: Handle nvptx-*-*.
4287 * shared-object.mk (as-flags-$o): Define.
4288 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4289 -xassembler-with-cpp.
4290 * static-object.mk: Identical changes.
4291 * config/nvptx/t-nvptx: New file.
4292 * config/nvptx/crt0.s: New file.
4293 * config/nvptx/free.asm: New file.
4294 * config/nvptx/malloc.asm: New file.
4295 * config/nvptx/realloc.c: New file.
4296
e610393c
JM
42972014-10-30 Joseph Myers <joseph@codesourcery.com>
4298
4299 * Makefile.in (libgcc.map.in): New target.
4300 (libgcc.map): Use libgcc.map.in.
4301 * config/t-softfp (softfp_compat): New variable to be set by
4302 users.
4303 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4304 variables.
4305 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4306 directory.
4307 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4308 that use compat symbols and disable all code unless [SHARED].
4309 * config/t-softfp-compat: New file.
4310 * find-symver.awk: New file.
4311 * configure.ac (--with-glibc-version): New configure option.
4312 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4313 * configure: Regenerate.
4314 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4315 soft-float and e500.
4316
bc1b3a88
JM
43172014-10-29 Joseph Myers <joseph@codesourcery.com>
4318
4319 * config/t-hardfp (hardfp_exclusions): Document new variable for
4320 user to define.
4321 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4322 * config/t-softfp (softfp_extras): Document new variable for user
4323 to define.
4324 (softfp_func_list): Add functions from $(softfp_extras).
4325 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4326 * config.host (powerpc*-*-linux*): For e500v1, use
4327 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4328 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4329 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4330
ef2810c1
JDA
43312014-10-26 John David Anglin <danglin@gcc.gnu.org>
4332
4333 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4334 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4335 memory read accesses are ok.
4336
d80c2bea
JM
43372014-10-25 Joseph Myers <joseph@codesourcery.com>
4338
4339 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4340 * configure: Regenerate.
4341 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4342 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4343 of soft-fp for 32-bit classic hard float. Do not use
4344 t-softfp-excl for soft float.
4345
693b297b
JM
43462014-10-22 Joseph Myers <joseph@codesourcery.com>
4347
4348 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4349 configurations.
4350 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4351 Remove variables.
4352
18a3415e
GJL
43532014-10-22 Georg-Johann Lay <avr@gjlay.de>
4354
4355 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4356 introduced with 2014-10-21 trunk r216525.
4357
c1dd9790 43582014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4359 Vidya Praveen <vidya.praveen@atmel.com>
4360 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4361 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4362 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4363
4364 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4365 order.
4366
4367 Updated library functions for AVRTINY arch.
4368 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4369 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4370 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4371 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4372 wsubi/wadi macors.
4373 (__mulsi3_helper): Update stack, preserve callee saved regs and
4374 argument from stack. Restore callee save registers.
4375 (__mulpsi3): Likewise.
4376 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4377 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4378 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4379 AVRTINY.
4380 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4381 (__do_copy_data): Added new definition for AVRTINY.
4382 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4383 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4384 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4385 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4386 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4387 macors.
18a3415e 4388 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4389 AVRTINY.
4390
18a3415e 4391 Fix broken long multiplication on tiny arch.
c1dd9790 4392
5f606431
JM
43932014-10-09 Joseph Myers <joseph@codesourcery.com>
4394
4395 * soft-fp/double.h: Update from glibc.
4396 * soft-fp/eqdf2.c: Likewise.
4397 * soft-fp/eqsf2.c: Likewise.
4398 * soft-fp/eqtf2.c: Likewise.
4399 * soft-fp/extenddftf2.c: Likewise.
4400 * soft-fp/extended.h: Likewise.
4401 * soft-fp/extendsfdf2.c: Likewise.
4402 * soft-fp/extendsftf2.c: Likewise.
4403 * soft-fp/extendxftf2.c: Likewise.
4404 * soft-fp/gedf2.c: Likewise.
4405 * soft-fp/gesf2.c: Likewise.
4406 * soft-fp/getf2.c: Likewise.
4407 * soft-fp/ledf2.c: Likewise.
4408 * soft-fp/lesf2.c: Likewise.
4409 * soft-fp/letf2.c: Likewise.
4410 * soft-fp/op-1.h: Likewise.
4411 * soft-fp/op-2.h: Likewise.
4412 * soft-fp/op-4.h: Likewise.
4413 * soft-fp/op-8.h: Likewise.
4414 * soft-fp/op-common.h: Likewise.
4415 * soft-fp/quad.h: Likewise.
4416 * soft-fp/single.h: Likewise.
4417 * soft-fp/soft-fp.h: Likewise.
4418 * soft-fp/unorddf2.c: Likewise.
4419 * soft-fp/unordsf2.c: Likewise.
4420 * soft-fp/unordtf2.c: Likewise.
4421 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4422 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4423 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4424 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4425 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4426 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4427 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4428 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4429 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4430 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4431
9b84e7a8
RX
44322014-10-08 Rong Xu <xur@google.com>
4433
4434 * libgcov-util.c (read_gcda_file): Fix format.
4435 (find_match_gcov_info): Ditto.
4436 (calculate_2_entries): New.
4437 (compute_one_gcov): Ditto.
4438 (gcov_info_count_all_cold): Ditto.
4439 (gcov_info_count_all_zero): Ditto.
4440 (extract_file_basename): Ditto.
4441 (get_file_basename): Ditto.
4442 (set_flag): Ditto.
4443 (matched_gcov_info): Ditto.
4444 (calculate_overlap): Ditto.
4445 (gcov_profile_overlap): Ditto.
4446 * libgcov-driver.c (compute_summary): Make
4447 it avavilable for external calls.
4448
fe1090c1
RX
44492014-10-06 Rong Xu <xur@google.com>
4450
4451 * Makefile.in: Ditto.
4452 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4453 (gcov_sort_icall_topn_counter): Ditto.
4454 (gcov_sort_topn_counter_arrays): Ditto.
4455 (dump_one_gcov): Sort indirect_call topn counters.
4456 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4457 function.
4458 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4459 utility function.
4460 (__gcov_indirect_call_topn_profiler): New profiler function.
4461 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4462 * libgcov.h: New decls.
4463
3daa7bbf
TS
44642014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4465
4466 * config.host: Remove support for score-*.
4467
9a79452d
JM
44682014-09-22 Joseph Myers <joseph@codesourcery.com>
4469
4470 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4471 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4472 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4473 __LIBGCC_XF_MANT_DIG__.
4474 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4475 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4476 __LIBGCC_TF_MANT_DIG__.
4477 * libgcc2.c (NOTRUNC): Define in terms of
4478 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4479 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4480
1a849e50
JM
44812014-09-22 Joseph Myers <joseph@codesourcery.com>
4482
4483 PR target/63312
4484 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4485 New macros.
4486
598a1586
HPN
44872014-09-22 Hans-Peter Nilsson <hp@axis.com>
4488
4489 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4490 override USE_PT_GNU_EH_FRAME.
4491 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4492 check USE_EH_FRAME_REGISTRY_ALWAYS against
4493 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4494 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4495 variable for substituted force_explicit_eh_registry.
4496 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4497 * configure.ac (explicit-exception-frame-registration):
4498 New AC_ARG_ENABLE.
4499 * configure: Regenerate.
4500
3a8fe7c6
OH
45012014-09-19 Olivier Hainque <hainque@adacore.com>
4502
4503 * config.host (powerpc-wrs-vxworksmils): New configuration,
4504 same as vxworksae.
4505
dd69f047
JM
45062014-09-18 Joseph Myers <joseph@codesourcery.com>
4507
4508 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4509
e770bfd9
JM
45102014-09-18 Joseph Myers <joseph@codesourcery.com>
4511
4512 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4513 bits not set bits as indicating trapping exceptions.
4514
cadb2b96
NS
45152014-09-17 Nathan sidwell <nathan@acm.org>
4516
4517 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4518 (LIBGCOV_DRIVER): ... here.
4519 * libgcov-driver.c (gcov_master): New.
4520 (gcov_exit): Remove from master chain.
4521 (__gcov_init): Add to master chain if version compatible. Don't
4522 clear the version.
4523 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4524 (gcov_reset_int): Clear master chain, if compatible.
4525 (gcov_dump_int): New internal interface. Dump master chain, if
4526 compatible.
4527 (gcov_dump): Alias for gcov_dump_int.
4528 * libgcov.h (struct gcov_root): Add next and prev fields.
4529 (struct gcov_master): New struct.
4530 (__gcov_master): New.
4531 (gcov_dump_int): Declare.
4532
580d22a3
OH
45332014-09-17 Olivier Hainque <hainque@adacore.com>
4534
4535 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4536 and crtbegin.o + crtend.o to extra_parts.
4537
8cc4b7a2
JM
45382014-09-12 Joseph Myers <joseph@codesourcery.com>
4539
4540 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4541 __LIBGCC_HAS_SF_MODE__.
4542 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4543 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4544 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4545 * config/libbid/bid_gcc_intrinsics.h
4546 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4547 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4548 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4549 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4550 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4551 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4552
ea3f2b24
GJL
45532014-09-11 Georg-Johann Lay <avr@gjlay.de>
4554
4555 PR target/63223
4556 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4557 and R24 as needed. Make work for all devices and .text locations.
4558 (__do_global_ctors, __do_global_dtors): Use word addresses.
4559 (__tablejump__, __tablejump_elpm__): Remove functions.
4560 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4561 Add _tablejump2.
4562 (XICALL, XIJMP): New macros.
4563
b677236a
MS
45642014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4565 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4566
4567 * config.host (aarch64*): Include crtfastmath.o and
4568 t-crtfm.
4569 * config/aarch64/crtfastmath.c: New file.
4570
157e859f
TS
45712014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4572
4573 * config.host: Remove picochip support.
4574 * config/picochip/adddi3.S: Remove.
4575 * config/picochip/ashlsi3.S: Remove.
4576 * config/picochip/ashlsi3.c: Remove.
4577 * config/picochip/ashrsi3.S: Remove.
4578 * config/picochip/ashrsi3.c: Remove.
4579 * config/picochip/clzsi2.S: Remove.
4580 * config/picochip/cmpsi2.S: Remove.
4581 * config/picochip/divmod15.S: Remove.
4582 * config/picochip/divmodhi4.S: Remove.
4583 * config/picochip/divmodsi4.S: Remove.
4584 * config/picochip/lib1funcs.S: Remove.
4585 * config/picochip/longjmp.S: Remove.
4586 * config/picochip/lshrsi3.S: Remove.
4587 * config/picochip/lshrsi3.c: Remove.
4588 * config/picochip/parityhi2.S: Remove.
4589 * config/picochip/popcounthi2.S: Remove.
4590 * config/picochip/setjmp.S: Remove.
4591 * config/picochip/subdi3.S: Remove.
4592 * config/picochip/t-picochip: Remove.
4593 * config/picochip/ucmpsi2.S: Remove.
4594 * config/picochip/udivmodhi4.S: Remove.
4595 * config/picochip/udivmodsi4.S: Remove.
4596
66bb34c0
JM
45972014-09-08 Joseph Myers <joseph@codesourcery.com>
4598
4599 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4600 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4601 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4602 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4603 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4604 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4605 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4606 defined and LIBGCC2_HAS_DF_MODE is defined.
4607 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4608 defined and LIBGCC2_HAS_XF_MODE is defined.
4609 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4610 defined and LIBGCC2_HAS_TF_MODE is defined.
4611
9686a2e6
JM
46122014-09-08 Joseph Myers <joseph@codesourcery.com>
4613
4614 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4615 and ROUND_TOWARDS_ZERO conditionals.
4616
71c3e2ef
NS
46172014-09-07 Nathan sidwell <nathan@acm.org>
4618
4619 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4620 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4621
53d68b9f
JM
46222014-09-05 Joseph Myers <joseph@codesourcery.com>
4623
4624 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4625 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4626 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4627 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4628 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4629 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4630 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4631 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4632 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4633 (DWARF_FRAME_REGISTERS): Change all uses to
4634 __LIBGCC_DWARF_FRAME_REGISTERS__.
4635 (EH_RETURN_STACKADJ_RTX): Change all uses to
4636 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4637 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4638 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4639 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4640 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4641 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4642 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4643 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4644 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4645 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4646 __LIBGCC_STACK_POINTER_REGNUM__.
4647 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4648 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4649 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4650 to __LIBGCC_STACK_POINTER_REGNUM__.
4651 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4652 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4653 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4654 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4655 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4656 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4657 (STACK_POINTER_REGNUM): Change all uses to
4658 __LIBGCC_STACK_POINTER_REGNUM__.
4659 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4660 use to __LIBGCC_STACK_POINTER_REGNUM__.
4661 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4662 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4663 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4664 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4665 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4666 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4667 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4668 to __LIBGCC_STACK_POINTER_REGNUM__.
4669 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4670 Remove conditional definition.
4671 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4672 __LIBGCC_TEXT_SECTION_ASM_OP__.
4673 (EH_FRAME_SECTION_NAME): Change all uses to
4674 __LIBGCC_EH_FRAME_SECTION_NAME__.
4675 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4676 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4677 (CTORS_SECTION_ASM_OP): Change all uses to
4678 __LIBGCC_CTORS_SECTION_ASM_OP__.
4679 (DTORS_SECTION_ASM_OP): Change all uses to
4680 __LIBGCC_DTORS_SECTION_ASM_OP__.
4681 (JCR_SECTION_NAME): Change all uses to
4682 __LIBGCC_JCR_SECTION_NAME__.
4683 (INIT_SECTION_ASM_OP): Change all uses to
4684 __LIBGCC_INIT_SECTION_ASM_OP__.
4685 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4686 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4687 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4688 __LIBGCC_STACK_GROWS_DOWNWARD__.
4689 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4690 __LIBGCC_INIT_SECTION_ASM_OP__.
4691 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4692 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4693 (EH_FRAME_SECTION_NAME): Change all uses to
4694 __LIBGCC_EH_FRAME_SECTION_NAME__.
4695 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4696 definitions. Change all uses to
4697 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4698 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4699 __LIBGCC_STACK_GROWS_DOWNWARD__.
4700 (DWARF_FRAME_REGISTERS): Change all uses to
4701 __LIBGCC_DWARF_FRAME_REGISTERS__.
4702 (EH_RETURN_STACKADJ_RTX): Change all uses to
4703 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4704 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4705 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4706 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4707 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4708 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4709
b20ee094
NS
47102014-09-02 Nathan sidwell <nathan@acm.org>
4711
4712 * libgcov-interface.c (STRONG_ALIAS): New.
4713 (__gcov_flush): Call __gcov_reset_int.
4714 (__gcov_reset): Strong alias for ...
4715 (__gcov_reset_ing): ... this renamed hidden version.
4716 * libgcov.h (__gcov_reset_int): New declaration.
4717
1ac83976
YS
47182014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4719
25efdb9f
YS
4720 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4721 call from here...
4722 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4723 (__dso_handle): Define on Cygwin.
4724 * config/i386/t-cygming (crtbeginS.o): New rule.
4725 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4726
1ac83976
YS
4727 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4728 declaration syntax.
4729
c6f9ea3b
SE
47302014-08-13 Steve Ellcey <sellcey@mips.com>
4731
4732 * crtstuff.c: Undef caddr_t.
4733
5b1ea7c5
SE
47342014-08-12 Steve Ellcey <sellcey@mips.com>
4735
4736 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4737
4303c581
NS
47382014-08-07 Nathan Sidwell <nathan@acm.org>
4739
4740 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4741 (LIBGCOV_DRIVER): ... to here.
4742 * libgcov.h (gcov_do_dump): New #define.
4743 (struct gcov_root): New.
4744 (__gcov_root): New declaration.
4745 (__gcov_dump_one): Declare.
4746 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4747 run_accounted): Delete.
4748 (gcov_compute_histogram): Add LIST argument, adjust.
4749 (compute_summary): Adjust gcov_compute_histogram call.
4750 (gcov_do_dump): Not hidden, static in libgcov.
4751 (gcov_clear): Move to interface.c.
4752 (__gcov_dump_one): New, broken out of ...
4753 (gcov_exit): ... here. Make static.
4754 (__gcov_root): New.
4755 (__gcov_init): Adjust.
4756 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4757 declarations.
4758 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4759 (gcov_clear): Moved from driver.c. Add LIST argument.
4760 (__gcov_reset): Adjust for changed interfaces.
4761 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4762
23742a9e
RAR
47632014-08-04 Rohit <rohitarulraj@freescale.com>
4764
4765 PR target/60102
4766 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4767 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4768
b98a872b
NS
47692014-08-01 Nathan Sidwell <nathan@acm.org>
4770
4771 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4772 LIBGCOV_INTERFACE): Reformat.
4773 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4774 IN_GCOV_TOOL.
4775 * libgcov-interface.c: Reformat some comments.
4776 (__gcov_flush_mx): Add declaration. Tidy up definition.
4777
6adaaa1d
AM
47782014-07-31 Alan Modra <amodra@gmail.com>
4779 Peter Bergner <bergner@vnet.ibm.com>
4780
4781 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4782 (pack_ldouble): New function.
4783 (__gcc_qadd): Use it.
4784 (__gcc_qmul): Likewise.
4785 (__gcc_qdiv): Likewise.
4786 (__gcc_qneg): Likewise.
4787 (__gcc_stoq): Likewise.
4788 (__gcc_dtoq): Likewise.
4789
87cb0c0c
UW
47902014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4791
4792 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4793 (__tpf_eh_return): Add original return address as second parameter.
4794 Handle cases where unwinder routines were called directly, instead
4795 of from within the C++ library.
4796
19926161
NS
47972014-07-29 Nathan Sidwell <nathan@acm.org>
4798
4799 * libgcov.h: Move renaming of entry points to lib gcov specific
4800 portion.
4801 (gcov_do_dump): New rename.
4802 (gcov_rewrite): Remove inline, make HIDDEN.
4803 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4804 (gcov_exit_compute_summary): Rename to ...
4805 (compute_summary): ... here. Add LIST argument.
4806 (gcov_exit_merge_gcda): Rename to ...
4807 (merge_one_data): ... here.
4808 (gcov_exit_write_gcda): Rename to ...
4809 (write_one_data): ... here.
4810 (gcov_exit_merge_summary): Rename to ...
4811 (merge_summary): Add RUN_COUNTED argument.
4812 (gcov_exit_dump_gcov): Rename to ...
4813 (dump_one_gcov): Add RUN_COUNTED argument.
4814 (gcov_do_dump): New function, broken out of ...
4815 (gcov_exit): ... here. Call it.
4816
17522262
AG
48172014-07-27 Anthony Green <green@moxielogic.com>
4818
4819 * config.host: Add moxiebox configuration suppport.
4820
6dc33097
NS
48212014-07-27 Nathan Sidwell <nathan@acm.org>
4822
4823 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4824 (struct gcov_filename): ... here. Include buffer and max length
4825 fields.
4826 (gcov_max_filename): Remove.
4827 (gi_filename): Remove.
4828 (gcov_exit_compute_summary): Compute max filename here.
4829 (gcov_exit_merge_gcda): Add filename parm, adjust.
4830 (gcov_exit_merge_summary): Likewise.
4831 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4832 (gcov_exit): Likewise.
4833 (__gcov_init): Don't calculate max length here.
4834 * libgcov_util.c (max_filename_len): Remove.
4835 (read_gcda_file): Don't calculate max length here.
4836 (gcov_read_profile_dir): Don't propagate here.
4837 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4838 struct gcov_filename changes.
4839 (gcov_exit_open_gcda_file): Likewise.
4840
770f687d
NS
48412014-07-25 Nathan Sidwell <nathan@acm.org>
4842
4843 * libgcov-driver.c (set_gcov_dump_complete,
4844 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4845 functions polluting user's namespace.
4846 (gcov_exit): Set variable directly.
4847 (gcov_clear): Reset variable directly.
4848 * libgcov-interface.c (get_gcov_dymp_complete,
4849 reset_gov_dump_complete): Remove declarations.
4850 (__gcov_reset, __gcov_dump): Don't call them.
4851
fabf71ba
DD
48522014-07-24 DJ Delorie <dj@redhat.com>
4853
4854 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4855 (__gcc_deregister_frame): Move logic to detect deregister function
4856 to ...
4857 (__gcc_register_frame): here, so it's consistent with the register
4858 logic.
fabf71ba 4859
d10ee722
NS
48602014-07-23 Nathan Sidwell <nathan@acm.org>
4861
4862 * libgcov-driver.c (set_gcov_list): Remove.
4863 (gcov_list): Make non-static in GCOV_TOOL.
4864 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4865
a4137090
JDA
48662014-07-17 John David Anglin <danglin@gcc.gnu.org>
4867
4868 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4869 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4870 Don't use SYNC_LOCK_RELEASE for int type.
4871
72602c6c
RB
48722014-07-14 Richard Biener <rguenther@suse.de>
4873
4874 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4875
d5313205
RX
48762014-07-11 Rong Xu <xur@google.com>
4877
4878 * libgcov-util.c (gcov_max_filename): Fix declartion.
4879
c77556a5
RX
48802014-07-10 Rong Xu <xur@google.com>
4881
4882 Add gcov-tool: an offline gcda profile processing tool
4883 Support.
4884 * libgcov-driver.c (gcov_max_filename): Make available
4885 to gcov-tool.
4886 * libgcov-merge.c (__gcov_merge_add): Replace
4887 gcov_read_counter() with a Macro.
4888 (__gcov_merge_ior): Ditto.
4889 (__gcov_merge_time_profile): Ditto.
4890 (__gcov_merge_single): Ditto.
4891 (__gcov_merge_delta): Ditto.
4892 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4893 in the utility functions.
4894 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4895 gcov_list object link lists.
4896 (tag_function): Ditto.
4897 (tag_blocks): Ditto.
4898 (tag_arcs): Ditto.
4899 (tag_lines): Ditto.
4900 (tag_counters): Ditto.
4901 (tag_summary): Ditto.
4902 (read_gcda_finalize): Ditto.
4903 (read_gcda_file): Ditto.
4904 (ftw_read_file): Ditto.
4905 (read_profile_dir_init): Ditto.
4906 (gcov_read_profile_dir): Ditto.
4907 (gcov_read_counter_mem): Ditto.
4908 (gcov_get_merge_weight): Ditto.
4909 (merge_wrapper): A wrapper function that calls merging handler.
4910 (gcov_merge): Merge two gcov_info objects with weights.
4911 (find_match_gcov_info): Find the matched gcov_info in the list.
4912 (gcov_profile_merge): Merge two gcov_info object lists.
4913 (__gcov_add_counter_op): Process edge profile counter values.
4914 (__gcov_ior_counter_op): Process IOR profile counter values.
4915 (__gcov_delta_counter_op): Process delta profile counter values.
4916 (__gcov_single_counter_op): Process single profile counter values.
4917 (fp_scale): Callback function for float-point scaling.
cc86234f 4918 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4919 (gcov_profile_scale): Scaling profile counters.
4920 (gcov_profile_normalize): Normalize profile counters.
4921 * libgcov.h: Add headers and functions for gcov-tool use.
4922 (gcov_get_counter): New.
4923 (gcov_get_counter_target): Ditto.
4924 (struct gcov_info): Make the functions field mutable in gcov-tool
4925 compilation.
4926
5c7dac8a
KT
49272014-06-23 Kai Tietz <ktietz@redhat.com>
4928
4929 PR libgcc/61585
4930 * unwind-seh.c (_Unwind_GetGR): Check for proper
4931 index range.
4932 (_Unwind_SetGR): Likewise.
4933
161c9312
NC
49342014-05-22 Nick Clifton <nickc@redhat.com>
4935
4936 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4937 -mhwmult=none.
4938
e3f0315f
TJ
49392014-05-22 Teresa Johnson <tejohnson@google.com>
4940
4941 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4942 include.
4943
dbed5a9b
JM
49442014-05-20 John Marino <gnugcc@marino.st>
4945
4946 * config.host (*-*-dragonfly*): New target.
4947 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4948 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4949 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4950 * config/i386/dragonfly-unwind.h: New.
4951
1ec380e5
MR
49522014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4953
4954 PR libgcc/60166
4955 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4956 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4957
54fde020
BE
49582014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4959
4960 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4961 implementation.
4962
999db125
GJL
49632014-05-12 Georg-Johann Lay <avr@gjlay.de>
4964
4965 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4966
cceaf54a
RO
49672014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4968
4969 PR libgcc/61097
4970 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4971 if --enable-shared.
4972
e3fe9b5b
BE
49732014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4974
4975 Work around for current cygwin32 build problems.
4976 * config/i386/cygming-crtbegin.c (__register_frame_info,
4977 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4978 functions only for 64-bit systems.
4979
54cf37e9
RO
49802014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4981
4982 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4983 (sigill_caught, sigill_hdlr): Remove.
4984
d9f069ab
RO
49852014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4986
4987 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4988 check.
4989 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4990 Solaris 9 single-threaded support.
4991 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4992 Solaris 9 single-threaded support. Add call_user_handler code
4993 sequences.
4994 (sparc_is_sighandler): Likewise.
4995
59976ef8
AK
49962014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4997
4998 * config.host: Append t-floattodi to tmake_file depending on
4999 host_address.
5000
d02bbcf3
JS
50012014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5002
31466bc0 5003 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5004
c2e7e597
UB
50052014-03-10 Uros Bizjak <ubizjak@gmail.com>
5006
5007 PR libgcc/60472
5008 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5009 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5010 Use __builtin_expect when checking *jcr_list for NULL.
5011
227a7dc8
RO
50122014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5013
5014 PR libgcc/59339
5015 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5016 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5017 vtv_*.o to extra_parts if enable_vtable_verify.
5018
df2b279c
NC
50192014-03-06 Nick Clifton <nickc@redhat.com>
5020
5021 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5022 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5023
dc11d79b
JY
50242014-02-28 Joey Ye <joey.ye@arm.com>
5025
5026 PR libgcc/60166
5027 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5028 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5029 Set to zero.
5030
341c653c
WL
50312014-02-24 Walter Lee <walt@tilera.com>
5032
5033 * config.host: Support "tilegx*" and "tilepro*" triplets.
5034 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5035 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5036
95ce7613
CLT
50372014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5038 Chung-Lin Tang <cltang@codesourcery.com>
5039
5040 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5041 * config/nios2/crti.S: Remove .file directive.
5042 * config/nios2/crtn.S: Likewise.
5043
0bb4fc05
KT
50442014-02-18 Kai Tietz <ktietz@redhat.com>
5045 Jonathan Schleifer <js@webkeks.org>
5046
5047 PR objc/56870
5048 * unwind-seh.c (_GCC_specific_handler): Pass proper
5049 value to unwind-handler.
5050
9acf28f1
JM
50512014-02-12 Joseph Myers <joseph@codesourcery.com>
5052
5053 * soft-fp/adddf3.c: Update from glibc.
5054 * soft-fp/addsf3.c: Likewise.
5055 * soft-fp/addtf3.c: Likewise.
5056 * soft-fp/divdf3.c: Likewise.
5057 * soft-fp/divsf3.c: Likewise.
5058 * soft-fp/divtf3.c: Likewise.
5059 * soft-fp/double.h: Likewise.
5060 * soft-fp/eqdf2.c: Likewise.
5061 * soft-fp/eqsf2.c: Likewise.
5062 * soft-fp/eqtf2.c: Likewise.
5063 * soft-fp/extenddftf2.c: Likewise.
5064 * soft-fp/extended.h: Likewise.
5065 * soft-fp/extendsfdf2.c: Likewise.
5066 * soft-fp/extendsftf2.c: Likewise.
5067 * soft-fp/extendxftf2.c: Likewise.
5068 * soft-fp/fixdfdi.c: Likewise.
5069 * soft-fp/fixdfsi.c: Likewise.
5070 * soft-fp/fixdfti.c: Likewise.
5071 * soft-fp/fixsfdi.c: Likewise.
5072 * soft-fp/fixsfsi.c: Likewise.
5073 * soft-fp/fixsfti.c: Likewise.
5074 * soft-fp/fixtfdi.c: Likewise.
5075 * soft-fp/fixtfsi.c: Likewise.
5076 * soft-fp/fixtfti.c: Likewise.
5077 * soft-fp/fixunsdfdi.c: Likewise.
5078 * soft-fp/fixunsdfsi.c: Likewise.
5079 * soft-fp/fixunsdfti.c: Likewise.
5080 * soft-fp/fixunssfdi.c: Likewise.
5081 * soft-fp/fixunssfsi.c: Likewise.
5082 * soft-fp/fixunssfti.c: Likewise.
5083 * soft-fp/fixunstfdi.c: Likewise.
5084 * soft-fp/fixunstfsi.c: Likewise.
5085 * soft-fp/fixunstfti.c: Likewise.
5086 * soft-fp/floatdidf.c: Likewise.
5087 * soft-fp/floatdisf.c: Likewise.
5088 * soft-fp/floatditf.c: Likewise.
5089 * soft-fp/floatsidf.c: Likewise.
5090 * soft-fp/floatsisf.c: Likewise.
5091 * soft-fp/floatsitf.c: Likewise.
5092 * soft-fp/floattidf.c: Likewise.
5093 * soft-fp/floattisf.c: Likewise.
5094 * soft-fp/floattitf.c: Likewise.
5095 * soft-fp/floatundidf.c: Likewise.
5096 * soft-fp/floatundisf.c: Likewise.
5097 * soft-fp/floatunditf.c: Likewise.
5098 * soft-fp/floatunsidf.c: Likewise.
5099 * soft-fp/floatunsisf.c: Likewise.
5100 * soft-fp/floatunsitf.c: Likewise.
5101 * soft-fp/floatuntidf.c: Likewise.
5102 * soft-fp/floatuntisf.c: Likewise.
5103 * soft-fp/floatuntitf.c: Likewise.
5104 * soft-fp/gedf2.c: Likewise.
5105 * soft-fp/gesf2.c: Likewise.
5106 * soft-fp/getf2.c: Likewise.
5107 * soft-fp/ledf2.c: Likewise.
5108 * soft-fp/lesf2.c: Likewise.
5109 * soft-fp/letf2.c: Likewise.
5110 * soft-fp/muldf3.c: Likewise.
5111 * soft-fp/mulsf3.c: Likewise.
5112 * soft-fp/multf3.c: Likewise.
5113 * soft-fp/negdf2.c: Likewise.
5114 * soft-fp/negsf2.c: Likewise.
5115 * soft-fp/negtf2.c: Likewise.
5116 * soft-fp/op-1.h: Likewise.
5117 * soft-fp/op-2.h: Likewise.
5118 * soft-fp/op-4.h: Likewise.
5119 * soft-fp/op-8.h: Likewise.
5120 * soft-fp/op-common.h: Likewise.
5121 * soft-fp/quad.h: Likewise.
5122 * soft-fp/single.h: Likewise.
5123 * soft-fp/soft-fp.h: Likewise.
5124 * soft-fp/subdf3.c: Likewise.
5125 * soft-fp/subsf3.c: Likewise.
5126 * soft-fp/subtf3.c: Likewise.
5127 * soft-fp/truncdfsf2.c: Likewise.
5128 * soft-fp/trunctfdf2.c: Likewise.
5129 * soft-fp/trunctfsf2.c: Likewise.
5130 * soft-fp/trunctfxf2.c: Likewise.
5131 * soft-fp/unorddf2.c: Likewise.
5132 * soft-fp/unordsf2.c: Likewise.
5133 * soft-fp/unordtf2.c: Likewise.
5134 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5135 macro.
5136 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5137 Likewise.
5138 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5139 Likewise.
5140 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5141 Likewise.
5142 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5143 Likewise.
5144 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5145 Likewise.
5146 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5147 Likewise.
5148 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5149 Likewise.
5150 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5151 Likewise.
5152 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5153 Likewise.
5154 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5155 Likewise.
5156 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5157 Likewise.
5158 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5159 Likewise.
5160 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5161 Likewise.
5162 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5163 Likewise.
5164 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5165 Likewise.
5166
ce245ec6
AK
51672014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5168
5169 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5170 cannot be represented.
5171 * config/s390/32/_fixsfdi.c: Likewise.
5172 * config/s390/32/_fixtfdi.c: Likewise.
5173 * config/s390/32/_fixunsdfdi.c: Likewise.
5174 * config/s390/32/_fixunssfdi.c: Likewise.
5175 * config/s390/32/_fixunstfdi.c: Likewise.
5176
1c51d688
RS
51772014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5178
5179 * configure.ac (libgcc_cv_mips_hard_float): New.
5180 * configure: Regenerate.
5181 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5182 t-softfp-sfdf for hard-float targets.
5183 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5184 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5185 (softfp_truncations, softfp_exclude_libgcc2): New.
5186 * config/t-hardfp: New file.
5187 * config/t-hardfp-sfdf: Likewise.
5188 * config/hardfp.c: Likewise.
5189
bbf391db
AK
51902014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5191
5192 * config.host: Include t-floattodi also for s390x.
5193 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5194 * config/s390/32/_fixsfdi.c: Likewise.
5195 * config/s390/32/_fixtfdi.c: Likewise.
5196 * config/s390/32/_fixunsdfdi.c: Likewise.
5197 * config/s390/32/_fixunssfdi.c: Likewise.
5198 * config/s390/32/_fixunstfdi.c: Likewise.
5199
91da0481
RO
52002014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5201
5202 PR target/59788
5203 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5204 (install-libgcc-unwind-map-forbuild): New target.
5205 (all): Depend on install-libgcc-unwind-map-forbuild.
5206 (install-libgcc-unwind-map): New target.
5207 (install): Depend on install-libgcc-unwind-map.
5208
02b67731
SL
52092014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5210
5211 * config/nios2/crti.S (_init): Initialize GOT pointer from
5212 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5213
1ea0a651
RS
52142014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5215
5216 * configure.ac: Check __mips64 when setting host_address.
5217 * configure: Regenerate.
5218 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5219 mips/t-mips64 and t-softfp.
5220 (mips*-*-linux*): Don't add mips/t-tpbit.
5221 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5222 (DPBIT, DPBIT_CFLAGS): Delete.
5223 * config/mips/sfp-machine.h: New file.
5224 * config/mips/t-mips64: Likewise.
5225 * config/mips/t-softfp-tf: Likewise.
5226 * config/mips/t-tpbit: Delete.
5227
f32b0061
MS
52282014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5229
5230 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5231 as long long.
5232
a5420aa4
WL
52332014-01-25 Walter Lee <walt@tilera.com>
5234
5235 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5236 config.h or system.h.
5237 (bool) Define.
5238
24534912
WL
52392014-01-25 Walter Lee <walt@tilera.com>
5240
5241 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5242 (post_atomic_barrier): Ditto.
5243 (__fetch_and_do): New macro.
5244 (__atomic_fetch_and_do): Use __fetch_and_do.
5245 (__sync_fetch_and_do): New macro.
5246 (__sync_fetch_and_add_4): New function.
5247 (__sync_fetch_and_sub_4): New function.
5248 (__sync_fetch_and_or_4): New function.
5249 (__sync_fetch_and_and_4): New function.
5250 (__sync_fetch_and_xor_4): New function.
5251 (__sync_fetch_and_nand_4): New function.
5252 (__sync_fetch_and_add_8): New function.
5253 (__sync_fetch_and_sub_8): New function.
5254 (__sync_fetch_and_or_8): New function.
5255 (__sync_fetch_and_and_8): New function.
5256 (__sync_fetch_and_xor_8): New function.
5257 (__sync_fetch_and_nand_8): New function.
5258 (__do_and_fetch): New macro.
5259 (__atomic_do_and_fetch): Use __do_and_fetch.
5260 (__sync_do_and_fetch): New macro.
5261 (__sync_add_and_fetch_4): New function.
5262 (__sync_sub_and_fetch_4): New function.
5263 (__sync_or_and_fetch_4): New function.
5264 (__sync_and_and_fetch_4): New function.
5265 (__sync_xor_and_fetch_4): New function.
5266 (__sync_nand_and_fetch_4): New function.
5267 (__sync_add_and_fetch_8): New function.
5268 (__sync_sub_and_fetch_8): New function.
5269 (__sync_or_and_fetch_8): New function.
5270 (__sync_and_and_fetch_8): New function.
5271 (__sync_xor_and_fetch_8): New function.
5272 (__sync_nand_and_fetch_8): New function.
5273 (__sync_exchange_methods): New macro.
5274 (__sync_val_compare_and_swap_4): New function.
5275 (__sync_bool_compare_and_swap_4): New function.
5276 (__sync_lock_test_and_test_4): New function.
5277 (__sync_val_compare_and_swap_8): New function.
5278 (__sync_bool_compare_and_swap_8): New function.
5279 (__sync_lock_test_and_test_8): New function.
5280 (__subword_cmpxchg_body): New macro.
5281 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5282 (__atomic_compare_exchange_2): Ditto.
5283 (__sync_subword_cmpxchg): New macro.
5284 (__sync_val_compare_and_swap_1): New function.
5285 (__sync_bool_compare_and_swap_1): New function.
5286 (__sync_val_compare_and_swap_2): New function.
5287 (__sync_bool_compare_and_swap_2): New function.
5288 (__atomic_subword): Rename to ...
5289 (__subword): ... New name.
5290 (__atomic_subword_fetch): Use __subword.
5291 (__sync_subword_fetch): New macro.
5292 (__sync_fetch_and_add_1): New function.
5293 (__sync_fetch_and_sub_1): New function.
5294 (__sync_fetch_and_or_1): New function.
5295 (__sync_fetch_and_and_1): New function.
5296 (__sync_fetch_and_xor_1): New function.
5297 (__sync_fetch_and_nand_1): New function.
5298 (__sync_fetch_and_add_2): New function.
5299 (__sync_fetch_and_sub_2): New function.
5300 (__sync_fetch_and_or_2): New function.
5301 (__sync_fetch_and_and_2): New function.
5302 (__sync_fetch_and_xor_2): New function.
5303 (__sync_fetch_and_nand_2): New function.
5304 (__sync_add_and_fetch_1): New function.
5305 (__sync_sub_and_fetch_1): New function.
5306 (__sync_or_and_fetch_1): New function.
5307 (__sync_and_and_fetch_1): New function.
5308 (__sync_xor_and_fetch_1): New function.
5309 (__sync_nand_and_fetch_1): New function.
5310 (__sync_add_and_fetch_2): New function.
5311 (__sync_sub_and_fetch_2): New function.
5312 (__sync_or_and_fetch_2): New function.
5313 (__sync_and_and_fetch_2): New function.
5314 (__sync_xor_and_fetch_2): New function.
5315 (__sync_nand_and_fetch_2): New function.
5316 (__atomic_subword_lock): Use __subword.
5317 (__sync_subword_lock): New macro.
5318 (__sync_lock_test_and_set_1): New function.
5319 (__sync_lock_test_and_set_2): New function.
5320
4d6d3bc5
WL
53212014-01-25 Walter Lee <walt@tilera.com>
5322
5323 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5324 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5325 (__atomic_subword): Ditto.
5326
cbd9890e
WL
53272014-01-25 Walter Lee <walt@tilera.com>
5328
5329 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5330 a prefix op argument.
5331 (__atomic_nand_fetch_4): Add prefix op.
5332 (__atomic_nand_fetch_8): Ditto.
5333
7d296953 53342014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5335
5336 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5337
46dd1242
L
53382014-01-09 Rong Xu <xur@google.com>
5339
5340 * libgcov-driver.c (this_prg): make it local to save
5341 bss space.
5342 (gcov_exit_compute_summary): Ditto.
5343 (gcov_exit_merge_gcda): Ditto.
5344 (gcov_exit_merge_summary): Ditto.
5345 (gcov_exit_dump_gcov): Ditto.
5346
cc86234f 53472014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5348
5349 * libgcov-driver.c: Use libgcov.h.
5350 (buffer_fn_data): Use xmalloc instead of malloc.
5351 (gcov_exit_merge_gcda): Ditto.
5352 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5353 * libgcov.h: New common header files for libgcov-*.h.
5354 * libgcov-interface.c: Use libgcov.h
5355 * libgcov-merge.c: Ditto.
5356 * libgcov-profiler.c: Ditto.
5357 * Makefile.in: Add dependence to libgcov.h
5358
a02e7bdd
JM
53592014-01-02 Joseph Myers <joseph@codesourcery.com>
5360
5361 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5362 case of small numerator and finite nonzero result.
5363
ac1dca3c
RS
53642014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5365
5366 Update copyright years
5367
f9030485
RS
53682014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5369
5370 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5371 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5372 config/arc/dp-hack.h, config/arc/fp-hack.h,
5373 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5374 config/arc/ieee-754/arc600-dsp/divdf3.S,
5375 config/arc/ieee-754/arc600-dsp/divsf3.S,
5376 config/arc/ieee-754/arc600-dsp/muldf3.S,
5377 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5378 config/arc/ieee-754/arc600-mul64/divdf3.S,
5379 config/arc/ieee-754/arc600-mul64/divsf3.S,
5380 config/arc/ieee-754/arc600-mul64/muldf3.S,
5381 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5382 config/arc/ieee-754/arc600/divsf3.S,
5383 config/arc/ieee-754/arc600/mulsf3.S,
5384 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5385 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5386 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5387 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5388 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5389 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5390 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5391 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5392 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5393 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5394 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5395 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5396 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5397 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5398 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5399 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5400 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5401 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5402 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5403 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5404 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5405 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5406 vtv_start_preinit.c: Use the standard form for the copyright notice.
5407
e430824f
CLT
54082013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5409 Chung-Lin Tang <cltang@codesourcery.com>
5410 Based on patches from Altera Corporation
5411
5412 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5413 * config/nios2/lib2-nios2.h: New file.
5414 * config/nios2/lib2-divmod-hi.c: New file.
5415 * config/nios2/linux-unwind.h: New file.
5416 * config/nios2/lib2-divmod.c: New file.
5417 * config/nios2/linux-atomic.c: New file.
5418 * config/nios2/t-nios2: New file.
5419 * config/nios2/crti.asm: New file.
5420 * config/nios2/t-linux: New file.
5421 * config/nios2/lib2-divtable.c: New file.
5422 * config/nios2/lib2-mul.c: New file.
5423 * config/nios2/tramp.c: New file.
5424 * config/nios2/crtn.asm: New file.
5425
1879e97f
UB
54262013-12-26 Uros Bizjak <ubizjak@gmail.com>
5427
5428 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5429 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5430 from cpuid.h to check vendor signatures.
5431
f4a4bdbb
GG
54322013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5433
c2e7e597 5434 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5435 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5436 (get_amd_cpu): Likewise.
5437
8d2ae544
L
54382013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5439
5440 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5441 Haswell.
5442
74924838
ASJ
54432013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5444 H.J. Lu <hongjiu.lu@intel.com>
5445
0bb52f25
L
5446 PR target/59422
5447 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5448 and AMD_JAGUAR.
5449 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5450 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5451 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5452 FEATURE_XOP and FEATURE_FMA.
5453 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5454 AMDFAM15H_BDVER3.
5455 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5456 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5457 FEATURE_FMA4 and FEATURE_XOP.
5458
d3c11974
L
54592013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5460
5461 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5462 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5463 (get_intel_cpu): Updated.
5464
064c4ff2
ZC
54652013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5466
5467 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5468
8b02e720
UB
54692013-12-09 Uros Bizjak <ubizjak@gmail.com>
5470
5471 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5472 instructions when __SSE_MATH__ is defined.
8b02e720 5473
3fa2ccb4
RC
54742013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5475
5476 * config.host (microblaze-*-rtems*): New.
5477
ecd78fc9
KV
54782013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5479
5480 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5481 architectures that do not have hardware divide instruction.
5482 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5483
b21fbbd2
RS
54842013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5485
5486 * longlong.h: Delete (moved to include/).
5487
b03fb8c9
AZ
54882013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489
5490 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5491 of normal number and qNaN to not raise an inexact exception.
5492
3c716922
UB
54932013-11-28 Uros Bizjak <ubizjak@gmail.com>
5494
5495 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5496
54972013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5498
5499 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5500 for correct opcodes on BE.
5501
a3458d22
UB
55022013-11-27 Uros Bizjak <ubizjak@gmail.com>
5503
5504 * soft-fp/op-4.h: Update from glibc.
5505
30b8f78b
KV
55062013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5507
5508 * libgcc2.c (__udivmoddi4): Define new implementation when
5509 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5510 divide instructions.
5511
82552a29
OE
55122013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5513
5514 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5515
80e87457
RO
55162013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5517
5518 * config/t-softfp (soft-fp-objects-base): New variable.
5519 (soft-fp-objects): Use it.
5520
44178879
DE
55212013-11-23 David Edelson <dje.gcc@gmail.com>
5522 Andrew Dixie <andrewd@gentrack.com>
5523
5524 PR target/33704
5525 * config/rs6000/aixinitfini.c: New file.
5526 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5527 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5528 symbols.
5529
e5287671
YR
55302013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5531
a3458d22 5532 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5533
867c8b03
JH
55342013-11-18 Jan Hubicka <jh@suse.cz>
5535
7f369373
JH
5536 * libgcov-driver.c (run_accounted): Make global level static.
5537 (gcov_exit_merge_summary): Silence warning; do not clear
5538 run_accounted here.
5539 (gcov_exit): Clear it here.
5540
1d0b3334
JH
5541 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5542 run_accounted.
5543
867c8b03
JH
5544 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5545 (all_prg, crc32): Remove static vars.
5546 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5547 all_prg.
5548 (gcov_exit_merge_gcda): Add crc32 parameter.
5549 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5550 do not account run if it was already accounted.
5551 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5552 (gcov_exit): Initialize all_prg; update.
5553
66204992
AS
55542013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5555
5556 * configure: Regenerate.
5557
b54214fe
UW
55582013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5559 Alan Modra <amodra@gmail.com>
5560
5561 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5562 (frob_update_context): Use it.
5563
55642013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5565 Alan Modra <amodra@gmail.com>
5566
5567 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5568 (trampoline_initial): Provide ELFv2 variant.
5569 (__trampoline_setup): Likewise.
5570
5571 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5572 check for AIX indirect function call sequence if _CALL_ELF == 2.
5573
55742013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5575 Alan Modra <amodra@gmail.com>
5576
5577 * config/rs6000/linux-unwind.h (get_regs): Do not support
5578 old kernel versions if _CALL_ELF == 2.
5579 (frob_update_context): Do not support PLT stub variants only
5580 generated by old linkers if _CALL_ELF == 2.
5581
13e0981a
UW
55822013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5583 Alan Modra <amodra@gmail.com>
5584
5585 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5586 location of CR save area for 64-bit little-endian systems.
5587
1a80085d
EB
55882013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5589
5590 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5591 in tmake_file.
5592 * config/arm/t-vxworks: Delete.
5593
cabeea52
KT
55942013-11-10 Kai Tietz <ktietz@redhat.com>
5595
5596 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5597 Increment load-count on use of LIBGCC_SONAME DLL.
5598 (hmod_libgcc): New static variable to hold handle of
5599 LIBGCC_SONAME DLL.
5600 (__gcc_deregister_frame): Decrement load-count of
5601 LIBGCC_SONAME DLL.
5602
ac088ba1
BRF
56032013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5604
5605 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5606 availability.
5607 * configure: Regenerate
5608
d59a8fcc
UB
56092013-11-07 Uros Bizjak <ubizjak@gmail.com>
5610
5611 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5612 FP_EX_DENORM. Store result to volatile location after SSE division
5613 to close interrupt window. Remove unneeded fwait after x87
5614 division since interrupt window will be closed by emitted fstp.
9de84e84 5615 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5616
9954c743
JM
56172013-11-06 Joseph Myers <joseph@codesourcery.com>
5618
5619 * soft-fp/README: Update.
5620 * soft-fp/adddf3.c: Update from glibc.
5621 * soft-fp/addsf3.c: Likewise.
5622 * soft-fp/addtf3.c: Likewise.
5623 * soft-fp/divdf3.c: Likewise.
5624 * soft-fp/divsf3.c: Likewise.
5625 * soft-fp/divtf3.c: Likewise.
5626 * soft-fp/double.h: Likewise.
5627 * soft-fp/eqdf2.c: Likewise.
5628 * soft-fp/eqsf2.c: Likewise.
5629 * soft-fp/eqtf2.c: Likewise.
5630 * soft-fp/extenddftf2.c: Likewise.
5631 * soft-fp/extended.h: Likewise.
5632 * soft-fp/extendsfdf2.c: Likewise.
5633 * soft-fp/extendsftf2.c: Likewise.
5634 * soft-fp/extendxftf2.c: Likewise.
5635 * soft-fp/fixdfdi.c: Likewise.
5636 * soft-fp/fixdfsi.c: Likewise.
5637 * soft-fp/fixdfti.c: Likewise.
5638 * soft-fp/fixsfdi.c: Likewise.
5639 * soft-fp/fixsfsi.c: Likewise.
5640 * soft-fp/fixsfti.c: Likewise.
5641 * soft-fp/fixtfdi.c: Likewise.
5642 * soft-fp/fixtfsi.c: Likewise.
5643 * soft-fp/fixtfti.c: Likewise.
5644 * soft-fp/fixunsdfdi.c: Likewise.
5645 * soft-fp/fixunsdfsi.c: Likewise.
5646 * soft-fp/fixunsdfti.c: Likewise.
5647 * soft-fp/fixunssfdi.c: Likewise.
5648 * soft-fp/fixunssfsi.c: Likewise.
5649 * soft-fp/fixunssfti.c: Likewise.
5650 * soft-fp/fixunstfdi.c: Likewise.
5651 * soft-fp/fixunstfsi.c: Likewise.
5652 * soft-fp/fixunstfti.c: Likewise.
5653 * soft-fp/floatdidf.c: Likewise.
5654 * soft-fp/floatdisf.c: Likewise.
5655 * soft-fp/floatditf.c: Likewise.
5656 * soft-fp/floatsidf.c: Likewise.
5657 * soft-fp/floatsisf.c: Likewise.
5658 * soft-fp/floatsitf.c: Likewise.
5659 * soft-fp/floattidf.c: Likewise.
5660 * soft-fp/floattisf.c: Likewise.
5661 * soft-fp/floattitf.c: Likewise.
5662 * soft-fp/floatundidf.c: Likewise.
5663 * soft-fp/floatundisf.c: Likewise.
5664 * soft-fp/floatunditf.c: Likewise.
5665 * soft-fp/floatunsidf.c: Likewise.
5666 * soft-fp/floatunsisf.c: Likewise.
5667 * soft-fp/floatunsitf.c: Likewise.
5668 * soft-fp/floatuntidf.c: Likewise.
5669 * soft-fp/floatuntisf.c: Likewise.
5670 * soft-fp/floatuntitf.c: Likewise.
5671 * soft-fp/gedf2.c: Likewise.
5672 * soft-fp/gesf2.c: Likewise.
5673 * soft-fp/getf2.c: Likewise.
5674 * soft-fp/ledf2.c: Likewise.
5675 * soft-fp/lesf2.c: Likewise.
5676 * soft-fp/letf2.c: Likewise.
5677 * soft-fp/muldf3.c: Likewise.
5678 * soft-fp/mulsf3.c: Likewise.
5679 * soft-fp/multf3.c: Likewise.
5680 * soft-fp/negdf2.c: Likewise.
5681 * soft-fp/negsf2.c: Likewise.
5682 * soft-fp/negtf2.c: Likewise.
5683 * soft-fp/op-1.h: Likewise.
5684 * soft-fp/op-2.h: Likewise.
5685 * soft-fp/op-4.h: Likewise.
5686 * soft-fp/op-8.h: Likewise.
5687 * soft-fp/op-common.h: Likewise.
5688 * soft-fp/quad.h: Likewise.
5689 * soft-fp/single.h: Likewise.
5690 * soft-fp/soft-fp.h: Likewise.
5691 * soft-fp/subdf3.c: Likewise.
5692 * soft-fp/subsf3.c: Likewise.
5693 * soft-fp/subtf3.c: Likewise.
5694 * soft-fp/truncdfsf2.c: Likewise.
5695 * soft-fp/trunctfdf2.c: Likewise.
5696 * soft-fp/trunctfsf2.c: Likewise.
5697 * soft-fp/trunctfxf2.c: Likewise.
5698 * soft-fp/unorddf2.c: Likewise.
5699 * soft-fp/unordsf2.c: Likewise.
5700 * soft-fp/unordtf2.c: Likewise.
5701
02ac9503
UB
57022013-11-05 Uros Bizjak <ubizjak@gmail.com>
5703
5704 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5705 (_FP_MUL_MEAT_D): Ditto.
5706 (_FP_DIV_MEAT_S): Ditto.
5707 (_FP_DIV_MEAT_D): Ditto.
5708 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5709 t-softfp-sfdf and t-softfp to tmake_file.
5710
61221141
UB
57112013-11-03 Uros Bizjak <ubizjak@gmail.com>
5712
5713 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5714 * config/i386/crtprec.c: Ditto.
5715
9304f876
CJW
57162013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5717 Shiva Chen <shiva0217@gmail.com>
5718
5719 * config.host (nds32*-elf*): Add nds32 target.
5720 * config/nds32 : New directory and files.
5721
0e499e75
HPN
57222013-10-16 Hans-Peter Nilsson <hp@axis.com>
5723
5724 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5725 * config.host (cpu_type) <Setting default>: Add entry for
5726 crisv32-*-*.
5727 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5728 <crisv32-*-linux*>: Adjust.
5729 * longlong.h: Wrap the whole CRIS section in a single
5730 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5731 and sub_ddmmss.
5732 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5733 defined.
5734 [__CRIS__] (__umulsidi3): Define.
5735 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5736 * config/cris/sfp-machine.h: New file.
5737 * config/cris/umulsidi3.S: New file.
5738 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5739 * config/cris/arit.c (SIGNMULT): New macro.
5740 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5741 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5742 saving 3 out of originally 33 cycles from the fastest
5743 path, 3 out of 54 from the medium path and one from the longest
5744 path. Improve comments.
5745
16022041
RS
57462013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5747
5748 * sync.c: Remove static aliases and define each function directly
5749 under its real name.
5750
69778659
JDA
57512013-10-02 John David Anglin <danglin@gcc.gnu.org>
5752
5753 * config.host (hppa*64*-*-linux*): Define extra_parts.
5754 (hppa*-*-linux*): Likewise.
5755
2deaf8b0
JR
57562013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5757
5758 * config/arc/crtgend.S: Add 2013 to Copyright years.
5759 * config/arc/gmon/atomic.h: Likewise.
5760 * config/arc/gmon/auxreg.h: Likewise.
5761 * config/arc/gmon/sys/gmon_out.h: Likewise.
5762 * config/arc/gmon/sys/gmon.h: Likewise.
5763 * config/arc/gmon/prof-freq.c: Likewise.
5764 * config/arc/gmon/mcount.c: Likewise.
5765 * config/arc/gmon/prof-freq-stub.S: Likewise.
5766 * config/arc/gmon/gmon.c: Likewise.
5767 * config/arc/gmon/machine-gmon.h: Likewise.
5768 * config/arc/gmon/profil.S: Likewise.
5769 * config/arc/gmon/dcache_linesz.S: Likewise.
5770 * config/arc/crtg.S: Likewise.
5771 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5772 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5773 * config/arc/ieee-754/adddf3.S: Likewise.
5774 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5775 * config/arc/ieee-754/fixsfsi.S: Likewise.
5776 * config/arc/ieee-754/gtsf2.S: Likewise.
5777 * config/arc/ieee-754/floatsisf.S: Likewise.
5778 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5779 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5780 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5781 * config/arc/ieee-754/fixdfsi.S: Likewise.
5782 * config/arc/ieee-754/addsf3.S: Likewise.
5783 * config/arc/ieee-754/gesf2.S: Likewise.
5784 * config/arc/ieee-754/floatsidf.S: Likewise.
5785 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5786 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5787 * config/arc/ieee-754/gtdf2.S: Likewise.
5788 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5789 * config/arc/ieee-754/uneqdf2.S: Likewise.
5790 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5791 * config/arc/ieee-754/uneqsf2.S: Likewise.
5792 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5793 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5794 * config/arc/ieee-754/eqdf2.S: Likewise.
5795 * config/arc/ieee-754/ordsf2.S: Likewise.
5796 * config/arc/ieee-754/divsf3.S: Likewise.
5797 * config/arc/ieee-754/divdf3.S: Likewise.
5798 * config/arc/ieee-754/floatunsidf.S: Likewise.
5799 * config/arc/ieee-754/orddf2.S: Likewise.
5800 * config/arc/ieee-754/eqsf2.S: Likewise.
5801 * config/arc/ieee-754/gedf2.S: Likewise.
5802 * config/arc/crtn.S: Likewise.
5803 * config/arc/crti.S: Likewise.
5804 * config/arc/t-arc700-uClibc: Likewise.
5805 * config/arc/asm.h: Likewise.
5806 * config/arc/libgcc-excl.ver: Likewise.
5807 * config/arc/t-arc-newlib: Likewise.
5808 * config/arc/divtab-arc700.c: Likewise.
5809 * config/arc/initfini.c: Likewise.
5810 * config/arc/fp-hack.h: Likewise.
5811
c8e318b0
JR
58122013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5813 Diego Novillo <dnovillo@google.com>
5814
5815 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5816 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5817 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5818 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5819
d38a64b4
JR
58202013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5821 Brendan Kehoe <brendan@zen.org>
5822 Simon Cook <simon.cook@embecosm.com>
5823
5824 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5825 * config/arc: New directory.
5826 * longlong.h [__arc__] (umul_ppmm): Remove.
5827 [__arc__] (__umulsidi3): Define.
5828 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5829 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5830
dff717d2
JC
58312013-09-17 Jacek Caban <jacek@codeweavers.com>
5832
5833 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5834 CreateSemaphoreA.
5835 * config/i386/gthr-win32.h: Likewise.
5836
5c0029de
DD
58372013-09-16 DJ Delorie <dj@redhat.com>
5838
844ad6c6 5839 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5840 * config/rl78/lib2mul.c: Enable for RL78/G10.
5841 * config/rl78/lib2div.c: Likewise.
5842 * config/rl78/lshrsi3.S: Use vregs.h.
5843 * config/rl78/cmpsi2.S: Likewise.
5844 * config/rl78/trampoline.S: Likewise.
5845 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5846
ceb2fc49
DD
58472013-09-14 DJ Delorie <dj@redhat.com>
5848 Nick Clifton <nickc@redhat.com>
5849
5850 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5851 * config/rl78/vregs.h: New.
5852 * config/rl78/signbit.S: New file. Implements signbit function.
5853 * config/rl78/divmodsi.S: New.
5854 * config/rl78/divmodhi.S: New.
5855 * config/rl78/divmodqi.S: New.
5856 * config/rl78/t-rl78: Build them here...
5857 * config/rl78/lib2div.c: ...but not here.
5858
f6a83b4a
DD
58592013-09-12 DJ Delorie <dj@redhat.com>
5860
5861 * config.host (msp*-*-elf): New.
5862 * config/msp430/: New port.
5863
9107b096
IS
58642013-08-18 Iain Sandoe <iain@codesourcery.com>
5865
5866 PR gcov-profile/58127
5867 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5868 __thread var for emulated TLS.
5869 (__gcov_indirect_call_counters): Likewise.
5870
0f9bde1f 58712013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5872 Catherine Moore <clm@codesourcery.com>
7d296953 5873 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5874
5875 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5876 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5877 (CALL_STUB_NO_RET): Likewise.
5878 (CALL_STUB_RET): Likewise.
5879 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5880 __mips16_ret call/return stub symbols.
5881 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5882 to tmake_file.
5883
2dc14aac
MR
58842013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5885
5886 * config.host <mips*-*-linux*>: Remove a stray comment.
5887
748d71f3
JH
58882013-08-10 Jan Hubicka <jh@suse.cz>
5889
5890 Work around binutils PR14342
5891 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5892 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5893 (L_gcov_indirect_call_profiler_v2): New.
5894
2fa3d31b
JH
58952013-08-06 Jan Hubicka <jh@suse.cz>
5896
5897 * libgcov.c (__gcov_indirect_call_callee,
5898 __gcov_indirect_call_counters): New global vars.
5899 (__gcov_indirect_call_profiler): replace by ...
5900 (__gcov_indirect_call_profiler_v2) ... this one.
5901
2077db1b
CT
59022013-08-06 Caroline Tice <cmtice@google.com>
5903
d0595b65 5904 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5905 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5906 * configure.ac: Add code to check/set enable_vtable_verify.
5907 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5908 true.
d0595b65
CT
5909 * vtv_start_preinit.c: New file.
5910 * vtv_end_preinit.c: New file.
5911 * vtv_start.c: New file.
5912 * vtv_end.c: New file.
5913 * configure: Regenerated.
2077db1b 5914
46549c20
MK
59152013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5916
5917 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5918 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5919 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5920 GPL-3.0-with-GCC-exception.
5921
72be589b
MR
59222013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5923
5924 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5925 ISA and up.
5926
902a3faf
AK
59272013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5928
5929 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5930 mapping for FPRs when creating the fallback framestate.
5931
02371798
GJL
59322013-07-19 Georg-Johann Lay <avr@gjlay.de>
5933
5934 PR target/57516
5935 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5936 (__round_s2_const, __round_u2_const)
5937 (__round_s4_const, __round_u4_const, __round_x8):
5938 Saturate result if addition result cannot be represented.
5939
ab0e8379
MK
59402013-07-15 Matthias Klose <doko@ubuntu.com>
5941
5942 * libgcc2.c: Don't include <limits.h>.
5943
7da38058
JJ
59442013-07-09 Janis Johnson <janisjo@codesourcery.com>
5945
5946 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5947
1f6eac90
JJ
59482013-07-06 Jakub Jelinek <jakub@redhat.com>
5949
5950 PR target/29776
5951 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5952
4ea3d774
JJ
59532013-06-28 Jakub Jelinek <jakub@redhat.com>
5954
5955 PR middle-end/36041
5956 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5957 Define.
5958 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5959 instead of table lookups.
5960 (__popcountDI2): Likewise.
5961
9d2cdf25
CJW
59622013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5963
5964 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5965 correctly.
5966
fa1e55b0
JM
59672013-06-21 Joseph Myers <joseph@codesourcery.com>
5968
5969 PR other/53317
5970 * soft-fp/adddf3.c: Update from glibc.
5971 * soft-fp/addsf3.c: Likewise.
5972 * soft-fp/addtf3.c: Likewise.
5973 * soft-fp/divdf3.c: Likewise.
5974 * soft-fp/divsf3.c: Likewise.
5975 * soft-fp/divtf3.c: Likewise.
5976 * soft-fp/double.h: Likewise.
5977 * soft-fp/eqdf2.c: Likewise.
5978 * soft-fp/eqsf2.c: Likewise.
5979 * soft-fp/eqtf2.c: Likewise.
5980 * soft-fp/extenddftf2.c: Likewise.
5981 * soft-fp/extended.h: Likewise.
5982 * soft-fp/extendsfdf2.c: Likewise.
5983 * soft-fp/extendsftf2.c: Likewise.
5984 * soft-fp/fixdfdi.c: Likewise.
5985 * soft-fp/fixdfsi.c: Likewise.
5986 * soft-fp/fixsfdi.c: Likewise.
5987 * soft-fp/fixsfsi.c: Likewise.
5988 * soft-fp/fixtfdi.c: Likewise.
5989 * soft-fp/fixtfsi.c: Likewise.
5990 * soft-fp/fixunsdfdi.c: Likewise.
5991 * soft-fp/fixunsdfsi.c: Likewise.
5992 * soft-fp/fixunssfdi.c: Likewise.
5993 * soft-fp/fixunssfsi.c: Likewise.
5994 * soft-fp/fixunstfdi.c: Likewise.
5995 * soft-fp/fixunstfsi.c: Likewise.
5996 * soft-fp/floatdidf.c: Likewise.
5997 * soft-fp/floatdisf.c: Likewise.
5998 * soft-fp/floatditf.c: Likewise.
5999 * soft-fp/floatsidf.c: Likewise.
6000 * soft-fp/floatsisf.c: Likewise.
6001 * soft-fp/floatsitf.c: Likewise.
6002 * soft-fp/floatundidf.c: Likewise.
6003 * soft-fp/floatundisf.c: Likewise.
6004 * soft-fp/floatunditf.c: Likewise.
6005 * soft-fp/floatunsidf.c: Likewise.
6006 * soft-fp/floatunsisf.c: Likewise.
6007 * soft-fp/floatunsitf.c: Likewise.
6008 * soft-fp/gedf2.c: Likewise.
6009 * soft-fp/gesf2.c: Likewise.
6010 * soft-fp/getf2.c: Likewise.
6011 * soft-fp/ledf2.c: Likewise.
6012 * soft-fp/lesf2.c: Likewise.
6013 * soft-fp/letf2.c: Likewise.
6014 * soft-fp/muldf3.c: Likewise.
6015 * soft-fp/mulsf3.c: Likewise.
6016 * soft-fp/multf3.c: Likewise.
6017 * soft-fp/negdf2.c: Likewise.
6018 * soft-fp/negsf2.c: Likewise.
6019 * soft-fp/negtf2.c: Likewise.
6020 * soft-fp/op-1.h: Likewise.
6021 * soft-fp/op-2.h: Likewise.
6022 * soft-fp/op-4.h: Likewise.
6023 * soft-fp/op-8.h: Likewise.
6024 * soft-fp/op-common.h: Likewise.
6025 * soft-fp/quad.h: Likewise.
6026 * soft-fp/single.h: Likewise.
6027 * soft-fp/soft-fp.h: Likewise.
6028 * soft-fp/subdf3.c: Likewise.
6029 * soft-fp/subsf3.c: Likewise.
6030 * soft-fp/subtf3.c: Likewise.
6031 * soft-fp/truncdfsf2.c: Likewise.
6032 * soft-fp/trunctfdf2.c: Likewise.
6033 * soft-fp/trunctfsf2.c: Likewise.
6034 * soft-fp/unorddf2.c: Likewise.
6035 * soft-fp/unordsf2.c: Likewise.
6036 * soft-fp/unordtf2.c: Likewise.
6037 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6038 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6039 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6040 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6041 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6042 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6043 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6044 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6045 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6046 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6047 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6048 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6049
0de86a92
JU
60502013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6051
6052 * config/mips/lib2funcs.c: New file.
6053 * config/mips/t-mips (LIB2ADD_ST): Add it.
6054
0d008882
OE
60552013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6056
6057 PR target/6526
6058 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6059 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6060
776434d1
WL
60612013-06-08 Walter Lee <walt@tilera.com>
6062
6063 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6064 Replace int64_t with long long. Add __extension__ where
6065 appropriate.
6066 * config/tilepro/atomic.c: Include config.h.
6067
6ab3ebb4
DR
60682013-06-06 Douglas B Rupp <rupp@adacore.com>
6069
6070 * config.host (arm-wrs-vxworks): Configure with other soft float.
6071
107eea2c
JU
60722013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6073
6074 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6075 (mips64r5900el-*-elf*): New configurations.
6076
5cc19c62
AM
60772013-06-04 Alan Modra <amodra@gmail.com>
6078
6079 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6080
0f1d3965
YR
60812013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6082
6083 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6084
0ba045df
EB
60852013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6086
6087 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6088 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6089 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6090
49dcafd4
EB
60912013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6092
6093 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6094 (powerpc-wrs-vxworks): Likewise.
6095
4fcb5d87
EB
60962013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6097
6098 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6099 signal frames as well.
6100 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6101 STACK_BIAS to the CFA offset.
6102
0ec33224
RH
61032013-05-17 Richard Henderson <rth@redhat.com>
6104
6105 PR target/49146
6106 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6107 (execute_cfa_program): Use it when storing to fs->regs.
6108
492a8029
KT
61092013-05-08 Kai Tietz <ktietz@redhat.com>
6110
6111 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6112 (__deregister_frame_info): Likewise.
6113
701e2f0a
TS
61142013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6115
e5123d08
TS
6116 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6117 NaN's payload.
6118
701e2f0a
TS
6119 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6120
b9a7eb5d
AM
61212013-04-25 Alan Modra <amodra@gmail.com>
6122
6123 * config.host: Match little-endian powerpc-linux.
6124
dfe192f5
YZ
61252013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6126
6127 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6128 as 'unsigned long long' instead of 'unsigned long'.
6129 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6130 'signed long'.
6131
b6b9af2f
JB
61322013-04-10 Julian Brown <julian@codesourcery.com>
6133
6134 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6135 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6136 unsigned char/unsigned short.
6137 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6138
ecabdd00
JDA
61392013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6140
6141 PR other/55274
6142 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6143
34652576
MI
61442013-04-04 Meador Inge <meadori@codesourcery.com>
6145
6146 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6147 computing the location of the link register.
6148 (aeabi_uldivmod): Ditto.
6149
e9fd8c19
KT
61502013-03-27 Kai Tietz <ktietz@redhat.com>
6151
6152 * config.host: Add support for cygwin x64 target.
6153 * configure: Regenerated.
6154
a6406324
WL
61552013-03-26 Walter Lee <walt@tilera.com>
6156
6157 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6158 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6159
55446c7e
KT
61602013-03-25 Kai Tietz <ktietz@redhat.com>
6161
6162 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6163
d2ae19d9
RM
61642013-03-20 Robert Mason <rbmj@verizon.net>
6165
6166 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6167 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6168 (__gthread_leave_tsd_dtor_context): Add prototypes.
6169 (tls_delete_hook): Update.
6170
22c4c869
CM
61712013-03-20 Catherine Moore <clm@codesourcery.com>
6172 Joseph Myers <joseph@codesourcery.com>
6173 Chao-ying Fu <fu@mips.com>
6174
6175 * config/mips/mips16.S: Don't build for microMIPS.
6176 * config/mips/linux-unwind.h: Handle microMIPS frame.
6177 * config/mips/crtn.S (fini, init): New labels.
6178
fbd28bc3
JJ
61792013-03-14 Jakub Jelinek <jakub@redhat.com>
6180
6181 PR tree-optimization/53265
6182 * unwind-dw2.c (execute_cfa_program): Avoid
6183 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6184 on targets with DWARF_FRAME_REGISTERS < 32.
6185
decc676e
OE
61862013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6187
6188 PR target/49880
6189 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6190 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6191
84ea618a
ST
61922013-03-07 Sriraman Tallam <tmsriram@google.com>
6193
6194 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6195 sandybridge processors.
6196
8f6d1c86
OE
61972013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6198
6199 PR target/56529
6200 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6201 inclusion list.
6202
ecdbd01a 62032013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6204
6205 * config/microblaze/crti.S: Setup stack protection at entry
6206
0b4ce21b
GJL
62072013-03-04 Georg-Johann Lay <avr@gjlay.de>
6208
6209 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6210 (__rotldi3): Shift bytewise if applicable.
6211
b7c3f1ca
JG
62122013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6213
6214 * config/aarch64/sync-cache.c
6215 (__aarch64_sync_cache_range): Silence warnings.
6216
6d65e8f1
CM
62172013-02-25 Catherine Moore <clm@codesourcery.com>
6218
6219 Revert:
6220 2013-02-24 Catherine Moore <clm@codesourcery.com>
6221 Joseph Myers <joseph@codesourcery.com>
6222 Chao-ying Fu <fu@mips.com>
6223
6224 * config/mips/mips16.S: Don't build for microMIPS.
6225 * config/mips/linux-unwind.h: Handle microMIPS frame.
6226 * config/mips/crtn.S (fini, init): New labels.
6227
6941b508
CM
62282013-02-24 Catherine Moore <clm@codesourcery.com>
6229 Joseph Myers <joseph@codesourcery.com>
6230 Chao-ying Fu <fu@mips.com>
6231
6232 * config/mips/mips16.S: Don't build for microMIPS.
6233 * config/mips/linux-unwind.h: Handle microMIPS frame.
6234 * config/mips/crtn.S (fini, init): New labels.
6235
7c422dbb 62362012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6237 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6238 as dividend.
6239
110207ad
AM
62402013-02-16 Alan Modra <amodra@gmail.com>
6241
6242 PR target/55431
6243 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6244 (ppc_fallback_frame_state): Always set up save locations for fp
6245 and altivec. Don't bother with non-callee-saved regs, r0-r13
6246 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6247
e68a4ef6
GJL
62482013-02-12 Georg-Johann Lay <avr@gjlay.de>
6249
6250 PR target/54222
6251 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6252 _ssmulHA, _ssmulSA.
6253 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6254 _ssmulha3, _usmulusa3, _ssmulsa3.
6255 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6256 (__muldi3): XCALL __muldi3_6 instead of rcall.
6257 (__umulsidi3, __mulsidi3): New functions.
6258 (do_prologue_saves, do_epilogue_restores): New .macros.
6259 (__divdi3_moddi3): Use them.
6260 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6261 (__usmulusa3, __ssmulsa3): New functions.
6262
6c59ffd1
IS
62632013-02-11 Iain Sandoe <iain@codesourcery.com>
6264 Jack Howarth <howarth@bromo.med.uc.edu>
6265 Patrick Marlier <patrick.marlier@gmail.com>
6266
6267 PR libitm/55693
6268 * config/darwin-crt-tm.c: Remove dummy functions hack.
6269
85d768f3
GJL
62702013-02-08 Georg-Johann Lay <avr@gjlay.de>
6271
6272 PR target/54222
6273 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6274 * config/avr/lib2-object.mk: New iterator to build objects from it.
6275 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6276 lib2funcs.c.
6277 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6278 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6279 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6280 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6281 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6282 * config/avr/lib1funcs-fixed.S: Implement them.
6283
5d5bf775
RS
62842013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6285
6286 Update copyright years.
6287
99113dff
DE
62882013-02-01 David Edelsohn <dje.gcc@gmail.com>
6289
6290 PR target/54601
6291 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6292 Add crtcxa to extra_parts.
6293 * config/rs6000/exit.h: New file.
6294 * config/rs6000/cxa_atexit.c: New file.
6295 * config/rs6000/cxa_finalize.c: New file.
6296 * config/rs6000/crtcxa.c: New file.
6297 * config/rs6000/t-aix-cxa: New file.
6298 * config/rs6000/libgcc-aix-cxa.ver: New file.
6299
dbdbd982
NC
63002013-01-31 Nick Clifton <nickc@redhat.com>
6301
6302 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6303 variant.
6304
5893f158
GJL
63052013-01-29 Georg-Johann Lay <avr@gjlay.de>
6306
6307 PR target/54222
6308 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6309 _mulQQ, _mulHQ, _mulHA, _mulSA,
6310 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6311 _divQQ, _divHQ, _divHA, _divSA,
6312 _divUQQ, _divUHQ, _divUHA, _divUSA.
6313
ecdbd01a 63142013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6315
dbdbd982 6316 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6317 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6318 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6319 to exclude functions from being built with libgcc.c and use
6320 the microblaze assembly.
6321
ecdbd01a 63222013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6323
6324 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6325 extra_parts.
6326
922c57d1
YZ
63272013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6328
6329 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6330 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6331 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6332 alignment operation.
6333
e0f8b6a0
SN
63342013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6335
6336 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6337 loop start address for cache clearing.
6338
00892272
GJL
63392013-01-14 Georg-Johann Lay <avr@gjlay.de>
6340
6341 * config/avr/lib1funcs.S: Remove trailing blanks.
6342 * config/avr/lib1funcs-fixed.S: Ditto.
6343
e59ec5fd
GJL
63442013-01-14 Georg-Johann Lay <avr@gjlay.de>
6345
6346 * config/avr/avr-lib.h: Add GPL copyright notice.
6347
3ffc1958
GJL
63482013-01-14 Georg-Johann Lay <avr@gjlay.de>
6349
6350 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6351 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6352 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6353 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6354
25c210f9
MK
63552013-01-07 Mark Kettenis <kettenis@openbsd.org>
6356
6357 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6358 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6359
db59befb
NC
63602013-01-04 Nick Clifton <nickc@redhat.com>
6361
6362 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6363 the CALLT instruction is supported.
6364
5aa12dbf
JW
63652012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6366
6367 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6368 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6369
65f14117
JT
63702012-12-13 John Tytgat <John@bass-software.com>
6371
6372 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6373 is 25.
6374
ee3ae4f7
JJ
63752012-12-12 Jakub Jelinek <jakub@redhat.com>
6376
6377 PR libgcc/55451
6378 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6379 undefined signed overflows.
6380
2fcfba3d
UB
63812012-12-09 Uros Bizjak <ubizjak@gmail.com>
6382
6383 PR target/55344
6384 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6385
4f2b3dc2
UB
63862012-12-06 Uros Bizjak <ubizjak@gmail.com>
6387
6388 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6389 (FP_TRAPPING_EXCEPTIONS): Define.
6390 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6391 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6392
066161a2
RH
63932012-12-04 Richard Henderson <rth@redhat.com>
6394
6395 PR bootstrap/55571
6396 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6397
7d296953 63982012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6399
4f2b3dc2 6400 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6401 (FP_EX_SHIFT): Define.
6402 (FP_TRAPPING_EXCEPTIONS): Define.
6403
7d296953 64042012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6405
6406 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6407 (FP_ROUNDMODE): Use FP_RND_MASK.
6408 * config/aarch64/sfp-exceptions.c: New.
6409 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6410 Use __sfp_handle_exceptions.
6411
5005fe22
RE
64122012-12-04 Richard Earnshaw <rearnsha@arm.com>
6413
6414 * config.host: (arm*-*-freebsd*): Remove.
6415 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6416 (arm*-*-elf*): Remove.
6417 (arm*-*-wince-pe*): Remove.
6418 * arm/unwind-arm.c (struct fpa_reg): Delete.
6419 (struct fpa_regs): Delete.
6420 (phase1_vrs): Remove fpa element.
6421 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6422 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6423 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6424 * ieee754-sf.S (floatundisf): Remove FPA support.
6425 (floatdisf): Likewise.
6426 * ieee75f-df.S (floatundidf): Likewise.
6427 (floatdidf): Likewise.
6428
e5a81c8e
KT
64292012-11-29 Kai Tietz <ktietz@redhat.com>
6430
6431 PR target/55445
6432 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6433 * unwind-generic.h: Likewise.
6434 * unwind-seh.c: Likewise.
6435
f4919e4a
RH
64362012-11-28 Richard Henderson <rth@redhat.com>
6437
6438 PR libgcc/48076
6439 * emutls.c (__emutls_get_address): Avoid race condition between
6440 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6441
e13d9d5a
GJL
64422012-11-22 Georg-Johann Lay <avr@gjlay.de>
6443
6444 Adjust decimal point of signed accum mode to GCC default.
6445
6446 PR target/54222
6447 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6448 _divqq_helper.
6449 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6450 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6451 (__mulha3, __mulsa3)
6452 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6453 decimal point of signed accum types.
6454
e13d9d5a
GJL
6455 (__mulusa3_round): New function.
6456 (__mulusa3): Use it.
6457 (__divqq_helper): New function.
6458 (__udivuqq3): Use it.
6459
1b845c6e
JJ
64602012-11-20 Jakub Jelinek <jakub@redhat.com>
6461
6462 PR bootstrap/55370
6463 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6464
822a258a
TJ
64652012-11-18 Teresa Johnson <tejohnson@google.com>
6466
6467 PR bootstrap/55051
6468 * libgcov.c (gcov_exit): Remove merged program summary
6469 comparison unless !GCOV_LOCKED.
6470
7d296953 64712012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6472
6473 * soft-fp: Updated from glibc upstream.
6474
e808687a
ILT
64752012-11-06 Ian Lance Taylor <iant@google.com>
6476
6477 * generic-morestack.c (__generic_morestack): Align the returned
6478 stack pointer to a 32 byte boundary.
6479 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6480 increment the return address until we have decided that we don't
6481 have a varargs function.
6482 (__morestack) [32-bit]: Align stack correctly when calling C
6483 functions.
6484 (__morestack) [64-bit]: Likewise.
6485
460277e0
TS
64862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6487
6488 * configure: Regenerate.
6489
73edb277
UB
64902012-11-02 Uros Bizjak <ubizjak@gmail.com>
6491
6492 PR target/55175
6493 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6494 * config/i386/sfp-machine.h: Guard exception handling
6495 code with _SOFT_FLOAT.
6496 * config/i386/32/sfp-machine.h: Guard rounding handling
6497 code with _SOFT_FLOAT.
6498 * config/i386/64/sfp-machine.h: Ditto.
6499
c1d4fa04
JS
65002012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6501
6502 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6503 as extra_parts.
6504
eff6ca85
UB
65052012-10-26 Uros Bizjak <ubizjak@gmail.com>
6506
6507 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6508 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6509 when appropriate. Correct structure element types.
6510 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6511 -minline-all-stringops from compile flags.
6512
7d296953 65132012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6514
6515 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6516
7d296953 65172012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6518
eff6ca85 6519 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6520
6f288860
SH
65212012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6522
6523 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6524 tmake_file.
6525
1e3d5096
IB
65262012-10-23 Ian Bolton <ian.bolton@arm.com>
6527 Jim MacArthur <jim.macarthur@arm.com>
6528 Marcus Shawcroft <marcus.shawcroft@arm.com>
6529 Nigel Stephens <nigel.stephens@arm.com>
6530 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6531 Richard Earnshaw <rearnsha@arm.com>
6532 Sofiane Naci <sofiane.naci@arm.com>
6533 Stephen Thomas <stephen.thomas@arm.com>
6534 Tejas Belagod <tejas.belagod@arm.com>
6535 Yufeng Zhang <yufeng.zhang@arm.com>
6536
6537 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6538 * config/aarch64/crti.S: New file.
6539 * config/aarch64/crtn.S: New file.
6540 * config/aarch64/linux-unwind.h: New file.
6541 * config/aarch64/sfp-machine.h: New file.
6542 * config/aarch64/sync-cache.c: New file.
6543 * config/aarch64/t-aarch64: New file.
6544 * config/aarch64/t-softfp: New file.
6545
8a740f07
HPN
65462012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6547
6548 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6549 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6550 no-longer-needed LDBU insns.
6551
7d296953 65522012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6553
6554 * config.host
6555 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6556 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6557
595fefee
MGD
65582012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6559
6560 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6561
9945a876
MK
65622012-10-15 Matthias Klose <doko@ubuntu.com>
6563
6564 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6565
1183dc2c
PC
65662012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6567
6568 * configure: Regenerate.
6569 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6570
945a9c1f
UB
65712012-10-10 Uros Bizjak <ubizjak@gmail.com>
6572
6573 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6574 instructions for 64bit targets only.
6575
fb8bf47a
UB
65762012-10-10 Uros Bizjak <ubizjak@gmail.com>
6577
6578 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6579 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6580 * config/i386/32/sfp-machine.h: ... here.
6581 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6582 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6583 New defines.
6584
acb72498
MK
65852012-10-07 Matthias Klose <doko@ubuntu.com>
6586
6587 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6588 as unused.
6589 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6590
8eaee0f0
MK
65912012-10-06 Mark Kettenis <kettenis@openbsd.org>
6592
6593 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6594 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6595 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6596 (ElfW): Likewise.
6597
5e3e4fe8
JW
65982012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6599
6600 PR other/53889
6601 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6602 Fix parameter names.
6603
86086376
OE
66042012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6605
6606 PR target/33135
6607 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6608 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6609 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6610
9597375a
OE
66112012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6612
6613 PR target/50457
6614 * config/sh/linux-atomic.S: Delete.
6615 * config/sh/linux-atomic.c: New.
6616 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6617 linux-atomic.c. Add cflags to disable warnings.
6618
1504e3e1
JW
66192012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6620
6621 PR other/53889
6622 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6623 function.
6624 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6625 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6626 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6627 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6628 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6629 Likewise.
1504e3e1
JW
6630 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6631 Likewise.
6632 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6633 Likewise.
6634 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6635 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6636
17f293b0
MK
66372012-09-19 Mark Kettenis <kettenis@openbsd.org>
6638
9597375a
OE
6639 * config.host (hppa-*-openbsd*): New target.
6640 * config/pa/t-openbsd: New file.
17f293b0 6641
51526856
GJL
66422012-09-15 Georg-Johann Lay <avr@gjlay.de>
6643
6644 PR target/54222
6645 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6646 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6647 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6648 (__divsa3): Use __negsi2 to negate r_quoL.
6649 * config/avr/lib1funcs.S (FALIAS): New macro.
6650 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6651 (__negsi2): ...this new function.
6652 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6653 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6654 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6655 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6656 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6657 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6658
aadb5b43
OE
66592012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6660
6661 PR target/54089
6662 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6663 (lshrsi3): Reimplement as lshrsi3_r0.
6664
d5d66749
AS
66652012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6666
6667 PR target/46191
6668 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6669 of libgcc.a.
6670
c6c36e73
TJ
66712012-09-07 Teresa Johnson <tejohnson@google.com>
6672
9597375a 6673 PR gcov-profile/54487
c6c36e73 6674 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6675 differences.
c6c36e73 6676
b588ae30
GJL
66772012-09-05 Georg-Johann Lay <avr@gjlay.de>
6678
6679 PR target/54461
6680 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6681 not configured --with-avrlibc=no.
6682 * config/avr/t-avrlibc: New file.
6683 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6684 (DPBIT_FUNCS): Ditto.
6685 (TPBIT_FUNCS): Ditto.
6686
abd16fb1
TJ
66872012-09-04 Teresa Johnson <tejohnson@google.com>
6688
6689 * libgcov.c (struct gcov_summary_buffer): New structure.
6690 (gcov_histogram_insert): New function.
6691 (gcov_compute_histogram): Ditto.
6692 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6693 histograms during summary merging.
6694
613061fd
MK
66952012-09-01 Mark Kettenis <kettenis@openbsd.org>
6696
6697 * config.host (x86_64-*-openbsd*): New target.
73edb277 6698
867a8345
CLT
66992012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6700
6701 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6702 attribute.
6703
4aeaaca3
GJL
67042012-08-24 Georg-Johann Lay <avr@gjlay.de>
6705
6706 PR target/54222
6707 * config/avr/t-avr (conv_X): Rename to func_X.
6708
e55e4056
GJL
67092012-08-24 Georg-Johann Lay <avr@gjlay.de>
6710
6711 PR target/54222
6712 * config/avr/lib1funcs-fixed.S: New file.
6713 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6714 after they are used.
6715 (neg2, neg4): New macros.
6716 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6717 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6718 (__umulhisi3): Speed up MUL variant if there is enough flash.
6719 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6720 avr-modes.def.
6721 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6722 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6723 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6724 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6725 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6726 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6727 (LIB2FUNCS_EXCLUDE): Add supported functions.
6728
a147b6d2
GJL
67292012-08-22 Georg-Johann Lay <avr@gjlay.de>
6730
6731 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6732 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6733 libgcc-s-objects.
6734 * fixed-obj.mk: Only expand dependency if $o is not in
6735 LIB2FUNCS_EXCLUDE.
6736
c637141a
L
67372012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6738
6739 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6740
130e00bd
JM
67412012-08-22 Joseph Myers <joseph@codesourcery.com>
6742
6743 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6744 depend on --enable-shared.
6745 ($(lib1asmfuncs-o)): Use %.vis files independent of
6746 --enable-shared.
6747 * static-object.mk ($(base)$(objext), $(base).vis)
6748 ($(base)_s$(objext)): Use same rules for visibility handling as in
6749 shared-object.mk.
6750
4b1b3788
ILT
67512012-08-21 Ian Lance Taylor <iant@google.com>
6752
6753 * config/i386/morestack.S (__morestack_non_split): Increase amount
6754 of space allocated for non-split code stack.
6755
d2468141
JM
67562012-08-19 Joseph Myers <joseph@codesourcery.com>
6757
6758 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6759 even if inhibit_libc.
6760
a508e1a8
JB
67612012-08-17 Julian Brown <julian@codesourcery.com>
6762
6763 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6764 -fexceptions -fnon-call-exceptions if not defined.
6765 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6766 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6767
5615a07d
AS
67682012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6769
6770 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6771 type.
6772
138f5acd
DE
67732012-08-16 David Edelsohn <dje.gcc@gmail.com>
6774
6775 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6776 rs6000/t-slibgcc-aix.
6777
18efc0dd
SB
67782012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6779
6780 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6781
6b39bc38
SB
67822012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6783
6784 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6785
cd25dea0
L
67862012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6787
6788 PR driver/54171
6789 * Makefile.in (version): Replace top_srcdir with srcdir.
6790
a3dda30b
JY
67912012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6792
6793 * Makefile.in (version): set to BASE-VER file from gcc directory.
6794
d04aacfc
NC
67952012-08-01 Nick Clifton <nickc@redhat.com>
6796
6797 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6798 Implements __clrsb for an HImode argument.
6799
0d13c974
NC
68002012-07-31 Nick Clifton <nickc@redhat.com>
6801
6802 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6803 Implements __clrsb for an HImode argument.
6804 * config/stormy16/clrsbhi2.c: New file:
6805 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6806
efbb59b2
SB
68072012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6808
6809 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6810
bf1431e3
TG
68112012-07-19 Tristan Gingold <gingold@adacore.com>
6812 Richard Henderson <rth@redhat.com>
6813
6814 * unwind-seh.c: New file.
6815 * unwind-generic.h: Include windows.h for SEH.
6816 (_Unwind_Exception): Use 6 private fields for SEH.
6817 (_GCC_specific_handler): Declare.
6818 * unwind-c.c (__gcc_personality_seh0): New function.
6819 Adjust for SEH.
6820 * config/i386/libgcc-cygming.ver: New file.
6821 * config/i386/t-seh-eh: New file.
6822 * config.host (x86_64-*-mingw*): Default to seh.
6823
659140c8
SB
68242012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6825
6826 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6827
a20d08fd
UB
68282012-06-17 Uros Bizjak <ubizjak@gmail.com>
6829
6830 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6831 __builtin_expect when checking for exceptions.
6832 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6833
79261115
UB
68342012-06-13 Uros Bizjak <ubizjak@gmail.com>
6835
4a172156
UB
6836 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6837 function declaration.
6838 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6839 (FP_RND_MASK): New.
6840 * config/ia64/sfp-exceptions.c: New.
6841 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6842
bb5c97d4
UB
68432012-06-13 Uros Bizjak <ubizjak@gmail.com>
6844
6845 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6846 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6847 * config/i386/64/sfp-machine: ... (delete here) ...
6848 * config/i386/sfp-machine.h: ... to here.
6849 (FP_EX_MASK): Remove.
6850 (FP_RND_MASK): New.
6851 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6852
91fe5efb
ST
68532012-06-11 Sriraman Tallam <tmsriram@google.com>
6854
6855 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6856 * config/i386/libgcc-sol2.ver: Ditto.
6857 * config/i386/libgcc-glibc.ver: Ditto.
6858
67a218c5
RM
68592012-06-11 Roland McGrath <mcgrathr@google.com>
6860
6861 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6862 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6863 pthread_cancel.
6864
492fbea1
UB
68652012-06-09 Uros Bizjak <ubizjak@gmail.com>
6866
6867 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6868 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6869 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6870 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6871 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6872 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6873 * config/i386/64/sfp-machine: ... (delete here) ...
6874 * config/i386/sfp-machine.h: ... to here.
6875 (FP_EX_MASK): New.
6876 (__sfp_handle_exceptions): New function declaration.
6877 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6878 * config/i386/sfp-exceptions.c: New.
6879 * config/i386/t-softfp: New.
6880 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6881 i386/t-softfp to tmake_file.
6882
7b4cf266
DM
68832012-06-03 David S. Miller <davem@davemloft.net>
6884
6885 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6886 change.
6887
0de0d5c6
DM
68882012-05-31 David S. Miller <davem@davemloft.net>
6889
6890 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6891 multiply and divide instructions on 32-bit when V9.
6892 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6893
d8c9d391
JM
68942012-05-29 Joseph Myers <joseph@codesourcery.com>
6895
6896 * config/arm/ieee754-df.S: Fix typos.
6897 * config/arm/ieee754-sf.S: Fix typos.
6898 * config/c6x/libunwind.S: Fix typos.
6899 * config/epiphany/udivsi3-float.c: Fix typos.
6900 * config/microblaze/muldi3_hard.S: Fix typos.
6901 * config/picochip/adddi3.S: Fix typos.
6902 * config/picochip/ashlsi3.S: Fix typos.
6903 * config/picochip/ashrsi3.S: Fix typos.
6904 * config/picochip/clzsi2.S: Fix typos.
6905 * config/picochip/cmpsi2.S: Fix typos.
6906 * config/picochip/divmod15.S: Fix typos.
6907 * config/picochip/divmodhi4.S: Fix typos.
6908 * config/picochip/divmodsi4.S: Fix typos.
6909 * config/picochip/longjmp.S: Fix typos.
6910 * config/picochip/lshrsi3.S: Fix typos.
6911 * config/picochip/parityhi2.S: Fix typos.
6912 * config/picochip/popcounthi2.S: Fix typos.
6913 * config/picochip/setjmp.S: Fix typos.
6914 * config/picochip/subdi3.S: Fix typos.
6915 * config/picochip/ucmpsi2.S: Fix typos.
6916 * config/picochip/udivmodhi4.S: Fix typos.
6917 * config/picochip/udivmodsi4.S: Fix typos.
6918 * config/spu/divv2df3.c: Fix typos.
6919 * config/spu/mfc_multi_tag_release.c: Fix typos.
6920 * config/spu/mfc_tag_release.c: Fix typos.
6921 * configure.ac: Fix typos.
6922 * configure: Regenerate.
6923
31a18a7e
ILT
69242012-05-25 Ian Lance Taylor <iant@google.com>
6925
6926 * config/i386/morestack.S (__morestack_non_split): Check whether
6927 caller is varargs and needs %bp to hold the stack frame on return.
6928
c5768510
OH
69292012-05-25 Olivier Hainque <hainque@adacore.com>
6930
6931 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6932 sequence in the non pic case on VxWorks.
6933
7c7c339b
OH
69342012-05-24 Olivier Hainque <hainque@adacore.com>
6935
73fb7630 6936 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6937 "install-leaf" to "install".
6938
fdc1b7d3
OH
69392012-05-24 Olivier Hainque <hainque@adacore.com>
6940
6941 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6942 Use a separate command for stamp removals.
6943
07ba94b9
AP
69442012-05-21 Andrew Pinski <apinski@cavium.com>
6945
6946 PR bootstrap/53183
6947 * configure.ac: Define the default includes to being none.
6948 * configure: Regenerate.
6949
4677d2eb
OH
69502012-05-16 Olivier Hainque <hainque@adacore.com>
6951
6952 * Makefile.in (install-unwind_h): Rename into ...
6953 (install-unwind_h-forbuild): New target.
6954 (all): Use it instead of the former install-unwind_h.
6955 (install-unwind_h): Reinstate, copy to user install destination
6956 for include files, not to the internal gcc object directory one.
6957 (install-leaf): Depend on it.
6958
7d67c380
OH
69592012-05-15 Olivier Hainque <hainque@adacore.com>
6960
6961 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6962 register numbers. LR_REGNO replaces R_LR.
6963 (ucontext_for): New, helper for ...
6964 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6965 and 5.3 of ...
6966 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6967
aca06c90
RO
69682012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6969
6970 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6971 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6972 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6973 i386/t-cpuinfo ...
6974 (i[34567]86-*-*, x86_64-*-*): ... here.
6975
6976 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6977 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6978
6979 * config/i386/i386-cpuinfo.c: Rename to ...
6980 * config/i386/cpuinfo.c: ... this.
6981 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6982
6983 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6984 (libgcc_cv_init_priority): New test.
6985 * configure: Regenerate.
6986 * config.in: New file.
6987 * Makefile.in (clean): Rename config.h to auto-target.h.
6988 (config.h): Likewise.
6989 (stamp-h): Likewise.
6990
6991 * config/i386/cpuinfo.c (auto-target.h): Include.
6992 (CONSTRUCTOR_PRIORITY): Define.
6993 (__cpu_indicator_init): Use it.
6994
0d03ac1b
L
69952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6996
6997 * longlong.h: Use a URL instead of an FSF postal address.
6998 Replace spaces with tab.
6999
4a172156 70002012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7001
7002 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7003 (__gcov_dump): Ditto.
7004 (gcov_dump_complete): New global variable.
7005 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7006 (__gcov_flush): Outline functionality now in gcov_clear.
7007 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7008
e4bb767e
AJ
70092012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7010
31a18a7e
ILT
7011 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7012 (mips*-*-linux*): Include mips/t-tpbit when long double is
7013 16 bytes long.
e4bb767e 7014
5ddecff9
ST
70152012-04-25 Sriraman Tallam <tmsriram@google.com>
7016
7017 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7018 (get_available_features): New argument. Check for AVX2.
7019 (__cpu_indicator_init): Modify call to get_available_features.
7020
b427dd7a
AM
70212012-04-25 Alan Modra <amodra@gmail.com>
7022
7023 * config/rs6000/crtsavevr.S: New file.
7024 * config/rs6000/crtrestvr.S: New file.
7025 * config/rs6000/t-savresfgpr: Build the above.
7026 * config/rs6000/t-netbsd: Likewise.
7027
ad491329
ST
70282012-04-24 Sriraman Tallam <tmsriram@google.com>
7029
7030 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7031
792317cc
ST
70322012-04-24 Sriraman Tallam <tmsriram@google.com>
7033
7034 * libgcc/config/i386/i386-cpuinfo.c: New file.
7035 * libgcc/config/i386/t-cpuinfo: New file.
7036 * libgcc/config.host: Include t-cpuinfo.
7037 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7038
e1be98a4
CF
70392012-04-24 Chao-ying Fu <fu@mips.com>
7040
7041 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7042
1bde7dab
TS
70432012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7044
7045 struct siginfo vs. siginfo_t
7046
7047 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7048 siginfo_t instead of struct siginfo.
7049 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7050 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7051 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7052 (ia64_handle_unwabi): Likewise.
7053 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7054 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7055 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7056 (sh_fallback_frame_state): Likewise.
7057 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7058 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7059
24590f66
L
70602012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7061
7062 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7063 system call number.
7064
9a9dcce8
EB
70652012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7066
7067 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7068 if it hasn't been previously saved.
7069
6401aaf5
L
70702012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7071
7072 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7073 only for glibc.
7074
7fd6378e
GJL
70752012-03-28 Georg-Johann Lay <avr@gjlay.de>
7076
7077 PR target/52737
7078 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7079 instead of __AVR_HAVE_8BIT_SP__.
7080
9e916de7
TG
70812012-03-26 Tristan Gingold <gingold@adacore.com>
7082
7083 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7084 (unw_table_entry): Use unw_word instead of unsigned long.
7085 (_Unwind_FindTableEntry): Likewise.
7086 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7087 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7088 (_Unwind_FindTableEntry): Likewise.
7089 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7090 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7091 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7092 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7093 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7094 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7095 (uw_init_context_1, uw_install_context): Likewise.
7096 (unw_word): Move to unwind-ia64.h
7097
4b12e93d
TG
70982012-03-26 Tristan Gingold <gingold@adacore.com>
7099
7100 * config/vms/vms-ucrt0.c: Update copyright years.
7101 Add a sanity check.
7102 (___gcc_main_flags): Declare.
7103 (__main): Check flags to remap argv and exit code.
7104 * config.host (*-*-*vms*): Adjust extra_parts.
7105 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7106 (crt0.o): Add.
7107
06ea7371
RE
71082012-03-22 Richard Earnshaw <rearnsha@arm.com>
7109
7110 * arm/lib1funcs.asm (ctzsi2): New function.
7111 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7112 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7113 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7114 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7115 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7116 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7117
d82ad50d
AT
71182012-03-21 Andreas Tobler <andreast@fgznet.ch>
7119
7120 * config.host: Add bits to support powerpc64-*-freebsd*.
7121 * config/rs6000/freebsd-unwind.h: New file.
7122 * config/rs6000/t-freebsd64: New file.
7123
b260a8c0
RG
71242012-03-20 Richard Guenther <rguenther@suse.de>
7125
7126 PR gcov-profile/52627
7127 * libgcov.c (init_mx): Fix mutex name.
7128
86286a8a
TG
71292012-03-16 Tristan Gingold <gingold@adacore.com>
7130
7131 * config/ia64/vms-unwind.h: Remove ulong (and replace
7132 it by unw_reg where used). Define unw_reg with __int64.
7133
7888f266
RO
71342012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7135
7136 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7137 Solaris 8 handling.
7138 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7139 Solaris 8 handling.
7140 (sparc_is_sighandler): Likewise.
7141
f155bc64
L
71422012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7143
7144 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7145 <= saved reg size.
7146
d47657bd
RO
71472012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7148
7149 * config/arm/crtn.S: Fix typo.
7150
5bef73a1
RG
71512012-03-13 Richard Guenther <rguenther@suse.de>
7152
7153 * libgcov.c: Remove stdio.h include and NULL un-define.
7154
9c4271f3
RG
71552012-03-13 Richard Guenther <rguenther@suse.de>
7156
7157 PR target/52569
7158 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7159
c6d10e7c
RG
71602012-03-13 Richard Guenther <rguenther@suse.de>
7161
7162 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7163
074a385f
RG
71642012-03-13 Richard Guenther <rguenther@suse.de>
7165
7166 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7167 and __gthread_mutex_init_function definitions.
7168
c4bc5c25
RO
71692012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7170
7171 * config.host (mips*-*-openbsd*): Remove.
7172
5c30094f
RO
71732012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7174
7175 * config.host: Remove alpha*-dec-osf5.1* handling.
7176 * config/alpha/gthr-posix.c: Remove.
7177 * config/alpha/libgcc-osf5.ver: Remove.
7178 * config/alpha/osf5-unwind.h: Remove.
7179 * config/alpha/t-osf-pthread: Remove.
7180 * config/alpha/t-slibgcc-osf: Remove.
7181 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7182 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7183 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7184 * mkmap-flat.awk: Remove osf_export handling.
7185
33e3e24d
RG
71862012-03-12 Richard Guenther <rguenther@suse.de>
7187
7188 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7189 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7190 (__gthread_mutex_init_function): New function.
7191 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7192
7193 PR gcov/49484
7194 * libgcov.c: Include gthr.h.
7195 (__gcov_flush_mx): New global variable.
7196 (init_mx, init_mx_once): New functions.
7197 (__gcov_flush): Protect self with a mutex.
7198 (__gcov_fork): Re-initialize mutex after forking.
7199 * unwind-dw2-fde.c: Change condition under which to use
7200 __GTHREAD_MUTEX_INIT_FUNCTION.
7201
d8aba32a
TG
72022012-03-12 Tristan Gingold <gingold@adacore.com>
7203
7204 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7205 * config/ia64/t-vms: Likewise.
7206
75ffafdc
MH
72072012-03-11 Michael Hope <michael.hope@linaro.org>
7208
4a172156
UB
7209 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7210 for Thumb-2.
75ffafdc 7211
ef6c2c53
WL
72122012-03-07 Walter Lee <walt@tilera.com>
7213
7214 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7215 "arch_atomic_".
7216 (atomic_xor): Rename and move definition to
7217 config/tilepro/atomic.h.
7218 (atomic_nand): Ditto.
7219 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7220 "arch_atomic_".
7221 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7222 (arch_atomic_nand): Ditto.
7223
4e30d980
GJL
72242012-03-07 Georg-Johann Lay <avr@gjlay.de>
7225
7226 PR target/52507
7227 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7228
61108225
GJL
72292012-03-07 Georg-Johann Lay <avr@gjlay.de>
7230
7231 PR target/52505
7232 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7233 from RAM.
7234
b30e10ab
GJL
72352012-03-07 Georg-Johann Lay <avr@gjlay.de>
7236
7237 PR target/52461
7238 PR target/52508
7239 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7240 if RAMPZ affects reading from RAM.
7241 (__tablejump_elpm__): Ditto.
7242 (.xload): Ditto.
7243 (__movmemx_hi): Ditto.
7244 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7245 (__do_global_dtors): Ditto.
7246 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7247 (__movmemx_hi): Ditto.
7248
8993fde4
RH
72492012-03-05 Richard Henderson <rth@redhat.com>
7250
7251 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7252 [ARM] (count_trailing_zeros): Use the builtin.
7253
b7633ee3
KT
72542012-03-01 Kai Tietz <ktietz@redhat.com>
7255
7256 * soft-fp: Imported from glibc upstream.
7257
fbd3340c
KT
72582012-02-28 Kai Tietz <ktietz@redhat.com>
7259
7260 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7261 for mingw-targets as attribute gcc_struct.
7262
e9e053eb
ILT
72632012-02-28 Ian Lance Taylor <iant@google.com>
7264
7265 * generic-morestack.c (__splitstack_releasecontext): Correct call
7266 to __morestack_release_segments.
7267
d80c632e
ST
72682012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7269
7270 PR target/52390
7271 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7272 for __linux__ when removing signals from __morestack_fullmask.
7273
0253a8b1
GJL
72742012-02-23 Georg-Johann Lay <avr@gjlay.de>
7275
7276 PR target/52261
7277 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7278
e10e461e
UW
72792012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7280
7281 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7282 instead of HAVE_INITFINI_ARRAY.
7283 * config/ia64/crtend.S: Likewise.
7284
0c0c6398
KT
72852012-02-20 Kai Tietz <ktietz@redhat.com>
7286
d7470374
KT
7287 PR libstdc++/52300
7288 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7289
0c0c6398
KT
7290 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7291 to w32-unwind.h header.
7292
78c27266
RS
72932012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7294
7295 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7296 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7297 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7298 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7299
5adeb246
RS
73002012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7301
7302 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7303
672ed313
IS
73042012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7305
7306 PR libitm/52220
7307 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7308
e948a1fb
IS
73092012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7310 Patrick Marlier <patrick.marlier@gmail.com>
7311
7312 PR libitm/52220
7313 * config/darwin-crt-tm.c: Generate dummy functions.
7314
6017aed3
IS
73152012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7316 Patrick Marlier <patrick.marlier@gmail.com>
7317
7318 PR libitm/52042
7319 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7320 (__doTMRegistrations): Call it.
e9e053eb 7321 (__doTMdeRegistrations): Likewise.
6017aed3 7322
2da8c1ad 73232012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7324 Anatoly Sokolov <aesok@post.ru>
7325 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7326
7327 PR target/52261
7328 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7329 (__epilogue_restores__): Ditto.
7330
0f952eb4
EB
73312012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7332
7333 PR target/51921
7334 PR target/52205
7335 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7336 Solaris 11 and slightly reformat.
7337 (sparc_is_sighandler): Likewise.
7338
dd552284
WL
73392012-02-14 Walter Lee <walt@tilera.com>
7340
7341 * config.host: Handle tilegx and tilepro.
7342 * config/tilegx/sfp-machine.h: New file.
7343 * config/tilegx/sfp-machine32.h: New file.
7344 * config/tilegx/sfp-machine64.h: New file.
7345 * config/tilegx/t-crtstuff: New file.
7346 * config/tilegx/t-softfp: New file.
7347 * config/tilegx/t-tilegx: New file.
7348 * config/tilepro/atomic.c: New file.
7349 * config/tilepro/atomic.h: New file.
7350 * config/tilepro/linux-unwind.h: New file.
7351 * config/tilepro/sfp-machine.h: New file.
7352 * config/tilepro/softdivide.c: New file.
7353 * config/tilepro/softmpy.S: New file.
7354 * config/tilepro/t-crtstuff: New file.
7355 * config/tilepro/t-tilepro: New file.
7356
b59cbd50
JW
73572012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7358
7359 PR libstdc++/51296
7360 PR libstdc++/51906
7361 * gthr-posix.h: Allow static initializer macros to be disabled.
7362 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7363
6caf807f
CLT
73642012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7365
7366 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7367 Add t-slibgcc-libgcc to tmake_file.
7368 * config/mips/libgcc-mips16.ver: Revert previous patch.
7369 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7370
7d296953
JJ
73712012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7372 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7373
7374 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7375 * config/cr16/crti.S: New file.
7376 * config/cr16/crtlibid.S: New file.
7377 * config/cr16/crtn.S: New file.
7378 * config/cr16/lib1funcs.S: New file.
7379 * config/cr16/t-cr16: New file.
7380 * config/cr16/t-crtlibid: New file.
7381 * config/cr16/unwind-dw2.h: New file.
7382 * config/cr16/unwind-cr16.c: New file.
7383 * config/cr16/divmodhi3.c: New file.
7384
8ef03aa7
AM
73852012-01-25 Alan Modra <amodra@gmail.com>
7386
7387 * config/rs6000/t-linux64: Delete. Move..
7388 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7389 * config/rs6000/t-linux: ..and libgcc flags to here.
7390
daecebc8
DR
73912012-01-22 Douglas B Rupp <rupp@gnat.com>
7392
7393 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7394 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7395 * configure: Regenerate.
7396
ddaf8125
RS
73972012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7398 Richard Sandiford <rdsandiford@googlemail.com>
7399
7400 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7401 * config/mips/mips16.S (__mips16_rdhwr): New function.
7402 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7403
2cd8b32c
NS
74042012-01-11 Nathan Sidwell <nathan@acm.org>
7405
7406 * libgcov.c (__gcov_init): Ignore objects with no functions.
7407
cba300dd
GJL
74082012-01-10 Georg-Johann Lay <avr@gjlay.de>
7409
7410 PR target/49868
7411 Extend __pgmx semantics to linearize memory.
7412 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7413 * config/avr/lib1funcs.S (__xload_1): New function.
7414 (__movmemx_qi, __movmemx_hi): New functions.
7415 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7416 semantics.
9ffaf4bc 7417
3d137660
EB
74182012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7419
7420 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7421 purported sigacthandler address isn't null before dereferencing it.
7422 (sparc_is_sighandler): Likewise.
7423
bf4db96c
EB
74242012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7425
7426 PR ada/41929
7427 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7428 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7429 (sparc_is_sighandler): Likewise.
7430 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7431
1ab3568b
TG
74322012-01-06 Tristan Gingold <gingold@adacore.com>
7433
7434 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7435 compatibility thunks...
7436 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7437 (crtbeginS.o, crtendS.o): ... and these to ...
7438 * config/ia64/t-ia64-elf: ... this new file.
7439 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7440 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7441
925b0ed8
AK
74422012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7443
7444 * configure: Regenerate.
7445 * config/s390/t-crtstuff: Remove -fPIC.
7446
a99ad737
JW
74472012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7448
7449 PR bootstrap/51006
7450 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7451 for NetBSD.
7452
884f56d1
GJL
74532012-01-02 Georg-Johann Lay <avr@gjlay.de>
7454
7455 PR target/51345
7456 * config/avr/lib1funcs.S: Remove FIXME comments.
7457 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7458
8c57e547
GJL
74592012-01-02 Georg-Johann Lay <avr@gjlay.de>
7460
7461 Implement light-weight DImode support.
7462 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7463 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7464 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7465 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7466
04dbc287
NS
74672011-12-30 Nathan Sidwell <nathan@acm.org>
7468
7469 * libgcov.c (gcov_crc32): Remove global var.
7470 (free_fn_data): New function.
7471 (buffer_fn_data): Pass in filename, more robust error recovery.
7472 (crc32_unsigned): New function.
7473 (gcov_exit): More robust detection of new program. More robust
7474 error recovery.
7475 (__gcov_init): Do not update program's crc here.
7476
8e1d97d4
TG
74772011-12-21 Tristan Gingold <gingold@adacore.com>
7478
7479 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7480
9ffaf4bc
ILT
74812011-12-21 Ian Lance Taylor <iant@google.com>
7482
7483 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7484
a0c8d0c1
ILT
74852011-12-20 Ian Lance Taylor <iant@google.com>
7486
7487 * config/i386/morestack.S (__morestack_non_split): If there is
7488 enough stack space already, don't split. Ask for more stack space
7489 than we required.
7490
69048898
SDJ
74912011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7492
7493 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7494 `sys/sdt.h'.
7495 (_Unwind_DebugHook): New function.
7496 (uw_restore_core_regs): New define.
7497 (unwind_phase2): Use uw_restore_core_regs instead of
7498 restore_core_regs.
7499 (unwind_phase2_forced): Likewise.
7500 (__gnu_Unwind_Resume): Likewise.
7501
1bb4b6a3
UB
75022011-12-20 Uros Bizjak <ubizjak@gmail.com>
7503
7504 * config/alpha/linux-unwind.h: Update copyright years.
7505 (MD_FROB_UPDATE_CONTEXT): New define.
7506 (alpha_frob_update_context): New function.
7507
eb028768
RS
75082011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7509
7510 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7511 tmake_file rather replacing it.
7512
6a2045bf
IS
75132011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7514
7515 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7516 function is not used for PPC64.
6a2045bf
IS
7517 (save_world): Amend comments. Update the VRsave mask to reflect the
7518 saved regs.
7519 (rest_world): Update comments, do not clobber r10, do not use r8.
7520 (eh_rest_world_r10): Amend comments, do not use r8.
7521 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7522 no longer used, move restore of CR and target address to the end of
7523 the routine.
7524
a13780a6
L
75252011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7526
7527 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7528 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7529
d7288dfb
GJL
75302011-12-14 Georg-Johann Lay <avr@gjlay.de>
7531
7532 PR target/49313
7533 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7534 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7535
8d2c862d
EB
75362011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7537
7538 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7539
3447cae6
GJL
75402011-12-09 Georg-Johann Lay <avr@gjlay.de>
7541
7542 PR target/49313
7543 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7544 * config/avr/lib1funcs.S (__muldi3): New function.
7545
806fc6aa
AP
75462011-12-06 Andrew Pinski <apinski@cavium.com>
7547
7548 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7549 size of func_ptr.
7550 (__frame_dummy_init_array_entry): Likewise.
7551
28c5e6b5
GJL
75522011-12-06 Georg-Johann Lay <avr@gjlay.de>
7553
7554 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7555
7556 PR target/51345
7557 PR target/51002
7558 * config/avr/lib1funcs.S (__prologue_saves__,
7559 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7560 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7561
8f90394a
IS
75622011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7563
7564 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7565
06dd33ac
JDA
75662011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7567
7568 PR other/51272
7569 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7570 (_ITM_deregisterTMCloneTable): Likewise.
7571 (__register_frame_info): Fix unused warning.
7572 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7573 pthread_default_stacksize_np): Likewise.
7574 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7575
85b8555e
DD
75762011-11-29 DJ Delorie <dj@redhat.com>
7577
7578 * config.host (rl78-*-elf): New case.
7579 * config/rl78: New directory for the Renesas RL78.
7580
4d5ae4ea
BS
75812011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7582
7583 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7584 formatting.
7585
f9c55897
RO
75862011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7587
7588 PR other/51022
7589 * config/rs6000/t-savresfgpr: New file.
7590 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7591 $(srcdir)/config/rs6000/eabi.S.
7592 * config/rs6000/t-ppccomm-ldbl: Remove.
7593 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7594 tmake_file.
7595 (powerpc-*-eabispe*): Likewise.
7596 (powerpc-*-eabi*): Likewise.
7597 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7598 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7599 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7600 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7601 tmake_file.
7602 (powerpc-*-eabisim*): Likewise.
7603 (powerpc-*-elf*): Likewise.
7604 (powerpc-*-eabialtivec*): Likewise.
7605 (powerpc-xilinx-eabi*): Likewise.
7606 (powerpc-*-rtems*): Likewise.
7607 (powerpcle-*-elf*): Likewise.
7608 (powerpcle-*-eabisim*): Likewise.
7609 (powerpcle-*-eabi*): Likewise.
7610
a01207c4
ILT
76112011-11-27 Ian Lance Taylor <iant@google.com>
7612
7613 * generic-morestack.c (__splitstack_find): Check for NULL old
7614 stack value.
7615 (__splitstack_resetcontext): New function.
7616 (__splitstack_releasecontext): New function.
7617 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7618
2b0b8ab2
IS
76192011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7620
7621 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7622
c1d8101c
IS
76232011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7624
7625 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7626
8b281334
RH
76272011-11-26 Richard Henderson <rth@redhat.com>
7628
7629 * config/m68k/linux-atomic.c: New file.
7630 * config/m68k/t-linux: New file.
7631 * config.host (m68k-uclinux, m68k-linux): Use it.
7632
7546aa9d
RH
76332011-11-26 Richard Henderson <rth@redhat.com>
7634
7635 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7636 (__TMC_END__): Only declare if hidden is available; in the definition,
7637 if hidden is unavailable add a null record.
7638 (deregister_tm_clones, register_tm_clones): New.
7639 (__do_global_dtors_aux, frame_dummy): Use them.
7640 (__do_global_dtors, __do_global_ctors_1): Likewise.
7641
e2362f5d
IS
76422011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7643
7644 * config/darwin-crt-tm.c: New file.
7645 * config.host (darwin): Build crttms.o crttme.o to provide
7646 startup and shutdown for tm clones.
7647 * config/t-darwin (crttms.o): New build rule.
7648 (crttme.o): Likewise.
7649
6685dd96
HPN
76502011-11-21 Hans-Peter Nilsson <hp@axis.com>
7651
7652 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7653 et al.
7654
b0dc7e4c
RH
76552011-11-21 Richard Henderson <rth@redhat.com>
7656
7657 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7658 (__TMC_LIST__, __TMC_END__): New.
7659 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7660 (__do_global_dtors): Likewise.
7661 (frame_dummy): Call _ITM_registerTMCloneTable.
7662 (__do_global_ctors_1): Likewise.
7663
d4b4b542
RO
76642011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7665
7666 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7667 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7668 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7669 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7670 * config/i386/t-darwin64: Remove.
7671 * config/sh/t-netbsd (LIB2ADD): Remove.
7672
989bdb74
GJL
76732011-11-21 Georg-Johann Lay <avr@gjlay.de>
7674
7675 PR target/49313
7676 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7677 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7678 * config/avr/lib1funcs.S (wmov): New assembler macro.
7679 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7680 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7681 (__udivmod64): New function.
7682 (__negdi2): New function.
7683
515a0cfc
GP
76842011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7685
7686 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7687 *-*-freebsd*aout*): Remove.
7688
0115d17f
HPN
76892011-11-20 Hans-Peter Nilsson <hp@axis.com>
7690
7691 * static-object.mk (c_flags-$o): Save c_flags.
7692 ($(base)$(objext)): Use it.
7693
93aeb62b
SE
76942011-11-18 Steve Ellcey <sje@cup.hp.com>
7695
7696 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7697
7bc6df2c
GJL
76982011-11-18 Georg-Johann Lay <avr@gjlay.de>
7699
7700 PR target/49868
7701 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7702 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7703 New functions.
7704
425d737b
MGD
77052011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7706
7707 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7708 functions.
1bb4b6a3 7709 (aeabi_uidivmod): Likewise.
425d737b
MGD
7710 (umodsi3): Likewise.
7711 (divsi3): Likewise.
7712 (aeabi_idivmod): Likewise.
7713 (modsi3): Likewise.
7714
f2a176dc
TG
77152011-11-16 Tristan Gingold <gingold@adacore.com>
7716
7717 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7718
7c209481
GJL
77192011-11-15 Georg-Johann Lay <avr@gjlay.de>
7720
7721 PR target/49868
7722 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7723 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7724
9dfd5832
JDA
77252011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7726
7727 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7728 tmake_file list.
7729 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7730 * config/pa/t-stublib64: Delete.
7731
f77dca5d
RH
77322011-11-12 Richard Henderson <rth@redhat.com>
7733
7734 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7735 cast the pointer argument to _Unwind_SetGRPtr.
7736
902828f0
RO
77372011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7738
7739 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7740
e14304ef
ILT
77412011-11-09 Ian Lance Taylor <iant@google.com>
7742
7743 * generic-morestack.c: Include <string.h>.
7744 (uintptr_type): Define.
7745 (struct initial_sp): Add dont_block_signals field. Reduce size of
7746 extra array by 1.
7747 (allocate_segment): Set prev field to NULL. Don't set
7748 __morestack_current_segment or __morestack_segments.
7749 (__generic_morestack): Update current->prev and *pp after calling
7750 allocate_segment.
7751 (__morestack_block_signals): Don't do anything if
7752 dont_block_signals is set.
7753 (__morestack_unblock_signals): Likewise.
7754 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7755 uintptr_type.
7756 (__splitstack_block_signals): New function.
7757 (enum __splitstack_content_offsets): Define.
7758 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7759 (__splitstack_makecontext): New function.
7760 (__splitstack_block_signals_context): New function.
7761 (__splitstack_find_context): New function.
7762 * config/i386/morestack.S (__morestack_get_guard): New function.
7763 (__morestack_set_guard, __morestack_make_guard): New functions.
7764 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7765
e3d871e4
RO
77662011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7767
7768 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7769 (i[34567]86-*-mingw*): ... here.
7770 (x86_64-*-mingw*): ... here.
7771
e55cef40
RO
77722011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7773
7774 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7775
5366b186
NS
77762011-11-07 Nathan Sidwell <nathan@acm.org>
7777
7778 * libgcov.c (struct gcov_fn_buffer): New struct.
7779 (buffer_fn_data): New helper.
7780 (gcov_exit): Rework for new gcov data structures.
7781
74155a6f
GJL
77822011-11-07 Georg-Johann Lay <avr@gjlay.de>
7783
7784 PR target/49313
7785 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7786
200feb07
RO
77872011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7788
7789 * config.host (tmake_file): Correct comment.
7790 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7791 t-libgcc-pic.
7792 (bfin*-uclinux*): Likewise.
7793 (bfin*-linux-uclibc*): Likewise.
7794 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7795
7796 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7797 assigning.
7798 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7799 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7800 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7801 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7802 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7803 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7804 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7805 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7806 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7807 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7808 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7809 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7810 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7811
7812 * config/bfin/t-elf: Remove.
7813 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7814
c9cd1a07
RO
78152011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7816
7817 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7818 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7819 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7820 (lm32-*-elf*): ... this.
7821 (lm32-*-rtems*): ... and this.
7822 Add to tmake_file.
7823 (m32r-*-rtems*): Add to tmake_file.
7824 (moxie-*-rtems*): Likewise.
7825 (sparc-*-rtems*): Likewise.
7826 Remove t-rtems from tmake_file.
7827 (sparc64-*-rtems*): Likewise.
7828 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7829 instead.
7830
9fbcc75d
RO
78312011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7832
7833 PR bootstrap/50982
7834 * config/gthr-posix.h: Move ...
7835 * gthr-posix.h: ... here.
7836 * config/gthr-lynx.h: Reflect this.
7837 * config/gthr-vxworks.h: Likewise.
7838 * config/rs6000/gthr-aix.h: Likewise.
7839 * configure.ac (target_thread_file): Likewise.
7840 * configure: Regenerate.
7841
76644b68
SH
78422011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7843
7844 * config.host (arm*-*-rtemseabi*): New target.
7845
5e490f2a
JDA
78462011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7847
7848 PR other/50991
7849 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7850 extra-parts.
7851
feeeff5c
JR
78522011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7853
7854 * config.host (epiphany-*-elf*): New configuration.
7855 * config/epiphany: New Directory.
7856
d618bb2c
RC
78572011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7858
7859 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7860 * config/avr/t-rtems: New.
7861 Filter out _exit from LIB1ASMFUNCS.
7862
1bb6f778
DM
78632011-11-04 David S. Miller <davem@davemloft.net>
7864
7865 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7866 * configure: Rebuild.
7867
9a7f7422
AK
78682011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7869
7870 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7871 variable.
7872
e4fe948a
GJL
78732011-11-04 Georg-Johann Lay <avr@gjlay.de>
7874
7875 PR target/50931
7876 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7877 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7878
7084e037
JS
78792011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7880
7881 PR target/50989
7882 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7883
1a032034
RO
78842011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7885
7886 * config/c6x/t-elf (LIB2ADDEH): Set.
7887 * config/c6x/t-c6x-elf: Remove.
7888
d385f772
RO
78892011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7890
7891 * config/i386/sol2-ci.S: Rename to ...
7892 * config/i386/crti.S: ... this.
7893 * config/i386/sol2-cn.S: Rename to ...
7894 * config/i386/crtn.S: ... this.
7895 * config/sparc/sol2-ci.S: Rename to ...
7896 * config/sparc/crti.S: ... this.
7897 * config/sparc/sol2-cn.S: Rename to ...
7898 * config/sparc/crtn.S: ... this.
7899 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7900 (crti.o, crtn.o): Remove.
7901
1ba878a9
TG
79022011-11-04 Tristan Gingold <gingold@adacore.com>
7903
7904 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7905
02750c15
KK
79062011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7907
7908 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7909
bf86b067
HPN
79102011-11-03 Hans-Peter Nilsson <hp@axis.com>
7911
7912 * config.host (crisv32-*-none, cris-*-none): Remove.
7913 (crisv32-*-elf): Append to tmake_file, don't just set it.
7914 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7915
d0bc53bd
RO
79162011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7917
7918 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7919 (ecrtn$(objext)): Likewise.
7920 (ncrti$(objext)): Likewise.
7921 (ncrtn$(objext)): Likewise.
7922
036da830
AS
79232011-11-03 Andreas Schwab <schwab@redhat.com>
7924
7925 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7926
d2a7d041
DM
79272011-11-02 David S. Miller <davem@davemloft.net>
7928
7929 * configure.ac: Set host_address on sparc too.
7930 * configure: Regenerate.
7931 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7932 based upon host_address.
7933 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7934
af8ed618
JM
79352011-11-02 Jason Merrill <jason@redhat.com>
7936
7937 * config/rs6000/t-ppccomm: Add missing \.
7938
5d1c8e77
RO
79392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7940
7941 * gthr-single.h, gthr.h: New files.
7942 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7943 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7944 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7945 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7946 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7947 * configure.ac (thread_header): New variable.
7948 Set it depending on target_thread_file.
7949 (gthr-default.h): Link from $thread_header.
7950 * configure: Regenerate.
7951 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7952
852b75ed
RO
79532011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7954
7955 * configure.ac (tm_file_): New variable.
7956 Determine from tm_file.
7957 (tm_file, tm_defines): Substitute.
7958 * configure: Regenerate.
7959 * mkheader.sh: New file.
7960 * Makefile.in (clean): Remove libgcc_tm.h.
7961 ($(objects)): Depend on libgcc_tm.h.
7962 (libgcc_tm_defines, libgcc_tm_file): New variables.
7963 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7964 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7965 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7966 ($(extra-parts)): Depend on libgcc_tm.h.
7967 * config.host (tm_defines, tm_file): New variable.
7968 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7969 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7970 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7971 (avr-*-rtems*): Likewise.
7972 (avr-*-*): Likewise.
7973 (frv-*-elf): Likewise.
7974 (frv-*-*linux*): Likewise.
7975 (h8300-*-rtems*): Likewise.
7976 (h8300-*-elf*): Likewise.
7977 (i[34567]86-*-darwin*): Likewise.
7978 (x86_64-*-darwin*): Likewise.
7979 (rx-*-elf): Likewise.
7980 (tic6x-*-uclinux): Likewise.
7981 (tic6x-*-elf): Likewise.
7982 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7983 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7984 * config/i386/cygming-crtbegin.c: Likewise.
7985 * config/i386/cygming-crtend.c: Likewise.
7986 * config/ia64/fde-vms.c: Likewise.
7987 * config/ia64/unwind-ia64.c: Likewise.
7988 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7989 * config/rs6000/darwin-fallback.c: Likewise.
7990 * config/stormy16/lib2funcs.c: Likewise.
7991 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7992 * crtstuff.c: Likewise.
7993 * dfp-bit.h: Likewise.
7994 * emutls.c: Likewise.
7995 * fixed-bit.c: Likewise.
7996 * fp-bit.c: Likewise.
7997 * generic-morestack-thread.c: Likewise.
7998 * generic-morestack.c: Likewise.
7999 * libgcc2.c: Likewise.
8000 * libgcov.c: Likewise.
8001 * unwind-dw2-fde-dip.c: Likewise.
8002 * unwind-dw2-fde.c: Likewise.
8003 * unwind-dw2.c: Likewise.
8004 * unwind-sjlj.c: Likewise.
8005
f9989b51
RO
80062011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8007
8008 * configure.ac: Include ../config/picflag.m4.
8009 (GCC_PICFLAG): Call it.
8010 Substitute.
8011 * configure: Regenerate.
8012 * Makefile.in (gcc_srcdir): Remove.
8013 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8014 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8015 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8016 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8017 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8018 Use $<.
8019 Remove comment.
8020 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8021 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8022 to refer to libgcc2.c.
8023 Use $<.
8024 * config/darwin-64.c: New file.
8025 * config/darwin-crt3.c: Remove comment.
8026 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8027 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8028 config/udivmodsi4.c: New files.
8029 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8030 config/memset.c: New files.
8031 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8032 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8033 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8034 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8035 * config/t-openbsd-thread: New file.
8036 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8037 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8038 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8039 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8040 qrnnd.S.
8041 Adapt filename.
8042 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8043 to refer to gthr-posix.c.
8044 * config/alpha/t-vms (LIB2ADD): Set.
8045 * config/alpha/vms-gcc_shell_handler.c: New file.
8046 * config/arm/bpabi.c, config/arm/fp16.c,
8047 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8048 config/arm/unaligned-funcs.c: New files.
8049 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8050 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8051 * config/arm/t-linux: Likewise.
8052 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8053 * config/arm/t-netbsd: New file.
8054 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8055 * config/arm/t-symbian (LIB2ADD_ST): Set.
8056 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8057 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8058 * config/bfin/t-elf: New file.
8059 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8060 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8061 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8062 config/c6x/ltf.c: New files.
8063 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8064 (HOST_LIBGCC2_CFLAGS): Set.
8065 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8066 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8067 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8068 New files.
8069 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8070 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8071 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8072 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8073 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8074 files.
8075 * config/frv/t-frv (LIB2ADD): Set.
8076 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8077 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8078 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8079 config/h8300/popcounthi2.c: New files.
8080 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8081 * config/i386/gthr-win32.c: New file.
8082 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8083 * config/i386/t-cygwin: Likewise.
8084 * config/i386/t-darwin, config/i386/t-darwin64,
8085 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8086 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8087 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8088 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8089 * config/ia64/quadlib.c: New file.
8090 * config/ia64/t-hpux (LIB2ADD): Set.
8091 * config/ia64/t-ia64: Add comment.
8092 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8093 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8094 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8095 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8096 * config/m32c/t-m32c (LIB2ADD): Set.
8097 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8098 * config/m32r/t-m32r: Likewise.
8099 * config/m68k/fpgnulib.c: New file.
8100 * config/m68k/t-floatlib (LIB2ADD): Set.
8101 (xfgnulib.c): New target.
8102 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8103 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8104 * config/mep/t-mep (LIB2ADD): Set.
8105 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8106 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8107 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8108 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8109 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8110 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8111 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8112 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8113 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8114 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8115 New files.
8116 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8117 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8118 * config/pa/fptr.c, config/pa/lib2funcs.S,
8119 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8120 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8121 (LIB2ADD, LIB2ADD_ST): Set.
8122 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8123 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8124 Set.
8125 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8126 * config/pdp11/t-pdp11: New file.
8127 * config/picochip/libgccExtras/adddi3.S,
8128 config/picochip/libgccExtras/ashlsi3.S,
8129 config/picochip/libgccExtras/ashrsi3.S,
8130 config/picochip/libgccExtras/clzsi2.S,
8131 config/picochip/libgccExtras/cmpsi2.S,
8132 config/picochip/libgccExtras/divmod15.S,
8133 config/picochip/libgccExtras/divmodhi4.S,
8134 config/picochip/libgccExtras/divmodsi4.S,
8135 config/picochip/libgccExtras/lshrsi3.S,
8136 config/picochip/libgccExtras/parityhi2.S,
8137 config/picochip/libgccExtras/popcounthi2.S,
8138 config/picochip/libgccExtras/subdi3.S,
8139 config/picochip/libgccExtras/ucmpsi2.S,
8140 config/picochip/libgccExtras/udivmodhi4.S,
8141 config/picochip/libgccExtras/udivmodsi4.S: New files.
8142 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8143 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8144 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8145 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8146 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8147 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8148 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8149 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8150 files.
8151 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8152 (HOST_LIBGCC2_CFLAGS): Set.
8153 * config/rs6000/t-darwin64: New file.
8154 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8155 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8156 * config/rs6000/t-ppccomm (LIB2ADD): Add
8157 $(srcdir)/config/rs6000/tramp.S.
8158 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8159 Add $(srcdir)/config/rs6000/eabi.S.
8160 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8161 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8162 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8163 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8164 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8165 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8166 * config/rs6000/tramp.S: New file.
8167 * config/s390/t-tpf: Remove.
8168 * config/sh/linux-atomic.S: New file.
8169 * config/sh/t-linux (LIB2ADD): Set.
8170 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8171 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8172 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8173 to unwind-dw2.c.
8174 (HOST_LIBGCC2_CFLAGS): Set.
8175 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8176 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8177 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8178 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8179 config/spu/mfc_multi_tag_release.c,
8180 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8181 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8182 config/spu/multi3.c: New files.
8183 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8184 (HOST_LIBGCC2_CFLAGS): Set.
8185 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8186 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8187 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8188 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8189 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8190 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8191 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8192 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8193 config/stormy16/umodsi3.c: New files.
8194 * config/xtensa/lib2funcs.S: New file.
8195 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8196 * config/xtensa/t-xtensa (LIB2ADD): Set.
8197 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8198 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8199 Add t-freebsd-thread to tmake_file for posix threads.
8200 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8201 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8202 (*-*-lynxos*): Likewise.
8203 (*-*-netbsd*): Likewise.
8204 (*-*-openbsd*): Likewise.
8205 Add t-openbsd-thread to tmake_file for posix threads.
8206 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8207 (*-*-vxworks*): Set tmake_file.
8208 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8209 (alpha*-*-freebsd*): Likewise.
8210 (alpha*-*-netbsd*): Likewise.
8211 (alpha*-*-openbsd*): Likewise.
8212 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8213 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8214 (alpha*-dec-*vms*): Likewise.
8215 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8216 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8217 (bfin*-uclinux*): Likewise.
8218 (bfin*-linux-uclibc*): Likewise.
8219 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8220 (crisv32-*-none): Likewise.
8221 (cris-*-elf): Likewise.
8222 (cris-*-none): Likewise.
8223 (cris-*-linux*, crisv32-*-linux*): Likewise.
8224 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8225 tmake_file.
8226 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8227 tmake_file.
8228 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8229 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8230 (x86_64-*-elf*): Likewise.
8231 (i[34567]86-*-nto-qnx*): Likewise.
8232 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8233 win32 threads.
8234 (x86_64-*-mingw*): Likewise.
8235 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8236 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8237 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8238 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8239 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8240 tmake_file.
8241 (mipsisa64sr71k-*-elf*): Likewise.
8242 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8243 (mips-*-elf*, mipsel-*-elf*): Likewise.
8244 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8245 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8246 (mips*-*-rtems*): Likewise.
8247 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8248 to tmake_file.
8249 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8250 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8251 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8252 (spu-*-elf*): Likewise.
8253 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8254
45b86625
RO
82552011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8256
8257 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8258 $(srcdir) to refer to $(LIB1ASMSRC).
8259 Use $<.
8260 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8261 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8262 config/arm/lib1funcs.S: New files.
8263 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8264 * config/arm/t-arm: New file.
8265 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8266 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8267 config/arm/t-strongarm-elf: New files.
8268 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8269 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8270 * config/avr/lib1funcs.S: New file.
8271 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8272 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8273 * config/c6x/lib1funcs.S: New file.
8274 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8275 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8276 * config/frv/lib1funcs.S: New file.
8277 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8278 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8279 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8280 * config/ia64/__divxf3.asm: Rename to ...
8281 * config/ia64/__divxf3.S: ... this.
8282 Adapt lib1funcs.asm filename.
8283 * config/ia64/_fixtfdi.asm: Rename to ...
8284 * config/ia64/_fixtfdi.S: ... this.
8285 Adapt lib1funcs.asm filename.
8286 * config/ia64/_fixunstfdi.asm: Rename to ...
8287 * config/ia64/_fixunstfdi.S: ... this.
8288 Adapt lib1funcs.asm filename.
8289 * config/ia64/_floatditf.asm: Rename to ...
8290 * config/ia64/_floatditf.S: ... this.
8291 Adapt lib1funcs.asm filename.
8292 * config/ia64/lib1funcs.S: New file.
8293 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8294 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8295 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8296 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8297 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8298 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8299 * config/mep/lib1funcs.S: New file.
8300 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8301 * config/mips/mips16.S: New file.
8302 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8303 * config/pa/milli64.S: New file.
8304 * config/pa/t-linux, config/pa/t-linux64: New files.
8305 * config/picochip/lib1funcs.S: New file.
8306 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8307 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8308 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8309 * config/sh/t-netbsd: New file.
8310 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8311 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8312 * config/sh/t-sh64: New file.
8313 * config/sparc/lb1spc.S: New file.
8314 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8315 filename.
8316 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8317 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8318 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8319 config/xtensa/lib1funcs.S: New files.
8320 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8321 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8322 tmake_file.
8323 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8324 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8325 (arm*-*-linux*): Likewise.
8326 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8327 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8328 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8329 (arm*-*-ecos-elf): Likewise.
8330 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8331 (arm*-*-rtems*): Likewise.
8332 (arm*-*-elf): Likewise.
8333 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8334 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8335 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8336 (bfin*-uclinux*): Likewise.
8337 (bfin*-linux-uclibc*): Likewise.
8338 (bfin*-rtems*): Likewise.
8339 (bfin*-*): Likewise.
8340 (fido-*-elf): Merge into m68k-*-elf*.
8341 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8342 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8343 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8344 (h8300-*-elf*): Likewise.
8345 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8346 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8347 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8348 (i[34567]86-*-mingw*): Likewise.
8349 (x86_64-*-mingw*): Likewise.
8350 (i[34567]86-*-interix3*): Likewise.
8351 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8352 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8353 (m68k-*-elf*): Also handle fido-*-elf.
8354 Add m68k/t-floatlib to tmake_file.
8355 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8356 (m68k-*-linux*): Likewise.
8357 (m68k-*-rtems*): Likewise.
8358 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8359 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8360 sh64*-*-*.
8361 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8362 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8363 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8364 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8365 sh/t-netbsd to tmake_file.
8366 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8367 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8368 (sh-wrs-vxworks): Likewise.
8369 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8370 *-leon[3-9]*.
8371 (v850*-*-*): Add v850/t-v850 to tmake_file.
8372 (vax-*-linux*): Add vax/t-linux to tmake_file.
8373 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8374
5f73c6cc
RO
83752011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8376
8377 * crtstuff.c: New file.
8378 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8379 (CRTSTUFF_T_CFLAGS): Define.
8380 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8381 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8382 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8383 crtstuff.c.
8384 Use $<.
8385 (crtbeginT.o): Use $(objext).
8386 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8387 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8388 (gcc-extra-parts): Remove.
8389 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8390 Set extra_parts.
8391 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8392 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8393 Add t-crtstuff-pic to tmake_file.
8394 (*-*-lynxos*): New case.
8395 Set tmake_file, extra_parts.
8396 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8397 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8398 *-*-netbsdelf[2-9]*.
8399 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8400 (*-*-rtems*): Set extra_parts.
8401 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8402 (*-*-uclinux*): New case.
8403 Set extra_parts.
8404 (*-*-vms*): New case.
8405 Set tmake_file, extra_parts.
8406 (*-*-elf): Set extra_parts.
8407 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8408 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8409 vms/t-vms64.
8410 Set extra_parts.
8411 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8412 Set extra_parts.
8413 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8414 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8415 (arm-wrs-vxworks): Append to tmake_file.
8416 Set extra_parts.
8417 (arm*-*-uclinux*): Set extra_parts.
8418 (arm*-*-ecos-elf): Likewise.
8419 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8420 arm*-*-eabi*.
8421 (arm*-*-rtems*): Set extra_parts.
8422 (arm*-*-elf): Likewise.
8423 (avr-*-rtems*): Clear extra_parts.
8424 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8425 Set extra_parts.
8426 (bfin*-uclinux*): Likewise.
8427 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8428 (bfin*-rtems*): Append to tmake_file.
8429 Set extra_parts.
8430 (bfin*-*): Likewise.
8431 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8432 (crisv32-*-elf): ... this.
8433 (crisv32-*-none): ... this.
8434 (cris-*-elf, cris-*-none): New cases.
8435 Add cris/t-elfmulti to tmake_file.
8436 (fr30-*-elf): Append to tmake_file.
8437 Set extra_parts.
8438 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8439 Set extra_parts.
8440 (h8300-*-rtems*): Append to tmake_file.
8441 Set extra_parts.
8442 (h8300-*-elf*): Likewise.
8443 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8444 Set extra_parts.
8445 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8446 Set extra_parts.
8447 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8448 (x86_64-*-elf*): Likewise.
8449 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8450 (x86_64-*-freebsd*): Likewise.
8451 (x86_64-*-netbsd*): Likewise.
8452 (i[34567]86-*-linux*): Likewise.
8453 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8454 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8455 (x86_64-*-linux*): Likewise.
8456 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8457 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8458 tmake_file.
8459 Set extra_parts.
8460 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8461 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8462 Append to extra_parts, remove crtbegin.o, crtend.o.
8463 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8464 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8465 crtend.o, crtbeginS.o, crtendS.o.
8466 (ia64*-*-linux*): Comment extra_parts.
8467 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8468 Set extra_parts.
8469 (iq2000*-*-elf*): Clear extra_parts.
8470 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8471 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8472 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8473 (m32r-*-rtems*): ... this.
8474 Add m32r/t-m32r to tmake_file.
8475 (m68k-*-elf*): Add t-crtin to tmake_file.
8476 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8477 (mcore-*-elf): Likewise.
8478 (microblaze*-*-*): Set extra_parts.
8479 (mips*-sde-elf*): New case.
8480 Set tmake_file, extra_parts.
8481 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8482 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8483 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8484 tmake_file.
8485 Set extra_parts.
8486 (mipsisa64sr71k-*-elf*): Likewise.
8487 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8488 (mips-*-elf*, mipsel-*-elf*): Likewise.
8489 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8490 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8491 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8492 (mips*-*-rtems*): Likewise.
8493 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8494 (moxie-*-*): Split into ...
8495 (moxie-*-elf, moxie-*-uclinux*): ... this.
8496 Add to extra_parts, remove crtbegin.o, crtend.o.
8497 (moxie-*-rtems*): New case.
8498 Set tmake_file.
8499 Clear extra_parts.
8500 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8501 Set extra_parts.
8502 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8503 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8504 tmake_file.
8505 Set extra_parts.
8506 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8507 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8508 Set extra_parts.
8509 (powerpc-*-eabisim*): Likewise.
8510 (powerpc-*-elf*): Likewise.
8511 (powerpc-*-eabialtivec*): Likewise.
8512 (powerpc-xilinx-eabi*): Likewise.
8513 (powerpc-*-eabi*): Likewise.
8514 (powerpc-*-rtems*): Likewise.
8515 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8516 tmake_file.
8517 Set extra_parts.
8518 (powerpc-*-lynxos*): Add to tmake_file.
8519 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8520 rs6000/t-crtstuff, t-crtstuff-pic.
8521 Set extra_parts.
8522 (powerpcle-*-eabisim*): Likewise.
8523 (powerpcle-*-eabi*): Likewise.
8524 (rx-*-elf): Remove extra_parts.
8525 (s390x-ibm-tpf*): Set extra_parts.
8526 (score-*-elf): Set extra_parts.
8527 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8528 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8529 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8530 (sh64l*-*-netbsd*): Split into ...
8531 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8532 Add t-crtstuff-pic to tmake_file.
8533 Set extra_parts.
8534 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8535 Set extra_parts.
8536 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8537 (sparc-*-elf*): Remove t-crtin from tmake_file.
8538 Add to extra_parts, remove crtbegin.o, crtend.o.
8539 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8540 (sparc64-*-linux*): Likewise.
8541 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8542 Add to extra_parts, remove crtbegin.o, crtend.o.
8543 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8544 Add to extra_parts, remove crtbegin.o, crtend.o.
8545 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8546 Add to extra_parts, remove crtbegin.o, crtend.o.
8547 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8548 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8549 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8550 Set extra_parts.
8551 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8552 Set extra_parts.
8553 (tic6x-*-*): Change to ...
8554 (tic6x-*-elf): ... this.
8555 Set extra_parts.
8556 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8557 Set extra_parts.
8558 (am33_2.0-*-linux*): Add comment.
8559 (mep*-*-*): Add mep/t-mep to tmake_file.
8560 Set extra_parts.
8561 * config/alpha/t-vms: New file.
8562 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8563 * config/arm/crti.S, config/arm/crtn.S: New files.
8564 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8565 * config/bfin/crtlibid.S: New file.
8566 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8567 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8568 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8569 (crti.o, crtin.o): New rules.
8570 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8571 * config/c6x/t-uclinux: New file.
8572 * config/cris/t-elfmulti: New file.
8573 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8574 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8575 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8576 * config/frv/t-frv: New file.
8577 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8578 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8579 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8580 New files.
8581 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8582 refer to cygming-crtbegin.c, cygming-crtend.c.
8583 Use $<.
8584 * config/i386/t-nto: New file.
8585 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8586 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8587 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8588 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8589 Use .S extension.
8590 Use $<.
8591 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8592 (crtinitS.o): New rule.
8593 * config/ia64/vms-crtinit.S: New file.
8594 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8595 * config/m32r/initfini.c: New file.
8596 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8597 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8598 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8599 * config/mep/t-mep: New file.
8600 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8601 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8602 * config/mips/crti.S, config/mips/crtn.S: New files.
8603 * config/mips/t-crtstuff: New file.
8604 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8605 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8606 (CUSTOM_CRTIN): Set.
8607 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8608 dependencies.
8609 Use $(srcdir) to refer to crti.S, crtn.S.
8610 Use .S extension, $<.
8611 * config/moxie/crti.asm: Rename to ...
8612 * config/moxie/crti.S: ... this.
8613 * config/moxie/crtn.asm: Rename to ...
8614 * config/moxie/crtn.S: ... this.
8615 * config/moxie/t-moxie: Remove.
8616 * config/pa/stublib.c: New file.
8617 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8618 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8619 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8620 * config/rs6000/t-crtstuff: New file.
8621 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8622 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8623 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8624 Make output file explicit.
8625 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8626 Make output file explicit.
8627 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8628 Make output file explicit.
8629 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8630 Make output file explicit.
8631 * config/score/crti.S, config/score/crtn.S: New files.
8632 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8633 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8634 files.
8635 * config/sh/t-sh, config/sh/t-superh: New files.
8636 * config/sparc/t-linux64: New file.
8637 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8638 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8639 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8640 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8641 * config/t-crtin: Remove.
8642 * config/t-crtstuff-pic: New file.
8643 * config/t-sol2 (CUSTOM_CRTIN): Set.
8644 (crti.o, crtn.o): New rules.
8645 * config/vms/t-vms: New file.
8646 * config/vms/vms-ucrt0.c: New file.
8647 * config/xtensa/t-elf: New file.
8648
b040f2be
RO
86492011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8650
8651 * Makefile.in (SHLIB_NM_FLAGS): Set.
8652 * mkmap-flat.awk, mkmap-symver.awk: New files.
8653 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8654 exceptions.
8655 * configure: Regenerate.
8656 * config/libgcc-glibc.ver: New file.
8657 * config/libgcc-libsystem.ver: New file.
8658 * config/t-libunwind (SHLIB_LC): Set.
8659 * config/t-linux: New file.
8660 * config/t-slibgcc (INSTALL_SHLIB): New.
8661 (SHLIB_INSTALL): Use it.
8662 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8663 to mkmap-symver.awk.
8664 (SHLIB_MAPFILES): Don't append, adapt pathname.
8665 (SHLIB_VERPFX): Set.
8666 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8667 to mkmap-symver.awk.
8668 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8669 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8670 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8671 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8672 to mkmap-flat.awk.
8673 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8674 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8675 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8676 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8677 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8678 * config/i386/libgcc-darwin.10.4.ver,
8679 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8680 New files.
8681 * config/i386/t-darwin: Remove.
8682 * config/i386/t-darwin64: Likewise.
8683 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8684 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8685 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8686 * config/i386/t-linux: New file.
8687 * config/i386/t-mingw32: New file.
8688 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8689 * config/ia64/t-glibc: Rename to ...
8690 * config/ia64/t-linux: ... this.
8691 (SHLIB_MAPFILES): Set.
8692 * config/ia64/t-glibc-libunwind: Rename to ...
8693 * config/ia64/t-linux-libunwind: ... this.
8694 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8695 * config/ia64/t-slibgcc-hpux: New file.
8696 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8697 * config/m68k/t-slibgcc-elf-ver: New file.
8698 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8699 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8700 to mkmap-flat.awk.
8701 * config/pa/t-slibgcc-hpux: New file.
8702 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8703 files.
8704 * config/rs6000/libgcc-darwin.10.4.ver,
8705 config/rs6000/libgcc-darwin.10.5.ver: New files.
8706 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8707 config/rs6000/libgcc-glibc.ver.
8708 * config/rs6000/libgcc-ppc64.ver: Rename to
8709 config/rs6000/libgcc-ibm-ldouble.ver.
8710 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8711 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8712 * config/rs6000/t-ldbl128: Rename to ...
8713 * config/rs6000/t-linux: ... this.
8714 (SHLIB_MAPFILES): Adapt filename.
8715 * config/rs6000/t-slibgcc-aix: New file.
8716 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8717 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8718 libgcc-excl.ver, libgcc-glibc.ver.
8719 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8720 * config/sparc/libgcc-glibc.ver: New file.
8721 * config/sparc/t-linux: New file.
8722 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8723 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8724 t-slibgcc-elf-ver to tmake_file.
8725 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8726 *-*-freebsd[34].
8727 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8728 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8729 t-slibgcc-elf-ver, t-linux to tmake_file.
8730 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8731 tmake_file.
8732 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8733 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8734 (alpha*-dec-*vms*): Likewise.
8735 (arm*-*-freebsd*): Append to tmake_file.
8736 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8737 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8738 arm*-*-linux-*eabi.
8739 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8740 tmake_file for arm*-*-symbianelf*.
8741 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8742 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8743 cris/t-linux.
8744 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8745 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8746 pa/t-slibgcc-dwarf-ver to tmake_file.
8747 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8748 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8749 (hppa*64*-*-hpux11*): Likewise.
8750 (hppa[12]*-*-hpux11*): Likewise.
8751 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8752 i386/t-crtpc, i386/t-crtfm.
8753 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8754 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8755 to tmake_file.
8756 Add i386/t-cygwin to tmake_file.
8757 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8758 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8759 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8760 to tmake_file.
8761 Add i386/t-mingw32 to tmake_file.
8762 (x86_64-*-mingw*): Likewise.
8763 (ia64*-*-freebsd*): Append to tmake_file.
8764 (ia64*-*-linux*): Append to tmake_file.
8765 Replace ia64/t-glibc by ia64/t-linux.
8766 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8767 system libunwind.
8768 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8769 t-slibgcc-hpux to tmake_file.
8770 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8771 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8772 (m32rle-*-linux*): Likewise.
8773 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8774 sjlj exceptions.
8775 (microblaze*-linux*): New case.
8776 Append to tmake_file, add t-slibgcc-nolc-override.
8777 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8778 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8779 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8780 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8781 rs6000/t-slibgcc-aix to tmake_file.
8782 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8783 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8784 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8785 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8786 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8787 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8788 sh*-*-linux*.
8789 (sparc-*-linux*): Append to tmake_file for *-leon*.
8790 Add sparc/t-linux to tmake_file for non-Leon targets.
8791 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8792 (tic6x-*-uclinux): New case.
8793 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8794 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8795 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8796 (am33_2.0-*-linux*): Append to tmake_file.
8797 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8798 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8799 x86_64-*-kfreebsd*-gnu.
8800 Add i386/t-linux to tmake_file.
8801
18b4bd7b
ILT
88022011-10-28 Ian Lance Taylor <iant@google.com>
8803
8804 * config/i386/morestack.S: Correct CFI information to do proper
8805 returns throughout function. In 32-bit mode, save %ebx so that it
8806 is restored on unwind.
8807
5b2d9d90
BS
88082011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8809
8810 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8811 case where B3 isn't the return register.
8812
0d53e346
BS
8813 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8814 logic for doubleword pops.
8815
cbffbd59
AT
88162011-10-25 Andreas Tobler <andreast@fgznet.ch>
8817
8818 * config/rs6000/t-freebsd: Add wildcard.
8819
56dc349e
PB
88202011-10-21 Paul Brook <paul@codesourcery.com>
8821
8822 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8823
1e06b07d
UB
88242011-10-16 Uros Bizjak <ubizjak@gmail.com>
8825 Eric Botcazou <ebotcazou@adacore.com>
8826
8827 PR target/50737
8828 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8829 fs->signal_frame to 1.
8830
b5204884
ILT
88312011-10-07 Ian Lance Taylor <iant@google.com>
8832
8833 * generic-morestack-thread.c: #include <errno.h>.
8834
91a639a1
ILT
88352011-10-07 Ian Lance Taylor <iant@google.com>
8836
8837 PR target/46093
8838 * generic-morestack.c (__generic_morestack): Make sure the segment
8839 is large enough for both the stack frame and the copied
8840 parameters.
8841
cc49116d
RO
88422011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8843
8844 PR bootstrap/49804
8845 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8846 extra_parts.
8847
2996d8c3
NC
88482011-09-28 Nick Clifton <nickc@redhat.com>
8849
8850 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8851 64-bit doubles are not enabled.
8852 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8853 and floatunsisf functions.
8854
1e874273 88552011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8856
1e874273
PB
8857 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8858 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8859 * unwind-arm-common.inc: New file.
8860 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8861 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8862 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8863 * config/c6x/libunwind.S: New file.
8864 * config/c6x/pr-support.c: New file.
8865 * config/c6x/unwind-c6x.c: New file.
8866 * config/c6x/unwind-c6x.h: New file.
8867 * config/c6x/t-c6x-elf: New file.
8868
f70c879a
UB
88692011-08-23 Uros Bizjak <ubizjak@gmail.com>
8870
8871 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8872 (ASM_DIVZERO): Ditto.
8873 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8874
c55b374b
RS
88752011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8876
8877 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8878
1e138510
RS
88792011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8880
8881 PR target/50090
8882 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8883 instead of an assembly one.
8884
1563503d
PB
88852011-08-12 Paolo Bonzini <bonzini@gnu.org>
8886
8887 PR bootstrap/50047
8888 * Makefile.in (install-unwind_h): Create
8889 $(gcc_objdir)/include/unwind.h atomically.
8890
3627ac1a
RO
88912011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8892
8893 * Makefile.in (install-unwind_h): Remove destination file first.
8894
c6412d86
RO
88952011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8896
8897 * sync.c: New file.
8898 * config/mips/t-mips16: New file.
8899 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8900 (mips*-*-linux*): Likewise.
8901 (mips*-sde-elf*): Likewise.
8902 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8903 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8904 Add mips/t-mips16 to tmake_file.
8905 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8906 (mips-*-elf*): Likewise.
8907 (mips64-*-elf*): Likewise.
8908 (mips64orion-*-elf*): Likewise.
8909 (mips*-*-rtems*): Likewise.
8910 (mipstx39-*-elf*): Likewise.
8911 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8912 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8913 LIBGCC_SYNC_CFLAGS.
8914 Use $(srcdir) to refer to sync.c.
8915 Use $<.
8916 ($(libgcc-sync-funcs-o)): Likewise.
8917 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8918 ($(libgcc-sync-funcs-s-o)): Likewise.
8919
3cb6e5bd
AS
89202011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8921
8922 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8923 t-libunwind.
8924
cca2207a
L
89252011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8926
8927 PR other/48007
8928 * config/i386/value-unwind.h: New.
8929
ed39fbad
RS
89302011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8931
8932 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8933 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8934 Add to tmake_file rather than overriding it.
8935
aca0b0b3
RO
89362011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8937
8938 * config/t-softfp: Remove.
8939 * soft-fp: Moved from ../gcc/config.
8940 * soft-fp/README: Remove t-softfp reference.
8941 * soft-fp/t-softfp: Move to config/t-softfp.
8942 (softfp_machine_header): Remove.
8943 (softfp_file_list): Remove config subdir.
8944 (soft-fp-objects): New variable.
8945 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8946 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8947 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8948 * config/t-softfp-excl: New file.
8949 * config/t-softfp-sfdf: New file.
8950 * config/t-softfp-tf: New file.
8951 * config/no-sfp-machine.h: New file.
8952 * config/arm/sfp-machine.h: New file.
8953 * config/arm/t-softfp: New file.
8954 * config/c6x/sfp-machine.h: New file.
8955 * config/i386/32/t-fprules-softfp: Rename to ...
8956 * config/i386/32/t-softfp: ... this.
8957 (tifunctions, LIB2ADD): Remove.
8958 (softfp_int_modes): Override.
8959 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8960 subdir.
8961 * config/i386/64/eqtf2.c: Likewise.
8962 * config/i386/64/getf2.c: Likewise.
8963 * config/i386/64/letf2.c: Likewise.
8964 * config/ia64/sft-machine.h: New file.
8965 * config/ia64/t-fprules-softfp: Rename to ...
8966 * config/ia64/t-softfp: ... this.
8967 * config/lm32/sfp-machine.h: New file.
8968 * config/moxie/t-moxie-softfp: Remove.
8969 * config/rs6000/ibm-ldouble-format: New file.
8970 * config/rs6000/ibm-ldouble.c: New file.
8971 * config/rs6000/libgcc-ppc-glibc.ver: New file
8972 * config/rs6000/libgcc-ppc64.ver: New file
8973 * config/rs6000/sfp-machine.h: New file.
8974 * config/rs6000/t-freebsd: New file.
8975 * config/rs6000/t-ibm-ldouble: New file.
8976 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8977 libgcc-ppc-glibc.ver.
8978 * config/rs6000/t-linux64: New file.
8979 * config/rs6000/t-ppccomm (LIB2ADD): Add
8980 $(srcdir)/config/rs6000/ibm-ldouble.c.
8981 * config/rs6000/t-ppccomm-ldbl: New file.
8982 * config/score/sfp-machine.h: New file.
8983 * config.host (sfp_machine_header): Explain.
8984 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8985 t-softfp to tmake_file.
8986 (arm*-*-uclinux*): Likewise.
8987 (arm*-*-ecos-elf): Likewise.
8988 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8989 (arm*-*-rtems*): Likewise.
8990 (arm*-*-elf): Likewise.
8991 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8992 in tmake_file.
8993 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8994 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8995 (lm32-*-uclinux*): Likewise.
8996 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8997 t-softfp-excl, t-softfp.
8998 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8999 (powerpc64-*-darwin*): Likewise.
9000 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9001 to tmake_file.
9002 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9003 tmake_file.
9004 (powerpc-*-eabisim*): Likewise.
9005 (powerpc-*-elf*): Likewise.
9006 (powerpc-*-eabialtivec*): Likewise.
9007 (powerpc-xilinx-eabi*): Likewise.
9008 (powerpc-*-rtems*): Likewise.
9009 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9010 t-softfp-excl, t-softfp to tmake_file.
9011 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9012 rs6000/t-ppccomm-ldbl to tmake_file.
9013 (powerpcle-*-elf*): Likewise.
9014 (powerpcle-*-eabisim*): Likewise.
9015 (powerpcle-*-eabi*): Likewise.
9016 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9017 rs6000/t-ibm-ldouble to tmake_file.
9018 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9019 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9020 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9021 (tic6x-*-*): Likewise.
9022 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9023 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9024 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9025 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9026 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9027 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9028 t-softfp to tmake_file.
9029 * configure.ac (sfp_machine_header): Provide default if unset.
9030 Substitute.
9031 Link sfp-machine.h to config/$sfp_machine_header.
9032 * configure: Regenerate.
9033
569dc494
RO
90342011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9035
9036 * Makefile.in (double_type_size, long_double_type_size): Set.
9037 Remove $(fpbit-in-libgcc) support.
9038 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9039 (fpbit-src): New variable.
9040 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9041 Compile with -DFLOAT $(FPBIT_CFLAGS).
9042 Use $<.
9043 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9044 Compile with $(FPBIT_CFLAGS).
9045 Use $<.
9046 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9047 Compile with -DFLOAT $(TPBIT_CFLAGS).
9048 Use $<.
9049 * configure.ac (double_type_size, long_double_type_size):
9050 Determine and substitute.
9051 * configure: Regenerate.
9052 * fp-bit.c, fp-bit.h: New files.
9053 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9054 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9055 * config/mips/t-mips: New file.
9056 * config/mips/t-sdemtk: New file.
9057 * config/rs6000/ppc64-fp.c: New file.
9058 * config/rs6000/t-darwin (LIB2ADD): Add
9059 $(srcdir)/config/rs6000/ppc64-fp.c.
9060 * config/rs6000/t-ppc64-fp: New file.
9061 * config/rx/rx-lib.h: New file.
9062 * config/rx/t-rx (FPBIT): Set to true.
9063 ($(gcc_objdir)/fp-bit.c): Remove.
9064 (DPBIT): Set to true only with -m64bit-doubles.
9065 ($(gcc_objdir)/dp-bit.c): Remove.
9066 * config/sparc/t-softfp: Remove.
9067 * config/spu/t-elf: New file.
9068 * config/t-fdpbit, config/t-fpbit: New files.
9069 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9070 (mips*-*-*): Likewise.
9071 (arm-wrs-vxworks): Likewise.
9072 (arm*-*-freebsd*): Likewise.
9073 (avr-*-rtems*): Add t-fpbit to tmake_file.
9074 (avr-*-*): Likewise.
9075 (bfin*-elf*): Add t-fdpbit to tmake_file.
9076 (bfin*-uclinux*): Likewise.
9077 (bfin*-linux-uclibc*): Likewise.
9078 (bfin*-rtems*): New case.
9079 Add t-fdpbit to tmake_file.
9080 (bfin*-*): Add t-fdpbit to tmake_file.
9081 (crisv32-*-elf): Likewise.
9082 (cris-*-linux*): Likewise.
9083 (fr30-*-elf): Likewise.
9084 (frv-*-elf, frv-*-*linux*): Likewise.
9085 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9086 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9087 (m32r-*-elf*): Likewise.
9088 (m32rle-*-elf*): Likewise.
9089 (m32r-*-linux*): Likewise.
9090 (m32rle-*-linux*): Likewise.
9091 (mcore-*-elf): Add t-fdpbit to tmake_file.
9092 (microblaze*-*-*): Likewise.
9093 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9094 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9095 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9096 Fix typo.
9097 Add mips/t-tpbit to tmake-file.
9098 (mips*-*-linux*): Fix typo.
9099 (mips*-sde-elf*): New case
9100 Add mips/t-sdemtk unless using newlib.
9101 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9102 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9103 (mn10300-*-*): Likewise.
9104 (pdp11-*-*): Likewise.
9105 (picochip-*-*): Add t-fpbit to tmake_file.
9106 (powerpc-*-eabisimaltivec*): Likewise.
9107 (powerpc-*-eabisim*): Likewise.
9108 (powerpc-*-elf*): Likewise.
9109 (powerpc-*-eabialtivec*): Likewise.
9110 (powerpc-xilinx-eabi*): New case.
9111 Add t-fdpbit to tmake_file.
9112 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9113 (powerpc-*-rtems*): Likewise.
9114 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9115 tmake_file.
9116 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9117 tmake_file.
9118 (powerpc-*-lynxos*): Likewise.
9119 (powerpcle-*-elf*): Likewise.
9120 (powerpcle-*-eabisim*): Likewise.
9121 (powerpcle-*-eabi*): Likewise.
9122 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9123 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9124 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9125 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9126 (rx-*-elf): Add t-fdpbit to tmake_file.
9127 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9128 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9129 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9130 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9131 sh*-*-netbsd*.
9132 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9133 (sh-wrs-vxworks): Likewise.
9134 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9135 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9136 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9137 (sparc64-*-rtems*): ... new case.
9138 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9139 (spu-*-elf*): Likewise.
9140 Add spu/t-elf to tmake_file.
9141 (v850*-*-*): Add t-fdpbit to tmake_file.
9142 (xstormy16-*-elf): Likewise.
9143 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9144 (mep*-*-*): Likewise.
9145
201cdb74
RO
91462011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9147
9148 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9149 variables.
9150 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9151 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9152 (install-unwind_h): New target.
9153 (all): Depend on it.
9154 * config.host (unwind_header): New variable.
9155 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9156 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9157 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9158 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9159 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9160 Set unwind_header.
9161 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9162 Set unwind_header.
9163 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9164 arm*-*-eabi*.
9165 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9166 Set unwind_header.
9167 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9168 (ia64*-*-freebsd*): Likewise.
9169 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9170 tmake_file.
9171 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9172 $with_system_libunwind.
9173 (ia64*-*-hpux*): Set tmake_file.
9174 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9175 (picochip-*-*): Set tmake_file.
9176 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9177 md_unwind_header.
9178 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9179 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9180 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9181 (xtensa*-*-elf*): Set tmake_file.
9182 (xtensa*-*-linux*): Likewise.
9183 * configure.ac: Include ../config/unwind_ipinfo.m4.
9184 Call GCC_CHECK_UNWIND_GETIPINFO.
9185 Link unwind.h to $unwind_header.
9186 * configure: Regenerate.
9187 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9188 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9189 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9190 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9191 * config/unwind-dw2-fde-darwin.c: New file.
9192 * config/arm/libunwind.S, config/arm/pr-support.c,
9193 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9194 config/arm/unwind-arm.h,: New files.
9195 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9196 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9197 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9198 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9199 config/ia64/unwind-ia64.h: New files.
9200 * config/picochip/t-picochip: New file.
9201 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9202 files.
9203 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9204 * config/s390/t-tpf (LIB2ADDEH): Remove.
9205 * config/t-darwin (LIB2ADDEH): Set.
9206 * config/t-eh-dw2-dip: New file.
9207 * config/t-libunwind, config/t-libunwind-elf: New files.
9208 * config/t-sol2 (LIB2ADDEH): Remove.
9209 * config/xtensa/t-xtensa: New file.
9210
40f2f11f
L
92112011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9212
9213 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9214 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9215 long long to check rt_sigreturn syscall.
9216
bd15e32c
AM
92172011-08-02 Alan Modra <amodra@gmail.com>
9218
9219 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9220 Restore for indirect call bcrtl from correct stack slot, and only
9221 if cfa+40 isn't valid.
9222
655b30bf
JB
92232011-08-01 Julian Brown <julian@codesourcery.com>
9224
9225 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9226 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9227 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9228
247eb06f
JB
92292011-08-01 Julian Brown <julian@codesourcery.com>
9230
9231 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9232 (libgcc-std.ver.in): Use above.
9233 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9234 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9235 throughout file.
9236 * config/t-fixedpoint-gnu-prefix: New file.
9237 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9238 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9239 instead of __PFX__.
9240
02a8fe00
L
92412011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9244 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9245 for x86-64. Properly check __x86_64__ and __LP64__.
9246
5fce9126
L
92472010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9248
9249 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9250 version.
9251 (_FP_WS_TYPE): Likewise.
9252 (_FP_I_TYPE): Likewise.
9253
2374a88a
AM
92542011-07-28 Alan Modra <amodra@gmail.com>
9255
9256 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9257 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9258 in a plt call stub. Do restore r2 if stopped on bctrl.
9259
e44dbbe1
RO
92602011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9261
9262 * config.host (i[3456x]86-*-netware*): Remove.
9263 * config/i386/netware-crt0.c, config/i386/t-nwld,
9264 config/i386/t-slibgcc-nwld: Remove.
9265
bcead286
BS
92662011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9267
9268 * config.host: Handle tic6x-*-*.
9269 * config/c6x/c6x-abi.h: New file.
9270
b3fe1584
RO
92712011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9272
9273 * config/i386/crtprec.c: New file.
9274 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9275 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9276 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9277 (x86_64-*-darwin*): Likewise.
9278 (i[34567]86-*-solaris2*: Likewise.
9279
35d8090d
RO
92802011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9281
9282 * config/alpha/crtfastmath.c: New file.
9283 * config/i386/crtfastmath.c: New file.
9284 * config/ia64/crtfastmath.c: New file.
9285 * config/mips/crtfastmath.c: New file.
9286 * config/sparc/crtfastmath.c: New file.
9287
9288 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9289 crtfastmath.c.
9290 Add -frandom-seed=gcc-crtfastmath.
9291 * config/alpha/t-crtfm: Remove.
9292 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9293 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9294
9295 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9296 (alpha*-dec-osf5.1*): Likewise.
9297 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9298 Add crtfastmath.o to extra_parts.
9299 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9300 Add crtfastmath.o to extra_parts.
9301 (x86_64-*-darwin*): Likewise.
9302 (x86_64-*-mingw*): Likewise.
9303 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9304 (ia64*-*-freebsd*): Likewise.
9305 (ia64*-*-linux*): Likewise.
9306 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9307 Add crtfastmath.o to extra_parts.
9308
e141542e
RO
93092011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9310
9311 * config/darwin-crt3.o: New file.
9312 * config/rs6000/darwin-crt2.c: New file.
9313 * config/t-darwin: New file.
9314 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9315 (crt2.o): New rule.
9316 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9317 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9318 (powerpc64-*-darwin*): Likewise.
9319
2d1efe2d
RO
93202011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9321
9322 * config/i386/netware-crt0.c: New file.
9323 * config/i386/t-nwld: Rename to ...
9324 * config/i386/t-slibgcc-nwld: ... this.
9325 * config/i386/t-nwld: New file.
9326 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9327 tmake_file.
9328 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9329 extra_parts.
9330
4a8bb046
RO
93312011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9332
9333 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9334 i386/t-crtstuff.
9335 * configure: Regenerate.
9336
2d8d5935
RO
93372011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9338
9339 * dfp-bit.c, dfp-bit.h: New files.
9340 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9341 variables.
9342 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9343 ($(d64pbit-o)): Likewise.
9344 ($(d128pbit-o)): Likewise.
9345 * config/t-dfprules: New file.
9346 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9347 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9348 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9349 (x86_64-*-linux*): Likewise.
9350 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9351 (i[34567]86-*-cygwin*): Likewise.
9352 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9353 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9354
2c50b2c3
RO
93552011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9356
9357 * Makfile.in (LIBGCOV): New variable.
9358 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9359 * libgcov.c: New file.
9360
a039d7c2
RO
93612011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9362
9363 * fixed-bit.c, fixed-bit.h: New files.
9364 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9365 refer to fixed-bit.c.
9366
1e4b2746
JM
93672011-07-07 Joseph Myers <joseph@codesourcery.com>
9368
9369 * config.host (*local*): Remove.
9370
fbdd5d87
RO
93712011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9372
9373 PR target/39150
9374 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9375 like i?86-*-solaris2.1[0-9]*.
9376 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9377 * configure.ac (i?86-*-solaris2*): Likewise.
9378 * configure: Regenerate.
9379
9e7714f4
TS
93802011-07-06 Thomas Schwinge <thomas@schwinge.name>
9381
9382 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9383 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9384 md_unwind_header by splitting out of...
9385 (i[34567]86-*-linux*): ... this.
9386 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9387 Remove md_unwind_header by splitting out of...
9388 (x86_64-*-linux*): ... this.
9389
6dab9931
GJL
93902011-07-04 Georg-Johann Lay <avr@gjlay.de>
9391
9392 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9393
4be46d19
NC
93942011-06-28 Nick Clifton <nickc@redhat.com>
9395
9396 * config.host: Recognize all V850 variants.
9397
1da9434b
UB
93982011-06-22 Uros Bizjak <ubizjak@gmail.com>
9399
9400 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9401
e4d48a4d
RO
94022011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9403
9404 * shared-object.mk (c_flags-$o): Save c_flags.
9405 ($(base)$(objext)): Use it.
9406 ($(base)_s$(objext)): Likewise.
9407
3801c801
BS
94082011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9409
9410 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9411 * libgcc-std.ver.in (GCC_4.7.0): New section.
9412
0ad8bb3b 94132011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9414
0ad8bb3b
GJL
9415 PR target/49313
9416 PR target/29524
9417 * config/avr/t-avr: Fix line endings.
9418 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9419 _parityXX2.
9420
ea963999
OH
94212011-06-14 Olivier Hainque <hainque@adacore.com>
9422 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9423
9424 * config/mips/irix6-unwind.h: New file.
9425 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9426
b11b0904
EB
94272011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9428
9429 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9430 (sparc64_fallback_frame_state): Use it.
9431 (sparc64_frob_update_context): Further adjust context.
9432 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9433 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9434 * config/sparc/sol2-cn.S: Likewise.
9435
10e48e39
RO
94362011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9437
9438 * enable-execute-stack-empty.c: New file.
9439 * enable-execute-stack-mprotect.c: New file.
9440 * config/i386/enable-execute-stack-mingw32.c: New file.
9441 * config.host (enable_execute_stack): New variable.
9442 Select appropriate variants.
9443 * configure.ac: Link enable-execute-stack.c to
9444 $enable_execute_stack.
9445 * configure: Regenerate.
9446 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9447 (lib2funcs): Remove _enable_execute_stack.
9448
10c4cabc
DM
94492011-06-09 David S. Miller <davem@davemloft.net>
9450 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9451
9452 * config.host (sparc-*-linux*): Correct md_unwind_header
9453 filename.
9454 (s390x-ibm-tpf*): Fix typo.
9455
aa4203e7
RO
94562011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9457
9458 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9459 Add crtfastmath.o to extra_parts.
9460 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9461 mips/t-crtfm.
9462 * config/mips/t-crtfm: Remove.
9463
0defd786
JDA
94642011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9465
9466 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9467
82f247af
KK
94682011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9469
9470 * config.host (sh*-*-linux*): Fix typo.
9471
58cd1d70
RO
94722011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9473
9474 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9475 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9476 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9477 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9478 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9479 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9480 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9481 Wrap in !__MINGW64__.
9482 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9483 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9484 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9485 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9486 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9487 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9488 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9489 Wrap in !__LP64__.
9490 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9491 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9492 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9493 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9494 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9495 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9496 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9497 * config/no-unwind.h: New file.
9498 * config.host (md_unwind_header): Document.
9499 Define.
9500 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9501 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9502 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9503 hppa[12]*-*-hpux11*): Set md_unwind_header.
9504 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9505 Set md_unwind_header.
9506 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9507 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9508 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9509 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9510 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9511 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9512 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9513 md_unwind_header.
9514 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9515 * configure: Regenerate.
9516
737346fa
RO
95172011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9518
9519 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9520 Set tmake_file, extra_parts.
9521 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9522 Remove O32 support.
9523 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9524 Remove O32 support.
9525 * config/mips/t-irix6: New file.
9526 * config/mips/t-slibgcc-irix: New file.
9527
c192cee6
RO
95282011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9529
9530 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9531 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9532
ee33b5f0
RO
95332011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9534
9535 * configure.ac (target_thread_file): Determine thread model.
9536 * configure: Regenerate.
9537 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9538 * config/alpha/t-alpha: New file.
9539 * config/alpha/t-crtfm: Use $<.
9540 * config/alpha/t-ieee: New file.
9541 * config/alpha/t-osf-pthread: New file.
9542 * config/alpha/t-slibgcc-osf: New file.
9543 * config/alpha/libgcc-osf5.ver: New file.
9544
0699e415
RO
95452011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9546
9547 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9548 tmake_file.
9549 Add crtfastmath.o to extra_parts.
9550
a3fab9c2
RO
95512011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9552
9553 * config/gmon-sol2.c: Reindent.
9554 Cleanup comments.
9555 Remove, correct casts.
9556 Use STDERR_FILENO, NULL.
9557 (BASEADDRESS): Remove.
9558 (minbrk): Remove.
9559 (errno, sbrk): Remove declarations.
9560 (monstartup) [hp300]: Remove.
9561 (mcount): Remove.
9562
ca24c5ad
RO
95632011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9564
9565 * Makefile.in (cpu_type): Define.
9566 * config.host (i[34567]86-*-rtems*): Handle it.
9567 (i[34567]86-*-solaris2*): Move body ...
9568 (*-*-solaris2*): ... here.
9569 New case, generalize.
9570 (sparc-*-elf*): Handle it.
9571 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9572 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9573 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9574 Fold into ...
9575 (sparc*-*-solaris2*): ... this.
9576 New case.
9577 (sparc64-*-elf*): Handle it.
9578 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9579 Merge ../gcc/config/i386/gmon-sol2.c.
9580 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9581 Use C comments.
9582 Merge ../gcc/config/i386/sol2-gc1.asm.
9583 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9584 Use C comments.
9585 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9586 Use C comments.
9587 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9588 * config/i386/t-crtstuff: New file.
9589 * config/i386/t-softfp: New file.
9590 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9591 $(T)crti.o, $(T)crtn.o): Remove.
9592 (gcrt1.o): New rule.
9593 (TARGET_LIBGCC2_CFLAGS): Remove.
9594 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9595 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9596 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9597 * config/sparc/t-sol2: New file.
9598 * config/sparc/t-crtfm: Move to ...
9599 * config/t-crtfm: ... this.
9600 Use $(cpu_type), $<.
9601 * config/t-crtin: New file.
9602 * config/sparc/t-softfp: New file.
9603 * config/sparc/t-softmul: New file.
9604 * config/t-rtems: New file.
9605 * config/t-slibgcc: New file.
9606 * config/t-slibgcc-elf-ver: New file.
9607 * config/t-slibgcc-gld: New file.
9608 * config/t-slibgcc-sld: New file.
9609 * config/t-sol2: New file.
9610 * configure.ac: Include ../config/lib-ld.m4.
9611 Call AC_LIB_PROG_LD_GNU.
9612 Substitute cpu_type.
9613 * configure: Regenerate.
9614
ad5f3d7b
BS
96152011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9616
9617 PR bootstrap/49173
9618 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9619 libgcc-std.ver in the build directory.
9620 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9621 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9622
cdbf4541
BS
96232011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9624
9625 * libgcc-std.ver.in: New file.
9626 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9627 variables.
9628 (libgcc-std.ver): New rule.
9629 * config/t-gnu-prefix: New file.
9630
c8028650
RO
96312011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9632
9633 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9634
4a68b4ca
JM
96352011-05-10 Joseph Myers <joseph@codesourcery.com>
9636
9637 * config/i386/darwin-lib.h: New file.
9638
80cf2e08
JM
96392011-05-10 Joseph Myers <joseph@codesourcery.com>
9640
9641 * config/arm/symbian-lib.h: New.
9642
a3330c9d
CD
96432011-05-04 Chris Demetriou <cgd@google.com>
9644
9645 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9646 (__x86.get_pc_thunk.bx): ...this.
9647 (__morestack): Adjust for rename, remove undef of __i686.
9648
6ace0756
CD
96492011-05-03 Chris Demetriou <cgd@google.com>
9650
9651 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9652
ebb9f8b0
JM
96532011-03-22 Joseph Myers <joseph@codesourcery.com>
9654
9655 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9656 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9657 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9658 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9659 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9660 Remove cases.
9661
9cfa1499
AT
96622011-03-14 Andreas Tobler <andreast@fgznet.ch>
9663
9664 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9665 Adjust copyright year.
9666
457186f6
ILT
96672011-03-07 Ian Lance Taylor <iant@google.com>
9668
9669 * generic-morestack.c (__splitstack_find): Adjust returned stack
9670 pointer to include all registers pushed by __morestack.
9671
58c741a6
DK
96722011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9673
9674 PR target/40125
9675 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9676 (toolexecdir): Calculate and AC_SUBST.
9677 (toolexeclibdir): Likewise.
9678 * Makefile.in (target_noncanonical): Import.
9679 (toolexecdir): Likewise.
9680 (toolexeclibdir): Likewise.
9681 * configure: Regenerate.
9682
26716c44
NF
96832010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9684
9685 PR target/46040
9686 * config/arm/bpabi.h: Rename to...
9687 * config/arm/bpabi-lib.h: ...this.
9688
b595b1a1
RO
96892010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9690
9691 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9692 appropriate.
9693 * configure: Regenerate.
9694
a3abe41c
NF
96952010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9696
9697 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9698 __FLOAT_WORD_ORDER__.
9699 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9700 Delete.
9701
455c8f48
RW
97022010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9703
9704 PR other/46202
9705 * Makefile.in (install-strip): New phony target.
9706
f3824a8b
ILT
97072010-11-07 Ian Lance Taylor <iant@google.com>
9708
9709 PR target/46089
9710 * config/i386/morestack.S (__morestack_large_model): New
9711 function.
9712
18ed6ee4
NF
97132010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9714
9715 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9716 Delete.
9717 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9718
8ac7fdcb
NF
97192010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9720
9721 * config/arm/bpabi.h: New file.
9722 * config/frv/frv-abi.h: New file.
9723
cdb388c2
ILT
97242010-10-01 Ian Lance Taylor <iant@google.com>
9725
9726 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9727 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9728
ef7c141c
L
97292010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9730
9731 PR target/45858
9732 * config.host: Add the missing `$'.
9733
80920132
ME
97342010-09-30 Michael Eager <eager@eagercon.com>
9735
9736 * config.host: Add microblaze*-*-*.
9737 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9738 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9739 udivsi3.asm,umodsi3.asm}: New.
9740
6dace308
ILT
97412010-09-28 Ian Lance Taylor <iant@google.com>
9742
9743 * configure.ac: Adjust CFI test to test assembler directly rather
9744 than checking gcc preprocessor macro.
9745 * configure: Rebuild.
9746
b6110d6d
ILT
97472010-09-27 Ian Lance Taylor <iant@google.com>
9748
9749 * configure.ac: Test whether assembler supports CFI directives.
9750 * config.host: Only add t-stack and i386/t-stack-i386 to
9751 tmake_file if libgcc_cv_cfi is "yes".
9752 * configure: Rebuild.
9753
7458026b
ILT
97542010-09-27 Ian Lance Taylor <iant@google.com>
9755
9756 * generic-morestack.h: New file.
9757 * generic-morestack.c: New file.
9758 * generic-morestack-thread.c: New file.
9759 * config/i386/morestack.S: New file.
9760 * config/t-stack: New file.
9761 * config/i386/t-stack-i386: New file.
9762 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9763 i386/t-stack-i386 to tmake_file.
9764
5b50fc0c
IS
97652010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9766
9767 * Makefile.in (libgcc-extra-parts): Check for static archives and
9768 invoke ranlib after installing them.
9769 (gcc-extra-parts): Likewise.
9770 (install-leaf): Likewise.
9771
b93cf342
L
97722010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 * configure: Regenerated.
9775
996b42ef
KT
97762010-09-10 Kai Tietz <kai.tietz@onevision.com>
9777
b93cf342 9778 * configure: Regenerated.
996b42ef 9779
be1c764e
GP
97802010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9781 Andrew Pinski <pinskia@gmail.com>
9782
1da9434b 9783 PR target/40959
be1c764e
GP
9784 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9785
cc0ae0ca
L
97862010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9787
9788 PR target/45524
9789 * configure: Regenerated.
9790
84f47d20
AS
97912010-09-06 Andreas Schwab <schwab@redhat.com>
9792
9793 * configure: Regenerate.
9794
4159fb8d
UB
97952010-09-03 Uros Bizjak <ubizjak@gmail.com>
9796
9797 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9798 64bit targets.
9799 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9800 for 64bit targets.
9801
0df8fcc8
UB
98022010-09-03 Uros Bizjak <ubizjak@gmail.com>
9803 Iain Sandoe <iains@gcc.gnu.org>
9804
9805 PR target/45476
9806 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9807 LIB2FUNCS_EXCLUDE functions.
9808
3c39bca6
AK
98092010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9810
9811 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9812 Include dfp.m4.
9813 * configure: Regenerate.
9814
d78552bd
UB
98152010-09-01 Uros Bizjak <ubizjak@gmail.com>
9816
9817 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9818 i386/t-freebsd to tmake_file.
9819 * config/i386/t-freebsd: New file.
9820 * config/i386/libgcc-bsd.ver: New file.
9821
c5b79d4e
NF
98222010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9823
9824 * config.host (powerpc*-eabispe*): Set tmake_file.
9825 (powerpc*-eabi*): Likewise.
9826 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9827 crtbeginS, crtendS, crtbeginT.
9828
48b09a92
KH
98292010-06-12 Kazu Hirata <kazu@codesourcery.com>
9830
9831 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9832 to tmake_file. Add crtfastmath.o to extra_parts.
9833 * config/mips/t-crtfm: New.
9834
7d296953 98352010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9836
9837 * config.host (sparc64-*-rtems*): New target.
9838
ed104137
RO
98392010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9840
9841 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9842 assembler syntax.
9843
3f56ef8b
TS
98442010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9845
9846 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9847
8c200350
RO
98482010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9849
9850 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9851 alpha-dec-osf5.0* support.
9852
7d296953 98532010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9854
9855 * config.host: Add lm32-*-rtems*.
9856
f128db92 98572010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9858 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9859
9860 PR target/39048
9861 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9862 like other remaining 32-bit x86 OSes.
9863 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9864 assembler syntax.
9865 * config/i386/libgcc-sol2.ver: New file.
9866 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9867
7d296953 98682010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9869
9870 PR c/43553
9871 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9872 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9873 is used and substitute set_use_emutls.
9874 * configure: Regenerated.
9875
15baf7f8
TG
98762010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9877
9878 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9879
7f5441df
RO
98802010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9881
9882 PR target/38085
9883 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9884 MULTILIB_CFLAGS.
9885 ($(T)gcrt1.o): Likewise.
9886 ($(T)crt1.o): Likewise.
9887 ($(T)crti.o): Likewise.
9888 ($(T)crtn.o): Likewise.
9889
ef74edbd
RW
98902010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9891
9892 PR other/42980
9893 * Makefile.in (install): Use $(MAKE) string in rule, for
9894 parallel make.
9895
e7c914db
HPN
98962010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9897
9898 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9899 * config/mmix/t-mmix: New file.
9900 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9901
1bcb71c4
JH
99022010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9903
9904 PR java/41991
9905 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9906 SHLIB_MAPFILES.
9907
e6e50811
AG
99082010-01-04 Anthony Green <green@moxielogic.com>
9909
9910 * config/moxie/crti.asm, config/moxie/crtn.asm,
9911 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9912 config/moxie/t-moxie: New files.
9913 * config.host: Add t-moxie-softfp reference.
9914
7d296953 99152009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9916
9917 PR other/39888
9918 * config/t-slibgcc-darwin: Fix embedded rpaths for
9919 --enable-version-specific-runtime-libs, build extension stub
9920 libs exposing features available from current libgcc_s.
9921
7d296953 99222009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9923
d78552bd
UB
9924 * config.host: Add lm32 targets.
9925 * config/lm32: New directory.
9926 * config/lm32/libgcc_lm32.h: New file.
9927 * config/lm32/_mulsi3.c: New file.
9928 * config/lm32/_udivmodsi4.c: New file.
9929 * config/lm32/_divsi3.c: New file.
9930 * config/lm32/_modsi3.c: New file.
9931 * config/lm32/_udivsi3.c: New file.
9932 * config/lm32/_umodsi3.c: New file.
9933 * config/lm32/_lshrsi3.S: New file.
9934 * config/lm32/_ashrsi3.S: New file.
9935 * config/lm32/_ashlsi3.S: New file.
9936 * config/lm32/crti.S: New file.
9937 * config/lm32/crtn.S: New file.
9938 * config/lm32/t-lm32: New file.
9939 * config/lm32/t-elf: New file.
9940 * config/lm32/t-uclinux: New file.
aa4945c1 9941
65a324b4
NC
99422009-10-26 Nick Clifton <nickc@redhat.com>
9943
9944 * config.host: Add support for RX target.
9945 * config/rx: New directory.
9946 * config/rx/rx-abi-functions.c: New file. Supplementary
9947 functions for libgcc to support the RX ABI.
9948 * config/rx/rx-abi.h: New file. Supplementary header file for
9949 libgcc RX ABI functions.
9950 * config/rx/t-rx: New file: Makefile fragment for building
9951 libgcc for the RX.
9952
dfb3b0e3
UB
99532009-10-09 Uros Bizjak <ubizjak@gmail.com>
9954
9955 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9956 constraint of y0 to "g".
9957
81dd9fd7
AK
99582009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9959
9960 * config.host: Include the s390 makefile fragments.
9961 * config/s390/32/_fixdfdi.c: New file.
9962 * config/s390/32/_fixsfdi.c: New file.
9963 * config/s390/32/_fixtfdi.c: New file.
9964 * config/s390/32/_fixunsdfdi.c: New file.
9965 * config/s390/32/_fixunssfdi.c: New file.
9966 * config/s390/32/_fixunstfdi.c: New file.
9967 * config/s390/32/t-floattodi: New file.
9968 * config/s390/libgcc-glibc.ver: New file.
9969 * config/s390/t-crtstuff: New file.
9970 * config/s390/t-linux: New file.
9971 * config/s390/t-tpf: New file.
9972
df58e648
RW
99732009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9974
9975 * configure.ac (AC_PREREQ): Bump to 2.64.
9976
79052be3
KK
99772009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9978
9979 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9980
5213506e
RW
99812009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9982
9983 * configure: Regenerate.
9984
a9a25daa
DR
99852009-08-09 Douglas B Rupp <rupp@gnat.com>
9986
9987 * config.host (ia64-hp-*vms*): New target.
9988 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9989 with ia64-hp-*vms*.
9990
6efbd53f
RW
99912009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9992
9993 * configure.ac: Add snippet for maintainer-mode.
9994 * configure: Regenerate.
9995 * Makefile.in (AUTOCONF, configure_deps): New variables.
9996 ($(srcdir)/configure)): New rule, active only with maintainer
9997 mode turned on.
9998
7acf4da6
DD
99992009-06-23 DJ Delorie <dj@redhat.com>
10000
10001 Add MeP port.
10002 * config.host: Add mep support.
10003
54f549af
KT
100042009-06-22 Kai Tietz <kai.tietz@onevision.com>
10005
34481f28 10006 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10007 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10008
10009 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10010 for mingw targets.
54f549af
KT
10011 * config/i386/64/_multc3.c: Likewise.
10012 * config/i386/64/_powitf2.c: Likewise.
10013 * config/i386/64/eqtf2.c: Likewise.
10014 * config/i386/64/getf2.c: Likewise.
10015 * config/i386/64/letf2.c: Likewise.
10016 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10017 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10018 unsigned long long for x64 mingw targets.
10019 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10020 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10021
fea96e25
MR
100222009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10023
10024 * config.host (vax-*-linux*): New.
10025
cceb575c
AG
100262009-05-31 Anthony Green <green@moxielogic.com>
10027
10028 * config.host: Add moxie support.
10029 * config/moxie/t-moxie: New file.
10030
7d296953 100312009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10032
10033 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10034 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10035
532bfb0a
AJ
100362009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10037
10038 * config.host: Add i386/${host_address}/t-fprules-softfp to
10039 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10040
748086b7
JJ
100412009-04-09 Nick Clifton <nickc@redhat.com>
10042
10043 * config/ia64/tf-signs.c: Change copyright header to refer to
10044 version 3 of the GNU General Public License with version 3.1
10045 of the GCC Runtime Library Exception and to point readers at
10046 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10047 web page.
10048 * config/i386/32/tf-signs.c: Likewise.
10049 * config/libbid/_addsub_dd.c: Likewise.
10050 * config/libbid/_addsub_sd.c: Likewise.
10051 * config/libbid/_addsub_td.c: Likewise.
10052 * config/libbid/_dd_to_df.c: Likewise.
10053 * config/libbid/_dd_to_di.c: Likewise.
10054 * config/libbid/_dd_to_sd.c: Likewise.
10055 * config/libbid/_dd_to_sf.c: Likewise.
10056 * config/libbid/_dd_to_si.c: Likewise.
10057 * config/libbid/_dd_to_td.c: Likewise.
10058 * config/libbid/_dd_to_tf.c: Likewise.
10059 * config/libbid/_dd_to_udi.c: Likewise.
10060 * config/libbid/_dd_to_usi.c: Likewise.
10061 * config/libbid/_dd_to_xf.c: Likewise.
10062 * config/libbid/_df_to_dd.c: Likewise.
10063 * config/libbid/_df_to_sd.c: Likewise.
10064 * config/libbid/_df_to_td.c: Likewise.
10065 * config/libbid/_di_to_dd.c: Likewise.
10066 * config/libbid/_di_to_sd.c: Likewise.
10067 * config/libbid/_di_to_td.c: Likewise.
10068 * config/libbid/_div_dd.c: Likewise.
10069 * config/libbid/_div_sd.c: Likewise.
10070 * config/libbid/_div_td.c: Likewise.
10071 * config/libbid/_eq_dd.c: Likewise.
10072 * config/libbid/_eq_sd.c: Likewise.
10073 * config/libbid/_eq_td.c: Likewise.
10074 * config/libbid/_ge_dd.c: Likewise.
10075 * config/libbid/_ge_sd.c: Likewise.
10076 * config/libbid/_ge_td.c: Likewise.
10077 * config/libbid/_gt_dd.c: Likewise.
10078 * config/libbid/_gt_sd.c: Likewise.
10079 * config/libbid/_gt_td.c: Likewise.
10080 * config/libbid/_isinfd128.c: Likewise.
10081 * config/libbid/_isinfd32.c: Likewise.
10082 * config/libbid/_isinfd64.c: Likewise.
10083 * config/libbid/_le_dd.c: Likewise.
10084 * config/libbid/_le_sd.c: Likewise.
10085 * config/libbid/_le_td.c: Likewise.
10086 * config/libbid/_lt_dd.c: Likewise.
10087 * config/libbid/_lt_sd.c: Likewise.
10088 * config/libbid/_lt_td.c: Likewise.
10089 * config/libbid/_mul_dd.c: Likewise.
10090 * config/libbid/_mul_sd.c: Likewise.
10091 * config/libbid/_mul_td.c: Likewise.
10092 * config/libbid/_ne_dd.c: Likewise.
10093 * config/libbid/_ne_sd.c: Likewise.
10094 * config/libbid/_ne_td.c: Likewise.
10095 * config/libbid/_sd_to_dd.c: Likewise.
10096 * config/libbid/_sd_to_df.c: Likewise.
10097 * config/libbid/_sd_to_di.c: Likewise.
10098 * config/libbid/_sd_to_sf.c: Likewise.
10099 * config/libbid/_sd_to_si.c: Likewise.
10100 * config/libbid/_sd_to_td.c: Likewise.
10101 * config/libbid/_sd_to_tf.c: Likewise.
10102 * config/libbid/_sd_to_udi.c: Likewise.
10103 * config/libbid/_sd_to_usi.c: Likewise.
10104 * config/libbid/_sd_to_xf.c: Likewise.
10105 * config/libbid/_sf_to_dd.c: Likewise.
10106 * config/libbid/_sf_to_sd.c: Likewise.
10107 * config/libbid/_sf_to_td.c: Likewise.
10108 * config/libbid/_si_to_dd.c: Likewise.
10109 * config/libbid/_si_to_sd.c: Likewise.
10110 * config/libbid/_si_to_td.c: Likewise.
10111 * config/libbid/_td_to_dd.c: Likewise.
10112 * config/libbid/_td_to_df.c: Likewise.
10113 * config/libbid/_td_to_di.c: Likewise.
10114 * config/libbid/_td_to_sd.c: Likewise.
10115 * config/libbid/_td_to_sf.c: Likewise.
10116 * config/libbid/_td_to_si.c: Likewise.
10117 * config/libbid/_td_to_tf.c: Likewise.
10118 * config/libbid/_td_to_udi.c: Likewise.
10119 * config/libbid/_td_to_usi.c: Likewise.
10120 * config/libbid/_td_to_xf.c: Likewise.
10121 * config/libbid/_tf_to_dd.c: Likewise.
10122 * config/libbid/_tf_to_sd.c: Likewise.
10123 * config/libbid/_tf_to_td.c: Likewise.
10124 * config/libbid/_udi_to_dd.c: Likewise.
10125 * config/libbid/_udi_to_sd.c: Likewise.
10126 * config/libbid/_udi_to_td.c: Likewise.
10127 * config/libbid/_unord_dd.c: Likewise.
10128 * config/libbid/_unord_sd.c: Likewise.
10129 * config/libbid/_unord_td.c: Likewise.
10130 * config/libbid/_usi_to_dd.c: Likewise.
10131 * config/libbid/_usi_to_sd.c: Likewise.
10132 * config/libbid/_usi_to_td.c: Likewise.
10133 * config/libbid/_xf_to_dd.c: Likewise.
10134 * config/libbid/_xf_to_sd.c: Likewise.
10135 * config/libbid/_xf_to_td.c: Likewise.
10136 * config/libbid/bid128.c: Likewise.
10137 * config/libbid/bid128_2_str.h: Likewise.
10138 * config/libbid/bid128_2_str_macros.h: Likewise.
10139 * config/libbid/bid128_2_str_tables.c: Likewise.
10140 * config/libbid/bid128_add.c: Likewise.
10141 * config/libbid/bid128_compare.c: Likewise.
10142 * config/libbid/bid128_div.c: Likewise.
10143 * config/libbid/bid128_fma.c: Likewise.
10144 * config/libbid/bid128_logb.c: Likewise.
10145 * config/libbid/bid128_minmax.c: Likewise.
10146 * config/libbid/bid128_mul.c: Likewise.
10147 * config/libbid/bid128_next.c: Likewise.
10148 * config/libbid/bid128_noncomp.c: Likewise.
10149 * config/libbid/bid128_quantize.c: Likewise.
10150 * config/libbid/bid128_rem.c: Likewise.
10151 * config/libbid/bid128_round_integral.c: Likewise.
10152 * config/libbid/bid128_scalb.c: Likewise.
10153 * config/libbid/bid128_sqrt.c: Likewise.
10154 * config/libbid/bid128_string.c: Likewise.
10155 * config/libbid/bid128_to_int16.c: Likewise.
10156 * config/libbid/bid128_to_int32.c: Likewise.
10157 * config/libbid/bid128_to_int64.c: Likewise.
10158 * config/libbid/bid128_to_int8.c: Likewise.
10159 * config/libbid/bid128_to_uint16.c: Likewise.
10160 * config/libbid/bid128_to_uint32.c: Likewise.
10161 * config/libbid/bid128_to_uint64.c: Likewise.
10162 * config/libbid/bid128_to_uint8.c: Likewise.
10163 * config/libbid/bid32_to_bid128.c: Likewise.
10164 * config/libbid/bid32_to_bid64.c: Likewise.
10165 * config/libbid/bid64_add.c: Likewise.
10166 * config/libbid/bid64_compare.c: Likewise.
10167 * config/libbid/bid64_div.c: Likewise.
10168 * config/libbid/bid64_fma.c: Likewise.
10169 * config/libbid/bid64_logb.c: Likewise.
10170 * config/libbid/bid64_minmax.c: Likewise.
10171 * config/libbid/bid64_mul.c: Likewise.
10172 * config/libbid/bid64_next.c: Likewise.
10173 * config/libbid/bid64_noncomp.c: Likewise.
10174 * config/libbid/bid64_quantize.c: Likewise.
10175 * config/libbid/bid64_rem.c: Likewise.
10176 * config/libbid/bid64_round_integral.c: Likewise.
10177 * config/libbid/bid64_scalb.c: Likewise.
10178 * config/libbid/bid64_sqrt.c: Likewise.
10179 * config/libbid/bid64_string.c: Likewise.
10180 * config/libbid/bid64_to_bid128.c: Likewise.
10181 * config/libbid/bid64_to_int16.c: Likewise.
10182 * config/libbid/bid64_to_int32.c: Likewise.
10183 * config/libbid/bid64_to_int64.c: Likewise.
10184 * config/libbid/bid64_to_int8.c: Likewise.
10185 * config/libbid/bid64_to_uint16.c: Likewise.
10186 * config/libbid/bid64_to_uint32.c: Likewise.
10187 * config/libbid/bid64_to_uint64.c: Likewise.
10188 * config/libbid/bid64_to_uint8.c: Likewise.
10189 * config/libbid/bid_b2d.h: Likewise.
10190 * config/libbid/bid_binarydecimal.c: Likewise.
10191 * config/libbid/bid_conf.h: Likewise.
10192 * config/libbid/bid_convert_data.c: Likewise.
10193 * config/libbid/bid_decimal_data.c: Likewise.
10194 * config/libbid/bid_decimal_globals.c: Likewise.
10195 * config/libbid/bid_div_macros.h: Likewise.
10196 * config/libbid/bid_dpd.c: Likewise.
10197 * config/libbid/bid_flag_operations.c: Likewise.
10198 * config/libbid/bid_from_int.c: Likewise.
10199 * config/libbid/bid_functions.h: Likewise.
10200 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10201 * config/libbid/bid_inline_add.h: Likewise.
10202 * config/libbid/bid_internal.h: Likewise.
10203 * config/libbid/bid_round.c: Likewise.
10204 * config/libbid/bid_sqrt_macros.h: Likewise.
10205
102062009-04-09 Jakub Jelinek <jakub@redhat.com>
10207
10208 * Makefile.in: Change copyright header to refer to version
10209 3 of the GNU General Public License and to point readers at the
10210 COPYING3 file and the FSF's license web page.
10211 * config.host: Likewise.
10212
633dd061
AM
102132009-04-07 Alan Modra <amodra@bigpond.net.au>
10214
10215 * config.host: Reorder and merge to match config.gcc change.
10216
457d1d00
AM
102172009-04-03 Alan Modra <amodra@bigpond.net.au>
10218
10219 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10220
52c0e446
JM
102212009-03-28 Joseph Myers <joseph@codesourcery.com>
10222
10223 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10224 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10225 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10226 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10227
ba181049
UB
102282009-02-12 Uros Bizjak <ubizjak@gmail.com>
10229
10230 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10231 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10232
c252db20
L
102332009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10234
ba181049
UB
10235 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10236 ia64/t-softfp-compat to tmake_file.
c252db20
L
10237
10238 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10239
10240 * config/ia64/__divxf3.asm: New.
10241 * config/ia64/_fixtfdi.asm: Likewise.
10242 * config/ia64/_fixunstfdi.asm: Likewise.
10243 * config/ia64/_floatditf.asm: Likewise.
10244 * config/ia64/t-fprules-softfp: Likewise.
10245 * config/ia64/t-softfp-compat: Likewise.
10246 * config/ia64/tf-signs.c: Likewise.
10247
c60535f9
BE
102482009-01-18 Ben Elliston <bje@au.ibm.com>
10249
10250 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10251
ce16861e
BE
102522009-01-16 Ben Elliston <bje@au.ibm.com>
10253
10254 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10255 to tmake_file.
10256
bcf4713b
BE
102572009-01-13 Ben Elliston <bje@au.ibm.com>
10258
10259 * config/t-softfp: New file.
10260 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10261 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10262
7d296953 102632009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10264
10265 * config.host: Add m32r*-*-rtems*.
10266
7d296953 102672008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10268
10269 * config.host: Add m32c*-*-rtems*.
10270
19523300
RO
102712008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10272
10273 PR bootstrap/33100
10274 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10275 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10276 * configure: Regenerate.
10277 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10278 tmake_file here from gcc/config.gcc.
10279 Move extra_parts here from gcc/config.gcc.
10280 * config/i386/t-sol2: Move here from gcc/config/i386.
10281 Use gcc_srcdir instead of srcdir.
10282
0a4a51c7
AN
102832008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10284
10285 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10286 case.
10287
2a761e46
TS
102882008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10289
10290 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10291
c0451df7
TS
102922008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10293
10294 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10295
358da97e
HS
102962008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10297
10298 Add picoChip port.
10299 * config.host: Add picochip-*-*.
10300
c660f132
BW
103012008-08-06 Bob Wilson <bob.wilson@acm.org>
10302
10303 * config.host: Match more processor names for Xtensa.
10304
d1349557
L
103052008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 * config/i386/64/t-softfp-compat: Update comments.
10308
dd7b73c0
L
103092008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10310
10311 * config/i386/64/_divtc3-compat.c: Moved to ...
10312 * config/i386/64/_divtc3.c: Here.
10313
10314 * config/i386/64/_multc3-compat.c: Moved to ...
10315 * config/i386/64/_multc3.c: Here.
10316
10317 * config/i386/64/_powitf2-compat.c: Moved to ...
10318 * config/i386/64/_powitf2.c: Here.
10319
10320 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10321 .c suffix instead of -compat.c.
10322
6e1fab3d
UB
103232008-07-05 Uros Bizjak <ubizjak@gmail.com>
10324
10325 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10326 (_FP_MUL_MEAT_D): Ditto.
10327 (_FP_DIV_MEAT_S): Ditto.
10328 (_FP_DIV_MEAT_D): Ditto.
10329
f92518d7
RS
103302008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10331
10332 * Makefile.in: Add support for __sync_* libgcc functions.
10333
d0aede14
L
103342008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10335
10336 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10337
c174f11c
L
103382008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10339
10340 PR boostrap/36702
10341 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10342 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10343
10344 * config/i386/64/t-fprules-softfp: Moved to ...
10345 * config/i386/64/t-softfp-compat: This. New.
10346
5f464fa2
UB
103472008-07-02 Uros Bizjak <ubizjak@gmail.com>
10348
10349 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10350 Initialize f with 0.0.
10351
ff473280
L
103522008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 PR target/36669
10355 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10356
10357 * config/i386/64/_divtc3-compat.c: New.
10358 * config/i386/64/_multc3-compat.c: Likewise.
10359 * config/i386/64/_powitf2-compat.c: Likewise.
10360 * config/i386/64/eqtf2.c: Likewise.
10361 * config/i386/64/getf2.c: Likewise.
10362 * config/i386/64/letf2.c: Likewise.
10363 * config/i386/64/t-fprules-softfp: Likewise.
10364
103652008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10366
10367 * config.host: Add i386/${host_address}/t-fprules-softfp to
10368 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10369 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10370
10371 * configure.ac: Set host_address to 64 or 32 for x86.
10372 * configure: Regenerated.
10373
10374 * Makefile.in (config.status): Also depend on
10375 $(srcdir)/config.host.
10376
10377 * config/i386/32/t-fprules-softfp: New.
10378 * config/i386/32/tf-signs.c: Likewise.
10379
10380 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10381
103822008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10383 Uros Bizjak <ubizjak@gmail.com>
10384
10385 * config/i386/32/sfp-machine.h: New.
10386
30551d99
NF
103872008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10388
10389 * config/rs6000/t-ppccomm: Remove rules that conflict with
10390 auto-generated rules.
10391
18c04407
RW
103922008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10393
10394 * configure.ac: sinclude override.m4.
10395 * configure: Regenerate.
10396
10fbe77a
BRF
103972008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10398
10399 * configure: Regenerate.
10400
bc6d4c3f
JM
104012008-06-10 Joseph Myers <joseph@codesourcery.com>
10402
10403 * Makefile.in (DECNUMINC): Remove
10404 -I$(MULTIBUILDTOP)../../libdecnumber.
10405 * gstdint.h: New.
10406
cd985f66
JM
104072008-06-07 Joseph Myers <joseph@codesourcery.com>
10408
10409 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10410 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10411 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10412 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10413 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10414 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10415 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10416 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10417 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10418 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10419 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10420 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10421 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10422 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10423
93fea8d3
AL
104242008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10425
10426 * config.host (sh2[lbe]*-*-linux*): Allow target.
10427
18724e30
NF
104282008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10429
10430 * config/rs6000/t-ppccomm: Add build rules for new files.
10431 (LIB2ADD_ST): New variable.
10432
47583040
AH
104332008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10434
10435 PR target/34210
10436 PR target/35508
10437 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10438 * config/t-avr: New file. Build 16bit libgcc functions.
10439
cf8e67fe
JJ
104402008-03-02 Jakub Jelinek <jakub@redhat.com>
10441
10442 PR target/35401
10443 * config/t-slibgcc-darwin: Make install-leaf dependent on
10444 install-darwin-libgcc-stubs instead of install.
10445
8d8da227
JM
104462008-01-25 Joseph Myers <joseph@codesourcery.com>
10447
10448 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10449 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10450 sh-*-rtemscoff*): Remove cases.
10451
edbf8b16
RS
104522007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10453
10454 * Makefile.in (all): Use install-leaf rather than install.
10455 (install): Split most of the rule into...
10456 (install-leaf): ...this new one.
10457
89deeaff
EK
104582007-12-19 Etsushi Kato <ek.kato@gmail.com>
10459 Paolo Bonzini <bonzini@gnu.org>
10460
10461 PR target/30572
5f464fa2
UB
10462 * Makefile.in: Use @shlib_slibdir@ substitution to get
10463 correct install name on darwin.
89deeaff 10464 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10465
4081d704
HPN
104662007-12-15 Hans-Peter Nilsson <hp@axis.com>
10467
10468 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10469 cris-*-elf and cris-*-none.
10470 (crisv32-*-linux*): Similar, as cris-*-linux*.
10471
f43e89a3
RIL
104722007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10473
10474 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10475
b4e9c2c6
L
104762007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10477
10478 PR regression/33926
10479 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10480 * configure: Regenerated.
10481
b2a00c89
L
104822007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10483
10484 * Makefile.in (dfp-filenames): Replace decimal_globals,
10485 decimal_data, binarydecimal and convert_data with
10486 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10487 and bid_convert_data, respectively.
10488
8d2a9e0e
CF
104892007-09-17 Chao-ying Fu <fu@mips.com>
10490 Nigel Stephens <nigel@mips.com>
10491
10492 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10493 * Makefile.in (fixed_point): Define.
10494 Check if fixed_point is yes to build support functions.
10495 * configure.ac: Check for fixed_point support.
10496 * configure: Regenerated.
10497 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10498 funcs, modes, from, to.
10499
2b53935d
JJ
105002007-09-11 Janis Johnson <janis187@us.ibm.com
10501
10502 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10503
2533577f
JJ
105042007-09-10 Janis Johnson <janis187@us.ibm.com>
10505
10506 * Makefile.in (dfp-filenames): Remove decUtility, add
10507 decDouble, decPacked, decQuad, decSingle.
10508
3ae3dbd6
HK
105092007-08-27 Hans Kester <hans.kester@ellips.nl>
10510
10511 * config.host : Add x86_64-elf target.
10512
22867d02
L
105132007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10514
10515 * configure.ac (set_have_cc_tls): Add a missing =.
10516 * configure: Regenerated.
10517
6f461e76
L
105182007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10519
10520 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10521 and x86_64-*-linux*.
10522
10523 * config/t-tls: New file.
10524
dfb3b0e3 10525 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10526
10527 * configure.ac: Include ../config/enable.m4 and
10528 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10529 supports TLS and substitute set_have_cc_tls.
10530 * configure: Regenerated.
10531
200359e8
L
105322007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10533
10534 * Makefile.in: Use libbid for DFP when BID is enabled.
10535
76f5e200
DS
105362007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10537
10538 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10539 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10540 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10541
9bd196f0 105422007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10543 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10544
10545 PR target/29498
10546 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10547 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10548 * config/i386/t-crtfm: Compile crtfastmath.o with
10549 -minline-all-stringops.
10550
1910440e
RS
105512007-05-10 Richard Sandiford <richard@codesourcery.com>
10552
10553 * config.host (sparc-wrs-vxworks): New target.
10554
7d33c31d
KH
105552007-04-14 Kazu Hirata <kazu@codesourcery.com>
10556
10557 * config.host: Recognize fido.
10558
96fccd0d
JJ
105592007-04-04 Janis Johnson <janis187@us.ibm.com>
10560
10561 * configure: Check host, not target, for decimal float support.
10562
577565f9
UB
105632007-04-03 Uros Bizjak <ubizjak@gmail.com>
10564
10565 * config/i386/t-crtpc: New file.
10566 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10567 (x86_64-*-linux*): Ditto.
577565f9 10568
ccf8e764
RH
105692007-02-30 Kai Tietz <kai.tietz@onevision.com>
10570
10571 * config.host (x86_64-*-mingw*): New target.
10572
79b87c74
MM
105732007-03-23 Michael Meissner <michael.meissner@amd.com>
10574 H.J. Lu <hongjiu.lu@intel.com>
10575
10576 * Makefile.in (enable_decimal_float): New.
10577 (DECNUMINC): Add
10578 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10579 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10580 (decbits-filenames): This.
10581 (decbits-objects): New.
10582 (libgcc-objects): Add $(decbits-objects).
10583
10584 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10585 Substitute enable_decimal_float.
10586 * configure: Regenerated.
10587
8fce4e31
HPN
105882007-03-19 Hans-Peter Nilsson <hp@axis.com>
10589
10590 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10591
e8bb4597
BM
105922007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10593
10594 * Makefile.in (install-info): New dummy target.
10595
344189f9
BS
105962007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10597
10598 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10599
ac84c172
BM
106002007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10601
10602 * Makefile.in: Add install-html and install-pdf dummy
10603 targets.
10604
cd5c2357
RS
106052007-02-05 Roger Sayle <roger@eyesopen.com>
10606 Daniel Jacobowitz <dan@codesourcery.com>
10607
10608 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10609 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10610 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10611
d9a66f98
JJ
106122007-01-29 Janis Johnson <janis187@us.ibm.com>
10613
10614 * Makefile.in (dec-filenames): Add decExcept.
10615
9891ec5f
DJ
106162007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10617
10618 PR bootstrap/30469
10619 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10620 -fprofile-use.
10621
d6efbf5a
DJ
106222007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10623
10624 * configure.ac: Add --enable-version-specific-runtime-libs.
10625 Correct $slibdir default.
10626 * configure: Regenerated.
10627
17caeff2
JM
106282007-01-23 Joseph Myers <joseph@codesourcery.com>
10629
10630 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10631
5ea41e3a
AP
106322007-01-21 Andrew Pinski <pinskia@gmail.com>
10633
10634 PR target/30519
10635 * config.host (alpha*-*-linux*): Set extra_parts.
10636
26900826
KK
106372007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10638
10639 * config/sh/t-linux: New.
10640 * config.host (sh*-*-linux*): Set tmake_file.
10641
97af925b
DJ
106422007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10643
10644 * Makefile.in (install): Handle multilibs.
10645
b0088af7
BM
106462007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10647
10648 * Makefile.in: Added .PHONY entry for documentation targets.
10649
e0a9456a
BM
106502007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10651
10652 * Makefile.in: Add empty info, html, dvi, pdf targets.
10653
7fd453b4
MS
106542007-01-04 Mike Stump <mrs@apple.com>
10655
10656 * Makefile.in (MAKEINFO): Remove.
10657 (PERL): Likewise.
10658
14e8fc8b
PB
106592007-01-04 Paolo Bonzini <bonzini@gnu.org>
10660
10661 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10662 * configure: Regenerate.
10663 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10664 (gcc_objdir): Use it.
14e8fc8b 10665
1555beba
DJ
106662007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10667
10668 * config.host (ia64*-*-linux*): Set tmake_file.
10669
79e6eaeb
DJ
106702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10671
10672 * Makefile.in (version): Define.
10673
fa958513
DJ
106742007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10675 Paolo Bonzini <bonzini@gnu.org>
10676
10677 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10678 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10679 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10680 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10681 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10682 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10683 * configure: Generated.
818ab71a 10684\f
8d9254fc 10685Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10686
10687Copying and distribution of this file, with or without modification,
10688are permitted in any medium without royalty provided the copyright
10689notice and this notice are preserved.