]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
openmp: Reject requires directives not at file or namespace scope [PR94593]
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
50c78532
ILT
12020-04-07 Ian Lance Taylor <iant@golang.org>
2
3 PR libgcc/94513
4 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
5 syscall instead.
6
458ca332
ILT
72020-04-04 Ian Lance Taylor <iant@golang.org>
8
9 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
10
710d54ed
ILT
112020-04-03 Ian Lance Taylor <iant@golang.org>
12
13 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
14 than mmap/munmap, to avoid hooks.
15
b749b5ec
JJ
162020-04-03 Jim Johnston <jjohnst@us.ibm.com>
17
18 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
19 (TPFRA_OFFSET): Macros removed.
20 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
21 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
22 (PG3_SKIPPING_OFFSET): New macros.
23 (__isPATrange): Use cinfc_fast for the check.
24 (__isSkipResetAddr): New function.
25 (s390_fallback_frame_state): Check for skip trace addresses. Use
26 either ICST_CRET or ICST_SRET to calculate return address
27 location.
28 (__tpf_eh_return): Handle skip trace addresses.
29
a9cd2d78
RE
302020-03-26 Richard Earnshaw <rearnsha@arm.com>
31
32 PR target/94220
33 * config/arm/lib1funcs.asm (COND): Use a single definition for
34 unified syntax.
35 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
36 (aeabi_idivmod): Likewise.
37 (divsi3_skip_div0_test): Likewise.
38
f582ca0f
MI
392020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
40
41 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
42
068fe0a9
AK
432020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
44
45 * config.host: Include the new makefile fragment.
46 * config/s390/t-tpf: New file.
47
6b9ce2b4
RE
482020-03-03 Richard Earnshaw <rearnsha@arm.com>
49
50 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
51 syntax.
52 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
53 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
54 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
55 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
56 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
57 syntax.
58 (divsi3, modsi3): Likewise.
59 (clzdi2, ctzsi2): Likewise.
60 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
61 unified syntax.
62 (UNWIND_WRAPPER): Likewise.
63
8dd5d8f3
ML
642020-03-02 Martin Liska <mliska@suse.cz>
65
66 * libgcov-interface.c: Remove duplicate
67 declaration of __gcov_flush_mx.
68
ea0b1252
ML
692020-02-18 Martin Liska <mliska@suse.cz>
70
71 PR ipa/92924
72 * libgcov-merge.c (merge_topn_values_set): Record
73 when a TOP N counter becomes invalid. When merging
74 remove a smallest value if the space is needed.
75
02ce382c
SL
762020-02-12 Sandra Loosemore <sandra@codesourcery.com>
77
78 PR libstdc++/79193
79 PR libstdc++/88999
80
81 * configure: Regenerated.
82
7214fce3
JL
832020-02-10 Jeff Law <law@redhat.com>
84
85 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
86 sections.
87 * config/frv/frvend.c: Similarly.
88
cf0f07ef
L
892020-02-10 H.J. Lu <hongjiu.lu@intel.com>
90
91 PR libgcc/85334
92 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
93 New.
94
5602b48b
CL
952020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
96
97 PR target/93615
98 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
99 _Unwind_gnu_Find_got.
100 * unwind-pe.h: Likewise.
101
811a475e
JJ
1022020-02-07 Jakub Jelinek <jakub@redhat.com>
103
104 PR target/93615
105 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
106 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
107 trailing :s in asm. Formatting fixes.
108 (_Unwind_decode_typeinfo_ptr): Adjust caller.
109
2d33dcfe
SL
1102020-01-31 Sandra Loosemore <sandra@codesourcery.com>
111
112 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
113
114 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
115 * config/nios2-elf-lib.h: New.
116 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
117 code for finding GOT base for nios2.
118
3ae37f92
ML
1192020-01-27 Martin Liska <mliska@suse.cz>
120
121 PR gcov-profile/93403
122 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
123 Call __gcov_indirect_call_profiler_body.
124 (__gcov_indirect_call_profiler_body): New.
125 (__gcov_indirect_call_profiler_v4_atomic): New.
126 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
127 New declaration.
128
2744b8b2
CZ
1292020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
130
131 * config/arc/crti.S: Add RF16 object attribute.
132 * config/arc/crtn.S: Likewise.
133 * config/arc/crttls.S: Likewise.
134 * config/arc/lib1funcs.S: Likewise.
135 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
136 * config/arc/lib2funcs.c: New file.
137 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
138
e8e66971
MR
1392020-01-24 Maciej W. Rozycki <macro@wdc.com>
140
141 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
142 * configure.ac: Handle `--with-toolexeclibdir='.
143 * configure: Regenerate.
144
54b3d52c
DM
1452020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
146
147 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
148
a3c1e1f2
DM
1492020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
150
151 * config/mips/gnustack.h: New file.
152 * config/mips/crti.S: Include gnustack.h.
153 * config/mips/crtn.S: Likewise.
154 * config/mips/mips16.S: Likewise.
155 * config/mips/vr4120-div.S: Likewise.
156
e9ee848d
ML
1572020-01-23 Martin Liska <mliska@suse.cz>
158
159 * libgcov-driver.c (prune_topn_counter): Remove
160 check for -1 as we only prune run-time counters
161 that do not generate an invalid state.
162
7491c17f
ML
1632020-01-22 Martin Liska <mliska@suse.cz>
164
165 PR tree-optimization/92924
166 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
167 try to find an existing value, then find an empty slot
168 if not found.
169
5f32f9cf
ML
1702020-01-22 Martin Liska <mliska@suse.cz>
171
172 PR tree-optimization/92924
173 * libgcov-driver.c (prune_topn_counter): New.
174 (prune_counters): Likewise.
175 (dump_one_gcov): Prune a run-time counter.
176 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
177 For a known value, add GCOV_TOPN_VALUES to value.
178 Otherwise, decrement all counters by one.
179
463f6499
HPN
1802020-01-18 Hans-Peter Nilsson <hp@axis.com>
181
182 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
183
84479e3a
JDA
1842020-01-18 John David Anglin <danglin@gcc.gnu.org>
185
186 PR libgcc/92988
187 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
188 DEFAULT_USE_CXA_ATEXIT is true.
189
e953433f 1902020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 191 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
192
193 * config/arm/t-arm: Check return value of gcc rather than lack of
194 output.
195
03e87724
GJL
1962020-01-14 Georg-Johann Lay <avr@gjlay.de>
197
198 * config/avr/lib1funcs.S (skip): Simplify.
199
af9bd920
KCY
2002020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
201
202 * config/gcn/atomic.c: Remove include of stdint.h.
203 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
204 __UINTPTR_TYPE__.
205
d6491d15
KCY
2062020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
207
208 * config/gcn/atomic.c: New.
209 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
210
f30dd607
GJL
2112020-01-08 Georg-Johann Lay <avr@gjlay.de>
212
213 Implement 64-bit double functions.
214
215 PR target/92055
216 * config.host (tmake_file) [target=avr]: Add t-libf7,
217 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
218 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
219 depending on sizeof (double) or sizeof (long double).
220 * config/avr/libf7: New folder.
221
5205a445
OH
2222020-01-05 Olivier Hainque <hainque@adacore.com>
223
224 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
225 by IN_LIBGCC2.
226
8d9254fc
JJ
2272020-01-01 Jakub Jelinek <jakub@redhat.com>
228
229 Update copyright years.
230
abb6c3ee
OH
2312019-12-30 Olivier Hainque <hainque@adacore.com>
232
233 * config/gthr-vxworks.h: Use _vxworks-versions.h.
234 * config/gthr-vxworks-tls.c: Likewise.
235
d7f5094a
OH
2362019-12-30 Olivier Hainque <hainque@adacore.com>
237
238 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
239 standard zero-initializer syntax.
240
49cfaa2a
OH
2412019-12-30 Olivier Hainque <hainque@adacore.com>
242
243 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
244 reference to the internal VX_GET_TLS_DATA interface.
245
89b9a554
OH
2462019-12-30 Olivier Hainque <hainque@adacore.com>
247
248 * config/vxcrtstuff.c: Fix incorrect spelling of
249 USE_INITFINI_ARRAY in guard.
250
e8aa9f55
JL
2512019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
252
253 * config.host: s/msp430*-*-elf/msp430-*-elf*.
254 Override default "extra_parts" variable.
255 * configure: Regenerate.
256 * configure.ac: Disable TM clone registry by default for
257 msp430-elfbare.
258
a9046e98
JL
2592019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
260
261 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
262 "extra_parts".
263 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
264
34a53788
JL
2652019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
266
267 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
268 true.
269
21a098f4
JL
2702019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
271
272 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
273 defined instead of its value.
274
ad8b7783
JL
2752019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
276
277 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
278 if it will have contents.
279
08d7ff78
GJL
2802019-12-05 Georg-Johann Lay <avr@gjlay.de>
281
282 PR target/92055
283 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
284
3d3a96a2
SN
2852019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
286
34b4d99d 287 PR libgcc/91737
3d3a96a2
SN
288 * config.host: Add t-gthr-noweak on *-*-musl*.
289 * config/t-gthr-noweak: New file.
290
632b5e3d
JDA
2912019-11-17 John David Anglin <danglin@gcc.gnu.org>
292
293 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
294 volatile void *. Remove trap check.
295 (__kernel_cmpxchg2): Likewise.
296 (FETCH_AND_OP_2): Adjust operand types.
297 (OP_AND_FETCH_2): Likewise.
298 (FETCH_AND_OP_WORD): Likewise.
299 (OP_AND_FETCH_WORD): Likewise.
300 (COMPARE_AND_SWAP_2): Likewise.
301 (__sync_val_compare_and_swap_4): Likewise.
302 (__sync_bool_compare_and_swap_4): Likewise.
303 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
304 (__sync_lock_test_and_set_4): Likewise.
305 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
306 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
307 for release.
308 (__sync_lock_release_8): Remove.
309
838fd641
SN
3102019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
311
312 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
313 of __sigset_t.
314
27204060
JL
3152019-11-14 Jerome Lambourg <lambourg@adacore.com>
316 Doug Rupp <rupp@adacore.com>
317 Olivier Hainque <hainque@adacore.com>
318
319 * config.host: Collapse the arm-vxworks entries into
320 a single arm-wrs-vxworks7* one.
321 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
322 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
323 kernel modules, to be overriden by libstdc++ when we link with
324 it. Rely on externally provided __exidx_start/end.
325
3004f893
DR
3262019-11-14 Doug Rupp <rupp@adacore.com>
327 Olivier Hainque <hainque@adacore.com>
328
329 * config.host: Handle aarch64*-wrs-vxworks7*.
330
36e5f4d4
OH
3312019-11-12 Olivier Hainque <hainque@adacore.com>
332
333 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
334 sources except the cxx0x support to LIB2ADDEH. We don't support
335 cxx0x on AE/653.
336 * config/t-vxworksae: New file.
337 * config.host: Handle *-*-vxworksae: Add the two aforementioned
338 Makefile fragment files at their expected position in the tmake_file
339 list, in accordance with what is done for other VxWorks variants.
340
806dd047
CG
3412019-11-12 Corentin Gay <gay@adacore.com>
342 Jerome Lambourg <lambourg@adacore.com>
343 Olivier Hainque <hainque@adacore.com>
344
345 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
346 sources to LIB2ADDEH.
347 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
348 * config/t-vxworks7: Likewise.
349
350 * config.host: Append a block at the end of the file to add the
351 t-gthr files to the tmake_file list for VxWorks after everything
352 else.
353
354 * config/vxlib.c: Rename as gthr-vxworks.c.
355 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
356
357 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
358 API and a basic error checking API, both internal. Simplify the
359 __gthread_once_t type definition and initializers. Add sections
360 for condition variables support and for the C++0x thread support,
361 conditioned against Vx653 for the latter.
362
363 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
364 implementation, leveraging the TAS internal API.
365 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
366 API, leveraging the general availability of TLS services in VxWorks7
367 post SR6xxx.
368 (__gthread_setspecific, __gthread_setspecific): Use it.
369 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
370 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
371 support based on VxWorks primitives.
372 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
373 based on VxWorks primitives.
374
78e49fb1
JL
3752019-11-06 Jerome Lambourg <lambourg@adacore.com>
376 Olivier Hainque <hainque@adacore.com>
377
378 * config/vxcrtstuff.c: New file.
379 * config/t-vxcrtstuff: New Makefile fragment.
380 * config.host: Append t-vxcrtstuff to the tmake_file list
381 on all VxWorks ports using dwarf for table based EH.
382
29f3def3
GJL
3832019-11-07 Georg-Johann Lay <avr@gjlay.de>
384
385 Support 64-bit double and 64-bit long double configurations.
386
387 PR target/92055
388 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
389 long double is a 32-bit type.
390 * config/avr/t-avrlibc: Copy double64 and long-double64
391 multilib(s) from the vanilla one.
392 * config/avr/t-copy-libgcc: New Makefile snip.
393
62ec242e
JL
3942019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
395
396 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
397 the target output object format is not ELF.
398 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
399
da5c1bbe
OE
4002019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
401
402 PR libgcc/78804
403 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
404 * fp-bit.c (pack_d, unpack_d): Remove special cases for
405 FLOAT_BIT_ORDER_MISMATCH.
406 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
407
8dc56a22
JW
4082019-11-01 Jim Wilson <jimw@sifive.com>
409
410 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
411
91c64455
JL
4122019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
413
414 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
415 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
416 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
417 Define symbols for 32-bit and f5series hardware multiply
418 register addresses.
419 Replace hard-coded register addresses with symbols.
420 Fix "_mspabi*" typo.
421 Fix whitespace.
422 * config/msp430/lib2mul.c: Add comment.
423
85093ac6
JDA
4242019-10-15 John David Anglin <danglin@gcc.gnu.org>
425
426 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
427 unsigned int. Adjust callers.
428 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
429 unsigned int *. Load relocation offset before function pointer.
430 Add barrier to ensure ordering.
431
1aea083d
JDA
4322019-10-12 John David Anglin <danglin@gcc.gnu.org>
433
434 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
435 Load PIC register after branch target. Fix white space.
436 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
437 implementations. Load PIC register after branch target. Don't
438 clobber function pointer when it points to function descriptor.
439 Use nullification instead of branch in LINUX implementation.
440
c49af82c
JDA
4412019-10-03 John David Anglin <danglin@gcc.gnu.org>
442
443 * config/pa/fptr.c: Disable -Warray-bounds warning.
444
88a51d68
RH
4452019-09-25 Richard Henderson <richard.henderson@linaro.org>
446
9e46fd07
RH
447 * config.in, configure: Re-rebuild with stock autoconf 2.69,
448 not the ubuntu modified 2.69.
449
58d169ba
RH
450 PR target/91833
451 * config/aarch64/lse-init.c: Include auto-target.h. Disable
452 initialization if !HAVE_SYS_AUXV_H.
453 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
454 * config.in, configure: Rebuild.
455
88a51d68
RH
456 PR target/91834
457 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
458 overlap the inputs.
459
761e6bb9
SZ
4602019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
461
462 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
463 CTR_EL0.IDC and CTR_EL0.DIC.
464
76c93295
CL
4652019-09-20 Christophe Lyon <christophe.lyon@st.com>
466
467 Revert:
468 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
469 Mickaël Guêné <mickael.guene@st.com>
470
471 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
472 architecture.
473
33befddc
RH
4742019-09-19 Richard Henderson <richard.henderson@linaro.org>
475
476 * config/aarch64/lse-init.c: New file.
477 * config/aarch64/lse.S: New file.
478 * config/aarch64/t-lse: New file.
479 * config.host: Add t-lse to all aarch64 tuples.
480
ae1152e5
CL
4812019-09-10 Christophe Lyon <christophe.lyon@st.com>
482 Mickaël Guêné <mickael.guene@st.com>
483
84818dbb
CL
484 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
485 architecture.
486
4872019-09-10 Christophe Lyon <christophe.lyon@st.com>
488 Mickaël Guêné <mickael.guene@st.com>
489
ae1152e5
CL
490 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
491 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
492 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
493 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
494 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
495 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
496 (__gnu_personality_sigframe_fdpic): New.
497 (get_eit_entry): Add FDPIC signal frame support.
498
5d727a4b
CL
4992019-09-10 Christophe Lyon <christophe.lyon@st.com>
500 Mickaël Guêné <mickael.guene@st.com>
501
502 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
503 (__kernel_dmb): Likewise.
504 (__fdpic_cmpxchg): New function.
505 (__fdpic_dmb): New function.
506 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
507 (gnu_Unwind_Find_got): New function.
508 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
509 * unwind-arm-common.inc (UCB_PR_GOT): New.
510 (funcdesc_t): New struct.
511 (get_eit_entry): Add FDPIC support.
512 (unwind_phase2): Likewise.
513 (unwind_phase2_forced): Likewise.
514 (__gnu_Unwind_RaiseException): Likewise.
515 (__gnu_Unwind_Resume): Likewise.
516 (__gnu_Unwind_Backtrace): Likewise.
517 * unwind-pe.h (read_encoded_value_with_base): Likewise.
518
b1e21e5a 5192019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 520 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 521
11189793
CL
522 * libgcc/crtstuff.c: Add support for FDPIC.
523
5242019-09-10 Christophe Lyon <christophe.lyon@st.com>
525
526 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 527
91dfef96
JM
5282019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
529
530 * config.host: Set cpu_type for bpf-*-* targets.
531 * config/bpf/t-bpf: Likewise.
532 * config/bpf/crtn.S: Likewise.
533 * config/bpf/crti.S: New file.
534
2f4d8951
JW
5352019-09-06 Jim Wilson <jimw@sifive.com>
536
537 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
538 (riscv*-*-freebsd*): Likewise.
539
2f2aeda9
UW
5402019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
541
542 * config.host: Remove references to spu.
543 * config/spu/: Remove directory.
544
d16017da
JL
5452019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
546
547 PR target/91306
548 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
549 element type, instead of "sizeof" the element type.
550 (__DTOR_LIST__): Likewise.
551 (__TMC_LIST__): Likewise.
552 (__do_global_dtors_aux_fini_array_entry): Likewise.
553 (__frame_dummy_init_array_entry): Likewise.
554 (__CTOR_END__): Likewise.
555 (__DTOR_END__): Likweise.
556 (__FRAME_END__): Likewise.
557 (__TMC_END__): Likewise.
558
a9fcfec3
HL
5592019-08-20 Lili Cui <lilicui@intel.com>
560
561 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
562 INTEL_COREI7_COOPERLAKE.
563
428642b1
MT
5642019-07-31 Matt Thomas <matt@3am-software.com>
565 Nick Hudson <nick@nthcliff.demon.co.uk>
566 Matthew Green <mrg@eterna.com.au>
567 Maya Rashish <coypu@sdf.org>
568
569 * config.host (hppa*-*-netbsd*): New case.
570 * config/pa/t-netbsd: New file.
571
f0efd925
JH
5722019-07-31 Joel Hutton <Joel.Hutton@arm.com>
573
574 * config/arm/cmse.c (cmse_check_address_range): Add
575 warn_unused_result attribute.
576
a861990d
ML
5772019-07-22 Martin Liska <mliska@suse.cz>
578
579 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
580 * config/pa/t-stublib: Likewise.
581
9c0dba7c
SH
5822019-07-22 Stafford Horne <shorne@gmail.com>
583
584 PR target/90362
585 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
586 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
587 instructions are not available on every processor. Change a
588 l.bnf to l.bf to fix logic issue.
589
61afc8f8
IS
5902019-07-04 Iain Sandoe <iain@sandoe.co.uk>
591
592 * config.host: Remove reference to t-darwin8.
593
179c7ef5
IS
5942019-07-03 Iain Sandoe <iain@sandoe.co.uk>
595
596 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
597 list.
598 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
599 mmacosx-version-min for crts to run across all system versions.
600 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
601 * config/t-darwin: Revise mmacosx-version-min for crts to run across
602 system versions >= 10.4.
603
596341c7
ML
6042019-07-03 Martin Liska <mliska@suse.cz>
605
606 * Makefile.in: Use topn_values instead of one_value names.
607 * libgcov-merge.c (__gcov_merge_single): Move to ...
608 (__gcov_merge_topn): ... this.
609 (merge_single_value_set): Move to ...
610 (merge_topn_values_set): ... this.
611 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
612 ...
613 (__gcov_topn_values_profiler_body): ... this.
614 (__gcov_one_value_profiler_v2): Move to ...
615 (__gcov_topn_values_profiler): ... this.
616 (__gcov_one_value_profiler_v2_atomic): Move to ...
617 (__gcov_topn_values_profiler_atomic): ... this.
618 (__gcov_indirect_call_profiler_v4): Remove.
619 * libgcov-util.c (__gcov_single_counter_op): Move to ...
620 (__gcov_topn_counter_op): ... this.
621 * libgcov.h (L_gcov_merge_single): Remove.
622 (L_gcov_merge_topn): New.
623 (__gcov_merge_single): Remove.
624 (__gcov_merge_topn): New.
625 (__gcov_one_value_profiler_v2): Move to ..
626 (__gcov_topn_values_profiler): ... this.
627 (__gcov_one_value_profiler_v2_atomic): Move to ...
628 (__gcov_topn_values_profiler_atomic): ... this.
629
1b309ca5
ML
6302019-07-03 Martin Liska <mliska@suse.cz>
631
632 * libgcov-merge.c (merge_single_value_set): Support N values.
633 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
634
5a460280
ID
6352019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
636
637 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
638 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
639 * configure.ac: Add --disable-tm-clone-registry option.
640 * configure: Regenerate.
641
45309d28
ML
6422019-06-27 Martin Liska <mliska@suse.cz>
643
644 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
645 dead assignments.
646 * libgcov-util.c: Likewise.
647
c2f7a665
ML
6482019-06-27 Martin Liska <mliska@suse.cz>
649
650 * libgcov-util.c (gcov_profile_merge): Release allocated
651 memory.
652 (calculate_overlap): Likewise.
653
a8e55c61
IS
6542019-06-25 Iain Sandoe <iain@sandoe.co.uk>
655
656 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
657 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
658 Build objects for the out of line save/restore register functions
659 so that they can be used for any supported Darwin version.
660 * config/t-darwin: Default the build Darwin version to Darwin8
661 (MacOS 10.4).
662
e5ce4cbc
ML
6632019-06-25 Martin Liska <mliska@suse.cz>
664
665 * libgcov-driver-system.c (replace_filename_variables): Do not
666 call strlen with NULL argument.
667
52a47d28
AS
6682019-06-25 Andrew Stubbs <ams@codesourcery.com>
669
670 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
671 * config/gcn/unwind-gcn.c: New file.
672
76d46331
KCY
6732019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
674 Andrew Stubbs <ams@codesourcery.com>
675
676 * configure: Regenerate.
677 * config/gcn/gthr-gcn.h: New.
678
787783a0
TV
6792019-06-18 Tom de Vries <tdevries@suse.de>
680
681 * config/nvptx/crt0.c (__main): Declare.
682
f32f7585
MG
6832019-06-17 Matthew Green <mrg@eterna.com.au>
684 Maya Rashish <coypu@sdf.org>
685
686 * config.host (aarch64*-*-netbsd*): New case.
687
0fcc78f7
JL
6882019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
689
690 * config/msp430/slli.S (__mspabi_sllll): New library function for
691 performing a logical left shift of a 64-bit value.
692 * config/msp430/srai.S (__mspabi_srall): New library function for
693 performing a arithmetic right shift of a 64-bit value.
694 * config/msp430/srll.S (__mspabi_srlll): New library function for
695 performing a logical right shift of a 64-bit value.
696
b27c1082
MT
6972019-06-14 Matt Thomas <matt@3am-software.com>
698 Matthew Green <mrg@eterna.com.au>
699 Nick Hudson <skrll@netbsd.org>
700 Maya Rashish <coypu@sdf.org>
701
702 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
703 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
704 functions to build.
705 * config/arm/t-netbsd-eabi: New file.
706
ae7deb4b
DD
7072019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
708
709 * config.host: Add PRU target.
710 * config/pru/asri.c: New file.
711 * config/pru/eqd.c: New file.
712 * config/pru/eqf.c: New file.
713 * config/pru/ged.c: New file.
714 * config/pru/gef.c: New file.
715 * config/pru/gtd.c: New file.
716 * config/pru/gtf.c: New file.
717 * config/pru/led.c: New file.
718 * config/pru/lef.c: New file.
719 * config/pru/lib2bitcountHI.c: New file.
720 * config/pru/lib2divHI.c: New file.
721 * config/pru/lib2divQI.c: New file.
722 * config/pru/lib2divSI.c: New file.
723 * config/pru/libgcc-eabi.ver: New file.
724 * config/pru/ltd.c: New file.
725 * config/pru/ltf.c: New file.
726 * config/pru/mpyll.S: New file.
727 * config/pru/pru-abi.h: New file.
728 * config/pru/pru-asm.h: New file.
729 * config/pru/pru-divmod.h: New file.
730 * config/pru/sfp-machine.h: New file.
731 * config/pru/t-pru: New file.
732
0d7b3e47
JJ
7332019-06-11 Jakub Jelinek <jakub@redhat.com>
734
735 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
736
54e2d83c
ML
7372019-06-10 Martin Liska <mliska@suse.cz>
738
739 PR bootstrap/90808
740 * libgcov.h: Add ATTRIBUTE_UNUSED.
741
92d41717
ML
7422019-06-10 Martin Liska <mliska@suse.cz>
743
744 * Makefile.in: Add __gcov_one_value_profiler_v2,
745 __gcov_one_value_profiler_v2_atomic and
746 __gcov_indirect_call_profiler_v4.
747 * libgcov-merge.c (__gcov_merge_single): Change
748 function signature.
749 (merge_single_value_set): New.
750 * libgcov-profiler.c (__gcov_one_value_profiler_body):
751 Update functionality.
752 (__gcov_one_value_profiler): Remove.
753 (__gcov_one_value_profiler_v2): ... this.
754 (__gcov_one_value_profiler_atomic): Rename to ...
755 (__gcov_one_value_profiler_v2_atomic): this.
756 (__gcov_indirect_call_profiler_v3): Rename to ...
757 (__gcov_indirect_call_profiler_v4): ... this.
758 * libgcov.h (__gcov_one_value_profiler): Remove.
759 (__gcov_one_value_profiler_atomic): Remove.
760 (__gcov_one_value_profiler_v2_atomic): New.
761 (__gcov_indirect_call_profiler_v3): Remove.
762 (__gcov_one_value_profiler_v2): New.
763 (__gcov_indirect_call_profiler_v4): New.
764 (gcov_get_counter_ignore_scaling): New function.
765
e37333ba
ML
7662019-06-07 Martin Liska <mliska@suse.cz>
767
768 * Makefile.in: Remove usage of
769 _gcov_merge_icall_topn.
770 * libgcov-driver.c (gcov_sort_n_vals): Remove.
771 (gcov_sort_icall_topn_counter): Likewise.
772 (gcov_sort_topn_counter_arrays): Likewise.
773 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
774 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
775 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
776 Likewise.
777 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
778 (struct indirect_call_tuple): Remove.
779 (__gcov_indirect_call_topn_profiler): Remove.
780 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
781 * libgcov.h (gcov_sort_n_vals): Remove.
782 (L_gcov_merge_icall_topn): Likewise.
783 (__gcov_merge_icall_topn): Likewise.
784 (__gcov_indirect_call_topn_profiler): Likewise.
785
34a4a9c2
IS
7862019-06-06 Iain Sandoe <iain@sandoe.co.uk>
787
788 * config/rs6000/t-darwin: Ensure that the unwinder is built with
789 altivec enabled.
790
d1b2f85f
JL
7912019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
792
793 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
794 section.
795 (__mspabi_slli): Likewise.
796 (__mspabi_slll_n): Likewise.
797 (__mspabi_slll): Likewise.
798 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
799 (__mspabi_srai): Likewise.
800 (__mspabi_sral_n): Likewise.
801 (__mspabi_sral): Likewise.
802 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
803 (__mspabi_srli): Likewise.
804 (__mspabi_srll_n): Likewise.
805 (__mspabi_srll): Likewise.
806
e69a13d1
YS
8072019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
808
809 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
810 Add appropriate tm_file clause as well.
811 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
812
b009eac1
JC
8132019-06-05 James Clarke <jrtc27@jrtc27.com>
814
815 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
816 rather than .data/.bss so it can be accessed via gp-relative
817 addressing.
818
781d39f2
DE
8192019-06-05 David Edelsohn <dje.gcc@gmail.com>
820
821 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
822 (CR2_REGNO): Rename to R_CR2.
823 (XER_REGNO): Rename to R_XER.
824 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
825 (VRSAVE_REGNO): Rename to R_VRSAVE.
826 (VSCR_REGNO): R_VSCR.
827
76aaa9cd
YS
8282019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
829
830 * config.host (rx-*-linux*): Add new case.
831 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
832
8fc16d72
ST
8332019-05-29 Sam Tebbs <sam.tebbs@arm.com>
834
835 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
836 function.
837 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
838 aarch64_post_frob_eh_handler_addr): Add check for b-key.
839 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
840 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
841 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
842 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
843 string.
844 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
845 string.
846 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
847
e54b1a92
RO
8482019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
849
850 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
851 Remove Solaris 9 and 10 support.
852 (sparc_is_sighandler): Likewise.
853
abbb8307
JDA
8542019-05-26 John David Anglin <danglin@gcc.gnu.org>
855
856 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
857
2581344d
L
8582019-05-17 H.J. Lu <hongjiu.lu@intel.com>
859
860 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
861 4_FP_W_TYPEs are used for IEEE quad precision.
862 * soft-fp/extendhftf2.c: Likewise.
863 * soft-fp/extendsftf2.c: Likewise.
864 * soft-fp/extendxftf2.c: Likewise.
865 * soft-fp/trunctfdf2.c: Likewise.
866 * soft-fp/trunctfhf2.c: Likewise.
867 * soft-fp/trunctfsf2.c: Likewise.
868 * soft-fp/trunctfxf2.c: Likewise.
869 * config/rs6000/ibm-ldouble.c: Likewise.
870
ccd1242e
RO
8712019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
872
873 * config.host: Simplify various *-*-solaris2.1[0-9]* to
874 *-*-solaris2*.
875 * configure.ac: Likewise.
876 * configure: Regenerate.
877
878 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
879 Solaris 10 and Solaris 11 < snv_125 handling.
880
ef5eb79d
IS
8812019-05-12 Iain Sandoe <iain@sandoe.co.uk>
882
883 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
884
4f0e90fa
HL
8852019-05-07 Hongtao Liu <hongtao.liu@intel.com>
886
887 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
888 * config/i386/cpuinfo.h (enum processor_features): Add
889 FEATURE_AVX512BF16.
890
48528842
RR
8912019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
892 Bernd Edlinger <bernd.edlinger@hotmail.de>
893 Jakub Jelinek <jakub@redhat.com>
894
895 PR target/89093
896 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
897 * config/arm/unwind-arm.c: Likewise.
898 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
899 attribute for ARM.
900
887e182f
MC
9012019-04-15 Monk Chiang <sh.chiang04@gmail.com>
902
903 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
904 (RT_SIGRETURN): Update.
905 (nds32_fallback_frame_state): Update.
906
a90b0cdd
MS
9072019-02-21 Martin Sebor <msebor@redhat.com>
908
909 * libgcc2.h (__clear_cache): Correct signature.
910 * libgcc2.c (__clear_cache): Same.
911
1ed28eda
UB
9122019-02-20 Uroš Bizjak <ubizjak@gmail.com>
913
914 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
915 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
916
fe95aee9
UB
9172019-02-19 Uroš Bizjak <ubizjak@gmail.com>
918
919 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
920 regno instead of index to DWARF_ZERO_REG.
921
bf7988f1
EB
9222019-02-15 Eric Botcazou <ebotcazou@adacore.com>
923
924 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
925 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
926
ba2c1ca8
UB
9272019-01-31 Uroš Bizjak <ubizjak@gmail.com>
928
929 * config/alpha/t-linux: Add -mfp-rounding-mode=d
930 to HOST_LIBGCC2_CFLAGS.
931
6395ba73
L
9322019-01-23 Joseph Myers <joseph@codesourcery.com>
933
934 PR libgcc/88931
ba2c1ca8 935 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 936
756721ba
ML
9372019-01-18 Martin Liska <mliska@suse.cz>
938
939 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
940 to ...
941 (__gcov_indirect_call_profiler_v3): ... this.
942 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
943 (__gcov_indirect_call_profiler_v3): Likewise.
944 * Makefile.in: Bump function name.
945
d273c40a
ML
9462019-01-18 Martin Liska <mliska@suse.cz>
947
948 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
949 (gcov_version): Use in gcov_error.
950 (merge_one_data): Likewise.
951 (dump_one_gcov): Likewise.
952
be9d9fdb
ML
9532019-01-18 Martin Liska <mliska@suse.cz>
954
955 * libgcov-driver.c (gcov_version_string): New function.
956 (gcov_version): Convert version integer into string.
957
91d7b7fe
AS
9582019-01-17 Andrew Stubbs <ams@codesourcery.com>
959 Kwok Cheung Yeung <kcy@codesourcery.com>
960 Julian Brown <julian@codesourcery.com>
961 Tom de Vries <tom@codesourcery.com>
962
963 * config.host: Recognize amdgcn*-*-amdhsa.
964 * config/gcn/crt0.c: New file.
965 * config/gcn/lib2-divmod-hi.c: New file.
966 * config/gcn/lib2-divmod.c: New file.
967 * config/gcn/lib2-gcn.h: New file.
968 * config/gcn/sfp-machine.h: New file.
969 * config/gcn/t-amdgcn: New file.
970
67914693
SL
9712019-01-09 Sandra Loosemore <sandra@codesourcery.com>
972
973 PR other/16615
974
975 * config/c6x/libunwind.S: Mechanically replace "can not" with
976 "cannot".
977 * config/tilepro/atomic.h: Likewise.
978 * config/vxlib-tls.c: Likewise.
979 * generic-morestack-thread.c: Likewise.
980 * generic-morestack.c: Likewise.
981 * mkmap-symver.awk: Likewise.
982
a5544970
JJ
9832019-01-01 Jakub Jelinek <jakub@redhat.com>
984
985 Update copyright years.
986
da77eace
L
9872018-12-20 H.J. Lu <hongjiu.lu@intel.com>
988
989 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
990 to ignore -Waddress-of-packed-member.
991
72e3a529
TP
9922018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
993
994 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
995 parameter and corresponding code.
996 (ARM_FUNC_START): Likewise in both definitions.
997 Also update footer comment about condition that need to match with
998 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
999 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1000 defined. Weakly define it in this case.
1001 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1002 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1003 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1004 comment to keep condition in sync with the one in
1005 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1006
5d54c798
WX
10072018-12-18 Wei Xiao <wei3.xiao@intel.com>
1008
1009 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1010 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1011
5a2580b6
RV
10122018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1013
1014 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1015 and .cfi_endproc directives for VxWorks targets.
1016
c0c5112b
PK
10172018-12-05 Paul Koning <ni1d@arrl.net>
1018
1019 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1020
1ea7ea18
AM
10212018-11-27 Alan Modra <amodra@gmail.com>
1022
1023 * config/rs6000/morestack.S (__stack_split_initialize),
1024 (__morestack_get_guard, __morestack_set_guard),
1025 (__morestack_make_guard): Provide CFI covering these functions.
1026 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1027
ff641ae1
XQ
10282018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1029
1ea7ea18 1030 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1031 (sc_pt_regs_lr): Update for kernel.
1032 (sc_pt_regs_tls): Update for kernel.
1033
28209372
XQ
10342018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1035
1036 * config/csky/linux-unwind.h: Fix coding style.
1037
b2a71af6
XQ
10382018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1039
1040 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1041 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1042 instructions to adapt to changes in the kernel
1043
d929e137
SH
10442018-11-09 Stafford Horne <shorne@gmail.com>
1045 Richard Henderson <rth@twiddle.net>
1046
1047 * config.host: Add OpenRISC support.
1048 * config/or1k/*: New.
1049
222cfefa
KC
10502018-11-08 Kito Cheng <kito@andestech.com>
1051
1052 * soft-fp/adddf3.c: Update from glibc.
1053 * soft-fp/addsf3.c: Likewise.
1054 * soft-fp/addtf3.c: Likewise.
1055 * soft-fp/divdf3.c: Likewise.
1056 * soft-fp/divsf3.c: Likewise.
1057 * soft-fp/divtf3.c: Likewise.
1058 * soft-fp/double.h: Likewise.
1059 * soft-fp/eqdf2.c: Likewise.
1060 * soft-fp/eqsf2.c: Likewise.
1061 * soft-fp/eqtf2.c: Likewise.
1062 * soft-fp/extenddftf2.c: Likewise.
1063 * soft-fp/extended.h: Likewise.
1064 * soft-fp/extendhftf2.c: Likewise.
1065 * soft-fp/extendsfdf2.c: Likewise.
1066 * soft-fp/extendsftf2.c: Likewise.
1067 * soft-fp/extendxftf2.c: Likewise.
1068 * soft-fp/fixdfdi.c: Likewise.
1069 * soft-fp/fixdfsi.c: Likewise.
1070 * soft-fp/fixdfti.c: Likewise.
1071 * soft-fp/fixhfti.c: Likewise.
1072 * soft-fp/fixsfdi.c: Likewise.
1073 * soft-fp/fixsfsi.c: Likewise.
1074 * soft-fp/fixsfti.c: Likewise.
1075 * soft-fp/fixtfdi.c: Likewise.
1076 * soft-fp/fixtfsi.c: Likewise.
1077 * soft-fp/fixtfti.c: Likewise.
1078 * soft-fp/fixunsdfdi.c: Likewise.
1079 * soft-fp/fixunsdfsi.c: Likewise.
1080 * soft-fp/fixunsdfti.c: Likewise.
1081 * soft-fp/fixunshfti.c: Likewise.
1082 * soft-fp/fixunssfdi.c: Likewise.
1083 * soft-fp/fixunssfsi.c: Likewise.
1084 * soft-fp/fixunssfti.c: Likewise.
1085 * soft-fp/fixunstfdi.c: Likewise.
1086 * soft-fp/fixunstfsi.c: Likewise.
1087 * soft-fp/fixunstfti.c: Likewise.
1088 * soft-fp/floatdidf.c: Likewise.
1089 * soft-fp/floatdisf.c: Likewise.
1090 * soft-fp/floatditf.c: Likewise.
1091 * soft-fp/floatsidf.c: Likewise.
1092 * soft-fp/floatsisf.c: Likewise.
1093 * soft-fp/floatsitf.c: Likewise.
1094 * soft-fp/floattidf.c: Likewise.
1095 * soft-fp/floattihf.c: Likewise.
1096 * soft-fp/floattisf.c: Likewise.
1097 * soft-fp/floattitf.c: Likewise.
1098 * soft-fp/floatundidf.c: Likewise.
1099 * soft-fp/floatundisf.c: Likewise.
1100 * soft-fp/floatunditf.c: Likewise.
1101 * soft-fp/floatunsidf.c: Likewise.
1102 * soft-fp/floatunsisf.c: Likewise.
1103 * soft-fp/floatunsitf.c: Likewise.
1104 * soft-fp/floatuntidf.c: Likewise.
1105 * soft-fp/floatuntihf.c: Likewise.
1106 * soft-fp/floatuntisf.c: Likewise.
1107 * soft-fp/floatuntitf.c: Likewise.
1108 * soft-fp/gedf2.c: Likewise.
1109 * soft-fp/gesf2.c: Likewise.
1110 * soft-fp/getf2.c: Likewise.
1111 * soft-fp/half.h: Likewise.
1112 * soft-fp/ledf2.c: Likewise.
1113 * soft-fp/lesf2.c: Likewise.
1114 * soft-fp/letf2.c: Likewise.
1115 * soft-fp/muldf3.c: Likewise.
1116 * soft-fp/mulsf3.c: Likewise.
1117 * soft-fp/multf3.c: Likewise.
1118 * soft-fp/negdf2.c: Likewise.
1119 * soft-fp/negsf2.c: Likewise.
1120 * soft-fp/negtf2.c: Likewise.
1121 * soft-fp/op-1.h: Likewise.
1122 * soft-fp/op-2.h: Likewise.
1123 * soft-fp/op-4.h: Likewise.
1124 * soft-fp/op-8.h: Likewise.
1125 * soft-fp/op-common.h: Likewise.
1126 * soft-fp/quad.h: Likewise.
1127 * soft-fp/single.h: Likewise.
1128 * soft-fp/soft-fp.h: Likewise.
1129 * soft-fp/subdf3.c: Likewise.
1130 * soft-fp/subsf3.c: Likewise.
1131 * soft-fp/subtf3.c: Likewise.
1132 * soft-fp/truncdfsf2.c: Likewise.
1133 * soft-fp/trunctfdf2.c: Likewise.
1134 * soft-fp/trunctfhf2.c: Likewise.
1135 * soft-fp/trunctfsf2.c: Likewise.
1136 * soft-fp/trunctfxf2.c: Likewise.
1137 * soft-fp/unorddf2.c: Likewise.
1138 * soft-fp/unordsf2.c: Likewise.
1139 * soft-fp/unordtf2.c: Likewise.
1140
2901f42f
VK
11412018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1142
1143 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1144 * config/i386/cpuinfo.h (processor_types): Add znver2.
1145
4310ca66
PK
11462018-11-01 Paul Koning <ni1d@arrl.net>
1147
1148 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1149 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1150
22e05272
JM
11512018-10-31 Joseph Myers <joseph@codesourcery.com>
1152
1153 PR bootstrap/82856
1154 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1155 * configure: Regenerate.
1156
8180cde0
CZ
11572018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1158
1159 * config/arc/lib1funcs.S (_muldi3): New function.
1160 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1161
be7b071e
RV
11622018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1163
1164 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1165
3239d726
ML
11662018-10-25 Martin Liska <mliska@suse.cz>
1167
1168 PR other/87735
1169 * libgcov-profiler.c: Revert.
1170
19b55958
ML
11712018-10-24 Martin Liska <mliska@suse.cz>
1172
1173 * libgcov-profiler.c: Start from 1 in order to distinguish
1174 functions which were seen and these that were not.
1175
a9a2fddb
PK
11762018-10-18 Paul Koning <ni1d@arrl.net>
1177
1178 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1179 standard.
1180 * divmod.c: Update references to __udivmodsi4.
1181 * udivmod.c: Ditto.
1182 * udivhi3.c: New file.
1183 * udivmodhi4.c: New file.
1184 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1185
fc8abc46
RV
11862018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1187
1188 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1189
87f918e3
OH
11902018-10-12 Olivier Hainque <hainque@adacore.com>
1191
1192 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1193 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1194
be86efa7
PK
11952018-10-08 Paul Koning <ni1d@arrl.net>
1196
1197 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1198
3edbcdbe
ML
11992018-10-04 Martin Liska <mliska@suse.cz>
1200
1201 PR gcov-profile/84107
1202 * libgcov-profiler.c (__gcov_indirect_call):
1203 Change type to indirect_call_tuple.
1204 (struct indirect_call_tuple): New struct.
1205 (__gcov_indirect_call_topn_profiler): Change type.
1206 (__gcov_indirect_call_profiler_v2): Use the new
1207 variables.
1208 * libgcov.h (struct indirect_call_tuple): New struct
1209 definition.
1210
af8096fc
UB
12112018-10-03 Uros Bizjak <ubizjak@gmail.com>
1212
1213 * libgcc2.c (isnan): Use __builtin_isnan.
1214 (isfinite): Use __builtin_isfinite.
1215 (isinf): Use __builtin_isinf.
1216
0a76bba4
UB
12172018-09-26 Uros Bizjak <ubizjak@gmail.com>
1218
1219 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1220
5244089f
OH
12212018-09-21 Alexandre Oliva <oliva@adacore.com>
1222
1223 * config/vxcache.c: New file. Provide __clear_cache, based on
1224 the cacheTextUpdate VxWorks service.
1225 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1226 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1227 * config/t-vxwoks7: Likewise.
1228
512cc015
ML
12292018-09-21 Martin Liska <mliska@suse.cz>
1230
1231 * libgcov-driver.c (crc32_unsigned): Remove.
1232 (gcov_histogram_insert): Likewise.
1233 (gcov_compute_histogram): Likewise.
1234 (compute_summary): Simplify rapidly.
1235 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1236 (merge_summary): Rapidly simplify.
1237 (dump_one_gcov): Ignore gcov_summary.
1238 (gcov_do_dump): Do not handle program summary, it's not
1239 used.
1240 * libgcov-util.c (tag_summary): Remove.
1241 (read_gcda_finalize): Fix coding style.
1242 (read_gcda_file): Initialize curr_object_summary.
1243 (compute_summary): Remove.
1244 (calculate_overlap): Remove settings of run_max.
1245
36ff254b
MC
12462018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1247
1248 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1249 ucontext_t type instead.
1250 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1251
229a033d
KC
12522018-09-21 Kito Cheng <kito.cheng@gmail.com>
1253
1254 * config/nds32/t-nds32-glibc: New file.
1255
53c6feb2
RO
12562018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1257
1258 * configure.ac (solaris_ld_v2_maps): New test.
1259 * configure: Regenerate.
1260 * Makefile.in (solaris_ld_v2_maps): New variable.
1261 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1262 if supported.
1263
ebdb6f23
RE
12642018-08-23 Richard Earnshaw <rearnsha@arm.com>
1265
1266 PR target/86951
1267 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1268 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1269 to build.
1270
a49c064e
IS
12712018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1272
1ea7ea18 1273 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1274 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1275 * config/darwin10-unwind-find-enc-func.c: … to here.
1276 * config/t-darwin: Build Darwin10 unwinder shim crt.
1277 * libgcc/config.host: Add the Darwin10 unwinder shim.
1278
9a5b8df7
RV
12792018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1280
1281 * config.host: Add crtbegin.o and crtend.o for
1282 powerpc-wrs-vxworks target.
1283
4cd0bc3b
J
12842018-08-17 Jojo <jijie_rong@c-sky.com>
1285 Huibin Wang <huibin_wang@c-sky.com>
1286 Sandra Loosemore <sandra@codesourcery.com>
1287 Chung-Lin Tang <cltang@codesourcery.com>
1288
1289 C-SKY port: libgcc
1290
1291 * config.host: Add C-SKY support.
1292 * config/csky/*: New.
1293
a4931745
CJW
12942018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1295
1296 * config/nds32/t-nds32-isr: Rearrange object dependency.
1297 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1298 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1299 and registers usage.
1300 * config/nds32/isr-library/excp_isr.S: Ditto.
1301 * config/nds32/isr-library/intr_isr.S: Ditto.
1302 * config/nds32/isr-library/reset.S: Ditto.
1303 * config/nds32/isr-library/restore_all.inc: Ditto.
1304 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1305 * config/nds32/isr-library/restore_partial.inc: Ditto.
1306 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1307 * config/nds32/isr-library/save_all.inc: Ditto.
1308 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1309 * config/nds32/isr-library/save_partial.inc: Ditto.
1310 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1311 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1312
2b1969f6
JDA
13132018-08-11 John David Anglin <danglin@gcc.gnu.org>
1314
1315 * config/pa/linux-atomic.c: Update comment.
1316 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1317 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1318 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1319 __ATOMIC_RELAXED for atomic loads.
1320 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1321 unordered store to release lock.
1322 (__sync_lock_release_8): Likewise.
1323 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1324
89fff9cc
NP
13252018-08-02 Nicolas Pitre <nico@fluxnic.net>
1326
1327 PR libgcc/86512
1328 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1329 exponent goes negative. Update my email address.
1330 * config/arm/ieee754-sf.S: Likewise.
1331
fd2e1dcd
ML
13322018-08-01 Martin Liska <mliska@suse.cz>
1333
1334 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1335 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1336
b7415975
CL
13372018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1338
1339 * config/arm/ieee754-df.S: Fix comment for code working on
1340 architectures >= 4.
1341 * config/arm/ieee754-sf.S: Likewise.
1342
b72e71a3
L
13432018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1344
1345 PR libgcc/85334
1346 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1347 Removed.
1348
1c686aa4
JC
13492018-07-05 James Clarke <jrtc27@jrtc27.com>
1350
1351 * configure: Regenerated.
1352
b61c9b99
RO
13532018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1354
1355 * Makefile.in (install_leaf): Use enable_gcov instead of
1356 enable_libgcov.
1357
1765b023
RV
13582018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1359
1360 * configure.ac: Add --disable-gcov option.
1361 * configure: Regenerate.
1362 * Makefile.in: Honour @enable_gcov@.
1363
9b2e34ef
CL
13642018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1365
1366 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1367 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1368 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1369 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1370 __ARM_ARCH__.
1371 * config/arm/ieee754-sf.S: Likewise.
1372 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1373
d1b0dd54
CL
13742018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1375
1376 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1377 longer supported.
1378 * config/arm/ieee754-sf.S: Likewise.
1379
1f3fa525
TM
13802018-06-20 Than McIntosh <thanm@google.com>
1381
1382 PR libgcc/86213
1383 * generic-morestack.c (allocate_segment): Move calls to getenv and
1384 getpagesize to __morestack_load_mmap.
1385 (__morestack_load_mmap) Initialize static_pagesize and
1386 use_guard_page here so as to avoid clobbering SSE regs during a
1387 __morestack call.
1388
6a8886e4
MM
13892018-06-18 Michael Meissner <meissner@linux.ibm.com>
1390
1391 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1392 support modules with -mno-gnu-attribute.
1393 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1394
fb997097
OH
13952018-06-07 Olivier Hainque <hainque@adacore.com>
1396
1397 * config/t-vxworks (LIBGCC_INCLUDES): Add
1398 -I$(MULTIBUILDTOP)../../gcc/include.
1399 * config/t-vxworks7: Likewise. Reformat a bit to match
1400 the t-vxworks layout.
1401
a548a5a1
OM
14022018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1403
1404 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1405
244aebfd
ML
14062018-06-07 Martin Liska <mliska@suse.cz>
1407
1408 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1409 all_prg.
244aebfd 1410
6c086e8c
ML
14112018-06-07 Martin Liska <mliska@suse.cz>
1412
92a285c1 1413 PR bootstrap/86057
6c086e8c 1414 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1415 memcpy instead of mempcpy.
6c086e8c 1416 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1417 prefix and set it.
6c086e8c 1418 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1419 here and properly copy content into it.
6c086e8c 1420 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1421 field, change prefix from size_t into char *.
6c086e8c
ML
1422 (compute_summary): Do not calculate longest filename.
1423 (gcov_do_dump): Release memory of gf.filename after each file.
1424 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1425 compute_summary.
6c086e8c
ML
1426 (calculate_overlap): Likewise.
1427
97a53d1d
ML
14282018-06-05 Martin Liska <mliska@suse.cz>
1429
1430 PR gcov-profile/47618
1431 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1432 function.
97a53d1d
ML
1433 (gcov_exit_open_gcda_file): Use it.
1434
7f3577f5
ML
14352018-06-05 Martin Liska <mliska@suse.cz>
1436
1437 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1438 of gcov_ctr_summary.
1439 (compute_summary): Do it just for a single summary.
1440 (merge_one_data): Likewise.
1441 (merge_summary): Simplify as we read just single summary.
1442 (dump_one_gcov): Pass proper argument.
1443 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1444 single summary.
1445 (gcov_info_count_all_cold): Likewise.
1446 (calculate_overlap): Likewise.
1447
cf3cd43d
CJW
14482018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1449 Monk Chiang <sh.chiang04@gmail.com>
1450
1451 * config.host (nds32*-linux*): New.
1452 * config/nds32/linux-atomic.c: New file.
1453 * config/nds32/linux-unwind.h: New file.
1454
8b8003ed
UB
14552018-05-31 Uros Bizjak <ubizjak@gmail.com>
1456
1457 PR target/85591
1458 * config/i386/cpuinfo.c (get_amd_cpu): Return
1459 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1460
bbdf026f
RV
14612018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1462
92a285c1 1463 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1464
0e8f29da
ML
14652018-05-29 Martin Liska <mliska@suse.cz>
1466
92a285c1 1467 PR gcov-profile/85759
0e8f29da 1468 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1469 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1470 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1471 overwrite a gcov file with a different timestamp.
0e8f29da 1472
54fd1590
K
14732018-05-23 Kalamatee <kalamatee@gmail.com>
1474
1475 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1476 path to Lf$finfty.
1477
09baee1a
KC
14782018-05-18 Kito Cheng <kito.cheng@gmail.com>
1479 Monk Chiang <sh.chiang04@gmail.com>
1480 Jim Wilson <jimw@sifive.com>
1481
1482 * config/riscv/save-restore.S: Add support for rv32e.
1483
c3f808d3
KT
14842018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1485
1486 * config/arm/libunwind.S: Update comment relating to armv5.
1487
fcf4f831
JL
14882018-05-17 Jerome Lambourg <lambourg@adacore.com>
1489
1490 * config/arm/cmse.c (cmse_check_address_range): Replace
1491 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1492
74b2bb19
OM
14932018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1494
1495 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1496 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1497
50e461df
OM
14982018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1499
1500 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1501 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1502
e5f1cdb1
AC
15032018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1504
1505 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1506
8f479d7a
AT
15072018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1508 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1509
1510 PR libgcc/84292
1511 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1512 op_and_fetch to return the right result.
1513
ae043291
AM
15142018-04-27 Alan Modra <amodra@gmail.com>
1515
1516 PR libgcc/85532
1517 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1518 -fno-asynchronous-unwind-tables.
1519
ba169b74
CJW
15202018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1521
1522 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1523 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1524
ffc2fc06
L
15252018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1528 when including "config/i386/shadow-stack-unwind.h".
1529
7b47ecf2
L
15302018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 * configure: Regenerated.
1533
661eb8f9
MM
15342018-04-20 Michael Meissner <meissner@linux.ibm.com>
1535
1536 PR target/85456
1537 * config/rs6000/_powikf2.c: New file. Add support for the
1538 __builtin_powil function when long double is IEEE 128-bit floating
1539 point.
1540 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1541 __powikf2 support.
1542 (__powikf2): Likewise.
1543 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1544 (__powikf2_hw): Likewise.
1545 (__powikf2): Likewise.
1546 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1547 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1548 (_powikf2-hw.c): Likewise.
1549
5707be3c
L
15502018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1551
1552 PR libgcc/85334
1553 * unwind-generic.h (_Unwind_Frames_Increment): New.
1554 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1555 Likewise.
1556 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1557 count with _Unwind_Frames_Increment.
1558 (_Unwind_ForcedUnwind_Phase2): Likewise.
1559
5f9ca0b8
L
15602018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1561
1562 PR libgcc/85379
1563 * config/i386/morestack.S (__stack_split_initialize): Add
1564 _CET_ENDBR.
1565
a0e1df88
JJ
15662018-04-19 Jakub Jelinek <jakub@redhat.com>
1567
1568 * configure: Regenerated.
1569
001ddaa8
DM
15702018-04-18 David Malcolm <dmalcolm@redhat.com>
1571
1572 PR jit/85384
1573 * configure: Regenerate.
1574
a57f99ba
JJ
15752018-04-16 Jakub Jelinek <jakub@redhat.com>
1576
1577 PR target/84945
1578 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1579 -Wdangling-else warnings. Mask shift counts to avoid
1580 -Wshift-count-negative and -Wshift-count-overflow false positives.
1581
4d47fe5a
RB
15822018-04-06 Ruslan Bukin <br@bsdpad.com>
1583
1584 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1585
059cc8ac
L
15862018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 PR target/85100
1589 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1590 (XSTATE_FP): Likewise.
1591 (XSTATE_SSE): Likewise.
1592 (XSTATE_YMM): Likewise.
1593 (XSTATE_OPMASK): Likewise.
1594 (XSTATE_ZMM): Likewise.
1595 (XSTATE_HI_ZMM): Likewise.
1596 (XCR_AVX_ENABLED_MASK): Likewise.
1597 (XCR_AVX512F_ENABLED_MASK): Likewise.
1598 (get_available_features): Enable AVX and AVX512 features only
1599 if their states are supported by OSXSAVE.
1600
f2620385
IT
16012018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1602
1603 PR target/85025
1604 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1605 Fix a typo, tmp => 255.
1606
ae6dca8c
JJ
16072018-03-20 Jakub Jelinek <jakub@redhat.com>
1608
1609 PR target/84945
1610 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1611 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1612 ifndef SHARED only.
1613 (set_feature): Define.
1614 (get_available_features): Use set_feature macro. Set __cpu_features2
1615 to the second word of features ifndef SHARED.
1616
c36b04c1
JK
16172018-03-15 Julia Koval <julia.koval@intel.com>
1618
1619 * config/i386/cpuinfo.c (get_available_features): Add
1620 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1621 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1622 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1623 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1624 FEATURE_AVX512BITALG.
1625
79ab5364
JK
16262018-03-14 Julia Koval <julia.koval@intel.com>
1627
1628 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1629 icelake client and icelake server.
1630
66a00b11
JDA
16312018-03-06 John David Anglin <danglin@gcc.gnu.org>
1632
1633 * config/pa/fptr.c (_dl_read_access_allowed): New.
1634 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1635
ce579a4f
JJ
16362018-02-28 Jakub Jelinek <jakub@redhat.com>
1637
1638 PR debug/83917
1639 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1640 $asm_hidden_op if visibility ("hidden") attribute works.
1641 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1642 * config/i386/i386-asm.h: Don't include auto-host.h.
1643 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1644 PACKAGE_URL): Don't undefine.
1645 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1646 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1647 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1648 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1649 definition instead of hardcoded .hidden.
1650 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1651 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1652 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1653 (USE_GAS_CFI_DIRECTIVES): Don't define.
1654 * configure: Regenerated.
1655 * config.in: Likewise.
1656
e5868319
JJ
16572018-02-26 Jakub Jelinek <jakub@redhat.com>
1658
1659 PR debug/83917
1660 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1661 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1662 inclusion of auto-target.h and auto-host.h.
1663 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1664 __GCC_HAVE_DWARF2_CFI_ASM.
1665 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1666 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1667 cfi_pop): Define.
1668 * config/i386/cygwin.S: Don't include auto-host.h here, just
1669 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1670 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1671 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1672 * config/i386/resms64fx.h: Add cfi_* directives.
1673 * config/i386/resms64x.h: Likewise.
1674
faef260e
MF
16752018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1676
1677 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1678 .literal_position directive.
1679 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1680
14e335ed
IT
16812018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1682
1683 PR target/84148
1684 * configure: Regenerate.
1685
95df0433
IT
16862018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1687
1688 PR target/84239
1689 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1690 Include cetintrin.h not x86intrin.h.
1691
f8de876d
IT
16922018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1693
1694 PR target/84239
95df0433 1695 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1696 Use new _get_ssp and _inc_ssp intrinsics.
1697
02da1e9c
JK
16982018-02-02 Julia Koval <julia.koval@intel.com>
1699
1700 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1701
048c6a9a
CZ
17022018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1703
1704 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1705 option.
1706 (__divsi3): Use RF16 safe registers.
1707 (__modsi3): Likewise.
1708
0889f168
MF
17092018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1710
1711 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1712 (__divsf3): Make NaN return value quiet.
1713 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1714 (__divdf3): Make NaN return value quiet.
1715
bc8b0d04
SP
17162018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1717
1718 * config/rl78/anddi3.S: New assembly file.
1719 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1720
99cc06ea
SP
17212018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1722
1723 * config/rl78/umindi3.S: New assembly file.
1724 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1725
6e9007a0
SP
17262018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1727
1728 * config/rl78/smindi3.S: New assembly file.
1729 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1730
d975e494 17312018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1732
d975e494
SP
1733 * config/rl78/smaxdi3.S: New assembly file.
1734 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1735
6a18c146 17362018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1737
5dd16013
SP
1738 * config/rl78/umaxdi3.S: New assembly file.
1739 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1740
07baf4a5
JDA
17412018-01-21 John David Anglin <danglin@gcc.gnu.org>
1742
1743 PR lto/83452
1744 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1745 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1746
dbc3af4f
RS
17472018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1748
1749 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1750 (DWARF_LAZY_REGISTER_VALUE): Define.
1751 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1752 to provide a fallback register value.
1753
68df9882
MM
17542018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1755
1756 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1757 __ibm128, instead of trying to use long double.
1758 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1759 accomidate -mabi=ieeelongdouble multilibs.
1760 (CVT_IBM128_TO_FLOAT128): Likewise.
1761 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1762 the appropriate IBM extended double type.
1763 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1764 (__gcc_qsub): Likewise.
1765 (__gcc_qmul): Likewise.
1766 (__gcc_qdiv): Likewise.
1767 (pack_ldouble): Likewise.
1768 (__gcc_qneg): Likewise.
1769 (__gcc_qeq): Likewise.
1770 (__gcc_qne): Likewise.
1771 (__gcc_qge): Likewise.
1772 (__gcc_qle): Likewise.
1773 (__gcc_stoq): Likewise.
1774 (__gcc_dtoq): Likewise.
1775 (__gcc_itoq): Likewise.
1776 (__gcc_utoq): Likewise.
1777 (__gcc_qunord): Likewise.
1778 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1779 quad-float128.h for the definitions.
1780 (COPYSIGN): Use the f128 version instead of the q version.
1781 (INFINITY): Likewise.
1782 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1783 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1784 quad-float128.h for the definitions.
1785 (COPYSIGN): Use the f128 version instead of the q version.
1786 (INFINITY): Likewise.
1787 (FABS): Likewise.
1788 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1789 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1790 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1791
64b371b1
SH
17922018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1793
1794 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1795 configuration.
1796
85ec4feb
JJ
17972018-01-03 Jakub Jelinek <jakub@redhat.com>
1798
1799 Update copyright years.
1800
18012017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1802
1803 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1804 * config/riscv/multi3.c: New file.
1805 * config/riscv/multi3.S: Remove.
1806
3a4c600f
JW
18072017-12-08 Jim Wilson <jimw@sifive.com>
1808
1809 * config/riscv/div.S: Use FUNC_* macros.
1810 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1811 * config/riscv/save-restore.S: Likewise.
1812 * config/riscv/riscv-asm.h: New.
1813
75ad35b5
MM
18142017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1815
6ae3512c
MM
1816 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1817 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1818
75ad35b5
MM
1819 PR libgcc/83112
1820 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1821 correct type for all ifunc resolvers to silence -Wattribute-alias
1822 warnings. Eliminate the forward declaration of the resolver
1823 functions which is no longer needed.
1824 (__subkf3_resolve): Likewise.
1825 (__mulkf3_resolve): Likewise.
1826 (__divkf3_resolve): Likewise.
1827 (__negkf2_resolve): Likewise.
1828 (__eqkf2_resolve): Likewise.
1829 (__nekf2_resolve): Likewise.
1830 (__gekf2_resolve): Likewise.
1831 (__gtkf2_resolve): Likewise.
1832 (__lekf2_resolve): Likewise.
1833 (__ltkf2_resolve): Likewise.
1834 (__unordkf2_resolve): Likewise.
1835 (__extendsfkf2_resolve): Likewise.
1836 (__extenddfkf2_resolve): Likewise.
1837 (__trunckfsf2_resolve): Likewise.
1838 (__trunckfdf2_resolve): Likewise.
1839 (__fixkfsi_resolve): Likewise.
1840 (__fixkfdi_resolve): Likewise.
1841 (__fixunskfsi_resolve): Likewise.
1842 (__fixunskfdi_resolve): Likewise.
1843 (__floatsikf_resolve): Likewise.
1844 (__floatdikf_resolve): Likewise.
1845 (__floatunsikf_resolve): Likewise.
1846 (__floatundikf_resolve): Likewise.
1847 (__extendkftf2_resolve): Likewise.
1848 (__trunctfkf2_resolve): Likewise.
1849
1850 PR libgcc/83103
1851 * config/rs6000/quad-float128.h (TF): Don't define if long double
1852 is IEEE 128-bit floating point.
1853 (TCtype): Define as either TCmode or KCmode, depending on whether
1854 long double is IEEE 128-bit floating point.
1855 (__mulkc3_sw): Add declarations for software/hardware versions of
1856 complex multiply/divide.
1857 (__divkc3_sw): Likewise.
1858 (__mulkc3_hw): Likewise.
1859 (__divkc3_hw): Likewise.
1860 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1861 handlers to switch between using software emulation and hardware
1862 float128 instructions, build the complex multiply/divide functions
1863 for both software and hardware support.
1864 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1865 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1866 (__divkc3_resolve): Likewise.
1867 (__mulkc3): Likewise.
1868 (__divkc3): Likewise.
1869 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1870 (fp128_hw_src): Likewise.
1871 (fp128_hw_static_obj): Likewise.
1872 (fp128_hw_shared_obj): Likewise.
1873 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1874 _mulkc3.c and _divkc3.c, changing the function name.
1875 (_divkc3-hw.c): Likewise.
1876 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1877 and _divkc3-hw.c.
1878
c234d831
UB
18792017-11-26 Julia Koval <julia.koval@intel.com>
1880
1881 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1882 * config/i386/cpuinfo.h (processor_subtypes): Add
1883 INTEL_COREI7_CANNONLAKE.
1884
1ebafce0
IT
18852017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1886
1887 PR bootstrap/83015
1888 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1889 parameter.
1890 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1891 * config/ia64/unwind-ia64.c: Add frames parameter.
1892 * unwind-sjlj.c: Likewise.
1893
6a10fff4
IT
18942017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1895
1896 * config/i386/linux-unwind.h: Include
1897 config/i386/shadow-stack-unwind.h.
1898 * config/i386/shadow-stack-unwind.h: New file.
1899 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1900 pass it to _Unwind_Frames_Extra.
1901 * unwind-generic.h (_Unwind_Frames_Extra): New.
1902 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1903 parameter. Add local variable frames to count number of frames.
1904 (_Unwind_ForcedUnwind_Phase2): Likewise.
1905 (_Unwind_RaiseException): Add local variable frames to count
1906 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1907 uw_install_context.
1908 (_Unwind_ForcedUnwind): Likewise.
1909 (_Unwind_Resume): Likewise.
1910 (_Unwind_Resume_or_Rethrow): Likewise.
1911
1ecae1fc
IT
19122017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1913
1914 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1915 (CET_FLAGS): New.
1916 * config/i386/morestack.S: Include <cet.h>.
1917 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1918 * config/i386/resms64.h: Include <cet.h>.
1919 * config/i386/resms64f.h: Likewise.
1920 * config/i386/resms64fx.h: Likewise.
1921 * config/i386/resms64x.h: Likewise.
1922 * config/i386/savms64.h: Likewise.
1923 * config/i386/savms64f.h: Likewise.
1924 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1925 (CRTSTUFF_T_CFLAGS): Likewise.
1926 * configure.ac: Include ../config/cet.m4.
1927 Set and substitute CET_FLAGS.
1928 * configure: Regenerated.
1929
f021f1d3
RO
19302017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1931
1932 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1933 renaming.
1934 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1935 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1936 * configure: Regenerate.
1937
65f480c7
TV
19382017-11-07 Tom de Vries <tom@codesourcery.com>
1939
1940 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1941 after "do {} while (0)".
1942
2a321acb
TV
19432017-11-07 Tom de Vries <tom@codesourcery.com>
1944
1945 PR other/82784
1946 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1947 semicolon after "do {} while (0)".
1948 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1949 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1950 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1951 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1952
59fcf6c3
AT
19532017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1954
1955 PR libgcc/82635
1956 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1957 sysctl to determine whether we're in a trampoline.
1958 Keep the pattern matching method for systems without
1959 KERN_PROC_SIGTRAMP sysctl.
1960
b0c7ddf8
CM
19612017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1962 Vineet Gupta <vgupta@synopsys.com>
1963
1964 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1965 * config/arc/linux-unwind-reg.def: New file.
1966 * config/arc/linux-unwind-reg.h: Likewise.
1967
5feee954
SP
19682017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1969
1970 * config/rl78/subdi3.S: New assembly file.
1971 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1972
a0bf6cf7
SP
19732017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1974
1975 * config/rl78/adddi3.S: New assembly file.
1976 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1977
e7176f75
JJ
19782017-10-13 Jakub Jelinek <jakub@redhat.com>
1979
1980 PR target/82274
1981 * libgcc2.c (__mulvDI3): If both operands have
1982 the same highpart of -1 and the topmost bit of lowpart is 0,
1983 multiplication overflows even if both lowparts are 0.
1984
db6601d2
JB
19852017-09-28 James Bowman <james.bowman@ftdichip.com>
1986
1987 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1988
938b6f1e
JM
19892017-09-26 Joseph Myers <joseph@codesourcery.com>
1990
1991 * config/microblaze/crti.S, config/microblaze/crtn.S,
1992 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1993 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1994 config/microblaze/mulsi3.S,
1995 config/microblaze/stack_overflow_exit.S,
1996 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1997 config/pa/milli64.S: Add .note.GNU-stack section.
1998
89762a83
DS
19992017-09-23 Daniel Santos <daniel.santos@pobox.com>
2000
2001 * configure.ac: Add Check for HAVE_AS_AVX.
2002 * config.in: Regenerate.
2003 * configure: Likewise.
2004 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2005 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2006 Correct out-of-date comments.
2007
cace2309
SP
20082017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2009
2010 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2011 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2012
3cb626e4
DS
20132017-09-17 Daniel Santos <daniel.santos@pobox.com>
2014
cace2309 2015 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2016 (ASMNAME): Modify to use PASTE2.
2017 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2018 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2019 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2020 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2021 * config/i386/resms64f.S: Likewise.
2022 * config/i386/resms64fx.S: Likewise.
2023 * config/i386/resms64x.S: Likewise.
2024 * config/i386/savms64.S: Likewise.
2025 * config/i386/savms64f.S: Likewise.
2026 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2027 includes it's corresponding header file.
cace2309
SP
2028 * config/i386/avx_resms64f.S: Likewise.
2029 * config/i386/avx_resms64fx.S: Likewise.
2030 * config/i386/avx_resms64x.S: Likewise.
2031 * config/i386/avx_savms64.S: Likewise.
2032 * config/i386/avx_savms64f.S: Likewise.
2033 * config/i386/sse_resms64.S: Likewise.
2034 * config/i386/sse_resms64f.S: Likewise.
2035 * config/i386/sse_resms64fx.S: Likewise.
2036 * config/i386/sse_resms64x.S: Likewise.
2037 * config/i386/sse_savms64.S: Likewise.
2038 * config/i386/sse_savms64f.S: Likewise.
2039 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2040
2f19c491 20412017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2042 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2043
611e7036
OH
20442017-08-31 Olivier Hainque <hainque@adacore.com>
2045
2046 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2047 match as powerpc-wrs-vxworks*.
2048
c8f34527
JY
20492017-08-07 Jonathan Yong <10walls@gmail.com>
2050
2051 * config.host (*-cygwin): Include file from mingw
2052 config/i386/enable-execute-stack-mingw32.c
2053
0b458d2b 20542017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
2055 Doug Rupp <rupp@adacore.com>
2056 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
2057
2058 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2059 as well as arm-wrs-vxworks.
2060 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2061 LIB2ADDEH.
2062 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2063 __exidx_start and __exidx_end for downloadable modules.
2064
4df612fa
OH
20652017-08-01 Olivier Hainque <hainque@adacore.com>
2066
2067 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2068 * config/t-vxworks7: Likewise.
2069
5560e8c0
OH
20702017-08-01 Olivier Hainque <hainque@adacore.com>
2071
2072 * config/t-vxworks: Instead of redefining LIB2ADD,
2073 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2074
16bab95a
SH
20752017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2076
2077 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2078
9cbc07cc
DS
20792017-07-24 Daniel Santos <daniel.santos@pobox.com>
2080
2081 PR testsuite/80759
2082 * config.host: include i386/t-msabi for darwin and solaris.
2083 * config/i386/i386-asm.h
2084 (ELFFN): Rename to FN_TYPE.
2085 (FN_SIZE): New macro.
2086 (FN_HIDDEN): Likewise.
2087 (ASMNAME): Likewise.
2088 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2089 .globl.
2090 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2091 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2092 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2093 .macro.
2094 * config/i386/resms64f.S: Likewise.
2095 * config/i386/resms64fx.S: Likewise.
2096 * config/i386/resms64x.S: Likewise.
2097 * config/i386/savms64.S: Likewise.
2098 * config/i386/savms64f.S: Likewise.
2099
de742204
JM
21002017-07-19 John Marino <gnugcc@marino.st>
2101
2102 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2103
3787ee47
MM
21042017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2105
2106 PR target/81193
2107 * configure.ac (PowerPC float128 hardware support): Test whether
2108 we can use __builtin_cpu_supports before enabling the ifunc
2109 handler.
2110 * configure: Regenerate.
2111
b1938888
VG
21122017-07-10 Vineet Gupta <vgupta@synopsys.com>
2113
2114 * config.host: Remove uclibc from arc target spec.
2115
bec75e53
KW
21162017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2117
2118 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2119
d4391a62
PB
21202017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2121
2122 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2123 (have_ieee_hw_p): Delete function.
2124 (SW_OR_HW) Use __builtin_cpu_supports().
2125
9296dd9b
TP
21262017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2127
2128 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2129
b85a969e
OH
21302017-07-03 Olivier Hainque <hainque@adacore.com>
2131
d4391a62 2132 * config/t-vxworks7: New file, really.
b85a969e 2133
883312dc
JM
21342017-06-28 Joseph Myers <joseph@codesourcery.com>
2135
2136 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2137 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2138 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2139 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2140 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2141 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2142 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2143 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2144 config/sh/linux-unwind.h (sh_fallback_frame_state),
2145 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2146 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2147 ucontext_t instead of struct ucontext.
2148
50567938
JL
21492017-06-27 Jerome Lambourg <lambourg@adacore.com>
2150
2151 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2152 (x86_64-wrs-vxworks7): Likewise.
2153
e4b0df93
OH
21542017-06-27 Olivier Hainque <hainque@adacore.com>
2155
2156 * config/t-vxworks7: New file.
2157 * config.host (*-*-vxworks7): Use it.
2158
60edf8bb
MT
21592017-06-22 Matt Turner <mattst88@gmail.com>
2160
2161 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2162 skylake case.
2163
a51a76e5
RB
21642017-06-21 Richard Biener <rguenther@suse.de>
2165
2166 PR gcov-profile/81080
2167 * configure.ac: Add AC_SYS_LARGEFILE.
2168 * libgcov.h: Include auto-target.h before tsystem.h to pick
2169 up _FILE_OFFSET_BITS which might differ for multilibs.
2170 * config.in: Regenerate.
2171 * configure: Likewise.
2172
f0cd49c5
RE
21732017-06-16 Richard Earnshaw <rearnsha@arm.com>
2174
2175 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2176
4f751c54
ML
21772017-06-09 Martin Liska <mliska@suse.cz>
2178
2179 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2180 Reset __gcov_indirect_call_callee to NULL.
2181
1ac644c8
OH
21822017-06-08 Olivier Hainque <hainque@adacore.com>
2183
2184 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2185 the set of -I options, support for direct inclusions of net/uio.h
2186 by VxWorks header files via ioLib.h.
2187
d8b9cd27
TR
21882017-06-07 Tony Reix <tony.reix@atos.net>
2189 Matthieu Sarter <matthieu.sarter.external@atos.net>
2190 David Edelsohn <dje.gcc@gmail.com>
2191
92a285c1
ML
2192 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2193 unconditionally.
2194 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2195 AIX 7.2 support.
d8b9cd27 2196
38a75ccc
OH
21972017-06-02 Olivier Hainque <hainque@adacore.com>
2198
2199 * config/vxlib.c (__gthread_once): Add missing value to
2200 return statement.
2201
5b2edf53
OH
22022017-05-30 Olivier Hainque <hainque@adacore.com>
2203
2204 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2205 dollar sign before $(MULTIDIR).
2206
7d66e265
RH
22072017-05-26 Richard Henderson <rth@redhat.com>
2208
2209 PR libgcc/80037
2210 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2211
78eca309
AT
22122017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2213
2214 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2215 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2216 * config/arm/unwind-arm.c: Implement the above.
2217
c39d309a
AZ
22182017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2219
2220 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2221 section for a non-executable stack.
2222
eac8c9f2
KW
22232017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2224
2225 PR target/80600
2226 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2227
d6d4d770
DS
22282017-05-14 Daniel Santos <daniel.santos@pobox.com>
2229
2230 * config.host: Add i386/t-msabi to i386/t-linux file list.
2231 * config/i386/i386-asm.h: New file.
2232 * config/i386/resms64.S: New file.
2233 * config/i386/resms64f.S: New file.
2234 * config/i386/resms64fx.S: New file.
2235 * config/i386/resms64x.S: New file.
2236 * config/i386/savms64.S: New file.
2237 * config/i386/savms64f.S: New file.
2238 * config/i386/t-msabi: New file.
2239
8ef2b9a7
AT
22402017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2241
2242 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2243 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2244
7ab8766a
JC
22452017-05-05 Joshua Conner <joshconner@google.com>
2246
2247 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2248 pc-relative indirect handling for fuchsia.
2249 * config/t-slibgcc-fuchsia: New file.
2250 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2251 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2252
46928a8f
ML
22532017-04-19 Martin Liska <mliska@suse.cz>
2254
2255 PR gcov-profile/80435
2256 * Makefile.in: Install gcov.h.
2257 * gcov.h: New file.
2258 * libgcov.h: Use the header and make __gcov_flush publicly
2259 visible.
2260
63971184
ML
22612017-04-18 Martin Liska <mliska@suse.cz>
2262
2263 PR gcov-profile/78783
2264 * libgcov-driver.c (gcov_get_filename): New function.
2265
29d8aae6
JL
22662017-04-07 Jeff Law <law@redhat.com>
2267
2268 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2269 target makefile fragment.
2270 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2271
2bdf7fc6
AM
22722017-04-07 Alan Modra <amodra@gmail.com>
2273
2274 PR target/45053
2275 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2276
5764ee3c
JW
22772017-04-03 Jonathan Wakely <jwakely@redhat.com>
2278
2279 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2280
c4192ad7
CZ
22812017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2282
2283 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2284
4ccfdb28
JM
22852017-03-10 John Marino <gnugcc@marino.st>
2286
2287 * config/aarch64/freebsd-unwind.h: New file.
2288 * config.host: Add aarch64-*-freebsd unwinder.
2289
4144e4e3
SB
22902017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2291
2292 * config/rs6000/crtrestvr.s: Use .machine altivec.
2293 * config/rs6000/crtsavevr.s: Ditto.
2294
7502c597
SB
22952017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2296
2297 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2298 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2299 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2300 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2301 * configure: Regenerate.
2302 * config.in: Regenerate.
2303
db9f7f65
JY
23042017-03-02 Jonathan Yong <10walls@gmail.com>
2305
2306 * config/i386/gthr-win32.h: Define NOGDI before
2307 windows.h include to prevent w32api CC_NONE macro
2308 clash with libgfortran.
2309
126437c5
JY
23102017-03-02 Jonathan Yong <10walls@gmail.com>
2311
2312 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2313
31927af6
AP
23142017-02-16 Andrew Pinski <apinski@cavium.com>
2315
2316 * config/aarch64/value-unwind.h: New file.
2317 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2318 to tm_file.
2319
0bd99911
PD
23202017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2321
2322 * config.host: Add RISC-V tuples.
2323 * config/riscv/atomic.c: New file.
2324 * config/riscv/crti.S: Likewise.
2325 * config/riscv/crtn.S: Likewise.
2326 * config/riscv/div.S: Likewise.
2327 * config/riscv/linux-unwind.h: Likewise.
2328 * config/riscv/muldi3.S: Likewise.
2329 * config/riscv/multi3.S: Likewise.
2330 * config/riscv/save-restore.S: Likewise.
2331 * config/riscv/sfp-machine.h: Likewise.
2332 * config/riscv/t-elf: Likewise.
2333 * config/riscv/t-elf32: Likewise.
2334 * config/riscv/t-elf64: Likewise.
2335 * config/riscv/t-softfp32: Likewise.
2336 * config/riscv/t-softfp64: Likewise.
2337
a8c9ef2a
JJ
23382017-01-24 Jakub Jelinek <jakub@redhat.com>
2339
2340 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2341 /* FALLTHRU */ comments.
2342
c6c82710
GP
23432017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2344
2345 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2346
a876231c
JW
23472017-01-20 Jiong Wang <jiong.wang@arm.com>
2348
2349 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2350 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2351 DW_CFA_GNU_window_save for AArch64 and LP64.
2352
aa348be2
JW
23532017-01-20 Jiong Wang <jiong.wang@arm.com>
2354
2355 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2356
5636faf2
JW
23572017-01-19 Jiong Wang <jiong.wang@arm.com>
2358
2359 * config/aarch64/aarch64-unwind.h: New file.
2360 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2361 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2362 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2363 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2364 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2365 (aarch64_post_extract_frame_addr): New function.
2366 (aarch64_post_frob_eh_handler_addr): New function.
2367 (aarch64_frob_update_context): New function.
2368 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2369 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2370 aarch64*-*-freebsd*):
2371 Initialize md_unwind_header to include aarch64-unwind.h.
2372 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2373 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2374 __aarch64__.
2375 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2376 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2377 (uw_frob_return_addr): New function.
2378 (uw_install_context): Use uw_frob_return_addr.
2379
3c36aa6b
JJ
23802017-01-17 Jakub Jelinek <jakub@redhat.com>
2381
2382 PR other/79046
2383 * configure.ac: Add GCC_BASE_VER.
2384 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2385 version from BASE-VER file.
2386 * configure: Regenerated.
2387
829afb8f
JS
23882017-01-13 Joe Seymour <joe.s@somniumtech.com>
2389
2390 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2391 libmul_f5.a): Filter archived prerequisites.
2392
79fc8ffe
AS
23932017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2394
2395 * config/i386/cpuinfo.h (processor_features): Add
2396 FEATURE_AVX512VPOPCNTDQ.
2397 * config/i386/cpuinfo.c (get_available_features): Habdle new
2398 feature.
2399
fec5f4e0
JM
24002017-01-04 Joseph Myers <joseph@codesourcery.com>
2401
2402 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2403 payload if [__mips_nan2008].
2404
8f56cb51
AM
24052017-01-04 Alan Modra <amodra@gmail.com>
2406
2407 * Makefile.in (configure_deps): Update.
2408 * configure: Regenerate.
2409
cbe34bb5
JJ
24102017-01-01 Jakub Jelinek <jakub@redhat.com>
2411
2412 Update copyright years.
2413
ab955692
KW
24142016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2415
2416 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2417 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2418 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2419
de34320f
MK
24202016-12-17 Matthias Klose <doko@ubuntu.com>
2421
2422 * config/arc/gmon: Remove empty directory.
2423
e04ea1da
CZ
24242016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2425
2426 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2427 crtgend.
2428 (arc*-*-elf*): Likewise.
2429 * config/arc/t-arc: Remove old gmon lib targets.
2430 * config/arc/crtg.S: Remove.
2431 * config/arc/crtgend.S: Likewise.
2432 * config/arc/gmon/atomic.h: Likewise.
2433 * config/arc/gmon/auxreg.h: Likewise.
2434 * config/arc/gmon/dcache_linesz.S: Likewise.
2435 * config/arc/gmon/gmon.c: Likewise.
2436 * config/arc/gmon/machine-gmon.h: Likewise.
2437 * config/arc/gmon/mcount.c: Likewise.
2438 * config/arc/gmon/prof-freq-stub.S: Likewise.
2439 * config/arc/gmon/prof-freq.c: Likewise.
2440 * config/arc/gmon/profil.S: Likewise.
2441 * config/arc/gmon/sys/gmon.h: Likewise.
2442 * config/arc/gmon/sys/gmon_out.h: Likewise.
2443 * config/arc/t-arc-newlib: Likewise.
2444 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2445
8ae1c2c1
GS
24462016-12-12 George Spelvin <linux@sciencehorizons.net>
2447
2448 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2449
a5b947fa
GS
24502016-12-12 George Spelvin <linux@sciencehorizons.net>
2451
2452 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2453 R16 instead of push + pop.
2454 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2455
d6574dd1
KW
24562016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2457
2458 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2459 tmake_file.
2460
62440b4f
CM
24612016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2462
2463 * config.host (arc*-*-linux-uclibc*): Use default extra
2464 objects. Include linux-android header.
2465 * config/arc/crti.S (_init): Declare symbol as function.
2466 (_fini): Likewise.
2467
31cfd832
TK
24682016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2469
2470 PR fortran/78379
2471 * config/i386/cpuinfo.c: Move denums for processor vendors,
2472 processor type, processor subtypes and declaration of
2473 struct __processor_model into
2474 * config/i386/cpuinfo.h: New header file.
2475
c92e08e3
AV
24762016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2477 Thomas Preud'homme <thomas.preudhomme@arm.com>
2478
2479 * config/arm/cmse_nonsecure_call.S: New.
2480 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2481
de7b5723
AV
24822016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2483 Thomas Preud'homme <thomas.preudhomme@arm.com>
2484
2485 * config/arm/t-arm (HAVE_CMSE): New.
2486 * config/arm/cmse.c: New.
2487
7a0d2bce
TP
24882016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2489
b3a5bff4
TP
2490 PR gcc/74748
2491 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2492 use generic linker version information on Blackfin.
2493
7a0d2bce
TP
2494 PR gcc/74748
2495 * libgcc/mkmap-symver.awk: add support for skip_underscore
2496
b410cf1d
IS
24972016-11-27 Iain Sandoe <iain@codesourcery.com>
2498 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2499
2500 PR target/67710
2501 * config/t-darwin: Default builds to 10.5 codegen.
2502
2e5f8203
JG
25032016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2504
2505 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2506 (_FP_NANSIGN_H): Likewise.
2507 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2508 (softfp_truncations): Add tfhf.
2509 (softfp_extras): Add required conversion functions.
2510
bea64ca3
JG
25112016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2512 Matthew Wahab <matthew.wahab@arm.com>
2513
2514 * config/arm/fp16.c (binary64): New.
2515 (__gnu_d2h_internal): New.
2516 (__gnu_d2h_ieee): New.
2517 (__gnu_d2h_alternative): New.
2518
8630cadb
JG
25192016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2520 Matthew Wahab <matthew.wahab@arm.com>
2521
2522 * config/arm/fp16.c (struct format): New.
2523 (binary32): New.
2524 (__gnu_float2h_internal): New. Body moved from
2525 __gnu_f2h_internal and generalize.
2526 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2527 Call it with binary32.
2528
5823ef23
JG
25292016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2530
2531 * soft-fp/extendhftf2.c: Update from glibc.
2532 * soft-fp/fixhfti.c: Likewise.
2533 * soft-fp/fixunshfti.c: Likewise.
2534 * soft-fp/floattihf.c: Likewise.
2535 * soft-fp/floatuntihf.c: Likewise.
2536 * soft-fp/half.h: Likewise.
2537 * soft-fp/trunctfhf2.c: Likewise.
2538
62a7df9f
MG
25392016-11-20 Marc Glisse <marc.glisse@inria.fr>
2540
2541 PR libgcc/77813
2542 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2543 __TMC_END__ behind a passthrough asm.
2544
7a384912
WL
25452016-11-18 Walter Lee <walt@tilera.com>
2546
62a7df9f 2547 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2548
9775c1a5
L
25492016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2550
2551 * config/i386/cpuinfo.c (processor_features): Add
2552 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2553
48c842ab
CZ
25542016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2555
2556 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2557 (__ARC_NORM__): Use instead ARC_OPTFPE.
2558 * config/arc/fp-hack.h: Likewise.
2559 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2560 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2561
5012919d
AM
25622016-11-16 Alexander Monakov <amonakov@ispras.ru>
2563
2564 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2565 * config/nvptx/mgomp.c: New file.
2566 * config/nvptx/t-nvptx: Add mgomp.c
2567
00178b98
WB
25682016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2569
2570 PR libgcc/68468
2571 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2572
d64af69f
CZ
25732016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2574
2575 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2576 of checking for cpus.
2577 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2578 (__modsi3, __clzsi2): Likewise.
2579
9d8f95de
SN
25802016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2581
2582 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2583 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2584 * config/i386/t-cpuinfo-static: New.
2585
7d29f8e3
ML
25862016-11-03 Martin Liska <mliska@suse.cz>
2587
2588 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2589 (__gcov_time_profiler_atomic): Likewise.
2590
5de3e2d8
BE
25912016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2592
2593 PR libgcc/78067
2594 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2595 count_leading_zeros.
2596
18362447
UB
25972016-11-02 Uros Bizjak <ubizjak@gmail.com>
2598
2599 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2600 * libgcc2.c (__divmoddi4): New function.
2601 * libgcc2.h (__divmoddi4): Declare.
2602 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2603 and __PFX_divmodti4.
2604
33107571
FW
26052016-10-24 Florian Weimer <fweimer@redhat.com>
2606
2607 PR libgcc/78064
2608 * unwind-c.c: Include auto-target.h.
2609
4c6d7494
JDA
26102016-10-19 John David Anglin <danglin@gcc.gnu.org>
2611
18362447 2612 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2613 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2614 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2615 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2616 hppa*64*-*-hpux11*.
2617
2a26adf1
MF
26182016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2619
2620 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2621 definition.
2622 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2623 definition.
2624 * config/xtensa/t-windowed (LIB2ADDEH): Use
2625 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2626 or xtensa/t-linux.
2627
66192aa1
DKC
26282016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2629
2630 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2631 __ieee754_sqrt): New functions.
2632 (__divdf3): Add implementation with new FPU instructions under
2633 #if XCHAL_HAVE_DFP_DIV.
2634 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2635 __ieee754_sqrtf): New functions.
2636 (__divsf3): Add implementation with new FPU instructions under
2637 #if XCHAL_HAVE_FP_DIV.
2638 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2639 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2640
4d0cdd0c
TP
26412016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2642
2643 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2644 equivalent.
2645 * config/tilepro/atomic.c: Likewise and stop casting model to
2646 enum memmodel.
2647
73f01cca
JM
26482016-10-10 Joseph Myers <joseph@codesourcery.com>
2649
2650 PR target/77586
2651 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2652 soft-fp.
2653
b20e7532
AT
26542016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2655
2656 * config.host: Add support for aarch64-*-freebsd*.
2657
a786cec4
AS
26582016-10-05 Andreas Schwab <schwab@suse.de>
2659
2660 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2661 (.section .init_array): Don't call __do_jv_register_classes.
2662 (.section .init): Likewise.
2663
5a79befb
JJ
26642016-10-04 Jakub Jelinek <jakub@redhat.com>
2665
2666 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2667 (__JCR_LIST__): Remove.
2668 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2669 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2670 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2671 * config/ia64/crtend.S (__JCR_END__): Remove.
2672 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2673 conditionals.
2674 (__JCR_LIST__, __JCR_END__): Remove.
2675 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2676 (__do_global_ctors_1): Likewise.
2677
e0ab3753
UB
26782015-09-28 Uros Bizjak <ubizjak@gmail.com>
2679
2680 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2681 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2682
8c9434c2
ML
26832016-09-27 Martin Liska <mliska@suse.cz>
2684
2685 PR gcov-profile/7970
2686 PR gcov-profile/16855
2687 PR gcov-profile/44779
2688 * libgcov-driver.c (__gcov_init): Do not register a atexit
2689 handler.
2690 (__gcov_exit): Rename from gcov_exit.
2691 * libgcov.h (__gcov_exit): Declare.
2692
56b653f1
ML
26932016-09-27 Martin Liska <mliska@suse.cz>
2694
2695 PR bootstrap/77749
2696 * Makefile.in: Remove _gcov_merge_delta.
2697 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2698 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2699 * libgcov.h: Remove declaration of __gcov_merge_delta.
2700
7e02fd1b
EB
27012016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2702
2703 * configure.ac: Do not create links, only substitute the filenames.
2704 * configure: Regenerate.
2705 * Makefile.in: Assign the substitution results to variables.
2706 (LIBGCC_LINKS): Define.
2707 (enable-execute-stack.c): New rule.
2708 (unwind.h): Likewise.
2709 (md-unwind-support.h): Likewise.
2710 (sfp-machine.h): Likewise.
2711 (gthr-default.h): Likewise.
2712 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2713 unwind.h as prerequisite of install-unwind_h-forbuild.
2714
29991048
JJ
27152016-09-16 Jakub Jelinek <jakub@redhat.com>
2716
2717 PR libgcc/71744
2718 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2719 is not the primary registry and atomics are available.
2720 (any_objects_registered): New variable.
2721 (__register_frame_info_bases, __register_frame_info_table_bases):
2722 Atomically store 1 to any_objects_registered after registering first
2723 unwind info.
2724 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2725
0abcd6cc
JG
27262016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2727
2728 PR target/63250
2729 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2730 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2731 (HFtype): Likewise.
2732 (HCtype): Likewise.
2733 (__divhc3): Likewise.
2734 (__mulhc3): Likewise.
2735 * libgcc2.c: Support _mulhc3 and _divhc3.
2736
d758aeb5
JM
27372016-09-07 Joseph Myers <joseph@codesourcery.com>
2738
2739 PR libgcc/77519
2740 * libgcc2.c (NOTRUNC): Invert settings.
2741
7fe76f6a
ML
27422016-09-06 Martin Liska <mliska@suse.cz>
2743
2744 PR gcov-profile/77378
2745 PR gcov-profile/77466
2746 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2747 conditionaly enable/disable *_atomic functions.
2748
21184026
JM
27492016-08-26 Joseph Myers <joseph@codesourcery.com>
2750
2751 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2752 where not already enabled.
2753
726f49c3
SN
27542016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2755
2756 * config/mips/linux-unwind.h: Use sys/syscall.h.
2757
feeb6268
JM
27582016-08-16 Joseph Myers <joseph@codesourcery.com>
2759
2760 PR libgcc/77265
2761 * soft-fp/adddf3.c: Update from glibc.
2762 * soft-fp/addsf3.c: Likewise.
2763 * soft-fp/addtf3.c: Likewise.
2764 * soft-fp/divdf3.c: Likewise.
2765 * soft-fp/divsf3.c: Likewise.
2766 * soft-fp/divtf3.c: Likewise.
2767 * soft-fp/double.h: Likewise.
2768 * soft-fp/eqdf2.c: Likewise.
2769 * soft-fp/eqsf2.c: Likewise.
2770 * soft-fp/eqtf2.c: Likewise.
2771 * soft-fp/extenddftf2.c: Likewise.
2772 * soft-fp/extended.h: Likewise.
2773 * soft-fp/extendsfdf2.c: Likewise.
2774 * soft-fp/extendsftf2.c: Likewise.
2775 * soft-fp/extendxftf2.c: Likewise.
2776 * soft-fp/fixdfdi.c: Likewise.
2777 * soft-fp/fixdfsi.c: Likewise.
2778 * soft-fp/fixdfti.c: Likewise.
2779 * soft-fp/fixsfdi.c: Likewise.
2780 * soft-fp/fixsfsi.c: Likewise.
2781 * soft-fp/fixsfti.c: Likewise.
2782 * soft-fp/fixtfdi.c: Likewise.
2783 * soft-fp/fixtfsi.c: Likewise.
2784 * soft-fp/fixtfti.c: Likewise.
2785 * soft-fp/fixunsdfdi.c: Likewise.
2786 * soft-fp/fixunsdfsi.c: Likewise.
2787 * soft-fp/fixunsdfti.c: Likewise.
2788 * soft-fp/fixunssfdi.c: Likewise.
2789 * soft-fp/fixunssfsi.c: Likewise.
2790 * soft-fp/fixunssfti.c: Likewise.
2791 * soft-fp/fixunstfdi.c: Likewise.
2792 * soft-fp/fixunstfsi.c: Likewise.
2793 * soft-fp/fixunstfti.c: Likewise.
2794 * soft-fp/floatdidf.c: Likewise.
2795 * soft-fp/floatdisf.c: Likewise.
2796 * soft-fp/floatditf.c: Likewise.
2797 * soft-fp/floatsidf.c: Likewise.
2798 * soft-fp/floatsisf.c: Likewise.
2799 * soft-fp/floatsitf.c: Likewise.
2800 * soft-fp/floattidf.c: Likewise.
2801 * soft-fp/floattisf.c: Likewise.
2802 * soft-fp/floattitf.c: Likewise.
2803 * soft-fp/floatundidf.c: Likewise.
2804 * soft-fp/floatundisf.c: Likewise.
2805 * soft-fp/floatunditf.c: Likewise.
2806 * soft-fp/floatunsidf.c: Likewise.
2807 * soft-fp/floatunsisf.c: Likewise.
2808 * soft-fp/floatunsitf.c: Likewise.
2809 * soft-fp/floatuntidf.c: Likewise.
2810 * soft-fp/floatuntisf.c: Likewise.
2811 * soft-fp/floatuntitf.c: Likewise.
2812 * soft-fp/gedf2.c: Likewise.
2813 * soft-fp/gesf2.c: Likewise.
2814 * soft-fp/getf2.c: Likewise.
2815 * soft-fp/ledf2.c: Likewise.
2816 * soft-fp/lesf2.c: Likewise.
2817 * soft-fp/letf2.c: Likewise.
2818 * soft-fp/muldf3.c: Likewise.
2819 * soft-fp/mulsf3.c: Likewise.
2820 * soft-fp/multf3.c: Likewise.
2821 * soft-fp/negdf2.c: Likewise.
2822 * soft-fp/negsf2.c: Likewise.
2823 * soft-fp/negtf2.c: Likewise.
2824 * soft-fp/op-1.h: Likewise.
2825 * soft-fp/op-2.h: Likewise.
2826 * soft-fp/op-4.h: Likewise.
2827 * soft-fp/op-8.h: Likewise.
2828 * soft-fp/op-common.h: Likewise.
2829 * soft-fp/quad.h: Likewise.
2830 * soft-fp/single.h: Likewise.
2831 * soft-fp/soft-fp.h: Likewise.
2832 * soft-fp/subdf3.c: Likewise.
2833 * soft-fp/subsf3.c: Likewise.
2834 * soft-fp/subtf3.c: Likewise.
2835 * soft-fp/truncdfsf2.c: Likewise.
2836 * soft-fp/trunctfdf2.c: Likewise.
2837 * soft-fp/trunctfsf2.c: Likewise.
2838 * soft-fp/trunctfxf2.c: Likewise.
2839 * soft-fp/unorddf2.c: Likewise.
2840 * soft-fp/unordsf2.c: Likewise.
2841 * soft-fp/unordtf2.c: Likewise.
2842
2e6fc1ac
GG
28432016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2844
2845 PR gcov-profile/67097
2846 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2847
a266236e
ML
28482016-08-10 Martin Liska <mliska@suse.cz>
2849
2850 PR gcov-profile/58306
2851 * Makefile.in: New functions (modules) are added.
2852 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2853 function.
2854 (__gcov_pow2_profiler_atomic): New function.
2855 (__gcov_one_value_profiler_body): New argument is instroduced.
2856 (__gcov_one_value_profiler): Call with the new argument.
2857 (__gcov_one_value_profiler_atomic): Likewise.
2858 (__gcov_indirect_call_profiler_v2): Likewise.
2859 (__gcov_time_profiler_atomic): New function.
2860 (__gcov_average_profiler_atomic): Likewise.
2861 (__gcov_ior_profiler_atomic): Likewise.
2862 * libgcov.h: Declare the aforementioned functions.
2863
e0c8eebf
ML
28642016-08-09 Martin Liska <mliska@suse.cz>
2865
2866 * libgcov-util.c: Fix typo and GNU coding style.
2867
6dce6418
ML
28682016-08-09 Martin Liska <mliska@suse.cz>
2869
2870 * Makefile.in: Remove __gcov_indirect_call_profiler.
2871 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2872 function.
2873 * libgcov.h: And the declaration of the function.
2874
dcb1e137
ML
28752016-08-09 Martin Liska <mliska@suse.cz>
2876
2877 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2878 power of two.
2879
d6e69705
BS
28802016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2881
2882 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2883 * config/rs6000/_mulkc3.c: Likewise.
2884
96aa1f95
GJL
28852016-07-29 Georg-Johann Lay <avr@gjlay.de>
2886
2887 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2888 zero_reg as previous call to __umulhisi3 already cleared it.
2889
a1b01d34
AJ
28902016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2891
2892 PR target/59833
2893 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2894
985a47b2
NC
28952016-07-19 Nick Clifton <nickc@redhat.com>
2896
2897 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2898 Add crtinit.o and crtfini.o to extra_parts.
2899
f906f5ed
BS
29002016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2901
2902 * config/rs6000/_divkc3.c: New.
2903 * config/rs6000/_mulkc3.c: New.
2904 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2905 and _divkc3.
2906 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2907 fp128_ppc_funcs.
2908
82742404
HW
29092016-07-11 Hale Wang <hale.wang@arm.com>
2910 Andre Vieira <andre.simoesdiasvieira@arm.com>
2911
2912 * config/arm/lib1funcs.S: Add new wrapper.
2913
05a437c1
TP
29142016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2915
2916 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2917
3d16d9ec
TP
29182016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2919
2920 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2921 and ARMv5t* rather than for a fixed list of architectures.
2922
6f493951
TP
29232016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2924
2925 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2926 implementation suitable for.
2927 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2928 for all Thumb-1 only targets.
2929 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2930 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2931 __ARM_ARCH_6M__.
2932 (EQUIV): Likewise.
2933 (ARM_FUNC_ALIAS): Likewise.
2934 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2935 version.
2936 (modsi3): Likewise.
2937 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2938 (clzdi2): Likewise.
2939 (ctzsi2): Likewise.
2940 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2941 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2942 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2943 __ARM_ARCH_6M__ and add comment to indicate the connection between
2944 this condition and the one in gcc/config/arm/elf.h.
2945 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2946 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2947 * config/arm/t-softfp: Likewise.
2948
1770511a
TS
29492016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2950
2951 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2952 CTOR_LISTS_DEFINED_EXTERNALLY.
2953
ba6be749
WL
29542016-06-28 Walter Lee <walt@tilera.com>
2955
2956 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2957 asm/unistd.h.
2958 (SPR_CMPEXCH_VALUE): Define for tilegx.
2959 (__NR_FAST_cmpxchg): Define for tilepro.
2960 (__NR_FAST_atomic_update): Define for tilepro.
2961 (__NR_FAST_cmpxchg64): Define for tilepro.
2962
a34c0db5
JS
29632016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2964
18362447 2965 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2966
0609abda
TS
29672016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2968
2969 * config.host: Remove support for mep-*.
2970 * config/mep/lib1funcs.S: Remove.
2971 * config/mep/lib2funcs.c: Remove.
2972 * config/mep/t-mep: Remove.
2973 * config/mep/tramp.c: Remove.
2974
3e326935
TS
29752016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2976
2977 * config.host: Remove support for avr-rtems.
2978 * config/avr/t-rtems: Remove.
2979
914b155c
TS
29802016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2981
2982 * config.host: Remove m32r-rtems support.
2983
5ebf89bd
TS
29842016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2985
2986 * config.host: Remove h8300-rtems support.
2987
8466af06
TS
29882016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2989
2990 * config.host: Remove support for knetbsd.
2991
d980e738
TS
29922016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2993
2994 * config.host: Remove support for openbsd 2 and 3.
2995
ee2499b4
TS
29962016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2997
2998 * config.host: Remove interix support.
2999 * config/i386/t-interix: Remove.
3000
9f92937b
JDA
30012016-06-18 John David Anglin <danglin@gcc.gnu.org>
3002
3003 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3004 least-significant bit in function pointer for fixup.
3005
0a0ec53d
AC
30062016-06-05 Aaron Conole <aconole@redhat.com>
3007 Nathan Sidwell <nathan@acm.org>
3008
3009 PR libgcc/71400
3010 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3011 (get_gcov_error_file): Check __gcov_error_file before trying to
3012 initialize it.
3013 (gcov_error): Always use get_gcov_error_file.
3014
8aa5bdd6
AC
30152016-06-02 Aaron Conole <aconole@redhat.com>
3016
3017 * libgcov-driver-system.c (__gcov_error_file): New.
3018 (get_gcov_error_file): New.
3019 (gcov_error): Use and set __gcov_error_file.
3020 (gcov_error_exit): New.
3021 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3022
40774faf
NS
30232016-05-26 Nathan Sidwell <nathan@acm.org>
3024
3025 * config/nvptx/free.asm: Delete.
3026 * config/nvptx/malloc.asm: Delete.
3027 * config/nvptx/realloc.c: Delete.
3028 * t-nvptx: Update.
3029
69a6d5ad
NS
30302016-05-25 Nathan Sidwell <nathan@acm.org>
3031
3032 * config/nvptx/crt0.s: Delete.
3033 * config/nvptx/crt0.c: New.
3034 * t-nvptx: Update.
3035
6befaff6
SL
30362016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3037
385c7747 3038 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3039 dw2/seh configuration.
3040 [x86_64-*-mingw*]: Likewise.
3041
ad251dfd
JS
30422016-05-10 Joel Sherrill <joel@rtems.org>
3043
3044 PR libgcc/70720
3045 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3046 targets so the same extra_parts are built. Also have tmake_file add
3047 on to its value rather than override.
3048
bc6d9014
OE
30492016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3050
3051 * config.host: Remove SH5 support.
3052 * configure: Likewise.
3053
9129c8cf
OE
30542016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3055
3056 * config/sh/crt1.S: Remove SH5 support.
3057 * config/sh/crti.S: Likewise.
3058 * config/sh/crtn.S: Likewise.
3059 * config/sh/lib1funcs-4-300.S: Likewise.
3060 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3061 * config/sh/lib1funcs.S: Likewise.
3062 * config/sh/linux-unwind.h: Likewise.
3063 * config/sh/t-sh64: Delete.
3064
39d50464
CZ
30652016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3066
3067 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3068
8b48923b
CZ
30692016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3070 Joern Rennecke <joern.rennecke@embecosm.com>
3071
3072 * config/arc/crttls.S: New file.
3073 * config/arc/t-arc: New rule.
3074 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3075
2de1cf8c
NC
30762016-04-25 Nick Clifton <nickc@redhat.com>
3077
3078 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3079 (__mspabi_cmpd): Likewise.
3080 * config/msp430/floathidf.c (__floathidf): Likewise.
3081 * config/msp430/floathisf.c (__floathisf): Likewise
3082 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3083 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3084 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3085 second parameter.
3086 (__ashrsi3): Likewise.
3087
b8ce3fe2
WB
30882016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3089
3090 * config/m68k/linux-atomic.c: Do not include unistd.h
3091
4986f823
MG
30922016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3093
3094 * config/arm/ieee754-df.S: Fix typos in comments.
3095
35fbda43
MM
30962016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3097
3098 PR target/70381
3099 * configure.ac (powerpc*-*-linux*): Rework tests to build
3100 __float128 emulation routines to not depend on using #pragma GCC
3101 target to enable -mfloat128.
3102 * configure: Regnerate.
3103
72d1a48d
EB
31042016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3105
3106 PR target/67172
3107 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3108 __MINGW32__ is defined.
3109
dc2e8995
JB
31102016-03-28 James Bowman <james.bowman@ftdichip.com>
3111
385c7747 3112 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3113
104cdaf1
MM
31142016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3115
3116 PR libgcc/70363
3117 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3118 built with an assembler that does not support ISA 3.0
3119 instructions, rename __extendkftf2_sw to __extendkftf2.
3120
a5046f48
RO
31212016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3122
3123 PR target/38239
3124 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3125 call-clobbered registers.
3126 (internal_mcount): Remove __i386__ handling.
3127
df674f74
JS
31282016-02-26 Joel Sherrill <joel@rtems.org>
3129
3130 * config.host: Add x86_64-*-rtems*.
3131
7cb065d6
JS
31322016-02-26 Joel Sherrill <joel@rtems.org>
3133
3134 * libgcc/config.host: Add aarch64-*-rtems*.
3135
47dfdc53
PM
31362016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3137 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3138
3139 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3140 union of u64 and double.
3141 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3142 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3143 value.
3144 (FP_ROUNDMODE): Update the usage of _fpscr.
3145
e6861a99
IV
31462016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3147
3148 PR driver/68463
3149 * Makefile.in (crtoffloadtable$(objext)): New rule.
3150 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3151 enable_offload_targets is not empty.
3152 * configure: Regenerate.
3153 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3154 crtoffloadtable.
3155
9bfcbdee
MF
31562016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3157
3158 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3159 .literal_position before the function.
3160 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3161 Likewise.
3162
4cb4721f
MK
31632016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3164
3165 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3166 * config/s390/morestack.S: New file.
3167 * config/s390/t-stack-s390: New file.
3168 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3169
b29d9a29
WL
31702016-02-12 Walter Lee <walt@tilera.com>
3171
3172 * config.host (tilegx*-*-linux*): remove ti from
3173 softfp_int_modes for 32-bit configs.
3174
03a0ae7d
ILT
31752016-02-10 Ian Lance Taylor <iant@google.com>
3176
3177 PR go/68562
3178 * config/i386/morestack.S (__stack_split_initialize): Align
3179 stack.
3180
68750bce
AT
31812016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3182
3183 PR bootstrap/69611
3184 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3185 __FLOAT128__ to compile only for __float128 capable targets.
3186
7d296953
JJ
31872016-01-25 Jakub Jelinek <jakub@redhat.com>
3188
3189 PR target/69444
3190 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3191 instead of ___NO_FPRS__.
3192
a71c0334 31932016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3194 Steven Munroe <munroesj@linux.vnet.ibm.com>
3195 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3196
3197 * config/rs6000/float128-sed: New files to convert TF names to KF
3198 names for PowerPC IEEE 128-bit floating point support.
3199 * config/rs6000/float128-sed-hw: Likewise.
3200
3201 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3202 floating point hardware support.
3203
3204 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3205 128-bit floating point software emulation or use ISA 3.0 hardware
3206 support if it is available.
3207
3208 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3209 floating point.
3210
3211 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3212 floating point to IBM extended double.
3213
3214 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3215 double to IEEE 128-bit floating point.
3216
3217 * config/rs6000/t-float128: New Makefile fragments to enable
3218 building __float128 emulation support.
3219 * config/rs6000/t-float128-hw: Likewise.
3220
3221 * config/rs6000/sfp-exceptions.c: New file to provide exception
3222 support for IEEE 128-bit floating point.
3223
3224 * config/rs6000/floattikf.c: New files for converting between IEEE
3225 128-bit floating point and signed/unsigned 128-bit integers.
3226 * config/rs6000/fixunskfti.c: Likewise.
3227 * config/rs6000/fixkfti.c: Likewise.
3228 * config/rs6000/floatuntikf.c: Likewise.
3229
3230 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3231 when building on 64-bit systems, or when VSX is enabled.
3232 (_FP_W_TYPE): Likewise.
3233 (_FP_WS_TYPE): Likewise.
3234 (_FP_I_TYPE): Likewise.
3235 (TItype): Define on 64-bit systems.
3236 (UTItype): Likewise.
3237 (TI_BITS): Likewise.
3238 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3239 (_FP_MUL_MEAT_Q): Likewise.
3240 (_FP_DIV_MEAT_D): Likewise.
3241 (_FP_DIV_MEAT_Q): Likewise.
3242 (_FP_NANFRAC_D): Likewise.
3243 (_FP_NANFRAC_Q): Likewise.
3244 (ISA_BIT): Add exception support if we are being compiled on a
3245 machine with hardware floating point support to build the IEEE
3246 128-bit emulation functions.
3247 (FP_EX_INVALID): Likewise.
3248 (FP_EX_OVERFLOW): Likewise.
3249 (FP_EX_UNDERFLOW): Likewise.
3250 (FP_EX_DIVZERO): Likewise.
3251 (FP_EX_INEXACT): Likewise.
3252 (FP_EX_ALL): Likewise.
3253 (__sfp_handle_exceptions): Likewise.
3254 (FP_HANDLE_EXCEPTIONS): Likewise.
3255 (FP_RND_NEAREST): Likewise.
3256 (FP_RND_ZERO): Likewise.
3257 (FP_RND_PINF): Likewise.
3258 (FP_RND_MINF): Likewise.
3259 (FP_RND_MASK): Likewise.
3260 (_FP_DECL_EX): Likewise.
3261 (FP_INIT_ROUNDMODE): Likewise.
3262 (FP_ROUNDMODE): Likewise.
3263
3264 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3265 VSX code, enable IEEE 128-bit floating point. If the compiler can
3266 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3267 floating point hardware instructions and it supports declaring
3268 functions with the ifunc attribute, enable ifunc functions to
3269 switch between software and hardware support.
3270 * configure.ac (powerpc*-*-linux*): Likewise.
3271 * configure: Regenerate.
3272
bdc27e50
NC
32732016-01-15 Nick Clifton <nickc@redhat.com>
3274
3275 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3276 dependency as the source file to be compiled.
3277 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3278 (lib2hw_mul_f5.o): Likewise.
3279
006df05d
MM
32802016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3281
3282 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3283 * libgcc/config/rs6000/fixkfti.c: Likewise.
3284 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3285 * libgcc/config/rs6000/float128-hw.c: Likewise.
3286 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3287 * libgcc/config/rs6000/float128-sed: Likewise.
3288 * libgcc/config/rs6000/floattikf.c: Likewise.
3289 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3290 * libgcc/config/rs6000/quad-float128.h: Likewise.
3291 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3292 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3293 * libgcc/config/rs6000/t-float128: Likewise.
3294 * libgcc/config/rs6000/t-float128-hw: Likewise.
3295 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3296 * libgcc/config.host: Likewise.
3297 * libgcc/configure: Likewise.
3298 * libgcc/configure.ac: Likewise.
3299
29176d57 33002016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3301 Steven Munroe <munroesj@linux.vnet.ibm.com>
3302 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3303
3304 * config/rs6000/sfp-exceptions.c: New file to provide exception
3305 support for IEEE 128-bit floating point.
3306
3307 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3308 floating point hardware support.
3309
3310 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3311 point conversions.
3312 * config/rs6000/fixunskfti.c: Likewise.
3313 * config/rs6000/fixkfti.c: Likewise.
3314 * config/rs6000/floatuntikf.c: Likewise.
3315 * config/rs6000/extendkftf2-sw.c: Likewise.
3316 * config/rs6000/trunctfkf2-sw.c: Likewise.
3317
3318 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3319 128-bit floating point software emulation or use ISA 3.0 hardware
3320 support if it is available.
3321
3322 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3323 floating point.
3324
3325 * config/rs6000/t-float128: New Makefile fragments to enable
3326 building __float128 emulation support.
3327 * config/rs6000/t-float128-hw: Likewise.
3328
3329 * config/rs6000/float128-sed: New file to convert TF names to KF
3330 names for PowerPC IEEE 128-bit floating point support.
3331
3332 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3333 when building on 64-bit systems, or when VSX is enabled.
3334 (_FP_W_TYPE): Likewise.
3335 (_FP_WS_TYPE): Likewise.
3336 (_FP_I_TYPE): Likewise.
3337 (TItype): Define on 64-bit systems.
3338 (UTItype): Likewise.
3339 (TI_BITS): Likewise.
3340 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3341 (_FP_MUL_MEAT_Q): Likewise.
3342 (_FP_DIV_MEAT_D): Likewise.
3343 (_FP_DIV_MEAT_Q): Likewise.
3344 (_FP_NANFRAC_D): Likewise.
3345 (_FP_NANFRAC_Q): Likewise.
3346 (ISA_BIT): Add exception support if we are being compiled on a
3347 machine with hardware floating point support to build the IEEE
3348 128-bit emulation functions.
3349 (FP_EX_INVALID): Likewise.
3350 (FP_EX_OVERFLOW): Likewise.
3351 (FP_EX_UNDERFLOW): Likewise.
3352 (FP_EX_DIVZERO): Likewise.
3353 (FP_EX_INEXACT): Likewise.
3354 (FP_EX_ALL): Likewise.
3355 (__sfp_handle_exceptions): Likewise.
3356 (FP_HANDLE_EXCEPTIONS): Likewise.
3357 (FP_RND_NEAREST): Likewise.
3358 (FP_RND_ZERO): Likewise.
3359 (FP_RND_PINF): Likewise.
3360 (FP_RND_MINF): Likewise.
3361 (FP_RND_MASK): Likewise.
3362 (_FP_DECL_EX): Likewise.
3363 (FP_INIT_ROUNDMODE): Likewise.
3364 (FP_ROUNDMODE): Likewise.
3365
3366 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3367 compiler can do __float128.
3368 * configure: Regenerate.
3369
3370 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3371 VSX code, enable IEEE 128-bit floating point.
3372
a2218983
OH
33732016-01-05 Olivier Hainque <hainque@adacore.com>
3374
3375 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3376 specificities.
a2218983 3377
818ab71a
JJ
33782016-01-04 Jakub Jelinek <jakub@redhat.com>
3379
3380 Update copyright years.
3381
5a6c8ffa
AP
33822015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3383
3384 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3385 soft-fp targets.
5a6c8ffa 3386
077067a5
BE
33872015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3388
3389 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3390 instead of abort to avoid dependency on stdlib.h.
3391
787c1027
JDA
33922015-12-09 John David Anglin <danglin@gcc.gnu.org>
3393
3394 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3395 to initialize call to __dl_fixup once.
3396
04a9ae28
NC
33972015-12-04 Nick Clifton <nickc@redhat.com>
3398
3399 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3400 Allow for the second argument being negative.
3401 * config.host (extra_parts): Define for MSP430. Create separate
3402 libraries for each of the hardware multiply formats.
3403 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3404 that are needed.
3405 * config/msp430/lib2mul.c: Likewise.
3406 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3407 Add rules to build hardware multiply libraries.
3408 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3409 __mspabi_divul function.
3410 (__mspabi_divllu): New stub function.
3411
9a32d437
JDA
34122015-12-01 John David Anglin <danglin@gcc.gnu.org>
3413
3414 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3415 fixup values if saved GOT address doesn't match runtime address.
3416 (fixup_branch_offset): Reorder list.
3417
e5ef217c
RO
34182015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3419
3420 * Makefile.in (VTV_CFLAGS): New variable.
3421 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3422 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3423 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3424 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3425 to extra_parts if $enable_vtable_verify = yes.
3426
78cc43a2
SN
34272015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3428
3429 PR target/68059
3430 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3431 (write): ...this and fix the return type.
3432
9afebea2
DD
34332015-11-19 DJ Delorie <dj@redhat.com>
3434
3435 * config/msp430/lib2hw_mul.S: Fix alignment.
3436
33f47f42
NS
34372015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3438
3439 * config/nvptx/reduction.c: New.
3440 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3441
d9adb476
DE
34422015-11-15 David Edelsohn <dje.gcc@gmail.com>
3443
3444 * config/rs6000/on_exit.c: New file.
3445 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3446 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3447
c0ab1970
CZ
34482015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3449
3450 * config/arc/dp-hack.h: Add support for ARCHS.
3451 * config/arc/ieee-754/divdf3.S: Likewise.
3452 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3453 * config/arc/ieee-754/muldf3.S: Likewise.
3454 * config/arc/ieee-754/mulsf3.S: Likewise
3455 * config/arc/lib1funcs.S: Likewise
3456 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3457 for ARCv2 cores.
3458 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3459 for ARCv2 cores.
3460 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3461 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3462 cores.
3463
e6b6bf09
RO
34642015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3465
3466 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3467 value.
3468 * config/ia64/crtend.S: Likewise.
3469
a153644f
TS
34702015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3471
3472 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3473 __CHAR_BIT__ instead of BITS_PER_UNIT.
3474 * fixed-bit.h: Likewise.
3475 * fp-bit.h: Likewise.
3476 * libgcc2.c (__popcountSI2): Likewise.
3477 (__popcountDI2): Likewise.
3478 * libgcc2.h: Likewise.
3479 * libgcov.h: Likewise.
3480
3dee689d
DE
34812015-11-07 David Edelsohn <dje.gcc@gmail.com>
3482
3483 * config/rs6000/atexit.c: New file.
3484 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3485 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3486 * config/rs6000/cxa_finalize.c
3487 (catomic_compare_and_exchange_bool_acq): Negate return value.
3488
2ef543e4
VK
34892015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3490
3491 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3492 (processor_subtypes): Add znver1.
3493 (get_amd_cpu): Detect znver1.
3494
1300f017
CL
34952015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3496
3497 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3498 Include crtfastmath.o.
3499
3e5bb7ee
JR
35002015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3501
3502 PR libgcc/66883
3503 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3504
793aa938
KP
35052015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3506
3507 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3508 * config/rl78/divmodsi.S: Update return register to r8.
3509 * config/rl78/divmodhi.S: Update return register to r8,r9.
3510 Branch to main_loop_done_himode to pop registers before return.
3511
7d296953 35122015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3513
3514 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3515 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3516
6a192b5a
KY
35172015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3518
3519 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3520
4a0a9457
MF
35212015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3522
3523 * config.host (xtensa*-*-uclinux*): New configuration.
3524
ab91c076
KY
35252015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3526
385c7747 3527 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3528 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3529
30954527
JM
35302015-09-28 Joseph Myers <joseph@codesourcery.com>
3531
3532 * soft-fp/adddf3.c: Update from glibc.
3533 * soft-fp/addsf3.c: Likewise.
3534 * soft-fp/addtf3.c: Likewise.
3535 * soft-fp/divdf3.c: Likewise.
3536 * soft-fp/divsf3.c: Likewise.
3537 * soft-fp/divtf3.c: Likewise.
3538 * soft-fp/double.h: Likewise.
3539 * soft-fp/eqdf2.c: Likewise.
3540 * soft-fp/eqsf2.c: Likewise.
3541 * soft-fp/eqtf2.c: Likewise.
3542 * soft-fp/extenddftf2.c: Likewise.
3543 * soft-fp/extended.h: Likewise.
3544 * soft-fp/extendsfdf2.c: Likewise.
3545 * soft-fp/extendsftf2.c: Likewise.
3546 * soft-fp/extendxftf2.c: Likewise.
3547 * soft-fp/fixdfdi.c: Likewise.
3548 * soft-fp/fixdfsi.c: Likewise.
3549 * soft-fp/fixdfti.c: Likewise.
3550 * soft-fp/fixsfdi.c: Likewise.
3551 * soft-fp/fixsfsi.c: Likewise.
3552 * soft-fp/fixsfti.c: Likewise.
3553 * soft-fp/fixtfdi.c: Likewise.
3554 * soft-fp/fixtfsi.c: Likewise.
3555 * soft-fp/fixtfti.c: Likewise.
3556 * soft-fp/fixunsdfdi.c: Likewise.
3557 * soft-fp/fixunsdfsi.c: Likewise.
3558 * soft-fp/fixunsdfti.c: Likewise.
3559 * soft-fp/fixunssfdi.c: Likewise.
3560 * soft-fp/fixunssfsi.c: Likewise.
3561 * soft-fp/fixunssfti.c: Likewise.
3562 * soft-fp/fixunstfdi.c: Likewise.
3563 * soft-fp/fixunstfsi.c: Likewise.
3564 * soft-fp/fixunstfti.c: Likewise.
3565 * soft-fp/floatdidf.c: Likewise.
3566 * soft-fp/floatdisf.c: Likewise.
3567 * soft-fp/floatditf.c: Likewise.
3568 * soft-fp/floatsidf.c: Likewise.
3569 * soft-fp/floatsisf.c: Likewise.
3570 * soft-fp/floatsitf.c: Likewise.
3571 * soft-fp/floattidf.c: Likewise.
3572 * soft-fp/floattisf.c: Likewise.
3573 * soft-fp/floattitf.c: Likewise.
3574 * soft-fp/floatundidf.c: Likewise.
3575 * soft-fp/floatundisf.c: Likewise.
3576 * soft-fp/floatunditf.c: Likewise.
3577 * soft-fp/floatunsidf.c: Likewise.
3578 * soft-fp/floatunsisf.c: Likewise.
3579 * soft-fp/floatunsitf.c: Likewise.
3580 * soft-fp/floatuntidf.c: Likewise.
3581 * soft-fp/floatuntisf.c: Likewise.
3582 * soft-fp/floatuntitf.c: Likewise.
3583 * soft-fp/gedf2.c: Likewise.
3584 * soft-fp/gesf2.c: Likewise.
3585 * soft-fp/getf2.c: Likewise.
3586 * soft-fp/ledf2.c: Likewise.
3587 * soft-fp/lesf2.c: Likewise.
3588 * soft-fp/letf2.c: Likewise.
3589 * soft-fp/muldf3.c: Likewise.
3590 * soft-fp/mulsf3.c: Likewise.
3591 * soft-fp/multf3.c: Likewise.
3592 * soft-fp/negdf2.c: Likewise.
3593 * soft-fp/negsf2.c: Likewise.
3594 * soft-fp/negtf2.c: Likewise.
3595 * soft-fp/op-1.h: Likewise.
3596 * soft-fp/op-2.h: Likewise.
3597 * soft-fp/op-4.h: Likewise.
3598 * soft-fp/op-8.h: Likewise.
3599 * soft-fp/op-common.h: Likewise.
3600 * soft-fp/quad.h: Likewise.
3601 * soft-fp/single.h: Likewise.
3602 * soft-fp/soft-fp.h: Likewise.
3603 * soft-fp/subdf3.c: Likewise.
3604 * soft-fp/subsf3.c: Likewise.
3605 * soft-fp/subtf3.c: Likewise.
3606 * soft-fp/truncdfsf2.c: Likewise.
3607 * soft-fp/trunctfdf2.c: Likewise.
3608 * soft-fp/trunctfsf2.c: Likewise.
3609 * soft-fp/trunctfxf2.c: Likewise.
3610 * soft-fp/unorddf2.c: Likewise.
3611 * soft-fp/unordsf2.c: Likewise.
3612 * soft-fp/unordtf2.c: Likewise.
3613
4dfe21ac
RE
36142015-09-24 Richard Earnshaw <rearnsha@arm.com>
3615
3616 PR libgcc/67624
3617 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3618
df2a1cc4
RO
36192015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3620
3621 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3622 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3623 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3624 messages.
3625 (internal_mcount): Likewise.
3626 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3627 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3628
2d110442
RO
36292015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3630
3631 * configure.ac (libgcc_cv_solaris_crts): New test.
3632 * configure: Regenerate.
3633 * config.in: Regenerate.
3634 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3635 * config/gmon-sol2.c: Rename to ...
3636 * config/sol2/gmon.c: ... this.
3637 Include auto-target.h.
3638 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3639 * config/t-sol2: Rename to ...
3640 * config/sol2/t-sol2: ... this.
3641 (gmon.o): Reflect renaming.
3642 (crtp.o, crtpg.o): New rules.
3643 * config.host (*-*-solaris2*): Reflect renaming.
3644 Use system CRTs if present.
3645 Remove default CRT case.
3646
d572e439
JDA
36472015-09-23 John David Anglin <danglin@gcc.gnu.org>
3648
3649 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3650 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3651 __kernel_cmpxchg2.
3652 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3653 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3654 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3655 (__sync_lock_test_and_set_##WIDTH): Likewise.
3656 (__sync_lock_release_##WIDTH): Likewise.
3657 (__sync_fetch_and_##OP##_4): Change result to match type of
3658 __kernel_cmpxchg.
3659 (__sync_##OP##_and_fetch_4): Likewise.
3660 (__sync_val_compare_and_swap_4): Likewise.
3661 (__sync_bool_compare_and_swap_4): likewise.
3662 (__sync_lock_test_and_set_4): Likewise.
3663 (__sync_lock_release_4): Likewise.
3664 (FETCH_AND_OP_2): Add long long variants.
3665 (OP_AND_FETCH_2): Likewise.
3666 (COMPARE_AND_SWAP_2 ): Likewise.
3667 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3668 (SYNC_LOCK_RELEASE_2): Likewise.
3669 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3670
7d296953 36712015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3672
3673 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3674 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3675 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3676 (get_available_features): Habdle new features.
3677
131314e1
JB
36782015-09-21 James Bowman <james.bowman@ftdichip.com>
3679
3680 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3681 memory layout. Deal correctly with BSS region larger than 32K.
3682 Handle a watchdog reset like a power-on reset. Clean up unused
3683 code.
3684
04218b35
AD
36852015-09-18 Andrew Dixie <andrewd@gentrack.com>
3686 David Edelsohn <dje.gcc@gmail.com>
3687
3688 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3689 * config/rs6000/crtdbase.S: New file.
3690 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3691
c8338173
MF
36922015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3693
3694 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3695 Add support for call0 ABI.
3696
7a84bf71
JDA
36972015-09-13 John David Anglin <danglin@gcc.gnu.org>
3698
3699 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3700
4efab402
SH
37012015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3702
3703 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3704 (__GTHREAD_HAS_COND): Likewise.
3705 (__gthread_t): Likewise.
3706 (__gthread_cond_t): Likewise.
3707 (__gthread_time_t): Likewise.
3708 (__GTHREAD_MUTEX_INIT): Likewise.
3709 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3710 (__GTHREAD_COND_INIT): Likewise.
3711 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3712 (__GTHREAD_TIME_INIT): Likewise.
3713 (__gthread_create): Likewise.
3714 (__gthread_join): Likewise.
3715 (__gthread_detach): Likewise.
3716 (__gthread_equal): Likewise.
3717 (__gthread_self): Likewise.
3718 (__gthread_yield): Likewise.
3719 (__gthread_cond_broadcast): Likewise.
3720 (__gthread_cond_signal): Likewise.
3721 (__gthread_cond_wait): Likewise.
3722 (__gthread_cond_timedwait): Likewise.
3723 (__gthread_cond_wait_recursive): Likewise.
3724 (__gthread_cond_destroy): Likewise.
3725 (rtems_gxx_once): Delete.
3726 (rtems_gxx_key_create): Likewise.
3727 (rtems_gxx_key_delete): Likewise.
3728 (rtems_gxx_getspecific): Likewise.
3729 (rtems_gxx_setspecific): Likewise.
3730 (rtems_gxx_mutex_init): Likewise.
3731 (rtems_gxx_mutex_destroy): Likewise.
3732 (rtems_gxx_mutex_lock): Likewise.
3733 (rtems_gxx_mutex_trylock): Likewise.
3734 (rtems_gxx_mutex_unlock): Likewise.
3735 (rtems_gxx_recursive_mutex_init): Likewise.
3736 (rtems_gxx_recursive_mutex_lock): Likewise.
3737 (rtems_gxx_recursive_mutex_trylock): Likewise.
3738 (rtems_gxx_recursive_mutex_unlock): Likewise.
3739 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3740 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3741 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3742 (__gthread_once): Likewise.
3743 (__gthread_key_create): Likewise.
3744 (__gthread_key_delete): Likewise.
3745 (__gthread_getspecific): Likewise.
3746 (__gthread_setspecific): Likewise.
3747 (__gthread_key_t): Use <pthread.h> type.
3748 (__gthread_once_t): Likewise
3749 (__gthread_mutex_t): Use <sys/lock.h> type.
3750 (__gthread_recursive_mutex_t): Likewise
3751 (__gthread_mutex_lock): Use <sys/lock.h> function.
3752 (__gthread_mutex_trylock): Likewise.
3753 (__gthread_mutex_timedlock): Likewise.
3754 (__gthread_mutex_unlock): Likewise.
3755 (__gthread_mutex_destroy): Likewise.
3756 (__gthread_recursive_mutex_lock): Likewise.
3757 (__gthread_recursive_mutex_trylock): Likewise.
3758 (__gthread_recursive_mutex_timedlock): Likewise.
3759 (__gthread_recursive_mutex_unlock): Likewise.
3760 (__gthread_recursive_mutex_destroy): Likewise.
3761
991995c4
MF
37622015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3763
3764 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3765 context->sp instead of context->cfa.
3766
0e19db59
MF
37672015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3768
3769 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3770 with unwind-dw2-fde-dip.
3771
b6ac5f62
MF
37722015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3773
3774 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3775 CALL12 followed by series of ENTRY to spill windowed registers.
3776 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3777 instead of making linux spill syscall.
3778
3e0f3349
YR
37792015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3780
3781 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3782 (get_intel_cpu): Likewise.
3783
51c728b1
L
37842015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3785
3786 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3787 (get_intel_cpu): Add Knights Landing support.
3788
aff4eeac
UB
37892015-08-11 Uros Bizjak <ubizjak@gmail.com>
3790
3791 PR target/66954
3792 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3793 (get_available_features): Handle FEATURE_PCLMUL.
3794
736e56da
L
37952015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3796
3797 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3798 Broadwell.
3799
54d22142
UB
38002015-07-22 Uros Bizjak <ubizjak@gmail.com>
3801
3802 PR target/66954
3803 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3804 (get_available_features): Handle FEATURE_AES.
3805
20ca17e4
CLT
38062015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3807
3808 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3809 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3810
ebe4a560
NS
38112015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3812
3813 * offloadstuff.c: Constify host data.
3814
180744c0
JB
38152015-07-17 Jan Beulich <jbeulich@suse.com>
3816
3817 * config/t-softfp: Split up "else ifneq".
3818
a03c6ae3
SL
38192015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3820 Cesar Philippidis <cesar@codesourcery.com>
3821 Chung-Lin Tang <cltang@codesourcery.com>
3822
3823 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3824 for __nios2_arch__ level.
3825
73358db5
JM
38262015-07-13 John Marino <gnugcc@marino.st>
3827
3828 * config/i386/t-dragonfly: New.
3829
f9a12f7b
JDA
38302015-07-01 John David Anglin <danglin@gcc.gnu.org>
3831
3832 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3833 better match light-weight syscall argument order.
3834 (__kernel_cmpxchg2): Likewise.
3835 Adjust callers.
3836
cb78b51c
L
38372015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3838
3839 * config.host: Support i[34567]86-*-elfiamcu target.
3840 * config/t-softfp-sfdftf: New file.
3841 * config/i386/32/t-iamcu: Likewise.
3842 * configure: Regenerated.
3843
4fa0f9ea
JL
38442015-06-23 James Lemke <jwlemke@codesourcery.com>
3845
3846 libgcc/config/arm/
3847 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3848
428b3812
L
38492015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3850
3851 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3852
7d296953 38532015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3854
3855 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3856 md_unwind_header
3857 * config/i386/freebsd-unwind.h: New.
3858
9b789cc1
UB
38592015-05-22 Uros Bizjak <ubizjak@gmail.com>
3860
3861 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3862 i386/t-crtfm to tmake_file.
3863 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3864 (set_fast_math): Use set_fast_math_sse for SSE targets.
3865 * config/i386/t-crtfm: Remove.
3866
3dafb220
AM
38672015-05-21 Alan Modra <amodra@gmail.com>
3868
3869 PR libgcc/66225
3870 * config/rs6000/morestack.S: Remove ".abiversion 1".
3871
0f0fd745
AM
38722015-05-20 Alan Modra <amodra@gmail.com>
3873
3874 * config/rs6000/morestack.S: New.
3875 * config/rs6000/t-stack-rs6000: New.
3876 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3877 to tmake_file.
3878 * generic-morestack.c: Don't build for powerpc 32-bit.
3879
515ae71b
EB
38802015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3881
3882 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3883 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3884
36805406
JL
38852015-05-16 James Bowman <james.bowman@ftdichip.com>
3886
3887 * config.host: FT32 target added.
3888 * config/ft32/*: New files for FT32 target.
3889
ff935d0c
MG
38902015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3891
385c7747
UB
3892 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3893 New macros.
3894 * config/arm/ieee754-df.S: Add CFI directives.
3895 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3896
9b92a9f3
EB
38972015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3898
3899 * configure.ac: Include config/sjlj.m4.
3900 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3901 * config.in: Regenerate.
3902 * configure: Likewise.
3903 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3904
98b5dc61
UB
39052015-05-12 Uros Bizjak <ubizjak@gmail.com>
3906
3907 * libgcov-util.c: Add space between string literal and macro name.
3908
5a0ff57c
SL
39092015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3910 Chris Jones <chrisj@nvidia.com>
3911 Joshua Conner <jconner@nvidia.com>
3912
3913 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3914 (arm*-*-uclinux*): Likewise.
3915 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3916 * config/arm/crtfastmath.c: New file.
3917
d28ad5d4
BS
39182014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3919
3920 * Makefile.in (real_host_noncanonical): New variable.
3921 (libsubdir): Use it.
3922 * configure.ac (real_host_noncanonical): Compute. Remove special
3923 case for intelmicemul.
3924 * configure: Regenerate.
3925
cc86234f
UB
39262015-04-28 Uros Bizjak <ubizjak@gmail.com>
3927
3928 * config/frv/elf-lib.h: New file.
3929 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3930 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3931 to tm_file.
3932
39332015-04-28 Uros Bizjak <ubizjak@gmail.com>
3934
3935 * config/frv/frvbengin.c: Do not include defaults.h
3936 * config/frv/frvend.c: Ditto.
3937
2f6bd6eb
YS
39382015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3939
3940 * config.host: Add h8300-*-linux
3941 * config/h8300/t-linux: New file.
3942 * config/h8300/lib1funs.s: Change symbol prefix.
3943 * config/h8300/sfp-machine.h: 64bit double support.
3944
15aa7b44
GR
39452015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3946 Szabolcs Nagy <szabolcs.nagy@arm.com>
3947
3948 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3949 Linux if target provides dl_iterate_phdr.
3950
abd0cdc9
L
39512015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3952
3953 PR target/65612
3954 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3955 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3956 (__cpu_indicator_init@GCC_4.8.0): New.
3957 (__cpu_model@GCC_4.8.0): Likewise.
3958 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3959 -DUSE_ELF_SYMVER.
3960
72ed1126
NC
39612015-04-16 Nick Clifton <nickc@redhat.com>
3962
3963 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3964 and __modhi3 functions.
3965 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3966 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3967
d26b2237
CG
39682015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3969
3970 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3971 do-while loop as macro body to avoid warnings.
3972
cacf1f59
JJ
39732015-04-10 Jakub Jelinek <jakub@redhat.com>
3974 Iain Sandoe <iain@codesourcery.com>
3975
3976 PR target/65351
3977 * configure: Regenerate.
3978
e8a4ed3b
JJ
39792015-04-07 Jakub Jelinek <jakub@redhat.com>
3980 Iain Sandoe <iain@codesourcery.com>
3981
3982 PR target/65351
3983 * configure: Regenerate.
3984
0341335e
CLT
39852015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3986
3987 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3988
590e2636 39892015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3990
590e2636
MF
3991 Implement call0 ABI for xtensa
3992 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3993 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3994 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3995 use ret in call0 ABI.
3996 * config/xtensa/t-windowed: New file.
3997 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3998 * libgcc/configure: Regenerated.
3999 * libgcc/configure.ac: Check if xtensa target is configured for
4000 windowed ABI and thus needs to use custom unwind code.
4001
7727f8f2
JW
40022015-02-12 Jonathan Wakely <jwakely@redhat.com>
4003
4004 PR libgcc/64885
4005 * gthr-single.h: Use __unused__ attribute instead of unused.
4006 * config/gthr-vxworks.h: Likewise.
4007 * config/i386/gthr-win32.h: Likewise.
4008
0e4a0def
KT
40092015-02-27 Kai Tietz <ktietz@redhat.com>
4010
4011 PR target/65038
4012 * config.in: Regenerated.
4013 * configure: Likewise.
4014 * configure.ac (AC_HEADER_STDC): Added explicit.
4015 (AC_CHECK_HEADERS): Check for default headers plus
4016 for ftw.h header.
4017 * libgcov-util.c (gcov_read_profile_dir): Disable use
4018 of ftw-function, if header is not found.
4019 (ftw_read_file): Likewise.
4020
b6530d0a
TS
40212015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4022
4023 PR target/65181
4024 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4025 -Dinhibit_libc.
4026
53cfb467
SL
40272015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4028
4029 * config/arm/bpabi.S (test_div_by_zero): Make label names
4030 consistent between thumb2 and arm mode cases. Separate the
4031 signed comparison on the high word of the numerator from the
4032 unsigned comparison on the low word.
4033 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4034 signed comparison.
4035
77d10a1b
JM
40362015-02-17 Joseph Myers <joseph@codesourcery.com>
4037
4038 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4039 and <string.h>.
4040 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4041
98174188
RE
40422015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4043
4044 PR gcov-profile/61889
471274de 4045 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 4046
771bef14
NC
40472015-02-02 Nick Clifton <nickc@redhat.com>
4048
4049 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4050 rounding up the fraction.
4051
40702893
JDA
40522015-01-31 John David Anglin <danglin@gcc.gnu.org>
4053
4054 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4055 oldval and newval to const void *. Fix typo.
4056 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4057 (FETCH_AND_OP_WORD): Likewise.
4058 (OP_AND_FETCH_WORD): Likewise.
4059 (COMPARE_AND_SWAP_2): Likewise.
4060 (__sync_val_compare_and_swap_4): Likewise.
4061 (__sync_lock_test_and_set_4): Likewise.
4062 (SYNC_LOCK_RELEASE_2): Likewise.
4063 Remove support for long long atomic operations.
4064
f7f049fa
CT
40652015-01-27 Caroline Tice <cmtice@google.com>
4066
4067 Committing VTV Cywin/Ming patch for Patrick Wollgast
4068 * Makefile.in: Move rules to build vtv_*.o out of the check
4069 for CUSTOM_CRTSTUFF.
4070 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4071 i[34567]86-*-mingw*)
4072 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4073 enable_vtable_verify.
4074
8410904a
NC
40752015-01-27 Nick Clifton <nickc@redhat.com>
4076
4077 * config/rl78/cmpsi2.S: Use function start and end macros.
4078 (__gcc_bcmp): New function.
4079 * config/rl78/lshrsi3.S: Use function start and end macros.
4080 * config/rl78/mulsi3.S: Add support for G10.
4081 (__mulqi3): New function for G10.
4082 * config/rl78/signbit.S: Use function start and end macros.
4083 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4084 fpmath-sf.S.
4085 (LIB2FUNCS_EXCLUDE): Define.
4086 (LIB2FUNCS_ST): Define.
4087 * config/rl78/trampoline.S: Use function start and end macros.
4088 * config/rl78/vregs.h (START_FUNC): New macro.
4089 (START_ANOTHER_FUNC): New macro.
4090 (END_FUNC): New macro.
4091 (END_ANOTHER_FUNC): New macro.
4092 * config/rl78/bit-count.S: New file. Contains assembler
4093 implementations of the bit counting functions: ___clzhi2,
4094 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4095 __paritysi2, __popcounthi2 and __popcountsi2.
4096 * config/rl78/fpbit-sf.S: New file. Contains assembler
4097 implementationas of the math functions: __negsf2, __cmpsf2,
4098 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4099 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4100 * config/rl78/fpmath-sf.S: New file. Contains assembler
4101 implementations of the math functions: __subsf3, __addsf3,
4102 __mulsf3 and __divsf3
4103
f962fbf1
RO
41042015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4105
4106 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4107 Add i386/elf-lib.h to tm_file.
4108 * config/i386/elf-lib.h: Fix comment.
4109 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4110 && __sun__ && __svr4__]: Remove workaround.
4111
939911c5
ASJ
41122015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4113
4114 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4115 FEATURE_BMI2.
4116 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4117
c8f2dff2
L
41182015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4119
4120 * config/i386/cpuinfo.c (processor_subtypes): Add
4121 INTEL_COREI7_BROADWELL.
4122 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4123 model numbers.
4124
7bbf9734
UB
41252015-01-23 Uros Bizjak <ubizjak@gmail.com>
4126
4127 * config/i386/elf-lib.h: New file.
4128 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4129 Wrap definition in #ifdef __i386__.
4130 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4131 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4132 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4133 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4134 to tm_file.
4135
324820f1
CG
41362015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4137
4138 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4139 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4140
a9ce4e4a
CLT
41412015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4142
4143 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4144 Update rt_sigframe format and address for current Nios II
4145 Linux conventions.
4146
82a19768
AT
41472015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4148
4149 * config.host (arm*-*-freebsd*): Add new configuration for
4150 arm*-*-freebsd*.
4151 * config/arm/freebsd-atomic.c: New file.
4152 * config/arm/t-freebsd: Likewise.
4153 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4154 'PC-relative indirect' OS's.
4155
0969ec7d
EB
41562015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4157
4158 * config.host: Add Visium support.
4159 * config/visium: New directory.
4160
5624e564
JJ
41612015-01-05 Jakub Jelinek <jakub@redhat.com>
4162
4163 Update copyright years.
4164
82f84ecb
MF
41652014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4166
4167 * config.host: Support mipsisa32r6 and mipsisa64r6.
4168 * config/mips/mips16.S: Do not build for R6.
4169
69044fa9
OE
41702014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4171
4172 * config/sh/crt.h: New.
4173 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4174 symbols.
4175 * config/sh/crt1.S: Likewise.
4176
2405e0ea
UB
41772014-12-15 Uros Bizjak <ubizjak@gmail.com>
4178
4179 PR libgcc/63832
4180 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4181 func_ptr *dtor_list temporary variable to avoid "array subscript
4182 is above array bounds" warnings.
4183
7d296953 41842014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4185
4186 * Makefile.in (with_aix_soname): Define.
4187 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4188 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4189 * configure: Recreate.
4190
a66272f6
OH
41912014-12-05 Olivier Hainque <hainque@adacore.com>
4192
4193 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4194 now provided by defaults.h.
4195
6342b2c5
OE
41962014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4197
7d0ee249 4198 PR target/55351
6342b2c5
OE
4199 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4200 whether it's defined.
4201
c17eac85
IT
42022014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4203
4204 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4205 * config/i386/cpuinfo.c (get_available_features): Detect it.
4206
1025cb6c
TW
42072014-11-27 Tony Wang <tony.wang@arm.com>
4208
4209 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4210 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4211 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4212
d19f2e38
SB
42132014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4214
4215 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4216
17f6e9a3
JDA
42172014-11-24 John David Anglin <danglin@gcc.gnu.org>
4218
4219 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4220 instead.
4221
0cd7c672
GM
42222014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4223 John David Anglin <danglin@gcc.gnu.org>
4224
4225 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4226 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4227 (OP_AND_FETCH_2): Likewise.
4228 (COMPARE_AND_SWAP_2): Likewise.
4229 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4230 (SYNC_LOCK_RELEASE_2): Likewise.
4231 (SUBWORD_SYNC_OP): Remove.
4232 (SUBWORD_VAL_CAS): Likewise.
4233 (SUBWORD_BOOL_CAS): Likewise.
4234 (FETCH_AND_OP_WORD): Update.
4235 Consistently use signed types.
cc86234f 4236
85c64bbe
BS
42372014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4238 Thomas Schwinge <thomas@codesourcery.com>
4239 Ilya Verbin <ilya.verbin@intel.com>
4240 Andrey Turetskiy <andrey.turetskiy@intel.com>
4241
4242 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4243 (crtoffloadend$(objext)): Likewise.
4244 * configure: Regenerate.
4245 * configure.ac (accel_dir_suffix): Compute new variable.
4246 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4247 if enable_offload_targets is not empty.
4248 * offloadstuff.c: New file.
4249
52a1ff8b
NC
42502014-11-13 Nick Clifton <nickc@redhat.com>
4251
4252 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4253 Use START_FUNC and END_FUNC macros to enable linker garbage
4254 collection.
4255 * config/rl78/divmodqi.S: Likewise.
4256 * config/rl78/divmodsi.S: Likewise.
4257 * config/rl78/mulsi3.S: Likewise.
4258 * config/rl78/lib2div.c: Remove G10 functions.
4259 * config/rl78/lib2muls.c: Likewise.
4260 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4261 * config/rl78/vregs.h (START_FUNC): New macro.
4262 (END_FUNC): New macro.
4263
050af144
MF
42642014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4265
4266 * config/mips/mips16.S: Set .module when supported. Update O32
4267 FP64 calling convention and use for FPXX when possible. Add FPXX
4268 calling convention fallback case.
4269
738f2522
BS
42702014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4271
4272 * config.host: Handle nvptx-*-*.
4273 * shared-object.mk (as-flags-$o): Define.
4274 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4275 -xassembler-with-cpp.
4276 * static-object.mk: Identical changes.
4277 * config/nvptx/t-nvptx: New file.
4278 * config/nvptx/crt0.s: New file.
4279 * config/nvptx/free.asm: New file.
4280 * config/nvptx/malloc.asm: New file.
4281 * config/nvptx/realloc.c: New file.
4282
e610393c
JM
42832014-10-30 Joseph Myers <joseph@codesourcery.com>
4284
4285 * Makefile.in (libgcc.map.in): New target.
4286 (libgcc.map): Use libgcc.map.in.
4287 * config/t-softfp (softfp_compat): New variable to be set by
4288 users.
4289 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4290 variables.
4291 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4292 directory.
4293 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4294 that use compat symbols and disable all code unless [SHARED].
4295 * config/t-softfp-compat: New file.
4296 * find-symver.awk: New file.
4297 * configure.ac (--with-glibc-version): New configure option.
4298 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4299 * configure: Regenerate.
4300 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4301 soft-float and e500.
4302
bc1b3a88
JM
43032014-10-29 Joseph Myers <joseph@codesourcery.com>
4304
4305 * config/t-hardfp (hardfp_exclusions): Document new variable for
4306 user to define.
4307 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4308 * config/t-softfp (softfp_extras): Document new variable for user
4309 to define.
4310 (softfp_func_list): Add functions from $(softfp_extras).
4311 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4312 * config.host (powerpc*-*-linux*): For e500v1, use
4313 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4314 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4315 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4316
ef2810c1
JDA
43172014-10-26 John David Anglin <danglin@gcc.gnu.org>
4318
4319 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4320 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4321 memory read accesses are ok.
4322
d80c2bea
JM
43232014-10-25 Joseph Myers <joseph@codesourcery.com>
4324
4325 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4326 * configure: Regenerate.
4327 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4328 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4329 of soft-fp for 32-bit classic hard float. Do not use
4330 t-softfp-excl for soft float.
4331
693b297b
JM
43322014-10-22 Joseph Myers <joseph@codesourcery.com>
4333
4334 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4335 configurations.
4336 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4337 Remove variables.
4338
18a3415e
GJL
43392014-10-22 Georg-Johann Lay <avr@gjlay.de>
4340
4341 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4342 introduced with 2014-10-21 trunk r216525.
4343
c1dd9790 43442014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4345 Vidya Praveen <vidya.praveen@atmel.com>
4346 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4347 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4348 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4349
4350 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4351 order.
4352
4353 Updated library functions for AVRTINY arch.
4354 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4355 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4356 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4357 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4358 wsubi/wadi macors.
4359 (__mulsi3_helper): Update stack, preserve callee saved regs and
4360 argument from stack. Restore callee save registers.
4361 (__mulpsi3): Likewise.
4362 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4363 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4364 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4365 AVRTINY.
4366 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4367 (__do_copy_data): Added new definition for AVRTINY.
4368 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4369 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4370 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4371 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4372 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4373 macors.
18a3415e 4374 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4375 AVRTINY.
4376
18a3415e 4377 Fix broken long multiplication on tiny arch.
c1dd9790 4378
5f606431
JM
43792014-10-09 Joseph Myers <joseph@codesourcery.com>
4380
4381 * soft-fp/double.h: Update from glibc.
4382 * soft-fp/eqdf2.c: Likewise.
4383 * soft-fp/eqsf2.c: Likewise.
4384 * soft-fp/eqtf2.c: Likewise.
4385 * soft-fp/extenddftf2.c: Likewise.
4386 * soft-fp/extended.h: Likewise.
4387 * soft-fp/extendsfdf2.c: Likewise.
4388 * soft-fp/extendsftf2.c: Likewise.
4389 * soft-fp/extendxftf2.c: Likewise.
4390 * soft-fp/gedf2.c: Likewise.
4391 * soft-fp/gesf2.c: Likewise.
4392 * soft-fp/getf2.c: Likewise.
4393 * soft-fp/ledf2.c: Likewise.
4394 * soft-fp/lesf2.c: Likewise.
4395 * soft-fp/letf2.c: Likewise.
4396 * soft-fp/op-1.h: Likewise.
4397 * soft-fp/op-2.h: Likewise.
4398 * soft-fp/op-4.h: Likewise.
4399 * soft-fp/op-8.h: Likewise.
4400 * soft-fp/op-common.h: Likewise.
4401 * soft-fp/quad.h: Likewise.
4402 * soft-fp/single.h: Likewise.
4403 * soft-fp/soft-fp.h: Likewise.
4404 * soft-fp/unorddf2.c: Likewise.
4405 * soft-fp/unordsf2.c: Likewise.
4406 * soft-fp/unordtf2.c: Likewise.
4407 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4408 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4409 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4410 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4411 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4412 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4413 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4414 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4415 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4416 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4417
9b84e7a8
RX
44182014-10-08 Rong Xu <xur@google.com>
4419
4420 * libgcov-util.c (read_gcda_file): Fix format.
4421 (find_match_gcov_info): Ditto.
4422 (calculate_2_entries): New.
4423 (compute_one_gcov): Ditto.
4424 (gcov_info_count_all_cold): Ditto.
4425 (gcov_info_count_all_zero): Ditto.
4426 (extract_file_basename): Ditto.
4427 (get_file_basename): Ditto.
4428 (set_flag): Ditto.
4429 (matched_gcov_info): Ditto.
4430 (calculate_overlap): Ditto.
4431 (gcov_profile_overlap): Ditto.
4432 * libgcov-driver.c (compute_summary): Make
4433 it avavilable for external calls.
4434
fe1090c1
RX
44352014-10-06 Rong Xu <xur@google.com>
4436
4437 * Makefile.in: Ditto.
4438 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4439 (gcov_sort_icall_topn_counter): Ditto.
4440 (gcov_sort_topn_counter_arrays): Ditto.
4441 (dump_one_gcov): Sort indirect_call topn counters.
4442 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4443 function.
4444 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4445 utility function.
4446 (__gcov_indirect_call_topn_profiler): New profiler function.
4447 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4448 * libgcov.h: New decls.
4449
3daa7bbf
TS
44502014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4451
4452 * config.host: Remove support for score-*.
4453
9a79452d
JM
44542014-09-22 Joseph Myers <joseph@codesourcery.com>
4455
4456 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4457 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4458 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4459 __LIBGCC_XF_MANT_DIG__.
4460 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4461 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4462 __LIBGCC_TF_MANT_DIG__.
4463 * libgcc2.c (NOTRUNC): Define in terms of
4464 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4465 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4466
1a849e50
JM
44672014-09-22 Joseph Myers <joseph@codesourcery.com>
4468
4469 PR target/63312
4470 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4471 New macros.
4472
598a1586
HPN
44732014-09-22 Hans-Peter Nilsson <hp@axis.com>
4474
4475 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4476 override USE_PT_GNU_EH_FRAME.
4477 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4478 check USE_EH_FRAME_REGISTRY_ALWAYS against
4479 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4480 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4481 variable for substituted force_explicit_eh_registry.
4482 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4483 * configure.ac (explicit-exception-frame-registration):
4484 New AC_ARG_ENABLE.
4485 * configure: Regenerate.
4486
3a8fe7c6
OH
44872014-09-19 Olivier Hainque <hainque@adacore.com>
4488
4489 * config.host (powerpc-wrs-vxworksmils): New configuration,
4490 same as vxworksae.
4491
dd69f047
JM
44922014-09-18 Joseph Myers <joseph@codesourcery.com>
4493
4494 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4495
e770bfd9
JM
44962014-09-18 Joseph Myers <joseph@codesourcery.com>
4497
4498 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4499 bits not set bits as indicating trapping exceptions.
4500
cadb2b96
NS
45012014-09-17 Nathan sidwell <nathan@acm.org>
4502
4503 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4504 (LIBGCOV_DRIVER): ... here.
4505 * libgcov-driver.c (gcov_master): New.
4506 (gcov_exit): Remove from master chain.
4507 (__gcov_init): Add to master chain if version compatible. Don't
4508 clear the version.
4509 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4510 (gcov_reset_int): Clear master chain, if compatible.
4511 (gcov_dump_int): New internal interface. Dump master chain, if
4512 compatible.
4513 (gcov_dump): Alias for gcov_dump_int.
4514 * libgcov.h (struct gcov_root): Add next and prev fields.
4515 (struct gcov_master): New struct.
4516 (__gcov_master): New.
4517 (gcov_dump_int): Declare.
4518
580d22a3
OH
45192014-09-17 Olivier Hainque <hainque@adacore.com>
4520
4521 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4522 and crtbegin.o + crtend.o to extra_parts.
4523
8cc4b7a2
JM
45242014-09-12 Joseph Myers <joseph@codesourcery.com>
4525
4526 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4527 __LIBGCC_HAS_SF_MODE__.
4528 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4529 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4530 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4531 * config/libbid/bid_gcc_intrinsics.h
4532 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4533 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4534 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4535 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4536 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4537 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4538
ea3f2b24
GJL
45392014-09-11 Georg-Johann Lay <avr@gjlay.de>
4540
4541 PR target/63223
4542 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4543 and R24 as needed. Make work for all devices and .text locations.
4544 (__do_global_ctors, __do_global_dtors): Use word addresses.
4545 (__tablejump__, __tablejump_elpm__): Remove functions.
4546 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4547 Add _tablejump2.
4548 (XICALL, XIJMP): New macros.
4549
b677236a
MS
45502014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4551 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4552
4553 * config.host (aarch64*): Include crtfastmath.o and
4554 t-crtfm.
4555 * config/aarch64/crtfastmath.c: New file.
4556
157e859f
TS
45572014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4558
4559 * config.host: Remove picochip support.
4560 * config/picochip/adddi3.S: Remove.
4561 * config/picochip/ashlsi3.S: Remove.
4562 * config/picochip/ashlsi3.c: Remove.
4563 * config/picochip/ashrsi3.S: Remove.
4564 * config/picochip/ashrsi3.c: Remove.
4565 * config/picochip/clzsi2.S: Remove.
4566 * config/picochip/cmpsi2.S: Remove.
4567 * config/picochip/divmod15.S: Remove.
4568 * config/picochip/divmodhi4.S: Remove.
4569 * config/picochip/divmodsi4.S: Remove.
4570 * config/picochip/lib1funcs.S: Remove.
4571 * config/picochip/longjmp.S: Remove.
4572 * config/picochip/lshrsi3.S: Remove.
4573 * config/picochip/lshrsi3.c: Remove.
4574 * config/picochip/parityhi2.S: Remove.
4575 * config/picochip/popcounthi2.S: Remove.
4576 * config/picochip/setjmp.S: Remove.
4577 * config/picochip/subdi3.S: Remove.
4578 * config/picochip/t-picochip: Remove.
4579 * config/picochip/ucmpsi2.S: Remove.
4580 * config/picochip/udivmodhi4.S: Remove.
4581 * config/picochip/udivmodsi4.S: Remove.
4582
66bb34c0
JM
45832014-09-08 Joseph Myers <joseph@codesourcery.com>
4584
4585 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4586 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4587 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4588 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4589 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4590 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4591 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4592 defined and LIBGCC2_HAS_DF_MODE is defined.
4593 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4594 defined and LIBGCC2_HAS_XF_MODE is defined.
4595 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4596 defined and LIBGCC2_HAS_TF_MODE is defined.
4597
9686a2e6
JM
45982014-09-08 Joseph Myers <joseph@codesourcery.com>
4599
4600 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4601 and ROUND_TOWARDS_ZERO conditionals.
4602
71c3e2ef
NS
46032014-09-07 Nathan sidwell <nathan@acm.org>
4604
4605 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4606 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4607
53d68b9f
JM
46082014-09-05 Joseph Myers <joseph@codesourcery.com>
4609
4610 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4611 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4612 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4613 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4614 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4615 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4616 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4617 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4618 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4619 (DWARF_FRAME_REGISTERS): Change all uses to
4620 __LIBGCC_DWARF_FRAME_REGISTERS__.
4621 (EH_RETURN_STACKADJ_RTX): Change all uses to
4622 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4623 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4624 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4625 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4626 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4627 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4628 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4629 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4630 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4631 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4632 __LIBGCC_STACK_POINTER_REGNUM__.
4633 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4634 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4635 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4636 to __LIBGCC_STACK_POINTER_REGNUM__.
4637 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4638 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4639 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4640 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4641 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4642 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4643 (STACK_POINTER_REGNUM): Change all uses to
4644 __LIBGCC_STACK_POINTER_REGNUM__.
4645 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4646 use to __LIBGCC_STACK_POINTER_REGNUM__.
4647 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4648 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4649 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4650 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4651 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4652 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4653 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4654 to __LIBGCC_STACK_POINTER_REGNUM__.
4655 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4656 Remove conditional definition.
4657 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4658 __LIBGCC_TEXT_SECTION_ASM_OP__.
4659 (EH_FRAME_SECTION_NAME): Change all uses to
4660 __LIBGCC_EH_FRAME_SECTION_NAME__.
4661 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4662 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4663 (CTORS_SECTION_ASM_OP): Change all uses to
4664 __LIBGCC_CTORS_SECTION_ASM_OP__.
4665 (DTORS_SECTION_ASM_OP): Change all uses to
4666 __LIBGCC_DTORS_SECTION_ASM_OP__.
4667 (JCR_SECTION_NAME): Change all uses to
4668 __LIBGCC_JCR_SECTION_NAME__.
4669 (INIT_SECTION_ASM_OP): Change all uses to
4670 __LIBGCC_INIT_SECTION_ASM_OP__.
4671 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4672 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4673 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4674 __LIBGCC_STACK_GROWS_DOWNWARD__.
4675 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4676 __LIBGCC_INIT_SECTION_ASM_OP__.
4677 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4678 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4679 (EH_FRAME_SECTION_NAME): Change all uses to
4680 __LIBGCC_EH_FRAME_SECTION_NAME__.
4681 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4682 definitions. Change all uses to
4683 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4684 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4685 __LIBGCC_STACK_GROWS_DOWNWARD__.
4686 (DWARF_FRAME_REGISTERS): Change all uses to
4687 __LIBGCC_DWARF_FRAME_REGISTERS__.
4688 (EH_RETURN_STACKADJ_RTX): Change all uses to
4689 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4690 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4691 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4692 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4693 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4694 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4695
b20ee094
NS
46962014-09-02 Nathan sidwell <nathan@acm.org>
4697
4698 * libgcov-interface.c (STRONG_ALIAS): New.
4699 (__gcov_flush): Call __gcov_reset_int.
4700 (__gcov_reset): Strong alias for ...
4701 (__gcov_reset_ing): ... this renamed hidden version.
4702 * libgcov.h (__gcov_reset_int): New declaration.
4703
1ac83976
YS
47042014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4705
25efdb9f
YS
4706 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4707 call from here...
4708 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4709 (__dso_handle): Define on Cygwin.
4710 * config/i386/t-cygming (crtbeginS.o): New rule.
4711 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4712
1ac83976
YS
4713 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4714 declaration syntax.
4715
c6f9ea3b
SE
47162014-08-13 Steve Ellcey <sellcey@mips.com>
4717
4718 * crtstuff.c: Undef caddr_t.
4719
5b1ea7c5
SE
47202014-08-12 Steve Ellcey <sellcey@mips.com>
4721
4722 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4723
4303c581
NS
47242014-08-07 Nathan Sidwell <nathan@acm.org>
4725
4726 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4727 (LIBGCOV_DRIVER): ... to here.
4728 * libgcov.h (gcov_do_dump): New #define.
4729 (struct gcov_root): New.
4730 (__gcov_root): New declaration.
4731 (__gcov_dump_one): Declare.
4732 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4733 run_accounted): Delete.
4734 (gcov_compute_histogram): Add LIST argument, adjust.
4735 (compute_summary): Adjust gcov_compute_histogram call.
4736 (gcov_do_dump): Not hidden, static in libgcov.
4737 (gcov_clear): Move to interface.c.
4738 (__gcov_dump_one): New, broken out of ...
4739 (gcov_exit): ... here. Make static.
4740 (__gcov_root): New.
4741 (__gcov_init): Adjust.
4742 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4743 declarations.
4744 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4745 (gcov_clear): Moved from driver.c. Add LIST argument.
4746 (__gcov_reset): Adjust for changed interfaces.
4747 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4748
23742a9e
RAR
47492014-08-04 Rohit <rohitarulraj@freescale.com>
4750
4751 PR target/60102
4752 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4753 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4754
b98a872b
NS
47552014-08-01 Nathan Sidwell <nathan@acm.org>
4756
4757 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4758 LIBGCOV_INTERFACE): Reformat.
4759 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4760 IN_GCOV_TOOL.
4761 * libgcov-interface.c: Reformat some comments.
4762 (__gcov_flush_mx): Add declaration. Tidy up definition.
4763
6adaaa1d
AM
47642014-07-31 Alan Modra <amodra@gmail.com>
4765 Peter Bergner <bergner@vnet.ibm.com>
4766
4767 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4768 (pack_ldouble): New function.
4769 (__gcc_qadd): Use it.
4770 (__gcc_qmul): Likewise.
4771 (__gcc_qdiv): Likewise.
4772 (__gcc_qneg): Likewise.
4773 (__gcc_stoq): Likewise.
4774 (__gcc_dtoq): Likewise.
4775
87cb0c0c
UW
47762014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4777
4778 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4779 (__tpf_eh_return): Add original return address as second parameter.
4780 Handle cases where unwinder routines were called directly, instead
4781 of from within the C++ library.
4782
19926161
NS
47832014-07-29 Nathan Sidwell <nathan@acm.org>
4784
4785 * libgcov.h: Move renaming of entry points to lib gcov specific
4786 portion.
4787 (gcov_do_dump): New rename.
4788 (gcov_rewrite): Remove inline, make HIDDEN.
4789 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4790 (gcov_exit_compute_summary): Rename to ...
4791 (compute_summary): ... here. Add LIST argument.
4792 (gcov_exit_merge_gcda): Rename to ...
4793 (merge_one_data): ... here.
4794 (gcov_exit_write_gcda): Rename to ...
4795 (write_one_data): ... here.
4796 (gcov_exit_merge_summary): Rename to ...
4797 (merge_summary): Add RUN_COUNTED argument.
4798 (gcov_exit_dump_gcov): Rename to ...
4799 (dump_one_gcov): Add RUN_COUNTED argument.
4800 (gcov_do_dump): New function, broken out of ...
4801 (gcov_exit): ... here. Call it.
4802
17522262
AG
48032014-07-27 Anthony Green <green@moxielogic.com>
4804
4805 * config.host: Add moxiebox configuration suppport.
4806
6dc33097
NS
48072014-07-27 Nathan Sidwell <nathan@acm.org>
4808
4809 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4810 (struct gcov_filename): ... here. Include buffer and max length
4811 fields.
4812 (gcov_max_filename): Remove.
4813 (gi_filename): Remove.
4814 (gcov_exit_compute_summary): Compute max filename here.
4815 (gcov_exit_merge_gcda): Add filename parm, adjust.
4816 (gcov_exit_merge_summary): Likewise.
4817 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4818 (gcov_exit): Likewise.
4819 (__gcov_init): Don't calculate max length here.
4820 * libgcov_util.c (max_filename_len): Remove.
4821 (read_gcda_file): Don't calculate max length here.
4822 (gcov_read_profile_dir): Don't propagate here.
4823 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4824 struct gcov_filename changes.
4825 (gcov_exit_open_gcda_file): Likewise.
4826
770f687d
NS
48272014-07-25 Nathan Sidwell <nathan@acm.org>
4828
4829 * libgcov-driver.c (set_gcov_dump_complete,
4830 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4831 functions polluting user's namespace.
4832 (gcov_exit): Set variable directly.
4833 (gcov_clear): Reset variable directly.
4834 * libgcov-interface.c (get_gcov_dymp_complete,
4835 reset_gov_dump_complete): Remove declarations.
4836 (__gcov_reset, __gcov_dump): Don't call them.
4837
fabf71ba
DD
48382014-07-24 DJ Delorie <dj@redhat.com>
4839
4840 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4841 (__gcc_deregister_frame): Move logic to detect deregister function
4842 to ...
4843 (__gcc_register_frame): here, so it's consistent with the register
4844 logic.
fabf71ba 4845
d10ee722
NS
48462014-07-23 Nathan Sidwell <nathan@acm.org>
4847
4848 * libgcov-driver.c (set_gcov_list): Remove.
4849 (gcov_list): Make non-static in GCOV_TOOL.
4850 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4851
a4137090
JDA
48522014-07-17 John David Anglin <danglin@gcc.gnu.org>
4853
4854 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4855 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4856 Don't use SYNC_LOCK_RELEASE for int type.
4857
72602c6c
RB
48582014-07-14 Richard Biener <rguenther@suse.de>
4859
4860 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4861
d5313205
RX
48622014-07-11 Rong Xu <xur@google.com>
4863
4864 * libgcov-util.c (gcov_max_filename): Fix declartion.
4865
c77556a5
RX
48662014-07-10 Rong Xu <xur@google.com>
4867
4868 Add gcov-tool: an offline gcda profile processing tool
4869 Support.
4870 * libgcov-driver.c (gcov_max_filename): Make available
4871 to gcov-tool.
4872 * libgcov-merge.c (__gcov_merge_add): Replace
4873 gcov_read_counter() with a Macro.
4874 (__gcov_merge_ior): Ditto.
4875 (__gcov_merge_time_profile): Ditto.
4876 (__gcov_merge_single): Ditto.
4877 (__gcov_merge_delta): Ditto.
4878 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4879 in the utility functions.
4880 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4881 gcov_list object link lists.
4882 (tag_function): Ditto.
4883 (tag_blocks): Ditto.
4884 (tag_arcs): Ditto.
4885 (tag_lines): Ditto.
4886 (tag_counters): Ditto.
4887 (tag_summary): Ditto.
4888 (read_gcda_finalize): Ditto.
4889 (read_gcda_file): Ditto.
4890 (ftw_read_file): Ditto.
4891 (read_profile_dir_init): Ditto.
4892 (gcov_read_profile_dir): Ditto.
4893 (gcov_read_counter_mem): Ditto.
4894 (gcov_get_merge_weight): Ditto.
4895 (merge_wrapper): A wrapper function that calls merging handler.
4896 (gcov_merge): Merge two gcov_info objects with weights.
4897 (find_match_gcov_info): Find the matched gcov_info in the list.
4898 (gcov_profile_merge): Merge two gcov_info object lists.
4899 (__gcov_add_counter_op): Process edge profile counter values.
4900 (__gcov_ior_counter_op): Process IOR profile counter values.
4901 (__gcov_delta_counter_op): Process delta profile counter values.
4902 (__gcov_single_counter_op): Process single profile counter values.
4903 (fp_scale): Callback function for float-point scaling.
cc86234f 4904 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4905 (gcov_profile_scale): Scaling profile counters.
4906 (gcov_profile_normalize): Normalize profile counters.
4907 * libgcov.h: Add headers and functions for gcov-tool use.
4908 (gcov_get_counter): New.
4909 (gcov_get_counter_target): Ditto.
4910 (struct gcov_info): Make the functions field mutable in gcov-tool
4911 compilation.
4912
5c7dac8a
KT
49132014-06-23 Kai Tietz <ktietz@redhat.com>
4914
4915 PR libgcc/61585
4916 * unwind-seh.c (_Unwind_GetGR): Check for proper
4917 index range.
4918 (_Unwind_SetGR): Likewise.
4919
161c9312
NC
49202014-05-22 Nick Clifton <nickc@redhat.com>
4921
4922 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4923 -mhwmult=none.
4924
e3f0315f
TJ
49252014-05-22 Teresa Johnson <tejohnson@google.com>
4926
4927 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4928 include.
4929
dbed5a9b
JM
49302014-05-20 John Marino <gnugcc@marino.st>
4931
4932 * config.host (*-*-dragonfly*): New target.
4933 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4934 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4935 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4936 * config/i386/dragonfly-unwind.h: New.
4937
1ec380e5
MR
49382014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4939
4940 PR libgcc/60166
4941 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4942 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4943
54fde020
BE
49442014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4945
4946 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4947 implementation.
4948
999db125
GJL
49492014-05-12 Georg-Johann Lay <avr@gjlay.de>
4950
4951 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4952
cceaf54a
RO
49532014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4954
4955 PR libgcc/61097
4956 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4957 if --enable-shared.
4958
e3fe9b5b
BE
49592014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4960
4961 Work around for current cygwin32 build problems.
4962 * config/i386/cygming-crtbegin.c (__register_frame_info,
4963 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4964 functions only for 64-bit systems.
4965
54cf37e9
RO
49662014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4967
4968 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4969 (sigill_caught, sigill_hdlr): Remove.
4970
d9f069ab
RO
49712014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4972
4973 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4974 check.
4975 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4976 Solaris 9 single-threaded support.
4977 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4978 Solaris 9 single-threaded support. Add call_user_handler code
4979 sequences.
4980 (sparc_is_sighandler): Likewise.
4981
59976ef8
AK
49822014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4983
4984 * config.host: Append t-floattodi to tmake_file depending on
4985 host_address.
4986
d02bbcf3
JS
49872014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4988
31466bc0 4989 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4990
c2e7e597
UB
49912014-03-10 Uros Bizjak <ubizjak@gmail.com>
4992
4993 PR libgcc/60472
4994 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4995 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4996 Use __builtin_expect when checking *jcr_list for NULL.
4997
227a7dc8
RO
49982014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4999
5000 PR libgcc/59339
5001 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5002 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5003 vtv_*.o to extra_parts if enable_vtable_verify.
5004
df2b279c
NC
50052014-03-06 Nick Clifton <nickc@redhat.com>
5006
5007 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5008 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5009
dc11d79b
JY
50102014-02-28 Joey Ye <joey.ye@arm.com>
5011
5012 PR libgcc/60166
5013 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5014 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5015 Set to zero.
5016
341c653c
WL
50172014-02-24 Walter Lee <walt@tilera.com>
5018
5019 * config.host: Support "tilegx*" and "tilepro*" triplets.
5020 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5021 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5022
95ce7613
CLT
50232014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5024 Chung-Lin Tang <cltang@codesourcery.com>
5025
5026 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5027 * config/nios2/crti.S: Remove .file directive.
5028 * config/nios2/crtn.S: Likewise.
5029
0bb4fc05
KT
50302014-02-18 Kai Tietz <ktietz@redhat.com>
5031 Jonathan Schleifer <js@webkeks.org>
5032
5033 PR objc/56870
5034 * unwind-seh.c (_GCC_specific_handler): Pass proper
5035 value to unwind-handler.
5036
9acf28f1
JM
50372014-02-12 Joseph Myers <joseph@codesourcery.com>
5038
5039 * soft-fp/adddf3.c: Update from glibc.
5040 * soft-fp/addsf3.c: Likewise.
5041 * soft-fp/addtf3.c: Likewise.
5042 * soft-fp/divdf3.c: Likewise.
5043 * soft-fp/divsf3.c: Likewise.
5044 * soft-fp/divtf3.c: Likewise.
5045 * soft-fp/double.h: Likewise.
5046 * soft-fp/eqdf2.c: Likewise.
5047 * soft-fp/eqsf2.c: Likewise.
5048 * soft-fp/eqtf2.c: Likewise.
5049 * soft-fp/extenddftf2.c: Likewise.
5050 * soft-fp/extended.h: Likewise.
5051 * soft-fp/extendsfdf2.c: Likewise.
5052 * soft-fp/extendsftf2.c: Likewise.
5053 * soft-fp/extendxftf2.c: Likewise.
5054 * soft-fp/fixdfdi.c: Likewise.
5055 * soft-fp/fixdfsi.c: Likewise.
5056 * soft-fp/fixdfti.c: Likewise.
5057 * soft-fp/fixsfdi.c: Likewise.
5058 * soft-fp/fixsfsi.c: Likewise.
5059 * soft-fp/fixsfti.c: Likewise.
5060 * soft-fp/fixtfdi.c: Likewise.
5061 * soft-fp/fixtfsi.c: Likewise.
5062 * soft-fp/fixtfti.c: Likewise.
5063 * soft-fp/fixunsdfdi.c: Likewise.
5064 * soft-fp/fixunsdfsi.c: Likewise.
5065 * soft-fp/fixunsdfti.c: Likewise.
5066 * soft-fp/fixunssfdi.c: Likewise.
5067 * soft-fp/fixunssfsi.c: Likewise.
5068 * soft-fp/fixunssfti.c: Likewise.
5069 * soft-fp/fixunstfdi.c: Likewise.
5070 * soft-fp/fixunstfsi.c: Likewise.
5071 * soft-fp/fixunstfti.c: Likewise.
5072 * soft-fp/floatdidf.c: Likewise.
5073 * soft-fp/floatdisf.c: Likewise.
5074 * soft-fp/floatditf.c: Likewise.
5075 * soft-fp/floatsidf.c: Likewise.
5076 * soft-fp/floatsisf.c: Likewise.
5077 * soft-fp/floatsitf.c: Likewise.
5078 * soft-fp/floattidf.c: Likewise.
5079 * soft-fp/floattisf.c: Likewise.
5080 * soft-fp/floattitf.c: Likewise.
5081 * soft-fp/floatundidf.c: Likewise.
5082 * soft-fp/floatundisf.c: Likewise.
5083 * soft-fp/floatunditf.c: Likewise.
5084 * soft-fp/floatunsidf.c: Likewise.
5085 * soft-fp/floatunsisf.c: Likewise.
5086 * soft-fp/floatunsitf.c: Likewise.
5087 * soft-fp/floatuntidf.c: Likewise.
5088 * soft-fp/floatuntisf.c: Likewise.
5089 * soft-fp/floatuntitf.c: Likewise.
5090 * soft-fp/gedf2.c: Likewise.
5091 * soft-fp/gesf2.c: Likewise.
5092 * soft-fp/getf2.c: Likewise.
5093 * soft-fp/ledf2.c: Likewise.
5094 * soft-fp/lesf2.c: Likewise.
5095 * soft-fp/letf2.c: Likewise.
5096 * soft-fp/muldf3.c: Likewise.
5097 * soft-fp/mulsf3.c: Likewise.
5098 * soft-fp/multf3.c: Likewise.
5099 * soft-fp/negdf2.c: Likewise.
5100 * soft-fp/negsf2.c: Likewise.
5101 * soft-fp/negtf2.c: Likewise.
5102 * soft-fp/op-1.h: Likewise.
5103 * soft-fp/op-2.h: Likewise.
5104 * soft-fp/op-4.h: Likewise.
5105 * soft-fp/op-8.h: Likewise.
5106 * soft-fp/op-common.h: Likewise.
5107 * soft-fp/quad.h: Likewise.
5108 * soft-fp/single.h: Likewise.
5109 * soft-fp/soft-fp.h: Likewise.
5110 * soft-fp/subdf3.c: Likewise.
5111 * soft-fp/subsf3.c: Likewise.
5112 * soft-fp/subtf3.c: Likewise.
5113 * soft-fp/truncdfsf2.c: Likewise.
5114 * soft-fp/trunctfdf2.c: Likewise.
5115 * soft-fp/trunctfsf2.c: Likewise.
5116 * soft-fp/trunctfxf2.c: Likewise.
5117 * soft-fp/unorddf2.c: Likewise.
5118 * soft-fp/unordsf2.c: Likewise.
5119 * soft-fp/unordtf2.c: Likewise.
5120 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5121 macro.
5122 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5123 Likewise.
5124 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5125 Likewise.
5126 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5127 Likewise.
5128 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5129 Likewise.
5130 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5131 Likewise.
5132 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5133 Likewise.
5134 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5135 Likewise.
5136 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5137 Likewise.
5138 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5139 Likewise.
5140 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5141 Likewise.
5142 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5143 Likewise.
5144 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5145 Likewise.
5146 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5147 Likewise.
5148 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5149 Likewise.
5150 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5151 Likewise.
5152
ce245ec6
AK
51532014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5154
5155 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5156 cannot be represented.
5157 * config/s390/32/_fixsfdi.c: Likewise.
5158 * config/s390/32/_fixtfdi.c: Likewise.
5159 * config/s390/32/_fixunsdfdi.c: Likewise.
5160 * config/s390/32/_fixunssfdi.c: Likewise.
5161 * config/s390/32/_fixunstfdi.c: Likewise.
5162
1c51d688
RS
51632014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5164
5165 * configure.ac (libgcc_cv_mips_hard_float): New.
5166 * configure: Regenerate.
5167 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5168 t-softfp-sfdf for hard-float targets.
5169 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5170 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5171 (softfp_truncations, softfp_exclude_libgcc2): New.
5172 * config/t-hardfp: New file.
5173 * config/t-hardfp-sfdf: Likewise.
5174 * config/hardfp.c: Likewise.
5175
bbf391db
AK
51762014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5177
5178 * config.host: Include t-floattodi also for s390x.
5179 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5180 * config/s390/32/_fixsfdi.c: Likewise.
5181 * config/s390/32/_fixtfdi.c: Likewise.
5182 * config/s390/32/_fixunsdfdi.c: Likewise.
5183 * config/s390/32/_fixunssfdi.c: Likewise.
5184 * config/s390/32/_fixunstfdi.c: Likewise.
5185
91da0481
RO
51862014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5187
5188 PR target/59788
5189 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5190 (install-libgcc-unwind-map-forbuild): New target.
5191 (all): Depend on install-libgcc-unwind-map-forbuild.
5192 (install-libgcc-unwind-map): New target.
5193 (install): Depend on install-libgcc-unwind-map.
5194
02b67731
SL
51952014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5196
5197 * config/nios2/crti.S (_init): Initialize GOT pointer from
5198 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5199
1ea0a651
RS
52002014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5201
5202 * configure.ac: Check __mips64 when setting host_address.
5203 * configure: Regenerate.
5204 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5205 mips/t-mips64 and t-softfp.
5206 (mips*-*-linux*): Don't add mips/t-tpbit.
5207 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5208 (DPBIT, DPBIT_CFLAGS): Delete.
5209 * config/mips/sfp-machine.h: New file.
5210 * config/mips/t-mips64: Likewise.
5211 * config/mips/t-softfp-tf: Likewise.
5212 * config/mips/t-tpbit: Delete.
5213
f32b0061
MS
52142014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5215
5216 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5217 as long long.
5218
a5420aa4
WL
52192014-01-25 Walter Lee <walt@tilera.com>
5220
5221 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5222 config.h or system.h.
5223 (bool) Define.
5224
24534912
WL
52252014-01-25 Walter Lee <walt@tilera.com>
5226
5227 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5228 (post_atomic_barrier): Ditto.
5229 (__fetch_and_do): New macro.
5230 (__atomic_fetch_and_do): Use __fetch_and_do.
5231 (__sync_fetch_and_do): New macro.
5232 (__sync_fetch_and_add_4): New function.
5233 (__sync_fetch_and_sub_4): New function.
5234 (__sync_fetch_and_or_4): New function.
5235 (__sync_fetch_and_and_4): New function.
5236 (__sync_fetch_and_xor_4): New function.
5237 (__sync_fetch_and_nand_4): New function.
5238 (__sync_fetch_and_add_8): New function.
5239 (__sync_fetch_and_sub_8): New function.
5240 (__sync_fetch_and_or_8): New function.
5241 (__sync_fetch_and_and_8): New function.
5242 (__sync_fetch_and_xor_8): New function.
5243 (__sync_fetch_and_nand_8): New function.
5244 (__do_and_fetch): New macro.
5245 (__atomic_do_and_fetch): Use __do_and_fetch.
5246 (__sync_do_and_fetch): New macro.
5247 (__sync_add_and_fetch_4): New function.
5248 (__sync_sub_and_fetch_4): New function.
5249 (__sync_or_and_fetch_4): New function.
5250 (__sync_and_and_fetch_4): New function.
5251 (__sync_xor_and_fetch_4): New function.
5252 (__sync_nand_and_fetch_4): New function.
5253 (__sync_add_and_fetch_8): New function.
5254 (__sync_sub_and_fetch_8): New function.
5255 (__sync_or_and_fetch_8): New function.
5256 (__sync_and_and_fetch_8): New function.
5257 (__sync_xor_and_fetch_8): New function.
5258 (__sync_nand_and_fetch_8): New function.
5259 (__sync_exchange_methods): New macro.
5260 (__sync_val_compare_and_swap_4): New function.
5261 (__sync_bool_compare_and_swap_4): New function.
5262 (__sync_lock_test_and_test_4): New function.
5263 (__sync_val_compare_and_swap_8): New function.
5264 (__sync_bool_compare_and_swap_8): New function.
5265 (__sync_lock_test_and_test_8): New function.
5266 (__subword_cmpxchg_body): New macro.
5267 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5268 (__atomic_compare_exchange_2): Ditto.
5269 (__sync_subword_cmpxchg): New macro.
5270 (__sync_val_compare_and_swap_1): New function.
5271 (__sync_bool_compare_and_swap_1): New function.
5272 (__sync_val_compare_and_swap_2): New function.
5273 (__sync_bool_compare_and_swap_2): New function.
5274 (__atomic_subword): Rename to ...
5275 (__subword): ... New name.
5276 (__atomic_subword_fetch): Use __subword.
5277 (__sync_subword_fetch): New macro.
5278 (__sync_fetch_and_add_1): New function.
5279 (__sync_fetch_and_sub_1): New function.
5280 (__sync_fetch_and_or_1): New function.
5281 (__sync_fetch_and_and_1): New function.
5282 (__sync_fetch_and_xor_1): New function.
5283 (__sync_fetch_and_nand_1): New function.
5284 (__sync_fetch_and_add_2): New function.
5285 (__sync_fetch_and_sub_2): New function.
5286 (__sync_fetch_and_or_2): New function.
5287 (__sync_fetch_and_and_2): New function.
5288 (__sync_fetch_and_xor_2): New function.
5289 (__sync_fetch_and_nand_2): New function.
5290 (__sync_add_and_fetch_1): New function.
5291 (__sync_sub_and_fetch_1): New function.
5292 (__sync_or_and_fetch_1): New function.
5293 (__sync_and_and_fetch_1): New function.
5294 (__sync_xor_and_fetch_1): New function.
5295 (__sync_nand_and_fetch_1): New function.
5296 (__sync_add_and_fetch_2): New function.
5297 (__sync_sub_and_fetch_2): New function.
5298 (__sync_or_and_fetch_2): New function.
5299 (__sync_and_and_fetch_2): New function.
5300 (__sync_xor_and_fetch_2): New function.
5301 (__sync_nand_and_fetch_2): New function.
5302 (__atomic_subword_lock): Use __subword.
5303 (__sync_subword_lock): New macro.
5304 (__sync_lock_test_and_set_1): New function.
5305 (__sync_lock_test_and_set_2): New function.
5306
4d6d3bc5
WL
53072014-01-25 Walter Lee <walt@tilera.com>
5308
5309 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5310 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5311 (__atomic_subword): Ditto.
5312
cbd9890e
WL
53132014-01-25 Walter Lee <walt@tilera.com>
5314
5315 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5316 a prefix op argument.
5317 (__atomic_nand_fetch_4): Add prefix op.
5318 (__atomic_nand_fetch_8): Ditto.
5319
7d296953 53202014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5321
5322 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5323
46dd1242
L
53242014-01-09 Rong Xu <xur@google.com>
5325
5326 * libgcov-driver.c (this_prg): make it local to save
5327 bss space.
5328 (gcov_exit_compute_summary): Ditto.
5329 (gcov_exit_merge_gcda): Ditto.
5330 (gcov_exit_merge_summary): Ditto.
5331 (gcov_exit_dump_gcov): Ditto.
5332
cc86234f 53332014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5334
5335 * libgcov-driver.c: Use libgcov.h.
5336 (buffer_fn_data): Use xmalloc instead of malloc.
5337 (gcov_exit_merge_gcda): Ditto.
5338 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5339 * libgcov.h: New common header files for libgcov-*.h.
5340 * libgcov-interface.c: Use libgcov.h
5341 * libgcov-merge.c: Ditto.
5342 * libgcov-profiler.c: Ditto.
5343 * Makefile.in: Add dependence to libgcov.h
5344
a02e7bdd
JM
53452014-01-02 Joseph Myers <joseph@codesourcery.com>
5346
5347 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5348 case of small numerator and finite nonzero result.
5349
ac1dca3c
RS
53502014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5351
5352 Update copyright years
5353
f9030485
RS
53542014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5355
5356 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5357 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5358 config/arc/dp-hack.h, config/arc/fp-hack.h,
5359 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5360 config/arc/ieee-754/arc600-dsp/divdf3.S,
5361 config/arc/ieee-754/arc600-dsp/divsf3.S,
5362 config/arc/ieee-754/arc600-dsp/muldf3.S,
5363 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5364 config/arc/ieee-754/arc600-mul64/divdf3.S,
5365 config/arc/ieee-754/arc600-mul64/divsf3.S,
5366 config/arc/ieee-754/arc600-mul64/muldf3.S,
5367 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5368 config/arc/ieee-754/arc600/divsf3.S,
5369 config/arc/ieee-754/arc600/mulsf3.S,
5370 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5371 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5372 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5373 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5374 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5375 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5376 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5377 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5378 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5379 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5380 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5381 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5382 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5383 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5384 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5385 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5386 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5387 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5388 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5389 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5390 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5391 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5392 vtv_start_preinit.c: Use the standard form for the copyright notice.
5393
e430824f
CLT
53942013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5395 Chung-Lin Tang <cltang@codesourcery.com>
5396 Based on patches from Altera Corporation
5397
5398 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5399 * config/nios2/lib2-nios2.h: New file.
5400 * config/nios2/lib2-divmod-hi.c: New file.
5401 * config/nios2/linux-unwind.h: New file.
5402 * config/nios2/lib2-divmod.c: New file.
5403 * config/nios2/linux-atomic.c: New file.
5404 * config/nios2/t-nios2: New file.
5405 * config/nios2/crti.asm: New file.
5406 * config/nios2/t-linux: New file.
5407 * config/nios2/lib2-divtable.c: New file.
5408 * config/nios2/lib2-mul.c: New file.
5409 * config/nios2/tramp.c: New file.
5410 * config/nios2/crtn.asm: New file.
5411
1879e97f
UB
54122013-12-26 Uros Bizjak <ubizjak@gmail.com>
5413
5414 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5415 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5416 from cpuid.h to check vendor signatures.
5417
f4a4bdbb
GG
54182013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5419
c2e7e597 5420 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5421 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5422 (get_amd_cpu): Likewise.
5423
8d2ae544
L
54242013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5425
5426 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5427 Haswell.
5428
74924838
ASJ
54292013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5430 H.J. Lu <hongjiu.lu@intel.com>
5431
0bb52f25
L
5432 PR target/59422
5433 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5434 and AMD_JAGUAR.
5435 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5436 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5437 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5438 FEATURE_XOP and FEATURE_FMA.
5439 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5440 AMDFAM15H_BDVER3.
5441 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5442 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5443 FEATURE_FMA4 and FEATURE_XOP.
5444
d3c11974
L
54452013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5446
5447 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5448 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5449 (get_intel_cpu): Updated.
5450
064c4ff2
ZC
54512013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5452
5453 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5454
8b02e720
UB
54552013-12-09 Uros Bizjak <ubizjak@gmail.com>
5456
5457 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5458 instructions when __SSE_MATH__ is defined.
8b02e720 5459
3fa2ccb4
RC
54602013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5461
5462 * config.host (microblaze-*-rtems*): New.
5463
ecd78fc9
KV
54642013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5465
5466 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5467 architectures that do not have hardware divide instruction.
5468 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5469
b21fbbd2
RS
54702013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5471
5472 * longlong.h: Delete (moved to include/).
5473
b03fb8c9
AZ
54742013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5475
5476 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5477 of normal number and qNaN to not raise an inexact exception.
5478
3c716922
UB
54792013-11-28 Uros Bizjak <ubizjak@gmail.com>
5480
5481 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5482
54832013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5484
5485 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5486 for correct opcodes on BE.
5487
a3458d22
UB
54882013-11-27 Uros Bizjak <ubizjak@gmail.com>
5489
5490 * soft-fp/op-4.h: Update from glibc.
5491
30b8f78b
KV
54922013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5493
5494 * libgcc2.c (__udivmoddi4): Define new implementation when
5495 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5496 divide instructions.
5497
82552a29
OE
54982013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5499
5500 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5501
80e87457
RO
55022013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5503
5504 * config/t-softfp (soft-fp-objects-base): New variable.
5505 (soft-fp-objects): Use it.
5506
44178879
DE
55072013-11-23 David Edelson <dje.gcc@gmail.com>
5508 Andrew Dixie <andrewd@gentrack.com>
5509
5510 PR target/33704
5511 * config/rs6000/aixinitfini.c: New file.
5512 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5513 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5514 symbols.
5515
e5287671
YR
55162013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5517
a3458d22 5518 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5519
867c8b03
JH
55202013-11-18 Jan Hubicka <jh@suse.cz>
5521
7f369373
JH
5522 * libgcov-driver.c (run_accounted): Make global level static.
5523 (gcov_exit_merge_summary): Silence warning; do not clear
5524 run_accounted here.
5525 (gcov_exit): Clear it here.
5526
1d0b3334
JH
5527 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5528 run_accounted.
5529
867c8b03
JH
5530 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5531 (all_prg, crc32): Remove static vars.
5532 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5533 all_prg.
5534 (gcov_exit_merge_gcda): Add crc32 parameter.
5535 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5536 do not account run if it was already accounted.
5537 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5538 (gcov_exit): Initialize all_prg; update.
5539
66204992
AS
55402013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5541
5542 * configure: Regenerate.
5543
b54214fe
UW
55442013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5545 Alan Modra <amodra@gmail.com>
5546
5547 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5548 (frob_update_context): Use it.
5549
55502013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5551 Alan Modra <amodra@gmail.com>
5552
5553 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5554 (trampoline_initial): Provide ELFv2 variant.
5555 (__trampoline_setup): Likewise.
5556
5557 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5558 check for AIX indirect function call sequence if _CALL_ELF == 2.
5559
55602013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5561 Alan Modra <amodra@gmail.com>
5562
5563 * config/rs6000/linux-unwind.h (get_regs): Do not support
5564 old kernel versions if _CALL_ELF == 2.
5565 (frob_update_context): Do not support PLT stub variants only
5566 generated by old linkers if _CALL_ELF == 2.
5567
13e0981a
UW
55682013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5569 Alan Modra <amodra@gmail.com>
5570
5571 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5572 location of CR save area for 64-bit little-endian systems.
5573
1a80085d
EB
55742013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5575
5576 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5577 in tmake_file.
5578 * config/arm/t-vxworks: Delete.
5579
cabeea52
KT
55802013-11-10 Kai Tietz <ktietz@redhat.com>
5581
5582 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5583 Increment load-count on use of LIBGCC_SONAME DLL.
5584 (hmod_libgcc): New static variable to hold handle of
5585 LIBGCC_SONAME DLL.
5586 (__gcc_deregister_frame): Decrement load-count of
5587 LIBGCC_SONAME DLL.
5588
ac088ba1
BRF
55892013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5590
5591 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5592 availability.
5593 * configure: Regenerate
5594
d59a8fcc
UB
55952013-11-07 Uros Bizjak <ubizjak@gmail.com>
5596
5597 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5598 FP_EX_DENORM. Store result to volatile location after SSE division
5599 to close interrupt window. Remove unneeded fwait after x87
5600 division since interrupt window will be closed by emitted fstp.
9de84e84 5601 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5602
9954c743
JM
56032013-11-06 Joseph Myers <joseph@codesourcery.com>
5604
5605 * soft-fp/README: Update.
5606 * soft-fp/adddf3.c: Update from glibc.
5607 * soft-fp/addsf3.c: Likewise.
5608 * soft-fp/addtf3.c: Likewise.
5609 * soft-fp/divdf3.c: Likewise.
5610 * soft-fp/divsf3.c: Likewise.
5611 * soft-fp/divtf3.c: Likewise.
5612 * soft-fp/double.h: Likewise.
5613 * soft-fp/eqdf2.c: Likewise.
5614 * soft-fp/eqsf2.c: Likewise.
5615 * soft-fp/eqtf2.c: Likewise.
5616 * soft-fp/extenddftf2.c: Likewise.
5617 * soft-fp/extended.h: Likewise.
5618 * soft-fp/extendsfdf2.c: Likewise.
5619 * soft-fp/extendsftf2.c: Likewise.
5620 * soft-fp/extendxftf2.c: Likewise.
5621 * soft-fp/fixdfdi.c: Likewise.
5622 * soft-fp/fixdfsi.c: Likewise.
5623 * soft-fp/fixdfti.c: Likewise.
5624 * soft-fp/fixsfdi.c: Likewise.
5625 * soft-fp/fixsfsi.c: Likewise.
5626 * soft-fp/fixsfti.c: Likewise.
5627 * soft-fp/fixtfdi.c: Likewise.
5628 * soft-fp/fixtfsi.c: Likewise.
5629 * soft-fp/fixtfti.c: Likewise.
5630 * soft-fp/fixunsdfdi.c: Likewise.
5631 * soft-fp/fixunsdfsi.c: Likewise.
5632 * soft-fp/fixunsdfti.c: Likewise.
5633 * soft-fp/fixunssfdi.c: Likewise.
5634 * soft-fp/fixunssfsi.c: Likewise.
5635 * soft-fp/fixunssfti.c: Likewise.
5636 * soft-fp/fixunstfdi.c: Likewise.
5637 * soft-fp/fixunstfsi.c: Likewise.
5638 * soft-fp/fixunstfti.c: Likewise.
5639 * soft-fp/floatdidf.c: Likewise.
5640 * soft-fp/floatdisf.c: Likewise.
5641 * soft-fp/floatditf.c: Likewise.
5642 * soft-fp/floatsidf.c: Likewise.
5643 * soft-fp/floatsisf.c: Likewise.
5644 * soft-fp/floatsitf.c: Likewise.
5645 * soft-fp/floattidf.c: Likewise.
5646 * soft-fp/floattisf.c: Likewise.
5647 * soft-fp/floattitf.c: Likewise.
5648 * soft-fp/floatundidf.c: Likewise.
5649 * soft-fp/floatundisf.c: Likewise.
5650 * soft-fp/floatunditf.c: Likewise.
5651 * soft-fp/floatunsidf.c: Likewise.
5652 * soft-fp/floatunsisf.c: Likewise.
5653 * soft-fp/floatunsitf.c: Likewise.
5654 * soft-fp/floatuntidf.c: Likewise.
5655 * soft-fp/floatuntisf.c: Likewise.
5656 * soft-fp/floatuntitf.c: Likewise.
5657 * soft-fp/gedf2.c: Likewise.
5658 * soft-fp/gesf2.c: Likewise.
5659 * soft-fp/getf2.c: Likewise.
5660 * soft-fp/ledf2.c: Likewise.
5661 * soft-fp/lesf2.c: Likewise.
5662 * soft-fp/letf2.c: Likewise.
5663 * soft-fp/muldf3.c: Likewise.
5664 * soft-fp/mulsf3.c: Likewise.
5665 * soft-fp/multf3.c: Likewise.
5666 * soft-fp/negdf2.c: Likewise.
5667 * soft-fp/negsf2.c: Likewise.
5668 * soft-fp/negtf2.c: Likewise.
5669 * soft-fp/op-1.h: Likewise.
5670 * soft-fp/op-2.h: Likewise.
5671 * soft-fp/op-4.h: Likewise.
5672 * soft-fp/op-8.h: Likewise.
5673 * soft-fp/op-common.h: Likewise.
5674 * soft-fp/quad.h: Likewise.
5675 * soft-fp/single.h: Likewise.
5676 * soft-fp/soft-fp.h: Likewise.
5677 * soft-fp/subdf3.c: Likewise.
5678 * soft-fp/subsf3.c: Likewise.
5679 * soft-fp/subtf3.c: Likewise.
5680 * soft-fp/truncdfsf2.c: Likewise.
5681 * soft-fp/trunctfdf2.c: Likewise.
5682 * soft-fp/trunctfsf2.c: Likewise.
5683 * soft-fp/trunctfxf2.c: Likewise.
5684 * soft-fp/unorddf2.c: Likewise.
5685 * soft-fp/unordsf2.c: Likewise.
5686 * soft-fp/unordtf2.c: Likewise.
5687
02ac9503
UB
56882013-11-05 Uros Bizjak <ubizjak@gmail.com>
5689
5690 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5691 (_FP_MUL_MEAT_D): Ditto.
5692 (_FP_DIV_MEAT_S): Ditto.
5693 (_FP_DIV_MEAT_D): Ditto.
5694 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5695 t-softfp-sfdf and t-softfp to tmake_file.
5696
61221141
UB
56972013-11-03 Uros Bizjak <ubizjak@gmail.com>
5698
5699 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5700 * config/i386/crtprec.c: Ditto.
5701
9304f876
CJW
57022013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5703 Shiva Chen <shiva0217@gmail.com>
5704
5705 * config.host (nds32*-elf*): Add nds32 target.
5706 * config/nds32 : New directory and files.
5707
0e499e75
HPN
57082013-10-16 Hans-Peter Nilsson <hp@axis.com>
5709
5710 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5711 * config.host (cpu_type) <Setting default>: Add entry for
5712 crisv32-*-*.
5713 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5714 <crisv32-*-linux*>: Adjust.
5715 * longlong.h: Wrap the whole CRIS section in a single
5716 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5717 and sub_ddmmss.
5718 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5719 defined.
5720 [__CRIS__] (__umulsidi3): Define.
5721 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5722 * config/cris/sfp-machine.h: New file.
5723 * config/cris/umulsidi3.S: New file.
5724 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5725 * config/cris/arit.c (SIGNMULT): New macro.
5726 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5727 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5728 saving 3 out of originally 33 cycles from the fastest
5729 path, 3 out of 54 from the medium path and one from the longest
5730 path. Improve comments.
5731
16022041
RS
57322013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5733
5734 * sync.c: Remove static aliases and define each function directly
5735 under its real name.
5736
69778659
JDA
57372013-10-02 John David Anglin <danglin@gcc.gnu.org>
5738
5739 * config.host (hppa*64*-*-linux*): Define extra_parts.
5740 (hppa*-*-linux*): Likewise.
5741
2deaf8b0
JR
57422013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5743
5744 * config/arc/crtgend.S: Add 2013 to Copyright years.
5745 * config/arc/gmon/atomic.h: Likewise.
5746 * config/arc/gmon/auxreg.h: Likewise.
5747 * config/arc/gmon/sys/gmon_out.h: Likewise.
5748 * config/arc/gmon/sys/gmon.h: Likewise.
5749 * config/arc/gmon/prof-freq.c: Likewise.
5750 * config/arc/gmon/mcount.c: Likewise.
5751 * config/arc/gmon/prof-freq-stub.S: Likewise.
5752 * config/arc/gmon/gmon.c: Likewise.
5753 * config/arc/gmon/machine-gmon.h: Likewise.
5754 * config/arc/gmon/profil.S: Likewise.
5755 * config/arc/gmon/dcache_linesz.S: Likewise.
5756 * config/arc/crtg.S: Likewise.
5757 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5758 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5759 * config/arc/ieee-754/adddf3.S: Likewise.
5760 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5761 * config/arc/ieee-754/fixsfsi.S: Likewise.
5762 * config/arc/ieee-754/gtsf2.S: Likewise.
5763 * config/arc/ieee-754/floatsisf.S: Likewise.
5764 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5765 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5766 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5767 * config/arc/ieee-754/fixdfsi.S: Likewise.
5768 * config/arc/ieee-754/addsf3.S: Likewise.
5769 * config/arc/ieee-754/gesf2.S: Likewise.
5770 * config/arc/ieee-754/floatsidf.S: Likewise.
5771 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5772 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5773 * config/arc/ieee-754/gtdf2.S: Likewise.
5774 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5775 * config/arc/ieee-754/uneqdf2.S: Likewise.
5776 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5777 * config/arc/ieee-754/uneqsf2.S: Likewise.
5778 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5779 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5780 * config/arc/ieee-754/eqdf2.S: Likewise.
5781 * config/arc/ieee-754/ordsf2.S: Likewise.
5782 * config/arc/ieee-754/divsf3.S: Likewise.
5783 * config/arc/ieee-754/divdf3.S: Likewise.
5784 * config/arc/ieee-754/floatunsidf.S: Likewise.
5785 * config/arc/ieee-754/orddf2.S: Likewise.
5786 * config/arc/ieee-754/eqsf2.S: Likewise.
5787 * config/arc/ieee-754/gedf2.S: Likewise.
5788 * config/arc/crtn.S: Likewise.
5789 * config/arc/crti.S: Likewise.
5790 * config/arc/t-arc700-uClibc: Likewise.
5791 * config/arc/asm.h: Likewise.
5792 * config/arc/libgcc-excl.ver: Likewise.
5793 * config/arc/t-arc-newlib: Likewise.
5794 * config/arc/divtab-arc700.c: Likewise.
5795 * config/arc/initfini.c: Likewise.
5796 * config/arc/fp-hack.h: Likewise.
5797
c8e318b0
JR
57982013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5799 Diego Novillo <dnovillo@google.com>
5800
5801 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5802 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5803 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5804 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5805
d38a64b4
JR
58062013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5807 Brendan Kehoe <brendan@zen.org>
5808 Simon Cook <simon.cook@embecosm.com>
5809
5810 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5811 * config/arc: New directory.
5812 * longlong.h [__arc__] (umul_ppmm): Remove.
5813 [__arc__] (__umulsidi3): Define.
5814 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5815 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5816
dff717d2
JC
58172013-09-17 Jacek Caban <jacek@codeweavers.com>
5818
5819 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5820 CreateSemaphoreA.
5821 * config/i386/gthr-win32.h: Likewise.
5822
5c0029de
DD
58232013-09-16 DJ Delorie <dj@redhat.com>
5824
844ad6c6 5825 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5826 * config/rl78/lib2mul.c: Enable for RL78/G10.
5827 * config/rl78/lib2div.c: Likewise.
5828 * config/rl78/lshrsi3.S: Use vregs.h.
5829 * config/rl78/cmpsi2.S: Likewise.
5830 * config/rl78/trampoline.S: Likewise.
5831 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5832
ceb2fc49
DD
58332013-09-14 DJ Delorie <dj@redhat.com>
5834 Nick Clifton <nickc@redhat.com>
5835
5836 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5837 * config/rl78/vregs.h: New.
5838 * config/rl78/signbit.S: New file. Implements signbit function.
5839 * config/rl78/divmodsi.S: New.
5840 * config/rl78/divmodhi.S: New.
5841 * config/rl78/divmodqi.S: New.
5842 * config/rl78/t-rl78: Build them here...
5843 * config/rl78/lib2div.c: ...but not here.
5844
f6a83b4a
DD
58452013-09-12 DJ Delorie <dj@redhat.com>
5846
5847 * config.host (msp*-*-elf): New.
5848 * config/msp430/: New port.
5849
9107b096
IS
58502013-08-18 Iain Sandoe <iain@codesourcery.com>
5851
5852 PR gcov-profile/58127
5853 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5854 __thread var for emulated TLS.
5855 (__gcov_indirect_call_counters): Likewise.
5856
0f9bde1f 58572013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5858 Catherine Moore <clm@codesourcery.com>
7d296953 5859 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5860
5861 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5862 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5863 (CALL_STUB_NO_RET): Likewise.
5864 (CALL_STUB_RET): Likewise.
5865 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5866 __mips16_ret call/return stub symbols.
5867 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5868 to tmake_file.
5869
2dc14aac
MR
58702013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5871
5872 * config.host <mips*-*-linux*>: Remove a stray comment.
5873
748d71f3
JH
58742013-08-10 Jan Hubicka <jh@suse.cz>
5875
5876 Work around binutils PR14342
5877 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5878 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5879 (L_gcov_indirect_call_profiler_v2): New.
5880
2fa3d31b
JH
58812013-08-06 Jan Hubicka <jh@suse.cz>
5882
5883 * libgcov.c (__gcov_indirect_call_callee,
5884 __gcov_indirect_call_counters): New global vars.
5885 (__gcov_indirect_call_profiler): replace by ...
5886 (__gcov_indirect_call_profiler_v2) ... this one.
5887
2077db1b
CT
58882013-08-06 Caroline Tice <cmtice@google.com>
5889
d0595b65 5890 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5891 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5892 * configure.ac: Add code to check/set enable_vtable_verify.
5893 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5894 true.
d0595b65
CT
5895 * vtv_start_preinit.c: New file.
5896 * vtv_end_preinit.c: New file.
5897 * vtv_start.c: New file.
5898 * vtv_end.c: New file.
5899 * configure: Regenerated.
2077db1b 5900
46549c20
MK
59012013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5902
5903 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5904 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5905 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5906 GPL-3.0-with-GCC-exception.
5907
72be589b
MR
59082013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5909
5910 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5911 ISA and up.
5912
902a3faf
AK
59132013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5914
5915 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5916 mapping for FPRs when creating the fallback framestate.
5917
02371798
GJL
59182013-07-19 Georg-Johann Lay <avr@gjlay.de>
5919
5920 PR target/57516
5921 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5922 (__round_s2_const, __round_u2_const)
5923 (__round_s4_const, __round_u4_const, __round_x8):
5924 Saturate result if addition result cannot be represented.
5925
ab0e8379
MK
59262013-07-15 Matthias Klose <doko@ubuntu.com>
5927
5928 * libgcc2.c: Don't include <limits.h>.
5929
7da38058
JJ
59302013-07-09 Janis Johnson <janisjo@codesourcery.com>
5931
5932 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5933
1f6eac90
JJ
59342013-07-06 Jakub Jelinek <jakub@redhat.com>
5935
5936 PR target/29776
5937 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5938
4ea3d774
JJ
59392013-06-28 Jakub Jelinek <jakub@redhat.com>
5940
5941 PR middle-end/36041
5942 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5943 Define.
5944 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5945 instead of table lookups.
5946 (__popcountDI2): Likewise.
5947
9d2cdf25
CJW
59482013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5949
5950 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5951 correctly.
5952
fa1e55b0
JM
59532013-06-21 Joseph Myers <joseph@codesourcery.com>
5954
5955 PR other/53317
5956 * soft-fp/adddf3.c: Update from glibc.
5957 * soft-fp/addsf3.c: Likewise.
5958 * soft-fp/addtf3.c: Likewise.
5959 * soft-fp/divdf3.c: Likewise.
5960 * soft-fp/divsf3.c: Likewise.
5961 * soft-fp/divtf3.c: Likewise.
5962 * soft-fp/double.h: Likewise.
5963 * soft-fp/eqdf2.c: Likewise.
5964 * soft-fp/eqsf2.c: Likewise.
5965 * soft-fp/eqtf2.c: Likewise.
5966 * soft-fp/extenddftf2.c: Likewise.
5967 * soft-fp/extended.h: Likewise.
5968 * soft-fp/extendsfdf2.c: Likewise.
5969 * soft-fp/extendsftf2.c: Likewise.
5970 * soft-fp/fixdfdi.c: Likewise.
5971 * soft-fp/fixdfsi.c: Likewise.
5972 * soft-fp/fixsfdi.c: Likewise.
5973 * soft-fp/fixsfsi.c: Likewise.
5974 * soft-fp/fixtfdi.c: Likewise.
5975 * soft-fp/fixtfsi.c: Likewise.
5976 * soft-fp/fixunsdfdi.c: Likewise.
5977 * soft-fp/fixunsdfsi.c: Likewise.
5978 * soft-fp/fixunssfdi.c: Likewise.
5979 * soft-fp/fixunssfsi.c: Likewise.
5980 * soft-fp/fixunstfdi.c: Likewise.
5981 * soft-fp/fixunstfsi.c: Likewise.
5982 * soft-fp/floatdidf.c: Likewise.
5983 * soft-fp/floatdisf.c: Likewise.
5984 * soft-fp/floatditf.c: Likewise.
5985 * soft-fp/floatsidf.c: Likewise.
5986 * soft-fp/floatsisf.c: Likewise.
5987 * soft-fp/floatsitf.c: Likewise.
5988 * soft-fp/floatundidf.c: Likewise.
5989 * soft-fp/floatundisf.c: Likewise.
5990 * soft-fp/floatunditf.c: Likewise.
5991 * soft-fp/floatunsidf.c: Likewise.
5992 * soft-fp/floatunsisf.c: Likewise.
5993 * soft-fp/floatunsitf.c: Likewise.
5994 * soft-fp/gedf2.c: Likewise.
5995 * soft-fp/gesf2.c: Likewise.
5996 * soft-fp/getf2.c: Likewise.
5997 * soft-fp/ledf2.c: Likewise.
5998 * soft-fp/lesf2.c: Likewise.
5999 * soft-fp/letf2.c: Likewise.
6000 * soft-fp/muldf3.c: Likewise.
6001 * soft-fp/mulsf3.c: Likewise.
6002 * soft-fp/multf3.c: Likewise.
6003 * soft-fp/negdf2.c: Likewise.
6004 * soft-fp/negsf2.c: Likewise.
6005 * soft-fp/negtf2.c: Likewise.
6006 * soft-fp/op-1.h: Likewise.
6007 * soft-fp/op-2.h: Likewise.
6008 * soft-fp/op-4.h: Likewise.
6009 * soft-fp/op-8.h: Likewise.
6010 * soft-fp/op-common.h: Likewise.
6011 * soft-fp/quad.h: Likewise.
6012 * soft-fp/single.h: Likewise.
6013 * soft-fp/soft-fp.h: Likewise.
6014 * soft-fp/subdf3.c: Likewise.
6015 * soft-fp/subsf3.c: Likewise.
6016 * soft-fp/subtf3.c: Likewise.
6017 * soft-fp/truncdfsf2.c: Likewise.
6018 * soft-fp/trunctfdf2.c: Likewise.
6019 * soft-fp/trunctfsf2.c: Likewise.
6020 * soft-fp/unorddf2.c: Likewise.
6021 * soft-fp/unordsf2.c: Likewise.
6022 * soft-fp/unordtf2.c: Likewise.
6023 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6024 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6025 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6026 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6027 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6028 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6029 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6030 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6031 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6032 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6033 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6034 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6035
0de86a92
JU
60362013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6037
6038 * config/mips/lib2funcs.c: New file.
6039 * config/mips/t-mips (LIB2ADD_ST): Add it.
6040
0d008882
OE
60412013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6042
6043 PR target/6526
6044 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6045 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6046
776434d1
WL
60472013-06-08 Walter Lee <walt@tilera.com>
6048
6049 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6050 Replace int64_t with long long. Add __extension__ where
6051 appropriate.
6052 * config/tilepro/atomic.c: Include config.h.
6053
6ab3ebb4
DR
60542013-06-06 Douglas B Rupp <rupp@adacore.com>
6055
6056 * config.host (arm-wrs-vxworks): Configure with other soft float.
6057
107eea2c
JU
60582013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6059
6060 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6061 (mips64r5900el-*-elf*): New configurations.
6062
5cc19c62
AM
60632013-06-04 Alan Modra <amodra@gmail.com>
6064
6065 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6066
0f1d3965
YR
60672013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6068
6069 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6070
0ba045df
EB
60712013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6072
6073 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6074 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6075 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6076
49dcafd4
EB
60772013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6078
6079 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6080 (powerpc-wrs-vxworks): Likewise.
6081
4fcb5d87
EB
60822013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6083
6084 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6085 signal frames as well.
6086 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6087 STACK_BIAS to the CFA offset.
6088
0ec33224
RH
60892013-05-17 Richard Henderson <rth@redhat.com>
6090
6091 PR target/49146
6092 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6093 (execute_cfa_program): Use it when storing to fs->regs.
6094
492a8029
KT
60952013-05-08 Kai Tietz <ktietz@redhat.com>
6096
6097 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6098 (__deregister_frame_info): Likewise.
6099
701e2f0a
TS
61002013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6101
e5123d08
TS
6102 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6103 NaN's payload.
6104
701e2f0a
TS
6105 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6106
b9a7eb5d
AM
61072013-04-25 Alan Modra <amodra@gmail.com>
6108
6109 * config.host: Match little-endian powerpc-linux.
6110
dfe192f5
YZ
61112013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6112
6113 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6114 as 'unsigned long long' instead of 'unsigned long'.
6115 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6116 'signed long'.
6117
b6b9af2f
JB
61182013-04-10 Julian Brown <julian@codesourcery.com>
6119
6120 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6121 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6122 unsigned char/unsigned short.
6123 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6124
ecabdd00
JDA
61252013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6126
6127 PR other/55274
6128 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6129
34652576
MI
61302013-04-04 Meador Inge <meadori@codesourcery.com>
6131
6132 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6133 computing the location of the link register.
6134 (aeabi_uldivmod): Ditto.
6135
e9fd8c19
KT
61362013-03-27 Kai Tietz <ktietz@redhat.com>
6137
6138 * config.host: Add support for cygwin x64 target.
6139 * configure: Regenerated.
6140
a6406324
WL
61412013-03-26 Walter Lee <walt@tilera.com>
6142
6143 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6144 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6145
55446c7e
KT
61462013-03-25 Kai Tietz <ktietz@redhat.com>
6147
6148 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6149
d2ae19d9
RM
61502013-03-20 Robert Mason <rbmj@verizon.net>
6151
6152 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6153 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6154 (__gthread_leave_tsd_dtor_context): Add prototypes.
6155 (tls_delete_hook): Update.
6156
22c4c869
CM
61572013-03-20 Catherine Moore <clm@codesourcery.com>
6158 Joseph Myers <joseph@codesourcery.com>
6159 Chao-ying Fu <fu@mips.com>
6160
6161 * config/mips/mips16.S: Don't build for microMIPS.
6162 * config/mips/linux-unwind.h: Handle microMIPS frame.
6163 * config/mips/crtn.S (fini, init): New labels.
6164
fbd28bc3
JJ
61652013-03-14 Jakub Jelinek <jakub@redhat.com>
6166
6167 PR tree-optimization/53265
6168 * unwind-dw2.c (execute_cfa_program): Avoid
6169 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6170 on targets with DWARF_FRAME_REGISTERS < 32.
6171
decc676e
OE
61722013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6173
6174 PR target/49880
6175 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6176 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6177
84ea618a
ST
61782013-03-07 Sriraman Tallam <tmsriram@google.com>
6179
6180 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6181 sandybridge processors.
6182
8f6d1c86
OE
61832013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6184
6185 PR target/56529
6186 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6187 inclusion list.
6188
ecdbd01a 61892013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6190
6191 * config/microblaze/crti.S: Setup stack protection at entry
6192
0b4ce21b
GJL
61932013-03-04 Georg-Johann Lay <avr@gjlay.de>
6194
6195 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6196 (__rotldi3): Shift bytewise if applicable.
6197
b7c3f1ca
JG
61982013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6199
6200 * config/aarch64/sync-cache.c
6201 (__aarch64_sync_cache_range): Silence warnings.
6202
6d65e8f1
CM
62032013-02-25 Catherine Moore <clm@codesourcery.com>
6204
6205 Revert:
6206 2013-02-24 Catherine Moore <clm@codesourcery.com>
6207 Joseph Myers <joseph@codesourcery.com>
6208 Chao-ying Fu <fu@mips.com>
6209
6210 * config/mips/mips16.S: Don't build for microMIPS.
6211 * config/mips/linux-unwind.h: Handle microMIPS frame.
6212 * config/mips/crtn.S (fini, init): New labels.
6213
6941b508
CM
62142013-02-24 Catherine Moore <clm@codesourcery.com>
6215 Joseph Myers <joseph@codesourcery.com>
6216 Chao-ying Fu <fu@mips.com>
6217
6218 * config/mips/mips16.S: Don't build for microMIPS.
6219 * config/mips/linux-unwind.h: Handle microMIPS frame.
6220 * config/mips/crtn.S (fini, init): New labels.
6221
7c422dbb 62222012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6223 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6224 as dividend.
6225
110207ad
AM
62262013-02-16 Alan Modra <amodra@gmail.com>
6227
6228 PR target/55431
6229 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6230 (ppc_fallback_frame_state): Always set up save locations for fp
6231 and altivec. Don't bother with non-callee-saved regs, r0-r13
6232 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6233
e68a4ef6
GJL
62342013-02-12 Georg-Johann Lay <avr@gjlay.de>
6235
6236 PR target/54222
6237 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6238 _ssmulHA, _ssmulSA.
6239 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6240 _ssmulha3, _usmulusa3, _ssmulsa3.
6241 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6242 (__muldi3): XCALL __muldi3_6 instead of rcall.
6243 (__umulsidi3, __mulsidi3): New functions.
6244 (do_prologue_saves, do_epilogue_restores): New .macros.
6245 (__divdi3_moddi3): Use them.
6246 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6247 (__usmulusa3, __ssmulsa3): New functions.
6248
6c59ffd1
IS
62492013-02-11 Iain Sandoe <iain@codesourcery.com>
6250 Jack Howarth <howarth@bromo.med.uc.edu>
6251 Patrick Marlier <patrick.marlier@gmail.com>
6252
6253 PR libitm/55693
6254 * config/darwin-crt-tm.c: Remove dummy functions hack.
6255
85d768f3
GJL
62562013-02-08 Georg-Johann Lay <avr@gjlay.de>
6257
6258 PR target/54222
6259 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6260 * config/avr/lib2-object.mk: New iterator to build objects from it.
6261 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6262 lib2funcs.c.
6263 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6264 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6265 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6266 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6267 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6268 * config/avr/lib1funcs-fixed.S: Implement them.
6269
5d5bf775
RS
62702013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6271
6272 Update copyright years.
6273
99113dff
DE
62742013-02-01 David Edelsohn <dje.gcc@gmail.com>
6275
6276 PR target/54601
6277 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6278 Add crtcxa to extra_parts.
6279 * config/rs6000/exit.h: New file.
6280 * config/rs6000/cxa_atexit.c: New file.
6281 * config/rs6000/cxa_finalize.c: New file.
6282 * config/rs6000/crtcxa.c: New file.
6283 * config/rs6000/t-aix-cxa: New file.
6284 * config/rs6000/libgcc-aix-cxa.ver: New file.
6285
dbdbd982
NC
62862013-01-31 Nick Clifton <nickc@redhat.com>
6287
6288 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6289 variant.
6290
5893f158
GJL
62912013-01-29 Georg-Johann Lay <avr@gjlay.de>
6292
6293 PR target/54222
6294 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6295 _mulQQ, _mulHQ, _mulHA, _mulSA,
6296 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6297 _divQQ, _divHQ, _divHA, _divSA,
6298 _divUQQ, _divUHQ, _divUHA, _divUSA.
6299
ecdbd01a 63002013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6301
dbdbd982 6302 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6303 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6304 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6305 to exclude functions from being built with libgcc.c and use
6306 the microblaze assembly.
6307
ecdbd01a 63082013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6309
6310 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6311 extra_parts.
6312
922c57d1
YZ
63132013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6314
6315 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6316 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6317 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6318 alignment operation.
6319
e0f8b6a0
SN
63202013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6321
6322 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6323 loop start address for cache clearing.
6324
00892272
GJL
63252013-01-14 Georg-Johann Lay <avr@gjlay.de>
6326
6327 * config/avr/lib1funcs.S: Remove trailing blanks.
6328 * config/avr/lib1funcs-fixed.S: Ditto.
6329
e59ec5fd
GJL
63302013-01-14 Georg-Johann Lay <avr@gjlay.de>
6331
6332 * config/avr/avr-lib.h: Add GPL copyright notice.
6333
3ffc1958
GJL
63342013-01-14 Georg-Johann Lay <avr@gjlay.de>
6335
6336 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6337 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6338 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6339 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6340
25c210f9
MK
63412013-01-07 Mark Kettenis <kettenis@openbsd.org>
6342
6343 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6344 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6345
db59befb
NC
63462013-01-04 Nick Clifton <nickc@redhat.com>
6347
6348 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6349 the CALLT instruction is supported.
6350
5aa12dbf
JW
63512012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6352
6353 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6354 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6355
65f14117
JT
63562012-12-13 John Tytgat <John@bass-software.com>
6357
6358 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6359 is 25.
6360
ee3ae4f7
JJ
63612012-12-12 Jakub Jelinek <jakub@redhat.com>
6362
6363 PR libgcc/55451
6364 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6365 undefined signed overflows.
6366
2fcfba3d
UB
63672012-12-09 Uros Bizjak <ubizjak@gmail.com>
6368
6369 PR target/55344
6370 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6371
4f2b3dc2
UB
63722012-12-06 Uros Bizjak <ubizjak@gmail.com>
6373
6374 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6375 (FP_TRAPPING_EXCEPTIONS): Define.
6376 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6377 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6378
066161a2
RH
63792012-12-04 Richard Henderson <rth@redhat.com>
6380
6381 PR bootstrap/55571
6382 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6383
7d296953 63842012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6385
4f2b3dc2 6386 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6387 (FP_EX_SHIFT): Define.
6388 (FP_TRAPPING_EXCEPTIONS): Define.
6389
7d296953 63902012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6391
6392 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6393 (FP_ROUNDMODE): Use FP_RND_MASK.
6394 * config/aarch64/sfp-exceptions.c: New.
6395 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6396 Use __sfp_handle_exceptions.
6397
5005fe22
RE
63982012-12-04 Richard Earnshaw <rearnsha@arm.com>
6399
6400 * config.host: (arm*-*-freebsd*): Remove.
6401 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6402 (arm*-*-elf*): Remove.
6403 (arm*-*-wince-pe*): Remove.
6404 * arm/unwind-arm.c (struct fpa_reg): Delete.
6405 (struct fpa_regs): Delete.
6406 (phase1_vrs): Remove fpa element.
6407 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6408 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6409 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6410 * ieee754-sf.S (floatundisf): Remove FPA support.
6411 (floatdisf): Likewise.
6412 * ieee75f-df.S (floatundidf): Likewise.
6413 (floatdidf): Likewise.
6414
e5a81c8e
KT
64152012-11-29 Kai Tietz <ktietz@redhat.com>
6416
6417 PR target/55445
6418 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6419 * unwind-generic.h: Likewise.
6420 * unwind-seh.c: Likewise.
6421
f4919e4a
RH
64222012-11-28 Richard Henderson <rth@redhat.com>
6423
6424 PR libgcc/48076
6425 * emutls.c (__emutls_get_address): Avoid race condition between
6426 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6427
e13d9d5a
GJL
64282012-11-22 Georg-Johann Lay <avr@gjlay.de>
6429
6430 Adjust decimal point of signed accum mode to GCC default.
6431
6432 PR target/54222
6433 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6434 _divqq_helper.
6435 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6436 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6437 (__mulha3, __mulsa3)
6438 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6439 decimal point of signed accum types.
6440
e13d9d5a
GJL
6441 (__mulusa3_round): New function.
6442 (__mulusa3): Use it.
6443 (__divqq_helper): New function.
6444 (__udivuqq3): Use it.
6445
1b845c6e
JJ
64462012-11-20 Jakub Jelinek <jakub@redhat.com>
6447
6448 PR bootstrap/55370
6449 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6450
822a258a
TJ
64512012-11-18 Teresa Johnson <tejohnson@google.com>
6452
6453 PR bootstrap/55051
6454 * libgcov.c (gcov_exit): Remove merged program summary
6455 comparison unless !GCOV_LOCKED.
6456
7d296953 64572012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6458
6459 * soft-fp: Updated from glibc upstream.
6460
e808687a
ILT
64612012-11-06 Ian Lance Taylor <iant@google.com>
6462
6463 * generic-morestack.c (__generic_morestack): Align the returned
6464 stack pointer to a 32 byte boundary.
6465 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6466 increment the return address until we have decided that we don't
6467 have a varargs function.
6468 (__morestack) [32-bit]: Align stack correctly when calling C
6469 functions.
6470 (__morestack) [64-bit]: Likewise.
6471
460277e0
TS
64722012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6473
6474 * configure: Regenerate.
6475
73edb277
UB
64762012-11-02 Uros Bizjak <ubizjak@gmail.com>
6477
6478 PR target/55175
6479 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6480 * config/i386/sfp-machine.h: Guard exception handling
6481 code with _SOFT_FLOAT.
6482 * config/i386/32/sfp-machine.h: Guard rounding handling
6483 code with _SOFT_FLOAT.
6484 * config/i386/64/sfp-machine.h: Ditto.
6485
c1d4fa04
JS
64862012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6487
6488 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6489 as extra_parts.
6490
eff6ca85
UB
64912012-10-26 Uros Bizjak <ubizjak@gmail.com>
6492
6493 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6494 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6495 when appropriate. Correct structure element types.
6496 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6497 -minline-all-stringops from compile flags.
6498
7d296953 64992012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6500
6501 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6502
7d296953 65032012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6504
eff6ca85 6505 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6506
6f288860
SH
65072012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6508
6509 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6510 tmake_file.
6511
1e3d5096
IB
65122012-10-23 Ian Bolton <ian.bolton@arm.com>
6513 Jim MacArthur <jim.macarthur@arm.com>
6514 Marcus Shawcroft <marcus.shawcroft@arm.com>
6515 Nigel Stephens <nigel.stephens@arm.com>
6516 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6517 Richard Earnshaw <rearnsha@arm.com>
6518 Sofiane Naci <sofiane.naci@arm.com>
6519 Stephen Thomas <stephen.thomas@arm.com>
6520 Tejas Belagod <tejas.belagod@arm.com>
6521 Yufeng Zhang <yufeng.zhang@arm.com>
6522
6523 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6524 * config/aarch64/crti.S: New file.
6525 * config/aarch64/crtn.S: New file.
6526 * config/aarch64/linux-unwind.h: New file.
6527 * config/aarch64/sfp-machine.h: New file.
6528 * config/aarch64/sync-cache.c: New file.
6529 * config/aarch64/t-aarch64: New file.
6530 * config/aarch64/t-softfp: New file.
6531
8a740f07
HPN
65322012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6533
6534 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6535 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6536 no-longer-needed LDBU insns.
6537
7d296953 65382012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6539
6540 * config.host
6541 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6542 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6543
595fefee
MGD
65442012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6545
6546 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6547
9945a876
MK
65482012-10-15 Matthias Klose <doko@ubuntu.com>
6549
6550 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6551
1183dc2c
PC
65522012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6553
6554 * configure: Regenerate.
6555 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6556
945a9c1f
UB
65572012-10-10 Uros Bizjak <ubizjak@gmail.com>
6558
6559 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6560 instructions for 64bit targets only.
6561
fb8bf47a
UB
65622012-10-10 Uros Bizjak <ubizjak@gmail.com>
6563
6564 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6565 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6566 * config/i386/32/sfp-machine.h: ... here.
6567 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6568 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6569 New defines.
6570
acb72498
MK
65712012-10-07 Matthias Klose <doko@ubuntu.com>
6572
6573 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6574 as unused.
6575 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6576
8eaee0f0
MK
65772012-10-06 Mark Kettenis <kettenis@openbsd.org>
6578
6579 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6580 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6581 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6582 (ElfW): Likewise.
6583
5e3e4fe8
JW
65842012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6585
6586 PR other/53889
6587 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6588 Fix parameter names.
6589
86086376
OE
65902012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6591
6592 PR target/33135
6593 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6594 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6595 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6596
9597375a
OE
65972012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6598
6599 PR target/50457
6600 * config/sh/linux-atomic.S: Delete.
6601 * config/sh/linux-atomic.c: New.
6602 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6603 linux-atomic.c. Add cflags to disable warnings.
6604
1504e3e1
JW
66052012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6606
6607 PR other/53889
6608 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6609 function.
6610 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6611 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6612 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6613 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6614 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6615 Likewise.
1504e3e1
JW
6616 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6617 Likewise.
6618 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6619 Likewise.
6620 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6621 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6622
17f293b0
MK
66232012-09-19 Mark Kettenis <kettenis@openbsd.org>
6624
9597375a
OE
6625 * config.host (hppa-*-openbsd*): New target.
6626 * config/pa/t-openbsd: New file.
17f293b0 6627
51526856
GJL
66282012-09-15 Georg-Johann Lay <avr@gjlay.de>
6629
6630 PR target/54222
6631 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6632 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6633 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6634 (__divsa3): Use __negsi2 to negate r_quoL.
6635 * config/avr/lib1funcs.S (FALIAS): New macro.
6636 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6637 (__negsi2): ...this new function.
6638 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6639 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6640 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6641 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6642 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6643 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6644
aadb5b43
OE
66452012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6646
6647 PR target/54089
6648 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6649 (lshrsi3): Reimplement as lshrsi3_r0.
6650
d5d66749
AS
66512012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6652
6653 PR target/46191
6654 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6655 of libgcc.a.
6656
c6c36e73
TJ
66572012-09-07 Teresa Johnson <tejohnson@google.com>
6658
9597375a 6659 PR gcov-profile/54487
c6c36e73 6660 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6661 differences.
c6c36e73 6662
b588ae30
GJL
66632012-09-05 Georg-Johann Lay <avr@gjlay.de>
6664
6665 PR target/54461
6666 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6667 not configured --with-avrlibc=no.
6668 * config/avr/t-avrlibc: New file.
6669 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6670 (DPBIT_FUNCS): Ditto.
6671 (TPBIT_FUNCS): Ditto.
6672
abd16fb1
TJ
66732012-09-04 Teresa Johnson <tejohnson@google.com>
6674
6675 * libgcov.c (struct gcov_summary_buffer): New structure.
6676 (gcov_histogram_insert): New function.
6677 (gcov_compute_histogram): Ditto.
6678 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6679 histograms during summary merging.
6680
613061fd
MK
66812012-09-01 Mark Kettenis <kettenis@openbsd.org>
6682
6683 * config.host (x86_64-*-openbsd*): New target.
73edb277 6684
867a8345
CLT
66852012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6686
6687 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6688 attribute.
6689
4aeaaca3
GJL
66902012-08-24 Georg-Johann Lay <avr@gjlay.de>
6691
6692 PR target/54222
6693 * config/avr/t-avr (conv_X): Rename to func_X.
6694
e55e4056
GJL
66952012-08-24 Georg-Johann Lay <avr@gjlay.de>
6696
6697 PR target/54222
6698 * config/avr/lib1funcs-fixed.S: New file.
6699 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6700 after they are used.
6701 (neg2, neg4): New macros.
6702 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6703 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6704 (__umulhisi3): Speed up MUL variant if there is enough flash.
6705 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6706 avr-modes.def.
6707 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6708 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6709 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6710 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6711 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6712 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6713 (LIB2FUNCS_EXCLUDE): Add supported functions.
6714
a147b6d2
GJL
67152012-08-22 Georg-Johann Lay <avr@gjlay.de>
6716
6717 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6718 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6719 libgcc-s-objects.
6720 * fixed-obj.mk: Only expand dependency if $o is not in
6721 LIB2FUNCS_EXCLUDE.
6722
c637141a
L
67232012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6724
6725 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6726
130e00bd
JM
67272012-08-22 Joseph Myers <joseph@codesourcery.com>
6728
6729 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6730 depend on --enable-shared.
6731 ($(lib1asmfuncs-o)): Use %.vis files independent of
6732 --enable-shared.
6733 * static-object.mk ($(base)$(objext), $(base).vis)
6734 ($(base)_s$(objext)): Use same rules for visibility handling as in
6735 shared-object.mk.
6736
4b1b3788
ILT
67372012-08-21 Ian Lance Taylor <iant@google.com>
6738
6739 * config/i386/morestack.S (__morestack_non_split): Increase amount
6740 of space allocated for non-split code stack.
6741
d2468141
JM
67422012-08-19 Joseph Myers <joseph@codesourcery.com>
6743
6744 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6745 even if inhibit_libc.
6746
a508e1a8
JB
67472012-08-17 Julian Brown <julian@codesourcery.com>
6748
6749 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6750 -fexceptions -fnon-call-exceptions if not defined.
6751 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6752 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6753
5615a07d
AS
67542012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6755
6756 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6757 type.
6758
138f5acd
DE
67592012-08-16 David Edelsohn <dje.gcc@gmail.com>
6760
6761 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6762 rs6000/t-slibgcc-aix.
6763
18efc0dd
SB
67642012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6765
6766 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6767
6b39bc38
SB
67682012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6769
6770 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6771
cd25dea0
L
67722012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6773
6774 PR driver/54171
6775 * Makefile.in (version): Replace top_srcdir with srcdir.
6776
a3dda30b
JY
67772012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6778
6779 * Makefile.in (version): set to BASE-VER file from gcc directory.
6780
d04aacfc
NC
67812012-08-01 Nick Clifton <nickc@redhat.com>
6782
6783 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6784 Implements __clrsb for an HImode argument.
6785
0d13c974
NC
67862012-07-31 Nick Clifton <nickc@redhat.com>
6787
6788 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6789 Implements __clrsb for an HImode argument.
6790 * config/stormy16/clrsbhi2.c: New file:
6791 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6792
efbb59b2
SB
67932012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6794
6795 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6796
bf1431e3
TG
67972012-07-19 Tristan Gingold <gingold@adacore.com>
6798 Richard Henderson <rth@redhat.com>
6799
6800 * unwind-seh.c: New file.
6801 * unwind-generic.h: Include windows.h for SEH.
6802 (_Unwind_Exception): Use 6 private fields for SEH.
6803 (_GCC_specific_handler): Declare.
6804 * unwind-c.c (__gcc_personality_seh0): New function.
6805 Adjust for SEH.
6806 * config/i386/libgcc-cygming.ver: New file.
6807 * config/i386/t-seh-eh: New file.
6808 * config.host (x86_64-*-mingw*): Default to seh.
6809
659140c8
SB
68102012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6811
6812 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6813
a20d08fd
UB
68142012-06-17 Uros Bizjak <ubizjak@gmail.com>
6815
6816 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6817 __builtin_expect when checking for exceptions.
6818 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6819
79261115
UB
68202012-06-13 Uros Bizjak <ubizjak@gmail.com>
6821
4a172156
UB
6822 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6823 function declaration.
6824 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6825 (FP_RND_MASK): New.
6826 * config/ia64/sfp-exceptions.c: New.
6827 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6828
bb5c97d4
UB
68292012-06-13 Uros Bizjak <ubizjak@gmail.com>
6830
6831 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6832 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6833 * config/i386/64/sfp-machine: ... (delete here) ...
6834 * config/i386/sfp-machine.h: ... to here.
6835 (FP_EX_MASK): Remove.
6836 (FP_RND_MASK): New.
6837 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6838
91fe5efb
ST
68392012-06-11 Sriraman Tallam <tmsriram@google.com>
6840
6841 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6842 * config/i386/libgcc-sol2.ver: Ditto.
6843 * config/i386/libgcc-glibc.ver: Ditto.
6844
67a218c5
RM
68452012-06-11 Roland McGrath <mcgrathr@google.com>
6846
6847 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6848 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6849 pthread_cancel.
6850
492fbea1
UB
68512012-06-09 Uros Bizjak <ubizjak@gmail.com>
6852
6853 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6854 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6855 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6856 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6857 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6858 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6859 * config/i386/64/sfp-machine: ... (delete here) ...
6860 * config/i386/sfp-machine.h: ... to here.
6861 (FP_EX_MASK): New.
6862 (__sfp_handle_exceptions): New function declaration.
6863 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6864 * config/i386/sfp-exceptions.c: New.
6865 * config/i386/t-softfp: New.
6866 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6867 i386/t-softfp to tmake_file.
6868
7b4cf266
DM
68692012-06-03 David S. Miller <davem@davemloft.net>
6870
6871 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6872 change.
6873
0de0d5c6
DM
68742012-05-31 David S. Miller <davem@davemloft.net>
6875
6876 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6877 multiply and divide instructions on 32-bit when V9.
6878 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6879
d8c9d391
JM
68802012-05-29 Joseph Myers <joseph@codesourcery.com>
6881
6882 * config/arm/ieee754-df.S: Fix typos.
6883 * config/arm/ieee754-sf.S: Fix typos.
6884 * config/c6x/libunwind.S: Fix typos.
6885 * config/epiphany/udivsi3-float.c: Fix typos.
6886 * config/microblaze/muldi3_hard.S: Fix typos.
6887 * config/picochip/adddi3.S: Fix typos.
6888 * config/picochip/ashlsi3.S: Fix typos.
6889 * config/picochip/ashrsi3.S: Fix typos.
6890 * config/picochip/clzsi2.S: Fix typos.
6891 * config/picochip/cmpsi2.S: Fix typos.
6892 * config/picochip/divmod15.S: Fix typos.
6893 * config/picochip/divmodhi4.S: Fix typos.
6894 * config/picochip/divmodsi4.S: Fix typos.
6895 * config/picochip/longjmp.S: Fix typos.
6896 * config/picochip/lshrsi3.S: Fix typos.
6897 * config/picochip/parityhi2.S: Fix typos.
6898 * config/picochip/popcounthi2.S: Fix typos.
6899 * config/picochip/setjmp.S: Fix typos.
6900 * config/picochip/subdi3.S: Fix typos.
6901 * config/picochip/ucmpsi2.S: Fix typos.
6902 * config/picochip/udivmodhi4.S: Fix typos.
6903 * config/picochip/udivmodsi4.S: Fix typos.
6904 * config/spu/divv2df3.c: Fix typos.
6905 * config/spu/mfc_multi_tag_release.c: Fix typos.
6906 * config/spu/mfc_tag_release.c: Fix typos.
6907 * configure.ac: Fix typos.
6908 * configure: Regenerate.
6909
31a18a7e
ILT
69102012-05-25 Ian Lance Taylor <iant@google.com>
6911
6912 * config/i386/morestack.S (__morestack_non_split): Check whether
6913 caller is varargs and needs %bp to hold the stack frame on return.
6914
c5768510
OH
69152012-05-25 Olivier Hainque <hainque@adacore.com>
6916
6917 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6918 sequence in the non pic case on VxWorks.
6919
7c7c339b
OH
69202012-05-24 Olivier Hainque <hainque@adacore.com>
6921
73fb7630 6922 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6923 "install-leaf" to "install".
6924
fdc1b7d3
OH
69252012-05-24 Olivier Hainque <hainque@adacore.com>
6926
6927 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6928 Use a separate command for stamp removals.
6929
07ba94b9
AP
69302012-05-21 Andrew Pinski <apinski@cavium.com>
6931
6932 PR bootstrap/53183
6933 * configure.ac: Define the default includes to being none.
6934 * configure: Regenerate.
6935
4677d2eb
OH
69362012-05-16 Olivier Hainque <hainque@adacore.com>
6937
6938 * Makefile.in (install-unwind_h): Rename into ...
6939 (install-unwind_h-forbuild): New target.
6940 (all): Use it instead of the former install-unwind_h.
6941 (install-unwind_h): Reinstate, copy to user install destination
6942 for include files, not to the internal gcc object directory one.
6943 (install-leaf): Depend on it.
6944
7d67c380
OH
69452012-05-15 Olivier Hainque <hainque@adacore.com>
6946
6947 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6948 register numbers. LR_REGNO replaces R_LR.
6949 (ucontext_for): New, helper for ...
6950 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6951 and 5.3 of ...
6952 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6953
aca06c90
RO
69542012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6955
6956 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6957 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6958 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6959 i386/t-cpuinfo ...
6960 (i[34567]86-*-*, x86_64-*-*): ... here.
6961
6962 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6963 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6964
6965 * config/i386/i386-cpuinfo.c: Rename to ...
6966 * config/i386/cpuinfo.c: ... this.
6967 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6968
6969 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6970 (libgcc_cv_init_priority): New test.
6971 * configure: Regenerate.
6972 * config.in: New file.
6973 * Makefile.in (clean): Rename config.h to auto-target.h.
6974 (config.h): Likewise.
6975 (stamp-h): Likewise.
6976
6977 * config/i386/cpuinfo.c (auto-target.h): Include.
6978 (CONSTRUCTOR_PRIORITY): Define.
6979 (__cpu_indicator_init): Use it.
6980
0d03ac1b
L
69812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6982
6983 * longlong.h: Use a URL instead of an FSF postal address.
6984 Replace spaces with tab.
6985
4a172156 69862012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6987
6988 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6989 (__gcov_dump): Ditto.
6990 (gcov_dump_complete): New global variable.
6991 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6992 (__gcov_flush): Outline functionality now in gcov_clear.
6993 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6994
e4bb767e
AJ
69952012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6996
31a18a7e
ILT
6997 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6998 (mips*-*-linux*): Include mips/t-tpbit when long double is
6999 16 bytes long.
e4bb767e 7000
5ddecff9
ST
70012012-04-25 Sriraman Tallam <tmsriram@google.com>
7002
7003 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7004 (get_available_features): New argument. Check for AVX2.
7005 (__cpu_indicator_init): Modify call to get_available_features.
7006
b427dd7a
AM
70072012-04-25 Alan Modra <amodra@gmail.com>
7008
7009 * config/rs6000/crtsavevr.S: New file.
7010 * config/rs6000/crtrestvr.S: New file.
7011 * config/rs6000/t-savresfgpr: Build the above.
7012 * config/rs6000/t-netbsd: Likewise.
7013
ad491329
ST
70142012-04-24 Sriraman Tallam <tmsriram@google.com>
7015
7016 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7017
792317cc
ST
70182012-04-24 Sriraman Tallam <tmsriram@google.com>
7019
7020 * libgcc/config/i386/i386-cpuinfo.c: New file.
7021 * libgcc/config/i386/t-cpuinfo: New file.
7022 * libgcc/config.host: Include t-cpuinfo.
7023 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7024
e1be98a4
CF
70252012-04-24 Chao-ying Fu <fu@mips.com>
7026
7027 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7028
1bde7dab
TS
70292012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7030
7031 struct siginfo vs. siginfo_t
7032
7033 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7034 siginfo_t instead of struct siginfo.
7035 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7036 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7037 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7038 (ia64_handle_unwabi): Likewise.
7039 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7040 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7041 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7042 (sh_fallback_frame_state): Likewise.
7043 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7044 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7045
24590f66
L
70462012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7047
7048 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7049 system call number.
7050
9a9dcce8
EB
70512012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7052
7053 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7054 if it hasn't been previously saved.
7055
6401aaf5
L
70562012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7057
7058 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7059 only for glibc.
7060
7fd6378e
GJL
70612012-03-28 Georg-Johann Lay <avr@gjlay.de>
7062
7063 PR target/52737
7064 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7065 instead of __AVR_HAVE_8BIT_SP__.
7066
9e916de7
TG
70672012-03-26 Tristan Gingold <gingold@adacore.com>
7068
7069 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7070 (unw_table_entry): Use unw_word instead of unsigned long.
7071 (_Unwind_FindTableEntry): Likewise.
7072 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7073 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7074 (_Unwind_FindTableEntry): Likewise.
7075 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7076 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7077 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7078 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7079 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7080 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7081 (uw_init_context_1, uw_install_context): Likewise.
7082 (unw_word): Move to unwind-ia64.h
7083
4b12e93d
TG
70842012-03-26 Tristan Gingold <gingold@adacore.com>
7085
7086 * config/vms/vms-ucrt0.c: Update copyright years.
7087 Add a sanity check.
7088 (___gcc_main_flags): Declare.
7089 (__main): Check flags to remap argv and exit code.
7090 * config.host (*-*-*vms*): Adjust extra_parts.
7091 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7092 (crt0.o): Add.
7093
06ea7371
RE
70942012-03-22 Richard Earnshaw <rearnsha@arm.com>
7095
7096 * arm/lib1funcs.asm (ctzsi2): New function.
7097 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7098 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7099 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7100 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7101 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7102 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7103
d82ad50d
AT
71042012-03-21 Andreas Tobler <andreast@fgznet.ch>
7105
7106 * config.host: Add bits to support powerpc64-*-freebsd*.
7107 * config/rs6000/freebsd-unwind.h: New file.
7108 * config/rs6000/t-freebsd64: New file.
7109
b260a8c0
RG
71102012-03-20 Richard Guenther <rguenther@suse.de>
7111
7112 PR gcov-profile/52627
7113 * libgcov.c (init_mx): Fix mutex name.
7114
86286a8a
TG
71152012-03-16 Tristan Gingold <gingold@adacore.com>
7116
7117 * config/ia64/vms-unwind.h: Remove ulong (and replace
7118 it by unw_reg where used). Define unw_reg with __int64.
7119
7888f266
RO
71202012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7121
7122 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7123 Solaris 8 handling.
7124 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7125 Solaris 8 handling.
7126 (sparc_is_sighandler): Likewise.
7127
f155bc64
L
71282012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7129
7130 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7131 <= saved reg size.
7132
d47657bd
RO
71332012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7134
7135 * config/arm/crtn.S: Fix typo.
7136
5bef73a1
RG
71372012-03-13 Richard Guenther <rguenther@suse.de>
7138
7139 * libgcov.c: Remove stdio.h include and NULL un-define.
7140
9c4271f3
RG
71412012-03-13 Richard Guenther <rguenther@suse.de>
7142
7143 PR target/52569
7144 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7145
c6d10e7c
RG
71462012-03-13 Richard Guenther <rguenther@suse.de>
7147
7148 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7149
074a385f
RG
71502012-03-13 Richard Guenther <rguenther@suse.de>
7151
7152 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7153 and __gthread_mutex_init_function definitions.
7154
c4bc5c25
RO
71552012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7156
7157 * config.host (mips*-*-openbsd*): Remove.
7158
5c30094f
RO
71592012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7160
7161 * config.host: Remove alpha*-dec-osf5.1* handling.
7162 * config/alpha/gthr-posix.c: Remove.
7163 * config/alpha/libgcc-osf5.ver: Remove.
7164 * config/alpha/osf5-unwind.h: Remove.
7165 * config/alpha/t-osf-pthread: Remove.
7166 * config/alpha/t-slibgcc-osf: Remove.
7167 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7168 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7169 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7170 * mkmap-flat.awk: Remove osf_export handling.
7171
33e3e24d
RG
71722012-03-12 Richard Guenther <rguenther@suse.de>
7173
7174 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7175 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7176 (__gthread_mutex_init_function): New function.
7177 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7178
7179 PR gcov/49484
7180 * libgcov.c: Include gthr.h.
7181 (__gcov_flush_mx): New global variable.
7182 (init_mx, init_mx_once): New functions.
7183 (__gcov_flush): Protect self with a mutex.
7184 (__gcov_fork): Re-initialize mutex after forking.
7185 * unwind-dw2-fde.c: Change condition under which to use
7186 __GTHREAD_MUTEX_INIT_FUNCTION.
7187
d8aba32a
TG
71882012-03-12 Tristan Gingold <gingold@adacore.com>
7189
7190 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7191 * config/ia64/t-vms: Likewise.
7192
75ffafdc
MH
71932012-03-11 Michael Hope <michael.hope@linaro.org>
7194
4a172156
UB
7195 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7196 for Thumb-2.
75ffafdc 7197
ef6c2c53
WL
71982012-03-07 Walter Lee <walt@tilera.com>
7199
7200 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7201 "arch_atomic_".
7202 (atomic_xor): Rename and move definition to
7203 config/tilepro/atomic.h.
7204 (atomic_nand): Ditto.
7205 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7206 "arch_atomic_".
7207 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7208 (arch_atomic_nand): Ditto.
7209
4e30d980
GJL
72102012-03-07 Georg-Johann Lay <avr@gjlay.de>
7211
7212 PR target/52507
7213 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7214
61108225
GJL
72152012-03-07 Georg-Johann Lay <avr@gjlay.de>
7216
7217 PR target/52505
7218 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7219 from RAM.
7220
b30e10ab
GJL
72212012-03-07 Georg-Johann Lay <avr@gjlay.de>
7222
7223 PR target/52461
7224 PR target/52508
7225 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7226 if RAMPZ affects reading from RAM.
7227 (__tablejump_elpm__): Ditto.
7228 (.xload): Ditto.
7229 (__movmemx_hi): Ditto.
7230 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7231 (__do_global_dtors): Ditto.
7232 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7233 (__movmemx_hi): Ditto.
7234
8993fde4
RH
72352012-03-05 Richard Henderson <rth@redhat.com>
7236
7237 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7238 [ARM] (count_trailing_zeros): Use the builtin.
7239
b7633ee3
KT
72402012-03-01 Kai Tietz <ktietz@redhat.com>
7241
7242 * soft-fp: Imported from glibc upstream.
7243
fbd3340c
KT
72442012-02-28 Kai Tietz <ktietz@redhat.com>
7245
7246 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7247 for mingw-targets as attribute gcc_struct.
7248
e9e053eb
ILT
72492012-02-28 Ian Lance Taylor <iant@google.com>
7250
7251 * generic-morestack.c (__splitstack_releasecontext): Correct call
7252 to __morestack_release_segments.
7253
d80c632e
ST
72542012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7255
7256 PR target/52390
7257 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7258 for __linux__ when removing signals from __morestack_fullmask.
7259
0253a8b1
GJL
72602012-02-23 Georg-Johann Lay <avr@gjlay.de>
7261
7262 PR target/52261
7263 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7264
e10e461e
UW
72652012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7266
7267 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7268 instead of HAVE_INITFINI_ARRAY.
7269 * config/ia64/crtend.S: Likewise.
7270
0c0c6398
KT
72712012-02-20 Kai Tietz <ktietz@redhat.com>
7272
d7470374
KT
7273 PR libstdc++/52300
7274 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7275
0c0c6398
KT
7276 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7277 to w32-unwind.h header.
7278
78c27266
RS
72792012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7280
7281 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7282 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7283 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7284 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7285
5adeb246
RS
72862012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7287
7288 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7289
672ed313
IS
72902012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7291
7292 PR libitm/52220
7293 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7294
e948a1fb
IS
72952012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7296 Patrick Marlier <patrick.marlier@gmail.com>
7297
7298 PR libitm/52220
7299 * config/darwin-crt-tm.c: Generate dummy functions.
7300
6017aed3
IS
73012012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7302 Patrick Marlier <patrick.marlier@gmail.com>
7303
7304 PR libitm/52042
7305 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7306 (__doTMRegistrations): Call it.
e9e053eb 7307 (__doTMdeRegistrations): Likewise.
6017aed3 7308
2da8c1ad 73092012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7310 Anatoly Sokolov <aesok@post.ru>
7311 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7312
7313 PR target/52261
7314 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7315 (__epilogue_restores__): Ditto.
7316
0f952eb4
EB
73172012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7318
7319 PR target/51921
7320 PR target/52205
7321 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7322 Solaris 11 and slightly reformat.
7323 (sparc_is_sighandler): Likewise.
7324
dd552284
WL
73252012-02-14 Walter Lee <walt@tilera.com>
7326
7327 * config.host: Handle tilegx and tilepro.
7328 * config/tilegx/sfp-machine.h: New file.
7329 * config/tilegx/sfp-machine32.h: New file.
7330 * config/tilegx/sfp-machine64.h: New file.
7331 * config/tilegx/t-crtstuff: New file.
7332 * config/tilegx/t-softfp: New file.
7333 * config/tilegx/t-tilegx: New file.
7334 * config/tilepro/atomic.c: New file.
7335 * config/tilepro/atomic.h: New file.
7336 * config/tilepro/linux-unwind.h: New file.
7337 * config/tilepro/sfp-machine.h: New file.
7338 * config/tilepro/softdivide.c: New file.
7339 * config/tilepro/softmpy.S: New file.
7340 * config/tilepro/t-crtstuff: New file.
7341 * config/tilepro/t-tilepro: New file.
7342
b59cbd50
JW
73432012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7344
7345 PR libstdc++/51296
7346 PR libstdc++/51906
7347 * gthr-posix.h: Allow static initializer macros to be disabled.
7348 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7349
6caf807f
CLT
73502012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7351
7352 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7353 Add t-slibgcc-libgcc to tmake_file.
7354 * config/mips/libgcc-mips16.ver: Revert previous patch.
7355 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7356
7d296953
JJ
73572012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7358 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7359
7360 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7361 * config/cr16/crti.S: New file.
7362 * config/cr16/crtlibid.S: New file.
7363 * config/cr16/crtn.S: New file.
7364 * config/cr16/lib1funcs.S: New file.
7365 * config/cr16/t-cr16: New file.
7366 * config/cr16/t-crtlibid: New file.
7367 * config/cr16/unwind-dw2.h: New file.
7368 * config/cr16/unwind-cr16.c: New file.
7369 * config/cr16/divmodhi3.c: New file.
7370
8ef03aa7
AM
73712012-01-25 Alan Modra <amodra@gmail.com>
7372
7373 * config/rs6000/t-linux64: Delete. Move..
7374 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7375 * config/rs6000/t-linux: ..and libgcc flags to here.
7376
daecebc8
DR
73772012-01-22 Douglas B Rupp <rupp@gnat.com>
7378
7379 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7380 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7381 * configure: Regenerate.
7382
ddaf8125
RS
73832012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7384 Richard Sandiford <rdsandiford@googlemail.com>
7385
7386 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7387 * config/mips/mips16.S (__mips16_rdhwr): New function.
7388 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7389
2cd8b32c
NS
73902012-01-11 Nathan Sidwell <nathan@acm.org>
7391
7392 * libgcov.c (__gcov_init): Ignore objects with no functions.
7393
cba300dd
GJL
73942012-01-10 Georg-Johann Lay <avr@gjlay.de>
7395
7396 PR target/49868
7397 Extend __pgmx semantics to linearize memory.
7398 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7399 * config/avr/lib1funcs.S (__xload_1): New function.
7400 (__movmemx_qi, __movmemx_hi): New functions.
7401 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7402 semantics.
9ffaf4bc 7403
3d137660
EB
74042012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7405
7406 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7407 purported sigacthandler address isn't null before dereferencing it.
7408 (sparc_is_sighandler): Likewise.
7409
bf4db96c
EB
74102012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7411
7412 PR ada/41929
7413 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7414 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7415 (sparc_is_sighandler): Likewise.
7416 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7417
1ab3568b
TG
74182012-01-06 Tristan Gingold <gingold@adacore.com>
7419
7420 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7421 compatibility thunks...
7422 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7423 (crtbeginS.o, crtendS.o): ... and these to ...
7424 * config/ia64/t-ia64-elf: ... this new file.
7425 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7426 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7427
925b0ed8
AK
74282012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7429
7430 * configure: Regenerate.
7431 * config/s390/t-crtstuff: Remove -fPIC.
7432
a99ad737
JW
74332012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7434
7435 PR bootstrap/51006
7436 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7437 for NetBSD.
7438
884f56d1
GJL
74392012-01-02 Georg-Johann Lay <avr@gjlay.de>
7440
7441 PR target/51345
7442 * config/avr/lib1funcs.S: Remove FIXME comments.
7443 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7444
8c57e547
GJL
74452012-01-02 Georg-Johann Lay <avr@gjlay.de>
7446
7447 Implement light-weight DImode support.
7448 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7449 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7450 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7451 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7452
04dbc287
NS
74532011-12-30 Nathan Sidwell <nathan@acm.org>
7454
7455 * libgcov.c (gcov_crc32): Remove global var.
7456 (free_fn_data): New function.
7457 (buffer_fn_data): Pass in filename, more robust error recovery.
7458 (crc32_unsigned): New function.
7459 (gcov_exit): More robust detection of new program. More robust
7460 error recovery.
7461 (__gcov_init): Do not update program's crc here.
7462
8e1d97d4
TG
74632011-12-21 Tristan Gingold <gingold@adacore.com>
7464
7465 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7466
9ffaf4bc
ILT
74672011-12-21 Ian Lance Taylor <iant@google.com>
7468
7469 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7470
a0c8d0c1
ILT
74712011-12-20 Ian Lance Taylor <iant@google.com>
7472
7473 * config/i386/morestack.S (__morestack_non_split): If there is
7474 enough stack space already, don't split. Ask for more stack space
7475 than we required.
7476
69048898
SDJ
74772011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7478
7479 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7480 `sys/sdt.h'.
7481 (_Unwind_DebugHook): New function.
7482 (uw_restore_core_regs): New define.
7483 (unwind_phase2): Use uw_restore_core_regs instead of
7484 restore_core_regs.
7485 (unwind_phase2_forced): Likewise.
7486 (__gnu_Unwind_Resume): Likewise.
7487
1bb4b6a3
UB
74882011-12-20 Uros Bizjak <ubizjak@gmail.com>
7489
7490 * config/alpha/linux-unwind.h: Update copyright years.
7491 (MD_FROB_UPDATE_CONTEXT): New define.
7492 (alpha_frob_update_context): New function.
7493
eb028768
RS
74942011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7495
7496 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7497 tmake_file rather replacing it.
7498
6a2045bf
IS
74992011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7500
7501 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7502 function is not used for PPC64.
6a2045bf
IS
7503 (save_world): Amend comments. Update the VRsave mask to reflect the
7504 saved regs.
7505 (rest_world): Update comments, do not clobber r10, do not use r8.
7506 (eh_rest_world_r10): Amend comments, do not use r8.
7507 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7508 no longer used, move restore of CR and target address to the end of
7509 the routine.
7510
a13780a6
L
75112011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7512
7513 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7514 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7515
d7288dfb
GJL
75162011-12-14 Georg-Johann Lay <avr@gjlay.de>
7517
7518 PR target/49313
7519 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7520 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7521
8d2c862d
EB
75222011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7523
7524 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7525
3447cae6
GJL
75262011-12-09 Georg-Johann Lay <avr@gjlay.de>
7527
7528 PR target/49313
7529 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7530 * config/avr/lib1funcs.S (__muldi3): New function.
7531
806fc6aa
AP
75322011-12-06 Andrew Pinski <apinski@cavium.com>
7533
7534 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7535 size of func_ptr.
7536 (__frame_dummy_init_array_entry): Likewise.
7537
28c5e6b5
GJL
75382011-12-06 Georg-Johann Lay <avr@gjlay.de>
7539
7540 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7541
7542 PR target/51345
7543 PR target/51002
7544 * config/avr/lib1funcs.S (__prologue_saves__,
7545 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7546 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7547
8f90394a
IS
75482011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7549
7550 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7551
06dd33ac
JDA
75522011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7553
7554 PR other/51272
7555 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7556 (_ITM_deregisterTMCloneTable): Likewise.
7557 (__register_frame_info): Fix unused warning.
7558 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7559 pthread_default_stacksize_np): Likewise.
7560 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7561
85b8555e
DD
75622011-11-29 DJ Delorie <dj@redhat.com>
7563
7564 * config.host (rl78-*-elf): New case.
7565 * config/rl78: New directory for the Renesas RL78.
7566
4d5ae4ea
BS
75672011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7568
7569 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7570 formatting.
7571
f9c55897
RO
75722011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7573
7574 PR other/51022
7575 * config/rs6000/t-savresfgpr: New file.
7576 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7577 $(srcdir)/config/rs6000/eabi.S.
7578 * config/rs6000/t-ppccomm-ldbl: Remove.
7579 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7580 tmake_file.
7581 (powerpc-*-eabispe*): Likewise.
7582 (powerpc-*-eabi*): Likewise.
7583 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7584 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7585 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7586 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7587 tmake_file.
7588 (powerpc-*-eabisim*): Likewise.
7589 (powerpc-*-elf*): Likewise.
7590 (powerpc-*-eabialtivec*): Likewise.
7591 (powerpc-xilinx-eabi*): Likewise.
7592 (powerpc-*-rtems*): Likewise.
7593 (powerpcle-*-elf*): Likewise.
7594 (powerpcle-*-eabisim*): Likewise.
7595 (powerpcle-*-eabi*): Likewise.
7596
a01207c4
ILT
75972011-11-27 Ian Lance Taylor <iant@google.com>
7598
7599 * generic-morestack.c (__splitstack_find): Check for NULL old
7600 stack value.
7601 (__splitstack_resetcontext): New function.
7602 (__splitstack_releasecontext): New function.
7603 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7604
2b0b8ab2
IS
76052011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7606
7607 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7608
c1d8101c
IS
76092011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7610
7611 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7612
8b281334
RH
76132011-11-26 Richard Henderson <rth@redhat.com>
7614
7615 * config/m68k/linux-atomic.c: New file.
7616 * config/m68k/t-linux: New file.
7617 * config.host (m68k-uclinux, m68k-linux): Use it.
7618
7546aa9d
RH
76192011-11-26 Richard Henderson <rth@redhat.com>
7620
7621 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7622 (__TMC_END__): Only declare if hidden is available; in the definition,
7623 if hidden is unavailable add a null record.
7624 (deregister_tm_clones, register_tm_clones): New.
7625 (__do_global_dtors_aux, frame_dummy): Use them.
7626 (__do_global_dtors, __do_global_ctors_1): Likewise.
7627
e2362f5d
IS
76282011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7629
7630 * config/darwin-crt-tm.c: New file.
7631 * config.host (darwin): Build crttms.o crttme.o to provide
7632 startup and shutdown for tm clones.
7633 * config/t-darwin (crttms.o): New build rule.
7634 (crttme.o): Likewise.
7635
6685dd96
HPN
76362011-11-21 Hans-Peter Nilsson <hp@axis.com>
7637
7638 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7639 et al.
7640
b0dc7e4c
RH
76412011-11-21 Richard Henderson <rth@redhat.com>
7642
7643 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7644 (__TMC_LIST__, __TMC_END__): New.
7645 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7646 (__do_global_dtors): Likewise.
7647 (frame_dummy): Call _ITM_registerTMCloneTable.
7648 (__do_global_ctors_1): Likewise.
7649
d4b4b542
RO
76502011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7651
7652 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7653 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7654 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7655 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7656 * config/i386/t-darwin64: Remove.
7657 * config/sh/t-netbsd (LIB2ADD): Remove.
7658
989bdb74
GJL
76592011-11-21 Georg-Johann Lay <avr@gjlay.de>
7660
7661 PR target/49313
7662 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7663 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7664 * config/avr/lib1funcs.S (wmov): New assembler macro.
7665 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7666 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7667 (__udivmod64): New function.
7668 (__negdi2): New function.
7669
515a0cfc
GP
76702011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7671
7672 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7673 *-*-freebsd*aout*): Remove.
7674
0115d17f
HPN
76752011-11-20 Hans-Peter Nilsson <hp@axis.com>
7676
7677 * static-object.mk (c_flags-$o): Save c_flags.
7678 ($(base)$(objext)): Use it.
7679
93aeb62b
SE
76802011-11-18 Steve Ellcey <sje@cup.hp.com>
7681
7682 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7683
7bc6df2c
GJL
76842011-11-18 Georg-Johann Lay <avr@gjlay.de>
7685
7686 PR target/49868
7687 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7688 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7689 New functions.
7690
425d737b
MGD
76912011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7692
7693 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7694 functions.
1bb4b6a3 7695 (aeabi_uidivmod): Likewise.
425d737b
MGD
7696 (umodsi3): Likewise.
7697 (divsi3): Likewise.
7698 (aeabi_idivmod): Likewise.
7699 (modsi3): Likewise.
7700
f2a176dc
TG
77012011-11-16 Tristan Gingold <gingold@adacore.com>
7702
7703 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7704
7c209481
GJL
77052011-11-15 Georg-Johann Lay <avr@gjlay.de>
7706
7707 PR target/49868
7708 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7709 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7710
9dfd5832
JDA
77112011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7712
7713 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7714 tmake_file list.
7715 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7716 * config/pa/t-stublib64: Delete.
7717
f77dca5d
RH
77182011-11-12 Richard Henderson <rth@redhat.com>
7719
7720 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7721 cast the pointer argument to _Unwind_SetGRPtr.
7722
902828f0
RO
77232011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7724
7725 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7726
e14304ef
ILT
77272011-11-09 Ian Lance Taylor <iant@google.com>
7728
7729 * generic-morestack.c: Include <string.h>.
7730 (uintptr_type): Define.
7731 (struct initial_sp): Add dont_block_signals field. Reduce size of
7732 extra array by 1.
7733 (allocate_segment): Set prev field to NULL. Don't set
7734 __morestack_current_segment or __morestack_segments.
7735 (__generic_morestack): Update current->prev and *pp after calling
7736 allocate_segment.
7737 (__morestack_block_signals): Don't do anything if
7738 dont_block_signals is set.
7739 (__morestack_unblock_signals): Likewise.
7740 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7741 uintptr_type.
7742 (__splitstack_block_signals): New function.
7743 (enum __splitstack_content_offsets): Define.
7744 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7745 (__splitstack_makecontext): New function.
7746 (__splitstack_block_signals_context): New function.
7747 (__splitstack_find_context): New function.
7748 * config/i386/morestack.S (__morestack_get_guard): New function.
7749 (__morestack_set_guard, __morestack_make_guard): New functions.
7750 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7751
e3d871e4
RO
77522011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7753
7754 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7755 (i[34567]86-*-mingw*): ... here.
7756 (x86_64-*-mingw*): ... here.
7757
e55cef40
RO
77582011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7759
7760 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7761
5366b186
NS
77622011-11-07 Nathan Sidwell <nathan@acm.org>
7763
7764 * libgcov.c (struct gcov_fn_buffer): New struct.
7765 (buffer_fn_data): New helper.
7766 (gcov_exit): Rework for new gcov data structures.
7767
74155a6f
GJL
77682011-11-07 Georg-Johann Lay <avr@gjlay.de>
7769
7770 PR target/49313
7771 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7772
200feb07
RO
77732011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7774
7775 * config.host (tmake_file): Correct comment.
7776 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7777 t-libgcc-pic.
7778 (bfin*-uclinux*): Likewise.
7779 (bfin*-linux-uclibc*): Likewise.
7780 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7781
7782 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7783 assigning.
7784 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7785 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7786 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7787 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7788 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7789 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7790 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7791 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7792 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7793 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7794 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7795 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7796 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7797
7798 * config/bfin/t-elf: Remove.
7799 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7800
c9cd1a07
RO
78012011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7802
7803 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7804 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7805 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7806 (lm32-*-elf*): ... this.
7807 (lm32-*-rtems*): ... and this.
7808 Add to tmake_file.
7809 (m32r-*-rtems*): Add to tmake_file.
7810 (moxie-*-rtems*): Likewise.
7811 (sparc-*-rtems*): Likewise.
7812 Remove t-rtems from tmake_file.
7813 (sparc64-*-rtems*): Likewise.
7814 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7815 instead.
7816
9fbcc75d
RO
78172011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7818
7819 PR bootstrap/50982
7820 * config/gthr-posix.h: Move ...
7821 * gthr-posix.h: ... here.
7822 * config/gthr-lynx.h: Reflect this.
7823 * config/gthr-vxworks.h: Likewise.
7824 * config/rs6000/gthr-aix.h: Likewise.
7825 * configure.ac (target_thread_file): Likewise.
7826 * configure: Regenerate.
7827
76644b68
SH
78282011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7829
7830 * config.host (arm*-*-rtemseabi*): New target.
7831
5e490f2a
JDA
78322011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7833
7834 PR other/50991
7835 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7836 extra-parts.
7837
feeeff5c
JR
78382011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7839
7840 * config.host (epiphany-*-elf*): New configuration.
7841 * config/epiphany: New Directory.
7842
d618bb2c
RC
78432011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7844
7845 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7846 * config/avr/t-rtems: New.
7847 Filter out _exit from LIB1ASMFUNCS.
7848
1bb6f778
DM
78492011-11-04 David S. Miller <davem@davemloft.net>
7850
7851 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7852 * configure: Rebuild.
7853
9a7f7422
AK
78542011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7855
7856 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7857 variable.
7858
e4fe948a
GJL
78592011-11-04 Georg-Johann Lay <avr@gjlay.de>
7860
7861 PR target/50931
7862 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7863 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7864
7084e037
JS
78652011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7866
7867 PR target/50989
7868 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7869
1a032034
RO
78702011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7871
7872 * config/c6x/t-elf (LIB2ADDEH): Set.
7873 * config/c6x/t-c6x-elf: Remove.
7874
d385f772
RO
78752011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7876
7877 * config/i386/sol2-ci.S: Rename to ...
7878 * config/i386/crti.S: ... this.
7879 * config/i386/sol2-cn.S: Rename to ...
7880 * config/i386/crtn.S: ... this.
7881 * config/sparc/sol2-ci.S: Rename to ...
7882 * config/sparc/crti.S: ... this.
7883 * config/sparc/sol2-cn.S: Rename to ...
7884 * config/sparc/crtn.S: ... this.
7885 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7886 (crti.o, crtn.o): Remove.
7887
1ba878a9
TG
78882011-11-04 Tristan Gingold <gingold@adacore.com>
7889
7890 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7891
02750c15
KK
78922011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7893
7894 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7895
bf86b067
HPN
78962011-11-03 Hans-Peter Nilsson <hp@axis.com>
7897
7898 * config.host (crisv32-*-none, cris-*-none): Remove.
7899 (crisv32-*-elf): Append to tmake_file, don't just set it.
7900 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7901
d0bc53bd
RO
79022011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7903
7904 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7905 (ecrtn$(objext)): Likewise.
7906 (ncrti$(objext)): Likewise.
7907 (ncrtn$(objext)): Likewise.
7908
036da830
AS
79092011-11-03 Andreas Schwab <schwab@redhat.com>
7910
7911 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7912
d2a7d041
DM
79132011-11-02 David S. Miller <davem@davemloft.net>
7914
7915 * configure.ac: Set host_address on sparc too.
7916 * configure: Regenerate.
7917 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7918 based upon host_address.
7919 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7920
af8ed618
JM
79212011-11-02 Jason Merrill <jason@redhat.com>
7922
7923 * config/rs6000/t-ppccomm: Add missing \.
7924
5d1c8e77
RO
79252011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7926
7927 * gthr-single.h, gthr.h: New files.
7928 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7929 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7930 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7931 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7932 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7933 * configure.ac (thread_header): New variable.
7934 Set it depending on target_thread_file.
7935 (gthr-default.h): Link from $thread_header.
7936 * configure: Regenerate.
7937 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7938
852b75ed
RO
79392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7940
7941 * configure.ac (tm_file_): New variable.
7942 Determine from tm_file.
7943 (tm_file, tm_defines): Substitute.
7944 * configure: Regenerate.
7945 * mkheader.sh: New file.
7946 * Makefile.in (clean): Remove libgcc_tm.h.
7947 ($(objects)): Depend on libgcc_tm.h.
7948 (libgcc_tm_defines, libgcc_tm_file): New variables.
7949 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7950 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7951 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7952 ($(extra-parts)): Depend on libgcc_tm.h.
7953 * config.host (tm_defines, tm_file): New variable.
7954 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7955 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7956 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7957 (avr-*-rtems*): Likewise.
7958 (avr-*-*): Likewise.
7959 (frv-*-elf): Likewise.
7960 (frv-*-*linux*): Likewise.
7961 (h8300-*-rtems*): Likewise.
7962 (h8300-*-elf*): Likewise.
7963 (i[34567]86-*-darwin*): Likewise.
7964 (x86_64-*-darwin*): Likewise.
7965 (rx-*-elf): Likewise.
7966 (tic6x-*-uclinux): Likewise.
7967 (tic6x-*-elf): Likewise.
7968 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7969 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7970 * config/i386/cygming-crtbegin.c: Likewise.
7971 * config/i386/cygming-crtend.c: Likewise.
7972 * config/ia64/fde-vms.c: Likewise.
7973 * config/ia64/unwind-ia64.c: Likewise.
7974 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7975 * config/rs6000/darwin-fallback.c: Likewise.
7976 * config/stormy16/lib2funcs.c: Likewise.
7977 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7978 * crtstuff.c: Likewise.
7979 * dfp-bit.h: Likewise.
7980 * emutls.c: Likewise.
7981 * fixed-bit.c: Likewise.
7982 * fp-bit.c: Likewise.
7983 * generic-morestack-thread.c: Likewise.
7984 * generic-morestack.c: Likewise.
7985 * libgcc2.c: Likewise.
7986 * libgcov.c: Likewise.
7987 * unwind-dw2-fde-dip.c: Likewise.
7988 * unwind-dw2-fde.c: Likewise.
7989 * unwind-dw2.c: Likewise.
7990 * unwind-sjlj.c: Likewise.
7991
f9989b51
RO
79922011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7993
7994 * configure.ac: Include ../config/picflag.m4.
7995 (GCC_PICFLAG): Call it.
7996 Substitute.
7997 * configure: Regenerate.
7998 * Makefile.in (gcc_srcdir): Remove.
7999 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8000 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8001 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8002 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8003 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8004 Use $<.
8005 Remove comment.
8006 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8007 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8008 to refer to libgcc2.c.
8009 Use $<.
8010 * config/darwin-64.c: New file.
8011 * config/darwin-crt3.c: Remove comment.
8012 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8013 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8014 config/udivmodsi4.c: New files.
8015 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8016 config/memset.c: New files.
8017 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8018 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8019 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8020 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8021 * config/t-openbsd-thread: New file.
8022 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8023 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8024 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8025 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8026 qrnnd.S.
8027 Adapt filename.
8028 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8029 to refer to gthr-posix.c.
8030 * config/alpha/t-vms (LIB2ADD): Set.
8031 * config/alpha/vms-gcc_shell_handler.c: New file.
8032 * config/arm/bpabi.c, config/arm/fp16.c,
8033 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8034 config/arm/unaligned-funcs.c: New files.
8035 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8036 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8037 * config/arm/t-linux: Likewise.
8038 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8039 * config/arm/t-netbsd: New file.
8040 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8041 * config/arm/t-symbian (LIB2ADD_ST): Set.
8042 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8043 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8044 * config/bfin/t-elf: New file.
8045 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8046 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8047 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8048 config/c6x/ltf.c: New files.
8049 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8050 (HOST_LIBGCC2_CFLAGS): Set.
8051 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8052 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8053 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8054 New files.
8055 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8056 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8057 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8058 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8059 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8060 files.
8061 * config/frv/t-frv (LIB2ADD): Set.
8062 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8063 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8064 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8065 config/h8300/popcounthi2.c: New files.
8066 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8067 * config/i386/gthr-win32.c: New file.
8068 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8069 * config/i386/t-cygwin: Likewise.
8070 * config/i386/t-darwin, config/i386/t-darwin64,
8071 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8072 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8073 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8074 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8075 * config/ia64/quadlib.c: New file.
8076 * config/ia64/t-hpux (LIB2ADD): Set.
8077 * config/ia64/t-ia64: Add comment.
8078 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8079 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8080 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8081 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8082 * config/m32c/t-m32c (LIB2ADD): Set.
8083 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8084 * config/m32r/t-m32r: Likewise.
8085 * config/m68k/fpgnulib.c: New file.
8086 * config/m68k/t-floatlib (LIB2ADD): Set.
8087 (xfgnulib.c): New target.
8088 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8089 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8090 * config/mep/t-mep (LIB2ADD): Set.
8091 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8092 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8093 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8094 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8095 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8096 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8097 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8098 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8099 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8100 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8101 New files.
8102 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8103 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8104 * config/pa/fptr.c, config/pa/lib2funcs.S,
8105 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8106 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8107 (LIB2ADD, LIB2ADD_ST): Set.
8108 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8109 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8110 Set.
8111 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8112 * config/pdp11/t-pdp11: New file.
8113 * config/picochip/libgccExtras/adddi3.S,
8114 config/picochip/libgccExtras/ashlsi3.S,
8115 config/picochip/libgccExtras/ashrsi3.S,
8116 config/picochip/libgccExtras/clzsi2.S,
8117 config/picochip/libgccExtras/cmpsi2.S,
8118 config/picochip/libgccExtras/divmod15.S,
8119 config/picochip/libgccExtras/divmodhi4.S,
8120 config/picochip/libgccExtras/divmodsi4.S,
8121 config/picochip/libgccExtras/lshrsi3.S,
8122 config/picochip/libgccExtras/parityhi2.S,
8123 config/picochip/libgccExtras/popcounthi2.S,
8124 config/picochip/libgccExtras/subdi3.S,
8125 config/picochip/libgccExtras/ucmpsi2.S,
8126 config/picochip/libgccExtras/udivmodhi4.S,
8127 config/picochip/libgccExtras/udivmodsi4.S: New files.
8128 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8129 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8130 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8131 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8132 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8133 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8134 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8135 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8136 files.
8137 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8138 (HOST_LIBGCC2_CFLAGS): Set.
8139 * config/rs6000/t-darwin64: New file.
8140 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8141 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8142 * config/rs6000/t-ppccomm (LIB2ADD): Add
8143 $(srcdir)/config/rs6000/tramp.S.
8144 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8145 Add $(srcdir)/config/rs6000/eabi.S.
8146 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8147 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8148 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8149 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8150 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8151 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8152 * config/rs6000/tramp.S: New file.
8153 * config/s390/t-tpf: Remove.
8154 * config/sh/linux-atomic.S: New file.
8155 * config/sh/t-linux (LIB2ADD): Set.
8156 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8157 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8158 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8159 to unwind-dw2.c.
8160 (HOST_LIBGCC2_CFLAGS): Set.
8161 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8162 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8163 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8164 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8165 config/spu/mfc_multi_tag_release.c,
8166 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8167 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8168 config/spu/multi3.c: New files.
8169 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8170 (HOST_LIBGCC2_CFLAGS): Set.
8171 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8172 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8173 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8174 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8175 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8176 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8177 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8178 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8179 config/stormy16/umodsi3.c: New files.
8180 * config/xtensa/lib2funcs.S: New file.
8181 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8182 * config/xtensa/t-xtensa (LIB2ADD): Set.
8183 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8184 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8185 Add t-freebsd-thread to tmake_file for posix threads.
8186 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8187 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8188 (*-*-lynxos*): Likewise.
8189 (*-*-netbsd*): Likewise.
8190 (*-*-openbsd*): Likewise.
8191 Add t-openbsd-thread to tmake_file for posix threads.
8192 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8193 (*-*-vxworks*): Set tmake_file.
8194 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8195 (alpha*-*-freebsd*): Likewise.
8196 (alpha*-*-netbsd*): Likewise.
8197 (alpha*-*-openbsd*): Likewise.
8198 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8199 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8200 (alpha*-dec-*vms*): Likewise.
8201 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8202 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8203 (bfin*-uclinux*): Likewise.
8204 (bfin*-linux-uclibc*): Likewise.
8205 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8206 (crisv32-*-none): Likewise.
8207 (cris-*-elf): Likewise.
8208 (cris-*-none): Likewise.
8209 (cris-*-linux*, crisv32-*-linux*): Likewise.
8210 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8211 tmake_file.
8212 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8213 tmake_file.
8214 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8215 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8216 (x86_64-*-elf*): Likewise.
8217 (i[34567]86-*-nto-qnx*): Likewise.
8218 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8219 win32 threads.
8220 (x86_64-*-mingw*): Likewise.
8221 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8222 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8223 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8224 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8225 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8226 tmake_file.
8227 (mipsisa64sr71k-*-elf*): Likewise.
8228 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8229 (mips-*-elf*, mipsel-*-elf*): Likewise.
8230 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8231 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8232 (mips*-*-rtems*): Likewise.
8233 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8234 to tmake_file.
8235 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8236 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8237 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8238 (spu-*-elf*): Likewise.
8239 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8240
45b86625
RO
82412011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8242
8243 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8244 $(srcdir) to refer to $(LIB1ASMSRC).
8245 Use $<.
8246 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8247 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8248 config/arm/lib1funcs.S: New files.
8249 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8250 * config/arm/t-arm: New file.
8251 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8252 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8253 config/arm/t-strongarm-elf: New files.
8254 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8255 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8256 * config/avr/lib1funcs.S: New file.
8257 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8258 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8259 * config/c6x/lib1funcs.S: New file.
8260 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8261 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8262 * config/frv/lib1funcs.S: New file.
8263 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8264 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8265 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8266 * config/ia64/__divxf3.asm: Rename to ...
8267 * config/ia64/__divxf3.S: ... this.
8268 Adapt lib1funcs.asm filename.
8269 * config/ia64/_fixtfdi.asm: Rename to ...
8270 * config/ia64/_fixtfdi.S: ... this.
8271 Adapt lib1funcs.asm filename.
8272 * config/ia64/_fixunstfdi.asm: Rename to ...
8273 * config/ia64/_fixunstfdi.S: ... this.
8274 Adapt lib1funcs.asm filename.
8275 * config/ia64/_floatditf.asm: Rename to ...
8276 * config/ia64/_floatditf.S: ... this.
8277 Adapt lib1funcs.asm filename.
8278 * config/ia64/lib1funcs.S: New file.
8279 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8280 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8281 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8282 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8283 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8284 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8285 * config/mep/lib1funcs.S: New file.
8286 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8287 * config/mips/mips16.S: New file.
8288 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8289 * config/pa/milli64.S: New file.
8290 * config/pa/t-linux, config/pa/t-linux64: New files.
8291 * config/picochip/lib1funcs.S: New file.
8292 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8293 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8294 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8295 * config/sh/t-netbsd: New file.
8296 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8297 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8298 * config/sh/t-sh64: New file.
8299 * config/sparc/lb1spc.S: New file.
8300 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8301 filename.
8302 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8303 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8304 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8305 config/xtensa/lib1funcs.S: New files.
8306 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8307 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8308 tmake_file.
8309 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8310 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8311 (arm*-*-linux*): Likewise.
8312 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8313 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8314 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8315 (arm*-*-ecos-elf): Likewise.
8316 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8317 (arm*-*-rtems*): Likewise.
8318 (arm*-*-elf): Likewise.
8319 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8320 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8321 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8322 (bfin*-uclinux*): Likewise.
8323 (bfin*-linux-uclibc*): Likewise.
8324 (bfin*-rtems*): Likewise.
8325 (bfin*-*): Likewise.
8326 (fido-*-elf): Merge into m68k-*-elf*.
8327 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8328 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8329 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8330 (h8300-*-elf*): Likewise.
8331 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8332 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8333 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8334 (i[34567]86-*-mingw*): Likewise.
8335 (x86_64-*-mingw*): Likewise.
8336 (i[34567]86-*-interix3*): Likewise.
8337 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8338 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8339 (m68k-*-elf*): Also handle fido-*-elf.
8340 Add m68k/t-floatlib to tmake_file.
8341 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8342 (m68k-*-linux*): Likewise.
8343 (m68k-*-rtems*): Likewise.
8344 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8345 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8346 sh64*-*-*.
8347 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8348 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8349 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8350 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8351 sh/t-netbsd to tmake_file.
8352 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8353 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8354 (sh-wrs-vxworks): Likewise.
8355 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8356 *-leon[3-9]*.
8357 (v850*-*-*): Add v850/t-v850 to tmake_file.
8358 (vax-*-linux*): Add vax/t-linux to tmake_file.
8359 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8360
5f73c6cc
RO
83612011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8362
8363 * crtstuff.c: New file.
8364 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8365 (CRTSTUFF_T_CFLAGS): Define.
8366 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8367 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8368 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8369 crtstuff.c.
8370 Use $<.
8371 (crtbeginT.o): Use $(objext).
8372 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8373 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8374 (gcc-extra-parts): Remove.
8375 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8376 Set extra_parts.
8377 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8378 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8379 Add t-crtstuff-pic to tmake_file.
8380 (*-*-lynxos*): New case.
8381 Set tmake_file, extra_parts.
8382 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8383 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8384 *-*-netbsdelf[2-9]*.
8385 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8386 (*-*-rtems*): Set extra_parts.
8387 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8388 (*-*-uclinux*): New case.
8389 Set extra_parts.
8390 (*-*-vms*): New case.
8391 Set tmake_file, extra_parts.
8392 (*-*-elf): Set extra_parts.
8393 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8394 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8395 vms/t-vms64.
8396 Set extra_parts.
8397 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8398 Set extra_parts.
8399 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8400 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8401 (arm-wrs-vxworks): Append to tmake_file.
8402 Set extra_parts.
8403 (arm*-*-uclinux*): Set extra_parts.
8404 (arm*-*-ecos-elf): Likewise.
8405 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8406 arm*-*-eabi*.
8407 (arm*-*-rtems*): Set extra_parts.
8408 (arm*-*-elf): Likewise.
8409 (avr-*-rtems*): Clear extra_parts.
8410 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8411 Set extra_parts.
8412 (bfin*-uclinux*): Likewise.
8413 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8414 (bfin*-rtems*): Append to tmake_file.
8415 Set extra_parts.
8416 (bfin*-*): Likewise.
8417 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8418 (crisv32-*-elf): ... this.
8419 (crisv32-*-none): ... this.
8420 (cris-*-elf, cris-*-none): New cases.
8421 Add cris/t-elfmulti to tmake_file.
8422 (fr30-*-elf): Append to tmake_file.
8423 Set extra_parts.
8424 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8425 Set extra_parts.
8426 (h8300-*-rtems*): Append to tmake_file.
8427 Set extra_parts.
8428 (h8300-*-elf*): Likewise.
8429 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8430 Set extra_parts.
8431 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8432 Set extra_parts.
8433 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8434 (x86_64-*-elf*): Likewise.
8435 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8436 (x86_64-*-freebsd*): Likewise.
8437 (x86_64-*-netbsd*): Likewise.
8438 (i[34567]86-*-linux*): Likewise.
8439 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8440 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8441 (x86_64-*-linux*): Likewise.
8442 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8443 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8444 tmake_file.
8445 Set extra_parts.
8446 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8447 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8448 Append to extra_parts, remove crtbegin.o, crtend.o.
8449 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8450 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8451 crtend.o, crtbeginS.o, crtendS.o.
8452 (ia64*-*-linux*): Comment extra_parts.
8453 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8454 Set extra_parts.
8455 (iq2000*-*-elf*): Clear extra_parts.
8456 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8457 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8458 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8459 (m32r-*-rtems*): ... this.
8460 Add m32r/t-m32r to tmake_file.
8461 (m68k-*-elf*): Add t-crtin to tmake_file.
8462 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8463 (mcore-*-elf): Likewise.
8464 (microblaze*-*-*): Set extra_parts.
8465 (mips*-sde-elf*): New case.
8466 Set tmake_file, extra_parts.
8467 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8468 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8469 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8470 tmake_file.
8471 Set extra_parts.
8472 (mipsisa64sr71k-*-elf*): Likewise.
8473 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8474 (mips-*-elf*, mipsel-*-elf*): Likewise.
8475 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8476 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8477 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8478 (mips*-*-rtems*): Likewise.
8479 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8480 (moxie-*-*): Split into ...
8481 (moxie-*-elf, moxie-*-uclinux*): ... this.
8482 Add to extra_parts, remove crtbegin.o, crtend.o.
8483 (moxie-*-rtems*): New case.
8484 Set tmake_file.
8485 Clear extra_parts.
8486 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8487 Set extra_parts.
8488 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8489 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8490 tmake_file.
8491 Set extra_parts.
8492 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8493 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8494 Set extra_parts.
8495 (powerpc-*-eabisim*): Likewise.
8496 (powerpc-*-elf*): Likewise.
8497 (powerpc-*-eabialtivec*): Likewise.
8498 (powerpc-xilinx-eabi*): Likewise.
8499 (powerpc-*-eabi*): Likewise.
8500 (powerpc-*-rtems*): Likewise.
8501 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8502 tmake_file.
8503 Set extra_parts.
8504 (powerpc-*-lynxos*): Add to tmake_file.
8505 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8506 rs6000/t-crtstuff, t-crtstuff-pic.
8507 Set extra_parts.
8508 (powerpcle-*-eabisim*): Likewise.
8509 (powerpcle-*-eabi*): Likewise.
8510 (rx-*-elf): Remove extra_parts.
8511 (s390x-ibm-tpf*): Set extra_parts.
8512 (score-*-elf): Set extra_parts.
8513 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8514 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8515 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8516 (sh64l*-*-netbsd*): Split into ...
8517 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8518 Add t-crtstuff-pic to tmake_file.
8519 Set extra_parts.
8520 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8521 Set extra_parts.
8522 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8523 (sparc-*-elf*): Remove t-crtin from tmake_file.
8524 Add to extra_parts, remove crtbegin.o, crtend.o.
8525 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8526 (sparc64-*-linux*): Likewise.
8527 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8528 Add to extra_parts, remove crtbegin.o, crtend.o.
8529 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8530 Add to extra_parts, remove crtbegin.o, crtend.o.
8531 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8532 Add to extra_parts, remove crtbegin.o, crtend.o.
8533 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8534 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8535 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8536 Set extra_parts.
8537 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8538 Set extra_parts.
8539 (tic6x-*-*): Change to ...
8540 (tic6x-*-elf): ... this.
8541 Set extra_parts.
8542 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8543 Set extra_parts.
8544 (am33_2.0-*-linux*): Add comment.
8545 (mep*-*-*): Add mep/t-mep to tmake_file.
8546 Set extra_parts.
8547 * config/alpha/t-vms: New file.
8548 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8549 * config/arm/crti.S, config/arm/crtn.S: New files.
8550 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8551 * config/bfin/crtlibid.S: New file.
8552 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8553 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8554 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8555 (crti.o, crtin.o): New rules.
8556 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8557 * config/c6x/t-uclinux: New file.
8558 * config/cris/t-elfmulti: New file.
8559 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8560 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8561 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8562 * config/frv/t-frv: New file.
8563 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8564 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8565 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8566 New files.
8567 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8568 refer to cygming-crtbegin.c, cygming-crtend.c.
8569 Use $<.
8570 * config/i386/t-nto: New file.
8571 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8572 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8573 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8574 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8575 Use .S extension.
8576 Use $<.
8577 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8578 (crtinitS.o): New rule.
8579 * config/ia64/vms-crtinit.S: New file.
8580 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8581 * config/m32r/initfini.c: New file.
8582 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8583 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8584 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8585 * config/mep/t-mep: New file.
8586 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8587 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8588 * config/mips/crti.S, config/mips/crtn.S: New files.
8589 * config/mips/t-crtstuff: New file.
8590 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8591 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8592 (CUSTOM_CRTIN): Set.
8593 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8594 dependencies.
8595 Use $(srcdir) to refer to crti.S, crtn.S.
8596 Use .S extension, $<.
8597 * config/moxie/crti.asm: Rename to ...
8598 * config/moxie/crti.S: ... this.
8599 * config/moxie/crtn.asm: Rename to ...
8600 * config/moxie/crtn.S: ... this.
8601 * config/moxie/t-moxie: Remove.
8602 * config/pa/stublib.c: New file.
8603 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8604 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8605 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8606 * config/rs6000/t-crtstuff: New file.
8607 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8608 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8609 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8610 Make output file explicit.
8611 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8612 Make output file explicit.
8613 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8614 Make output file explicit.
8615 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8616 Make output file explicit.
8617 * config/score/crti.S, config/score/crtn.S: New files.
8618 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8619 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8620 files.
8621 * config/sh/t-sh, config/sh/t-superh: New files.
8622 * config/sparc/t-linux64: New file.
8623 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8624 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8625 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8626 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8627 * config/t-crtin: Remove.
8628 * config/t-crtstuff-pic: New file.
8629 * config/t-sol2 (CUSTOM_CRTIN): Set.
8630 (crti.o, crtn.o): New rules.
8631 * config/vms/t-vms: New file.
8632 * config/vms/vms-ucrt0.c: New file.
8633 * config/xtensa/t-elf: New file.
8634
b040f2be
RO
86352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8636
8637 * Makefile.in (SHLIB_NM_FLAGS): Set.
8638 * mkmap-flat.awk, mkmap-symver.awk: New files.
8639 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8640 exceptions.
8641 * configure: Regenerate.
8642 * config/libgcc-glibc.ver: New file.
8643 * config/libgcc-libsystem.ver: New file.
8644 * config/t-libunwind (SHLIB_LC): Set.
8645 * config/t-linux: New file.
8646 * config/t-slibgcc (INSTALL_SHLIB): New.
8647 (SHLIB_INSTALL): Use it.
8648 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8649 to mkmap-symver.awk.
8650 (SHLIB_MAPFILES): Don't append, adapt pathname.
8651 (SHLIB_VERPFX): Set.
8652 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8653 to mkmap-symver.awk.
8654 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8655 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8656 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8657 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8658 to mkmap-flat.awk.
8659 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8660 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8661 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8662 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8663 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8664 * config/i386/libgcc-darwin.10.4.ver,
8665 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8666 New files.
8667 * config/i386/t-darwin: Remove.
8668 * config/i386/t-darwin64: Likewise.
8669 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8670 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8671 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8672 * config/i386/t-linux: New file.
8673 * config/i386/t-mingw32: New file.
8674 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8675 * config/ia64/t-glibc: Rename to ...
8676 * config/ia64/t-linux: ... this.
8677 (SHLIB_MAPFILES): Set.
8678 * config/ia64/t-glibc-libunwind: Rename to ...
8679 * config/ia64/t-linux-libunwind: ... this.
8680 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8681 * config/ia64/t-slibgcc-hpux: New file.
8682 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8683 * config/m68k/t-slibgcc-elf-ver: New file.
8684 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8685 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8686 to mkmap-flat.awk.
8687 * config/pa/t-slibgcc-hpux: New file.
8688 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8689 files.
8690 * config/rs6000/libgcc-darwin.10.4.ver,
8691 config/rs6000/libgcc-darwin.10.5.ver: New files.
8692 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8693 config/rs6000/libgcc-glibc.ver.
8694 * config/rs6000/libgcc-ppc64.ver: Rename to
8695 config/rs6000/libgcc-ibm-ldouble.ver.
8696 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8697 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8698 * config/rs6000/t-ldbl128: Rename to ...
8699 * config/rs6000/t-linux: ... this.
8700 (SHLIB_MAPFILES): Adapt filename.
8701 * config/rs6000/t-slibgcc-aix: New file.
8702 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8703 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8704 libgcc-excl.ver, libgcc-glibc.ver.
8705 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8706 * config/sparc/libgcc-glibc.ver: New file.
8707 * config/sparc/t-linux: New file.
8708 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8709 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8710 t-slibgcc-elf-ver to tmake_file.
8711 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8712 *-*-freebsd[34].
8713 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8714 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8715 t-slibgcc-elf-ver, t-linux to tmake_file.
8716 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8717 tmake_file.
8718 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8719 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8720 (alpha*-dec-*vms*): Likewise.
8721 (arm*-*-freebsd*): Append to tmake_file.
8722 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8723 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8724 arm*-*-linux-*eabi.
8725 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8726 tmake_file for arm*-*-symbianelf*.
8727 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8728 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8729 cris/t-linux.
8730 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8731 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8732 pa/t-slibgcc-dwarf-ver to tmake_file.
8733 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8734 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8735 (hppa*64*-*-hpux11*): Likewise.
8736 (hppa[12]*-*-hpux11*): Likewise.
8737 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8738 i386/t-crtpc, i386/t-crtfm.
8739 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8740 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8741 to tmake_file.
8742 Add i386/t-cygwin to tmake_file.
8743 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8744 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8745 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8746 to tmake_file.
8747 Add i386/t-mingw32 to tmake_file.
8748 (x86_64-*-mingw*): Likewise.
8749 (ia64*-*-freebsd*): Append to tmake_file.
8750 (ia64*-*-linux*): Append to tmake_file.
8751 Replace ia64/t-glibc by ia64/t-linux.
8752 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8753 system libunwind.
8754 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8755 t-slibgcc-hpux to tmake_file.
8756 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8757 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8758 (m32rle-*-linux*): Likewise.
8759 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8760 sjlj exceptions.
8761 (microblaze*-linux*): New case.
8762 Append to tmake_file, add t-slibgcc-nolc-override.
8763 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8764 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8765 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8766 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8767 rs6000/t-slibgcc-aix to tmake_file.
8768 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8769 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8770 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8771 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8772 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8773 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8774 sh*-*-linux*.
8775 (sparc-*-linux*): Append to tmake_file for *-leon*.
8776 Add sparc/t-linux to tmake_file for non-Leon targets.
8777 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8778 (tic6x-*-uclinux): New case.
8779 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8780 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8781 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8782 (am33_2.0-*-linux*): Append to tmake_file.
8783 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8784 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8785 x86_64-*-kfreebsd*-gnu.
8786 Add i386/t-linux to tmake_file.
8787
18b4bd7b
ILT
87882011-10-28 Ian Lance Taylor <iant@google.com>
8789
8790 * config/i386/morestack.S: Correct CFI information to do proper
8791 returns throughout function. In 32-bit mode, save %ebx so that it
8792 is restored on unwind.
8793
5b2d9d90
BS
87942011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8795
8796 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8797 case where B3 isn't the return register.
8798
0d53e346
BS
8799 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8800 logic for doubleword pops.
8801
cbffbd59
AT
88022011-10-25 Andreas Tobler <andreast@fgznet.ch>
8803
8804 * config/rs6000/t-freebsd: Add wildcard.
8805
56dc349e
PB
88062011-10-21 Paul Brook <paul@codesourcery.com>
8807
8808 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8809
1e06b07d
UB
88102011-10-16 Uros Bizjak <ubizjak@gmail.com>
8811 Eric Botcazou <ebotcazou@adacore.com>
8812
8813 PR target/50737
8814 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8815 fs->signal_frame to 1.
8816
b5204884
ILT
88172011-10-07 Ian Lance Taylor <iant@google.com>
8818
8819 * generic-morestack-thread.c: #include <errno.h>.
8820
91a639a1
ILT
88212011-10-07 Ian Lance Taylor <iant@google.com>
8822
8823 PR target/46093
8824 * generic-morestack.c (__generic_morestack): Make sure the segment
8825 is large enough for both the stack frame and the copied
8826 parameters.
8827
cc49116d
RO
88282011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8829
8830 PR bootstrap/49804
8831 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8832 extra_parts.
8833
2996d8c3
NC
88342011-09-28 Nick Clifton <nickc@redhat.com>
8835
8836 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8837 64-bit doubles are not enabled.
8838 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8839 and floatunsisf functions.
8840
1e874273 88412011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8842
1e874273
PB
8843 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8844 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8845 * unwind-arm-common.inc: New file.
8846 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8847 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8848 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8849 * config/c6x/libunwind.S: New file.
8850 * config/c6x/pr-support.c: New file.
8851 * config/c6x/unwind-c6x.c: New file.
8852 * config/c6x/unwind-c6x.h: New file.
8853 * config/c6x/t-c6x-elf: New file.
8854
f70c879a
UB
88552011-08-23 Uros Bizjak <ubizjak@gmail.com>
8856
8857 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8858 (ASM_DIVZERO): Ditto.
8859 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8860
c55b374b
RS
88612011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8862
8863 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8864
1e138510
RS
88652011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8866
8867 PR target/50090
8868 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8869 instead of an assembly one.
8870
1563503d
PB
88712011-08-12 Paolo Bonzini <bonzini@gnu.org>
8872
8873 PR bootstrap/50047
8874 * Makefile.in (install-unwind_h): Create
8875 $(gcc_objdir)/include/unwind.h atomically.
8876
3627ac1a
RO
88772011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8878
8879 * Makefile.in (install-unwind_h): Remove destination file first.
8880
c6412d86
RO
88812011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8882
8883 * sync.c: New file.
8884 * config/mips/t-mips16: New file.
8885 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8886 (mips*-*-linux*): Likewise.
8887 (mips*-sde-elf*): Likewise.
8888 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8889 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8890 Add mips/t-mips16 to tmake_file.
8891 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8892 (mips-*-elf*): Likewise.
8893 (mips64-*-elf*): Likewise.
8894 (mips64orion-*-elf*): Likewise.
8895 (mips*-*-rtems*): Likewise.
8896 (mipstx39-*-elf*): Likewise.
8897 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8898 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8899 LIBGCC_SYNC_CFLAGS.
8900 Use $(srcdir) to refer to sync.c.
8901 Use $<.
8902 ($(libgcc-sync-funcs-o)): Likewise.
8903 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8904 ($(libgcc-sync-funcs-s-o)): Likewise.
8905
3cb6e5bd
AS
89062011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8907
8908 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8909 t-libunwind.
8910
cca2207a
L
89112011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8912
8913 PR other/48007
8914 * config/i386/value-unwind.h: New.
8915
ed39fbad
RS
89162011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8917
8918 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8919 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8920 Add to tmake_file rather than overriding it.
8921
aca0b0b3
RO
89222011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8923
8924 * config/t-softfp: Remove.
8925 * soft-fp: Moved from ../gcc/config.
8926 * soft-fp/README: Remove t-softfp reference.
8927 * soft-fp/t-softfp: Move to config/t-softfp.
8928 (softfp_machine_header): Remove.
8929 (softfp_file_list): Remove config subdir.
8930 (soft-fp-objects): New variable.
8931 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8932 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8933 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8934 * config/t-softfp-excl: New file.
8935 * config/t-softfp-sfdf: New file.
8936 * config/t-softfp-tf: New file.
8937 * config/no-sfp-machine.h: New file.
8938 * config/arm/sfp-machine.h: New file.
8939 * config/arm/t-softfp: New file.
8940 * config/c6x/sfp-machine.h: New file.
8941 * config/i386/32/t-fprules-softfp: Rename to ...
8942 * config/i386/32/t-softfp: ... this.
8943 (tifunctions, LIB2ADD): Remove.
8944 (softfp_int_modes): Override.
8945 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8946 subdir.
8947 * config/i386/64/eqtf2.c: Likewise.
8948 * config/i386/64/getf2.c: Likewise.
8949 * config/i386/64/letf2.c: Likewise.
8950 * config/ia64/sft-machine.h: New file.
8951 * config/ia64/t-fprules-softfp: Rename to ...
8952 * config/ia64/t-softfp: ... this.
8953 * config/lm32/sfp-machine.h: New file.
8954 * config/moxie/t-moxie-softfp: Remove.
8955 * config/rs6000/ibm-ldouble-format: New file.
8956 * config/rs6000/ibm-ldouble.c: New file.
8957 * config/rs6000/libgcc-ppc-glibc.ver: New file
8958 * config/rs6000/libgcc-ppc64.ver: New file
8959 * config/rs6000/sfp-machine.h: New file.
8960 * config/rs6000/t-freebsd: New file.
8961 * config/rs6000/t-ibm-ldouble: New file.
8962 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8963 libgcc-ppc-glibc.ver.
8964 * config/rs6000/t-linux64: New file.
8965 * config/rs6000/t-ppccomm (LIB2ADD): Add
8966 $(srcdir)/config/rs6000/ibm-ldouble.c.
8967 * config/rs6000/t-ppccomm-ldbl: New file.
8968 * config/score/sfp-machine.h: New file.
8969 * config.host (sfp_machine_header): Explain.
8970 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8971 t-softfp to tmake_file.
8972 (arm*-*-uclinux*): Likewise.
8973 (arm*-*-ecos-elf): Likewise.
8974 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8975 (arm*-*-rtems*): Likewise.
8976 (arm*-*-elf): Likewise.
8977 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8978 in tmake_file.
8979 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8980 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8981 (lm32-*-uclinux*): Likewise.
8982 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8983 t-softfp-excl, t-softfp.
8984 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8985 (powerpc64-*-darwin*): Likewise.
8986 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8987 to tmake_file.
8988 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8989 tmake_file.
8990 (powerpc-*-eabisim*): Likewise.
8991 (powerpc-*-elf*): Likewise.
8992 (powerpc-*-eabialtivec*): Likewise.
8993 (powerpc-xilinx-eabi*): Likewise.
8994 (powerpc-*-rtems*): Likewise.
8995 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8996 t-softfp-excl, t-softfp to tmake_file.
8997 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8998 rs6000/t-ppccomm-ldbl to tmake_file.
8999 (powerpcle-*-elf*): Likewise.
9000 (powerpcle-*-eabisim*): Likewise.
9001 (powerpcle-*-eabi*): Likewise.
9002 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9003 rs6000/t-ibm-ldouble to tmake_file.
9004 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9005 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9006 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9007 (tic6x-*-*): Likewise.
9008 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9009 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9010 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9011 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9012 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9013 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9014 t-softfp to tmake_file.
9015 * configure.ac (sfp_machine_header): Provide default if unset.
9016 Substitute.
9017 Link sfp-machine.h to config/$sfp_machine_header.
9018 * configure: Regenerate.
9019
569dc494
RO
90202011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9021
9022 * Makefile.in (double_type_size, long_double_type_size): Set.
9023 Remove $(fpbit-in-libgcc) support.
9024 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9025 (fpbit-src): New variable.
9026 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9027 Compile with -DFLOAT $(FPBIT_CFLAGS).
9028 Use $<.
9029 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9030 Compile with $(FPBIT_CFLAGS).
9031 Use $<.
9032 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9033 Compile with -DFLOAT $(TPBIT_CFLAGS).
9034 Use $<.
9035 * configure.ac (double_type_size, long_double_type_size):
9036 Determine and substitute.
9037 * configure: Regenerate.
9038 * fp-bit.c, fp-bit.h: New files.
9039 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9040 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9041 * config/mips/t-mips: New file.
9042 * config/mips/t-sdemtk: New file.
9043 * config/rs6000/ppc64-fp.c: New file.
9044 * config/rs6000/t-darwin (LIB2ADD): Add
9045 $(srcdir)/config/rs6000/ppc64-fp.c.
9046 * config/rs6000/t-ppc64-fp: New file.
9047 * config/rx/rx-lib.h: New file.
9048 * config/rx/t-rx (FPBIT): Set to true.
9049 ($(gcc_objdir)/fp-bit.c): Remove.
9050 (DPBIT): Set to true only with -m64bit-doubles.
9051 ($(gcc_objdir)/dp-bit.c): Remove.
9052 * config/sparc/t-softfp: Remove.
9053 * config/spu/t-elf: New file.
9054 * config/t-fdpbit, config/t-fpbit: New files.
9055 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9056 (mips*-*-*): Likewise.
9057 (arm-wrs-vxworks): Likewise.
9058 (arm*-*-freebsd*): Likewise.
9059 (avr-*-rtems*): Add t-fpbit to tmake_file.
9060 (avr-*-*): Likewise.
9061 (bfin*-elf*): Add t-fdpbit to tmake_file.
9062 (bfin*-uclinux*): Likewise.
9063 (bfin*-linux-uclibc*): Likewise.
9064 (bfin*-rtems*): New case.
9065 Add t-fdpbit to tmake_file.
9066 (bfin*-*): Add t-fdpbit to tmake_file.
9067 (crisv32-*-elf): Likewise.
9068 (cris-*-linux*): Likewise.
9069 (fr30-*-elf): Likewise.
9070 (frv-*-elf, frv-*-*linux*): Likewise.
9071 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9072 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9073 (m32r-*-elf*): Likewise.
9074 (m32rle-*-elf*): Likewise.
9075 (m32r-*-linux*): Likewise.
9076 (m32rle-*-linux*): Likewise.
9077 (mcore-*-elf): Add t-fdpbit to tmake_file.
9078 (microblaze*-*-*): Likewise.
9079 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9080 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9081 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9082 Fix typo.
9083 Add mips/t-tpbit to tmake-file.
9084 (mips*-*-linux*): Fix typo.
9085 (mips*-sde-elf*): New case
9086 Add mips/t-sdemtk unless using newlib.
9087 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9088 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9089 (mn10300-*-*): Likewise.
9090 (pdp11-*-*): Likewise.
9091 (picochip-*-*): Add t-fpbit to tmake_file.
9092 (powerpc-*-eabisimaltivec*): Likewise.
9093 (powerpc-*-eabisim*): Likewise.
9094 (powerpc-*-elf*): Likewise.
9095 (powerpc-*-eabialtivec*): Likewise.
9096 (powerpc-xilinx-eabi*): New case.
9097 Add t-fdpbit to tmake_file.
9098 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9099 (powerpc-*-rtems*): Likewise.
9100 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9101 tmake_file.
9102 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9103 tmake_file.
9104 (powerpc-*-lynxos*): Likewise.
9105 (powerpcle-*-elf*): Likewise.
9106 (powerpcle-*-eabisim*): Likewise.
9107 (powerpcle-*-eabi*): Likewise.
9108 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9109 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9110 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9111 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9112 (rx-*-elf): Add t-fdpbit to tmake_file.
9113 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9114 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9115 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9116 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9117 sh*-*-netbsd*.
9118 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9119 (sh-wrs-vxworks): Likewise.
9120 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9121 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9122 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9123 (sparc64-*-rtems*): ... new case.
9124 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9125 (spu-*-elf*): Likewise.
9126 Add spu/t-elf to tmake_file.
9127 (v850*-*-*): Add t-fdpbit to tmake_file.
9128 (xstormy16-*-elf): Likewise.
9129 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9130 (mep*-*-*): Likewise.
9131
201cdb74
RO
91322011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9133
9134 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9135 variables.
9136 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9137 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9138 (install-unwind_h): New target.
9139 (all): Depend on it.
9140 * config.host (unwind_header): New variable.
9141 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9142 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9143 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9144 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9145 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9146 Set unwind_header.
9147 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9148 Set unwind_header.
9149 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9150 arm*-*-eabi*.
9151 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9152 Set unwind_header.
9153 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9154 (ia64*-*-freebsd*): Likewise.
9155 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9156 tmake_file.
9157 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9158 $with_system_libunwind.
9159 (ia64*-*-hpux*): Set tmake_file.
9160 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9161 (picochip-*-*): Set tmake_file.
9162 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9163 md_unwind_header.
9164 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9165 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9166 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9167 (xtensa*-*-elf*): Set tmake_file.
9168 (xtensa*-*-linux*): Likewise.
9169 * configure.ac: Include ../config/unwind_ipinfo.m4.
9170 Call GCC_CHECK_UNWIND_GETIPINFO.
9171 Link unwind.h to $unwind_header.
9172 * configure: Regenerate.
9173 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9174 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9175 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9176 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9177 * config/unwind-dw2-fde-darwin.c: New file.
9178 * config/arm/libunwind.S, config/arm/pr-support.c,
9179 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9180 config/arm/unwind-arm.h,: New files.
9181 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9182 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9183 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9184 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9185 config/ia64/unwind-ia64.h: New files.
9186 * config/picochip/t-picochip: New file.
9187 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9188 files.
9189 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9190 * config/s390/t-tpf (LIB2ADDEH): Remove.
9191 * config/t-darwin (LIB2ADDEH): Set.
9192 * config/t-eh-dw2-dip: New file.
9193 * config/t-libunwind, config/t-libunwind-elf: New files.
9194 * config/t-sol2 (LIB2ADDEH): Remove.
9195 * config/xtensa/t-xtensa: New file.
9196
40f2f11f
L
91972011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9198
9199 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9200 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9201 long long to check rt_sigreturn syscall.
9202
bd15e32c
AM
92032011-08-02 Alan Modra <amodra@gmail.com>
9204
9205 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9206 Restore for indirect call bcrtl from correct stack slot, and only
9207 if cfa+40 isn't valid.
9208
655b30bf
JB
92092011-08-01 Julian Brown <julian@codesourcery.com>
9210
9211 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9212 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9213 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9214
247eb06f
JB
92152011-08-01 Julian Brown <julian@codesourcery.com>
9216
9217 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9218 (libgcc-std.ver.in): Use above.
9219 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9220 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9221 throughout file.
9222 * config/t-fixedpoint-gnu-prefix: New file.
9223 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9224 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9225 instead of __PFX__.
9226
02a8fe00
L
92272011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9228
9229 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9230 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9231 for x86-64. Properly check __x86_64__ and __LP64__.
9232
5fce9126
L
92332010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9234
9235 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9236 version.
9237 (_FP_WS_TYPE): Likewise.
9238 (_FP_I_TYPE): Likewise.
9239
2374a88a
AM
92402011-07-28 Alan Modra <amodra@gmail.com>
9241
9242 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9243 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9244 in a plt call stub. Do restore r2 if stopped on bctrl.
9245
e44dbbe1
RO
92462011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9247
9248 * config.host (i[3456x]86-*-netware*): Remove.
9249 * config/i386/netware-crt0.c, config/i386/t-nwld,
9250 config/i386/t-slibgcc-nwld: Remove.
9251
bcead286
BS
92522011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9253
9254 * config.host: Handle tic6x-*-*.
9255 * config/c6x/c6x-abi.h: New file.
9256
b3fe1584
RO
92572011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9258
9259 * config/i386/crtprec.c: New file.
9260 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9261 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9262 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9263 (x86_64-*-darwin*): Likewise.
9264 (i[34567]86-*-solaris2*: Likewise.
9265
35d8090d
RO
92662011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9267
9268 * config/alpha/crtfastmath.c: New file.
9269 * config/i386/crtfastmath.c: New file.
9270 * config/ia64/crtfastmath.c: New file.
9271 * config/mips/crtfastmath.c: New file.
9272 * config/sparc/crtfastmath.c: New file.
9273
9274 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9275 crtfastmath.c.
9276 Add -frandom-seed=gcc-crtfastmath.
9277 * config/alpha/t-crtfm: Remove.
9278 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9279 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9280
9281 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9282 (alpha*-dec-osf5.1*): Likewise.
9283 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9284 Add crtfastmath.o to extra_parts.
9285 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9286 Add crtfastmath.o to extra_parts.
9287 (x86_64-*-darwin*): Likewise.
9288 (x86_64-*-mingw*): Likewise.
9289 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9290 (ia64*-*-freebsd*): Likewise.
9291 (ia64*-*-linux*): Likewise.
9292 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9293 Add crtfastmath.o to extra_parts.
9294
e141542e
RO
92952011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9296
9297 * config/darwin-crt3.o: New file.
9298 * config/rs6000/darwin-crt2.c: New file.
9299 * config/t-darwin: New file.
9300 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9301 (crt2.o): New rule.
9302 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9303 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9304 (powerpc64-*-darwin*): Likewise.
9305
2d1efe2d
RO
93062011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9307
9308 * config/i386/netware-crt0.c: New file.
9309 * config/i386/t-nwld: Rename to ...
9310 * config/i386/t-slibgcc-nwld: ... this.
9311 * config/i386/t-nwld: New file.
9312 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9313 tmake_file.
9314 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9315 extra_parts.
9316
4a8bb046
RO
93172011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9318
9319 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9320 i386/t-crtstuff.
9321 * configure: Regenerate.
9322
2d8d5935
RO
93232011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9324
9325 * dfp-bit.c, dfp-bit.h: New files.
9326 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9327 variables.
9328 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9329 ($(d64pbit-o)): Likewise.
9330 ($(d128pbit-o)): Likewise.
9331 * config/t-dfprules: New file.
9332 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9333 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9334 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9335 (x86_64-*-linux*): Likewise.
9336 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9337 (i[34567]86-*-cygwin*): Likewise.
9338 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9339 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9340
2c50b2c3
RO
93412011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9342
9343 * Makfile.in (LIBGCOV): New variable.
9344 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9345 * libgcov.c: New file.
9346
a039d7c2
RO
93472011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9348
9349 * fixed-bit.c, fixed-bit.h: New files.
9350 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9351 refer to fixed-bit.c.
9352
1e4b2746
JM
93532011-07-07 Joseph Myers <joseph@codesourcery.com>
9354
9355 * config.host (*local*): Remove.
9356
fbdd5d87
RO
93572011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9358
9359 PR target/39150
9360 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9361 like i?86-*-solaris2.1[0-9]*.
9362 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9363 * configure.ac (i?86-*-solaris2*): Likewise.
9364 * configure: Regenerate.
9365
9e7714f4
TS
93662011-07-06 Thomas Schwinge <thomas@schwinge.name>
9367
9368 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9369 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9370 md_unwind_header by splitting out of...
9371 (i[34567]86-*-linux*): ... this.
9372 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9373 Remove md_unwind_header by splitting out of...
9374 (x86_64-*-linux*): ... this.
9375
6dab9931
GJL
93762011-07-04 Georg-Johann Lay <avr@gjlay.de>
9377
9378 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9379
4be46d19
NC
93802011-06-28 Nick Clifton <nickc@redhat.com>
9381
9382 * config.host: Recognize all V850 variants.
9383
1da9434b
UB
93842011-06-22 Uros Bizjak <ubizjak@gmail.com>
9385
9386 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9387
e4d48a4d
RO
93882011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9389
9390 * shared-object.mk (c_flags-$o): Save c_flags.
9391 ($(base)$(objext)): Use it.
9392 ($(base)_s$(objext)): Likewise.
9393
3801c801
BS
93942011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9395
9396 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9397 * libgcc-std.ver.in (GCC_4.7.0): New section.
9398
0ad8bb3b 93992011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9400
0ad8bb3b
GJL
9401 PR target/49313
9402 PR target/29524
9403 * config/avr/t-avr: Fix line endings.
9404 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9405 _parityXX2.
9406
ea963999
OH
94072011-06-14 Olivier Hainque <hainque@adacore.com>
9408 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9409
9410 * config/mips/irix6-unwind.h: New file.
9411 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9412
b11b0904
EB
94132011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9414
9415 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9416 (sparc64_fallback_frame_state): Use it.
9417 (sparc64_frob_update_context): Further adjust context.
9418 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9419 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9420 * config/sparc/sol2-cn.S: Likewise.
9421
10e48e39
RO
94222011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9423
9424 * enable-execute-stack-empty.c: New file.
9425 * enable-execute-stack-mprotect.c: New file.
9426 * config/i386/enable-execute-stack-mingw32.c: New file.
9427 * config.host (enable_execute_stack): New variable.
9428 Select appropriate variants.
9429 * configure.ac: Link enable-execute-stack.c to
9430 $enable_execute_stack.
9431 * configure: Regenerate.
9432 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9433 (lib2funcs): Remove _enable_execute_stack.
9434
10c4cabc
DM
94352011-06-09 David S. Miller <davem@davemloft.net>
9436 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9437
9438 * config.host (sparc-*-linux*): Correct md_unwind_header
9439 filename.
9440 (s390x-ibm-tpf*): Fix typo.
9441
aa4203e7
RO
94422011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9443
9444 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9445 Add crtfastmath.o to extra_parts.
9446 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9447 mips/t-crtfm.
9448 * config/mips/t-crtfm: Remove.
9449
0defd786
JDA
94502011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9451
9452 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9453
82f247af
KK
94542011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9455
9456 * config.host (sh*-*-linux*): Fix typo.
9457
58cd1d70
RO
94582011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9459
9460 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9461 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9462 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9463 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9464 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9465 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9466 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9467 Wrap in !__MINGW64__.
9468 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9469 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9470 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9471 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9472 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9473 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9474 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9475 Wrap in !__LP64__.
9476 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9477 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9478 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9479 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9480 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9481 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9482 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9483 * config/no-unwind.h: New file.
9484 * config.host (md_unwind_header): Document.
9485 Define.
9486 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9487 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9488 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9489 hppa[12]*-*-hpux11*): Set md_unwind_header.
9490 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9491 Set md_unwind_header.
9492 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9493 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9494 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9495 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9496 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9497 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9498 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9499 md_unwind_header.
9500 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9501 * configure: Regenerate.
9502
737346fa
RO
95032011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9504
9505 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9506 Set tmake_file, extra_parts.
9507 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9508 Remove O32 support.
9509 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9510 Remove O32 support.
9511 * config/mips/t-irix6: New file.
9512 * config/mips/t-slibgcc-irix: New file.
9513
c192cee6
RO
95142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9515
9516 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9517 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9518
ee33b5f0
RO
95192011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9520
9521 * configure.ac (target_thread_file): Determine thread model.
9522 * configure: Regenerate.
9523 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9524 * config/alpha/t-alpha: New file.
9525 * config/alpha/t-crtfm: Use $<.
9526 * config/alpha/t-ieee: New file.
9527 * config/alpha/t-osf-pthread: New file.
9528 * config/alpha/t-slibgcc-osf: New file.
9529 * config/alpha/libgcc-osf5.ver: New file.
9530
0699e415
RO
95312011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9532
9533 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9534 tmake_file.
9535 Add crtfastmath.o to extra_parts.
9536
a3fab9c2
RO
95372011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9538
9539 * config/gmon-sol2.c: Reindent.
9540 Cleanup comments.
9541 Remove, correct casts.
9542 Use STDERR_FILENO, NULL.
9543 (BASEADDRESS): Remove.
9544 (minbrk): Remove.
9545 (errno, sbrk): Remove declarations.
9546 (monstartup) [hp300]: Remove.
9547 (mcount): Remove.
9548
ca24c5ad
RO
95492011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9550
9551 * Makefile.in (cpu_type): Define.
9552 * config.host (i[34567]86-*-rtems*): Handle it.
9553 (i[34567]86-*-solaris2*): Move body ...
9554 (*-*-solaris2*): ... here.
9555 New case, generalize.
9556 (sparc-*-elf*): Handle it.
9557 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9558 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9559 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9560 Fold into ...
9561 (sparc*-*-solaris2*): ... this.
9562 New case.
9563 (sparc64-*-elf*): Handle it.
9564 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9565 Merge ../gcc/config/i386/gmon-sol2.c.
9566 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9567 Use C comments.
9568 Merge ../gcc/config/i386/sol2-gc1.asm.
9569 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9570 Use C comments.
9571 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9572 Use C comments.
9573 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9574 * config/i386/t-crtstuff: New file.
9575 * config/i386/t-softfp: New file.
9576 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9577 $(T)crti.o, $(T)crtn.o): Remove.
9578 (gcrt1.o): New rule.
9579 (TARGET_LIBGCC2_CFLAGS): Remove.
9580 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9581 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9582 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9583 * config/sparc/t-sol2: New file.
9584 * config/sparc/t-crtfm: Move to ...
9585 * config/t-crtfm: ... this.
9586 Use $(cpu_type), $<.
9587 * config/t-crtin: New file.
9588 * config/sparc/t-softfp: New file.
9589 * config/sparc/t-softmul: New file.
9590 * config/t-rtems: New file.
9591 * config/t-slibgcc: New file.
9592 * config/t-slibgcc-elf-ver: New file.
9593 * config/t-slibgcc-gld: New file.
9594 * config/t-slibgcc-sld: New file.
9595 * config/t-sol2: New file.
9596 * configure.ac: Include ../config/lib-ld.m4.
9597 Call AC_LIB_PROG_LD_GNU.
9598 Substitute cpu_type.
9599 * configure: Regenerate.
9600
ad5f3d7b
BS
96012011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9602
9603 PR bootstrap/49173
9604 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9605 libgcc-std.ver in the build directory.
9606 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9607 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9608
cdbf4541
BS
96092011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9610
9611 * libgcc-std.ver.in: New file.
9612 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9613 variables.
9614 (libgcc-std.ver): New rule.
9615 * config/t-gnu-prefix: New file.
9616
c8028650
RO
96172011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9618
9619 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9620
4a68b4ca
JM
96212011-05-10 Joseph Myers <joseph@codesourcery.com>
9622
9623 * config/i386/darwin-lib.h: New file.
9624
80cf2e08
JM
96252011-05-10 Joseph Myers <joseph@codesourcery.com>
9626
9627 * config/arm/symbian-lib.h: New.
9628
a3330c9d
CD
96292011-05-04 Chris Demetriou <cgd@google.com>
9630
9631 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9632 (__x86.get_pc_thunk.bx): ...this.
9633 (__morestack): Adjust for rename, remove undef of __i686.
9634
6ace0756
CD
96352011-05-03 Chris Demetriou <cgd@google.com>
9636
9637 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9638
ebb9f8b0
JM
96392011-03-22 Joseph Myers <joseph@codesourcery.com>
9640
9641 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9642 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9643 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9644 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9645 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9646 Remove cases.
9647
9cfa1499
AT
96482011-03-14 Andreas Tobler <andreast@fgznet.ch>
9649
9650 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9651 Adjust copyright year.
9652
457186f6
ILT
96532011-03-07 Ian Lance Taylor <iant@google.com>
9654
9655 * generic-morestack.c (__splitstack_find): Adjust returned stack
9656 pointer to include all registers pushed by __morestack.
9657
58c741a6
DK
96582011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9659
9660 PR target/40125
9661 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9662 (toolexecdir): Calculate and AC_SUBST.
9663 (toolexeclibdir): Likewise.
9664 * Makefile.in (target_noncanonical): Import.
9665 (toolexecdir): Likewise.
9666 (toolexeclibdir): Likewise.
9667 * configure: Regenerate.
9668
26716c44
NF
96692010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9670
9671 PR target/46040
9672 * config/arm/bpabi.h: Rename to...
9673 * config/arm/bpabi-lib.h: ...this.
9674
b595b1a1
RO
96752010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9676
9677 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9678 appropriate.
9679 * configure: Regenerate.
9680
a3abe41c
NF
96812010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9682
9683 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9684 __FLOAT_WORD_ORDER__.
9685 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9686 Delete.
9687
455c8f48
RW
96882010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9689
9690 PR other/46202
9691 * Makefile.in (install-strip): New phony target.
9692
f3824a8b
ILT
96932010-11-07 Ian Lance Taylor <iant@google.com>
9694
9695 PR target/46089
9696 * config/i386/morestack.S (__morestack_large_model): New
9697 function.
9698
18ed6ee4
NF
96992010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9700
9701 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9702 Delete.
9703 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9704
8ac7fdcb
NF
97052010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9706
9707 * config/arm/bpabi.h: New file.
9708 * config/frv/frv-abi.h: New file.
9709
cdb388c2
ILT
97102010-10-01 Ian Lance Taylor <iant@google.com>
9711
9712 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9713 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9714
ef7c141c
L
97152010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9716
9717 PR target/45858
9718 * config.host: Add the missing `$'.
9719
80920132
ME
97202010-09-30 Michael Eager <eager@eagercon.com>
9721
9722 * config.host: Add microblaze*-*-*.
9723 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9724 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9725 udivsi3.asm,umodsi3.asm}: New.
9726
6dace308
ILT
97272010-09-28 Ian Lance Taylor <iant@google.com>
9728
9729 * configure.ac: Adjust CFI test to test assembler directly rather
9730 than checking gcc preprocessor macro.
9731 * configure: Rebuild.
9732
b6110d6d
ILT
97332010-09-27 Ian Lance Taylor <iant@google.com>
9734
9735 * configure.ac: Test whether assembler supports CFI directives.
9736 * config.host: Only add t-stack and i386/t-stack-i386 to
9737 tmake_file if libgcc_cv_cfi is "yes".
9738 * configure: Rebuild.
9739
7458026b
ILT
97402010-09-27 Ian Lance Taylor <iant@google.com>
9741
9742 * generic-morestack.h: New file.
9743 * generic-morestack.c: New file.
9744 * generic-morestack-thread.c: New file.
9745 * config/i386/morestack.S: New file.
9746 * config/t-stack: New file.
9747 * config/i386/t-stack-i386: New file.
9748 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9749 i386/t-stack-i386 to tmake_file.
9750
5b50fc0c
IS
97512010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9752
9753 * Makefile.in (libgcc-extra-parts): Check for static archives and
9754 invoke ranlib after installing them.
9755 (gcc-extra-parts): Likewise.
9756 (install-leaf): Likewise.
9757
b93cf342
L
97582010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9759
9760 * configure: Regenerated.
9761
996b42ef
KT
97622010-09-10 Kai Tietz <kai.tietz@onevision.com>
9763
b93cf342 9764 * configure: Regenerated.
996b42ef 9765
be1c764e
GP
97662010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9767 Andrew Pinski <pinskia@gmail.com>
9768
1da9434b 9769 PR target/40959
be1c764e
GP
9770 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9771
cc0ae0ca
L
97722010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 PR target/45524
9775 * configure: Regenerated.
9776
84f47d20
AS
97772010-09-06 Andreas Schwab <schwab@redhat.com>
9778
9779 * configure: Regenerate.
9780
4159fb8d
UB
97812010-09-03 Uros Bizjak <ubizjak@gmail.com>
9782
9783 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9784 64bit targets.
9785 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9786 for 64bit targets.
9787
0df8fcc8
UB
97882010-09-03 Uros Bizjak <ubizjak@gmail.com>
9789 Iain Sandoe <iains@gcc.gnu.org>
9790
9791 PR target/45476
9792 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9793 LIB2FUNCS_EXCLUDE functions.
9794
3c39bca6
AK
97952010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9796
9797 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9798 Include dfp.m4.
9799 * configure: Regenerate.
9800
d78552bd
UB
98012010-09-01 Uros Bizjak <ubizjak@gmail.com>
9802
9803 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9804 i386/t-freebsd to tmake_file.
9805 * config/i386/t-freebsd: New file.
9806 * config/i386/libgcc-bsd.ver: New file.
9807
c5b79d4e
NF
98082010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9809
9810 * config.host (powerpc*-eabispe*): Set tmake_file.
9811 (powerpc*-eabi*): Likewise.
9812 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9813 crtbeginS, crtendS, crtbeginT.
9814
48b09a92
KH
98152010-06-12 Kazu Hirata <kazu@codesourcery.com>
9816
9817 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9818 to tmake_file. Add crtfastmath.o to extra_parts.
9819 * config/mips/t-crtfm: New.
9820
7d296953 98212010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9822
9823 * config.host (sparc64-*-rtems*): New target.
9824
ed104137
RO
98252010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9826
9827 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9828 assembler syntax.
9829
3f56ef8b
TS
98302010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9831
9832 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9833
8c200350
RO
98342010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9835
9836 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9837 alpha-dec-osf5.0* support.
9838
7d296953 98392010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9840
9841 * config.host: Add lm32-*-rtems*.
9842
f128db92 98432010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9844 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9845
9846 PR target/39048
9847 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9848 like other remaining 32-bit x86 OSes.
9849 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9850 assembler syntax.
9851 * config/i386/libgcc-sol2.ver: New file.
9852 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9853
7d296953 98542010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9855
9856 PR c/43553
9857 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9858 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9859 is used and substitute set_use_emutls.
9860 * configure: Regenerated.
9861
15baf7f8
TG
98622010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9863
9864 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9865
7f5441df
RO
98662010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9867
9868 PR target/38085
9869 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9870 MULTILIB_CFLAGS.
9871 ($(T)gcrt1.o): Likewise.
9872 ($(T)crt1.o): Likewise.
9873 ($(T)crti.o): Likewise.
9874 ($(T)crtn.o): Likewise.
9875
ef74edbd
RW
98762010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9877
9878 PR other/42980
9879 * Makefile.in (install): Use $(MAKE) string in rule, for
9880 parallel make.
9881
e7c914db
HPN
98822010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9883
9884 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9885 * config/mmix/t-mmix: New file.
9886 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9887
1bcb71c4
JH
98882010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9889
9890 PR java/41991
9891 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9892 SHLIB_MAPFILES.
9893
e6e50811
AG
98942010-01-04 Anthony Green <green@moxielogic.com>
9895
9896 * config/moxie/crti.asm, config/moxie/crtn.asm,
9897 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9898 config/moxie/t-moxie: New files.
9899 * config.host: Add t-moxie-softfp reference.
9900
7d296953 99012009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9902
9903 PR other/39888
9904 * config/t-slibgcc-darwin: Fix embedded rpaths for
9905 --enable-version-specific-runtime-libs, build extension stub
9906 libs exposing features available from current libgcc_s.
9907
7d296953 99082009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9909
d78552bd
UB
9910 * config.host: Add lm32 targets.
9911 * config/lm32: New directory.
9912 * config/lm32/libgcc_lm32.h: New file.
9913 * config/lm32/_mulsi3.c: New file.
9914 * config/lm32/_udivmodsi4.c: New file.
9915 * config/lm32/_divsi3.c: New file.
9916 * config/lm32/_modsi3.c: New file.
9917 * config/lm32/_udivsi3.c: New file.
9918 * config/lm32/_umodsi3.c: New file.
9919 * config/lm32/_lshrsi3.S: New file.
9920 * config/lm32/_ashrsi3.S: New file.
9921 * config/lm32/_ashlsi3.S: New file.
9922 * config/lm32/crti.S: New file.
9923 * config/lm32/crtn.S: New file.
9924 * config/lm32/t-lm32: New file.
9925 * config/lm32/t-elf: New file.
9926 * config/lm32/t-uclinux: New file.
aa4945c1 9927
65a324b4
NC
99282009-10-26 Nick Clifton <nickc@redhat.com>
9929
9930 * config.host: Add support for RX target.
9931 * config/rx: New directory.
9932 * config/rx/rx-abi-functions.c: New file. Supplementary
9933 functions for libgcc to support the RX ABI.
9934 * config/rx/rx-abi.h: New file. Supplementary header file for
9935 libgcc RX ABI functions.
9936 * config/rx/t-rx: New file: Makefile fragment for building
9937 libgcc for the RX.
9938
dfb3b0e3
UB
99392009-10-09 Uros Bizjak <ubizjak@gmail.com>
9940
9941 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9942 constraint of y0 to "g".
9943
81dd9fd7
AK
99442009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9945
9946 * config.host: Include the s390 makefile fragments.
9947 * config/s390/32/_fixdfdi.c: New file.
9948 * config/s390/32/_fixsfdi.c: New file.
9949 * config/s390/32/_fixtfdi.c: New file.
9950 * config/s390/32/_fixunsdfdi.c: New file.
9951 * config/s390/32/_fixunssfdi.c: New file.
9952 * config/s390/32/_fixunstfdi.c: New file.
9953 * config/s390/32/t-floattodi: New file.
9954 * config/s390/libgcc-glibc.ver: New file.
9955 * config/s390/t-crtstuff: New file.
9956 * config/s390/t-linux: New file.
9957 * config/s390/t-tpf: New file.
9958
df58e648
RW
99592009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9960
9961 * configure.ac (AC_PREREQ): Bump to 2.64.
9962
79052be3
KK
99632009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9964
9965 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9966
5213506e
RW
99672009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9968
9969 * configure: Regenerate.
9970
a9a25daa
DR
99712009-08-09 Douglas B Rupp <rupp@gnat.com>
9972
9973 * config.host (ia64-hp-*vms*): New target.
9974 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9975 with ia64-hp-*vms*.
9976
6efbd53f
RW
99772009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9978
9979 * configure.ac: Add snippet for maintainer-mode.
9980 * configure: Regenerate.
9981 * Makefile.in (AUTOCONF, configure_deps): New variables.
9982 ($(srcdir)/configure)): New rule, active only with maintainer
9983 mode turned on.
9984
7acf4da6
DD
99852009-06-23 DJ Delorie <dj@redhat.com>
9986
9987 Add MeP port.
9988 * config.host: Add mep support.
9989
54f549af
KT
99902009-06-22 Kai Tietz <kai.tietz@onevision.com>
9991
34481f28 9992 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9993 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9994
9995 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9996 for mingw targets.
54f549af
KT
9997 * config/i386/64/_multc3.c: Likewise.
9998 * config/i386/64/_powitf2.c: Likewise.
9999 * config/i386/64/eqtf2.c: Likewise.
10000 * config/i386/64/getf2.c: Likewise.
10001 * config/i386/64/letf2.c: Likewise.
10002 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10003 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10004 unsigned long long for x64 mingw targets.
10005 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10006 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10007
fea96e25
MR
100082009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10009
10010 * config.host (vax-*-linux*): New.
10011
cceb575c
AG
100122009-05-31 Anthony Green <green@moxielogic.com>
10013
10014 * config.host: Add moxie support.
10015 * config/moxie/t-moxie: New file.
10016
7d296953 100172009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10018
10019 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10020 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10021
532bfb0a
AJ
100222009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10023
10024 * config.host: Add i386/${host_address}/t-fprules-softfp to
10025 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10026
748086b7
JJ
100272009-04-09 Nick Clifton <nickc@redhat.com>
10028
10029 * config/ia64/tf-signs.c: Change copyright header to refer to
10030 version 3 of the GNU General Public License with version 3.1
10031 of the GCC Runtime Library Exception and to point readers at
10032 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10033 web page.
10034 * config/i386/32/tf-signs.c: Likewise.
10035 * config/libbid/_addsub_dd.c: Likewise.
10036 * config/libbid/_addsub_sd.c: Likewise.
10037 * config/libbid/_addsub_td.c: Likewise.
10038 * config/libbid/_dd_to_df.c: Likewise.
10039 * config/libbid/_dd_to_di.c: Likewise.
10040 * config/libbid/_dd_to_sd.c: Likewise.
10041 * config/libbid/_dd_to_sf.c: Likewise.
10042 * config/libbid/_dd_to_si.c: Likewise.
10043 * config/libbid/_dd_to_td.c: Likewise.
10044 * config/libbid/_dd_to_tf.c: Likewise.
10045 * config/libbid/_dd_to_udi.c: Likewise.
10046 * config/libbid/_dd_to_usi.c: Likewise.
10047 * config/libbid/_dd_to_xf.c: Likewise.
10048 * config/libbid/_df_to_dd.c: Likewise.
10049 * config/libbid/_df_to_sd.c: Likewise.
10050 * config/libbid/_df_to_td.c: Likewise.
10051 * config/libbid/_di_to_dd.c: Likewise.
10052 * config/libbid/_di_to_sd.c: Likewise.
10053 * config/libbid/_di_to_td.c: Likewise.
10054 * config/libbid/_div_dd.c: Likewise.
10055 * config/libbid/_div_sd.c: Likewise.
10056 * config/libbid/_div_td.c: Likewise.
10057 * config/libbid/_eq_dd.c: Likewise.
10058 * config/libbid/_eq_sd.c: Likewise.
10059 * config/libbid/_eq_td.c: Likewise.
10060 * config/libbid/_ge_dd.c: Likewise.
10061 * config/libbid/_ge_sd.c: Likewise.
10062 * config/libbid/_ge_td.c: Likewise.
10063 * config/libbid/_gt_dd.c: Likewise.
10064 * config/libbid/_gt_sd.c: Likewise.
10065 * config/libbid/_gt_td.c: Likewise.
10066 * config/libbid/_isinfd128.c: Likewise.
10067 * config/libbid/_isinfd32.c: Likewise.
10068 * config/libbid/_isinfd64.c: Likewise.
10069 * config/libbid/_le_dd.c: Likewise.
10070 * config/libbid/_le_sd.c: Likewise.
10071 * config/libbid/_le_td.c: Likewise.
10072 * config/libbid/_lt_dd.c: Likewise.
10073 * config/libbid/_lt_sd.c: Likewise.
10074 * config/libbid/_lt_td.c: Likewise.
10075 * config/libbid/_mul_dd.c: Likewise.
10076 * config/libbid/_mul_sd.c: Likewise.
10077 * config/libbid/_mul_td.c: Likewise.
10078 * config/libbid/_ne_dd.c: Likewise.
10079 * config/libbid/_ne_sd.c: Likewise.
10080 * config/libbid/_ne_td.c: Likewise.
10081 * config/libbid/_sd_to_dd.c: Likewise.
10082 * config/libbid/_sd_to_df.c: Likewise.
10083 * config/libbid/_sd_to_di.c: Likewise.
10084 * config/libbid/_sd_to_sf.c: Likewise.
10085 * config/libbid/_sd_to_si.c: Likewise.
10086 * config/libbid/_sd_to_td.c: Likewise.
10087 * config/libbid/_sd_to_tf.c: Likewise.
10088 * config/libbid/_sd_to_udi.c: Likewise.
10089 * config/libbid/_sd_to_usi.c: Likewise.
10090 * config/libbid/_sd_to_xf.c: Likewise.
10091 * config/libbid/_sf_to_dd.c: Likewise.
10092 * config/libbid/_sf_to_sd.c: Likewise.
10093 * config/libbid/_sf_to_td.c: Likewise.
10094 * config/libbid/_si_to_dd.c: Likewise.
10095 * config/libbid/_si_to_sd.c: Likewise.
10096 * config/libbid/_si_to_td.c: Likewise.
10097 * config/libbid/_td_to_dd.c: Likewise.
10098 * config/libbid/_td_to_df.c: Likewise.
10099 * config/libbid/_td_to_di.c: Likewise.
10100 * config/libbid/_td_to_sd.c: Likewise.
10101 * config/libbid/_td_to_sf.c: Likewise.
10102 * config/libbid/_td_to_si.c: Likewise.
10103 * config/libbid/_td_to_tf.c: Likewise.
10104 * config/libbid/_td_to_udi.c: Likewise.
10105 * config/libbid/_td_to_usi.c: Likewise.
10106 * config/libbid/_td_to_xf.c: Likewise.
10107 * config/libbid/_tf_to_dd.c: Likewise.
10108 * config/libbid/_tf_to_sd.c: Likewise.
10109 * config/libbid/_tf_to_td.c: Likewise.
10110 * config/libbid/_udi_to_dd.c: Likewise.
10111 * config/libbid/_udi_to_sd.c: Likewise.
10112 * config/libbid/_udi_to_td.c: Likewise.
10113 * config/libbid/_unord_dd.c: Likewise.
10114 * config/libbid/_unord_sd.c: Likewise.
10115 * config/libbid/_unord_td.c: Likewise.
10116 * config/libbid/_usi_to_dd.c: Likewise.
10117 * config/libbid/_usi_to_sd.c: Likewise.
10118 * config/libbid/_usi_to_td.c: Likewise.
10119 * config/libbid/_xf_to_dd.c: Likewise.
10120 * config/libbid/_xf_to_sd.c: Likewise.
10121 * config/libbid/_xf_to_td.c: Likewise.
10122 * config/libbid/bid128.c: Likewise.
10123 * config/libbid/bid128_2_str.h: Likewise.
10124 * config/libbid/bid128_2_str_macros.h: Likewise.
10125 * config/libbid/bid128_2_str_tables.c: Likewise.
10126 * config/libbid/bid128_add.c: Likewise.
10127 * config/libbid/bid128_compare.c: Likewise.
10128 * config/libbid/bid128_div.c: Likewise.
10129 * config/libbid/bid128_fma.c: Likewise.
10130 * config/libbid/bid128_logb.c: Likewise.
10131 * config/libbid/bid128_minmax.c: Likewise.
10132 * config/libbid/bid128_mul.c: Likewise.
10133 * config/libbid/bid128_next.c: Likewise.
10134 * config/libbid/bid128_noncomp.c: Likewise.
10135 * config/libbid/bid128_quantize.c: Likewise.
10136 * config/libbid/bid128_rem.c: Likewise.
10137 * config/libbid/bid128_round_integral.c: Likewise.
10138 * config/libbid/bid128_scalb.c: Likewise.
10139 * config/libbid/bid128_sqrt.c: Likewise.
10140 * config/libbid/bid128_string.c: Likewise.
10141 * config/libbid/bid128_to_int16.c: Likewise.
10142 * config/libbid/bid128_to_int32.c: Likewise.
10143 * config/libbid/bid128_to_int64.c: Likewise.
10144 * config/libbid/bid128_to_int8.c: Likewise.
10145 * config/libbid/bid128_to_uint16.c: Likewise.
10146 * config/libbid/bid128_to_uint32.c: Likewise.
10147 * config/libbid/bid128_to_uint64.c: Likewise.
10148 * config/libbid/bid128_to_uint8.c: Likewise.
10149 * config/libbid/bid32_to_bid128.c: Likewise.
10150 * config/libbid/bid32_to_bid64.c: Likewise.
10151 * config/libbid/bid64_add.c: Likewise.
10152 * config/libbid/bid64_compare.c: Likewise.
10153 * config/libbid/bid64_div.c: Likewise.
10154 * config/libbid/bid64_fma.c: Likewise.
10155 * config/libbid/bid64_logb.c: Likewise.
10156 * config/libbid/bid64_minmax.c: Likewise.
10157 * config/libbid/bid64_mul.c: Likewise.
10158 * config/libbid/bid64_next.c: Likewise.
10159 * config/libbid/bid64_noncomp.c: Likewise.
10160 * config/libbid/bid64_quantize.c: Likewise.
10161 * config/libbid/bid64_rem.c: Likewise.
10162 * config/libbid/bid64_round_integral.c: Likewise.
10163 * config/libbid/bid64_scalb.c: Likewise.
10164 * config/libbid/bid64_sqrt.c: Likewise.
10165 * config/libbid/bid64_string.c: Likewise.
10166 * config/libbid/bid64_to_bid128.c: Likewise.
10167 * config/libbid/bid64_to_int16.c: Likewise.
10168 * config/libbid/bid64_to_int32.c: Likewise.
10169 * config/libbid/bid64_to_int64.c: Likewise.
10170 * config/libbid/bid64_to_int8.c: Likewise.
10171 * config/libbid/bid64_to_uint16.c: Likewise.
10172 * config/libbid/bid64_to_uint32.c: Likewise.
10173 * config/libbid/bid64_to_uint64.c: Likewise.
10174 * config/libbid/bid64_to_uint8.c: Likewise.
10175 * config/libbid/bid_b2d.h: Likewise.
10176 * config/libbid/bid_binarydecimal.c: Likewise.
10177 * config/libbid/bid_conf.h: Likewise.
10178 * config/libbid/bid_convert_data.c: Likewise.
10179 * config/libbid/bid_decimal_data.c: Likewise.
10180 * config/libbid/bid_decimal_globals.c: Likewise.
10181 * config/libbid/bid_div_macros.h: Likewise.
10182 * config/libbid/bid_dpd.c: Likewise.
10183 * config/libbid/bid_flag_operations.c: Likewise.
10184 * config/libbid/bid_from_int.c: Likewise.
10185 * config/libbid/bid_functions.h: Likewise.
10186 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10187 * config/libbid/bid_inline_add.h: Likewise.
10188 * config/libbid/bid_internal.h: Likewise.
10189 * config/libbid/bid_round.c: Likewise.
10190 * config/libbid/bid_sqrt_macros.h: Likewise.
10191
101922009-04-09 Jakub Jelinek <jakub@redhat.com>
10193
10194 * Makefile.in: Change copyright header to refer to version
10195 3 of the GNU General Public License and to point readers at the
10196 COPYING3 file and the FSF's license web page.
10197 * config.host: Likewise.
10198
633dd061
AM
101992009-04-07 Alan Modra <amodra@bigpond.net.au>
10200
10201 * config.host: Reorder and merge to match config.gcc change.
10202
457d1d00
AM
102032009-04-03 Alan Modra <amodra@bigpond.net.au>
10204
10205 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10206
52c0e446
JM
102072009-03-28 Joseph Myers <joseph@codesourcery.com>
10208
10209 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10210 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10211 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10212 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10213
ba181049
UB
102142009-02-12 Uros Bizjak <ubizjak@gmail.com>
10215
10216 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10217 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10218
c252db20
L
102192009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10220
ba181049
UB
10221 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10222 ia64/t-softfp-compat to tmake_file.
c252db20
L
10223
10224 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10225
10226 * config/ia64/__divxf3.asm: New.
10227 * config/ia64/_fixtfdi.asm: Likewise.
10228 * config/ia64/_fixunstfdi.asm: Likewise.
10229 * config/ia64/_floatditf.asm: Likewise.
10230 * config/ia64/t-fprules-softfp: Likewise.
10231 * config/ia64/t-softfp-compat: Likewise.
10232 * config/ia64/tf-signs.c: Likewise.
10233
c60535f9
BE
102342009-01-18 Ben Elliston <bje@au.ibm.com>
10235
10236 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10237
ce16861e
BE
102382009-01-16 Ben Elliston <bje@au.ibm.com>
10239
10240 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10241 to tmake_file.
10242
bcf4713b
BE
102432009-01-13 Ben Elliston <bje@au.ibm.com>
10244
10245 * config/t-softfp: New file.
10246 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10247 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10248
7d296953 102492009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10250
10251 * config.host: Add m32r*-*-rtems*.
10252
7d296953 102532008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10254
10255 * config.host: Add m32c*-*-rtems*.
10256
19523300
RO
102572008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10258
10259 PR bootstrap/33100
10260 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10261 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10262 * configure: Regenerate.
10263 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10264 tmake_file here from gcc/config.gcc.
10265 Move extra_parts here from gcc/config.gcc.
10266 * config/i386/t-sol2: Move here from gcc/config/i386.
10267 Use gcc_srcdir instead of srcdir.
10268
0a4a51c7
AN
102692008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10270
10271 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10272 case.
10273
2a761e46
TS
102742008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10275
10276 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10277
c0451df7
TS
102782008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10279
10280 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10281
358da97e
HS
102822008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10283
10284 Add picoChip port.
10285 * config.host: Add picochip-*-*.
10286
c660f132
BW
102872008-08-06 Bob Wilson <bob.wilson@acm.org>
10288
10289 * config.host: Match more processor names for Xtensa.
10290
d1349557
L
102912008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10292
10293 * config/i386/64/t-softfp-compat: Update comments.
10294
dd7b73c0
L
102952008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10296
10297 * config/i386/64/_divtc3-compat.c: Moved to ...
10298 * config/i386/64/_divtc3.c: Here.
10299
10300 * config/i386/64/_multc3-compat.c: Moved to ...
10301 * config/i386/64/_multc3.c: Here.
10302
10303 * config/i386/64/_powitf2-compat.c: Moved to ...
10304 * config/i386/64/_powitf2.c: Here.
10305
10306 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10307 .c suffix instead of -compat.c.
10308
6e1fab3d
UB
103092008-07-05 Uros Bizjak <ubizjak@gmail.com>
10310
10311 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10312 (_FP_MUL_MEAT_D): Ditto.
10313 (_FP_DIV_MEAT_S): Ditto.
10314 (_FP_DIV_MEAT_D): Ditto.
10315
f92518d7
RS
103162008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10317
10318 * Makefile.in: Add support for __sync_* libgcc functions.
10319
d0aede14
L
103202008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10321
10322 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10323
c174f11c
L
103242008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10325
10326 PR boostrap/36702
10327 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10328 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10329
10330 * config/i386/64/t-fprules-softfp: Moved to ...
10331 * config/i386/64/t-softfp-compat: This. New.
10332
5f464fa2
UB
103332008-07-02 Uros Bizjak <ubizjak@gmail.com>
10334
10335 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10336 Initialize f with 0.0.
10337
ff473280
L
103382008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10339
10340 PR target/36669
10341 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10342
10343 * config/i386/64/_divtc3-compat.c: New.
10344 * config/i386/64/_multc3-compat.c: Likewise.
10345 * config/i386/64/_powitf2-compat.c: Likewise.
10346 * config/i386/64/eqtf2.c: Likewise.
10347 * config/i386/64/getf2.c: Likewise.
10348 * config/i386/64/letf2.c: Likewise.
10349 * config/i386/64/t-fprules-softfp: Likewise.
10350
103512008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10352
10353 * config.host: Add i386/${host_address}/t-fprules-softfp to
10354 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10355 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10356
10357 * configure.ac: Set host_address to 64 or 32 for x86.
10358 * configure: Regenerated.
10359
10360 * Makefile.in (config.status): Also depend on
10361 $(srcdir)/config.host.
10362
10363 * config/i386/32/t-fprules-softfp: New.
10364 * config/i386/32/tf-signs.c: Likewise.
10365
10366 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10367
103682008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10369 Uros Bizjak <ubizjak@gmail.com>
10370
10371 * config/i386/32/sfp-machine.h: New.
10372
30551d99
NF
103732008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10374
10375 * config/rs6000/t-ppccomm: Remove rules that conflict with
10376 auto-generated rules.
10377
18c04407
RW
103782008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10379
10380 * configure.ac: sinclude override.m4.
10381 * configure: Regenerate.
10382
10fbe77a
BRF
103832008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10384
10385 * configure: Regenerate.
10386
bc6d4c3f
JM
103872008-06-10 Joseph Myers <joseph@codesourcery.com>
10388
10389 * Makefile.in (DECNUMINC): Remove
10390 -I$(MULTIBUILDTOP)../../libdecnumber.
10391 * gstdint.h: New.
10392
cd985f66
JM
103932008-06-07 Joseph Myers <joseph@codesourcery.com>
10394
10395 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10396 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10397 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10398 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10399 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10400 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10401 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10402 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10403 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10404 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10405 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10406 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10407 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10408 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10409
93fea8d3
AL
104102008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10411
10412 * config.host (sh2[lbe]*-*-linux*): Allow target.
10413
18724e30
NF
104142008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10415
10416 * config/rs6000/t-ppccomm: Add build rules for new files.
10417 (LIB2ADD_ST): New variable.
10418
47583040
AH
104192008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10420
10421 PR target/34210
10422 PR target/35508
10423 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10424 * config/t-avr: New file. Build 16bit libgcc functions.
10425
cf8e67fe
JJ
104262008-03-02 Jakub Jelinek <jakub@redhat.com>
10427
10428 PR target/35401
10429 * config/t-slibgcc-darwin: Make install-leaf dependent on
10430 install-darwin-libgcc-stubs instead of install.
10431
8d8da227
JM
104322008-01-25 Joseph Myers <joseph@codesourcery.com>
10433
10434 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10435 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10436 sh-*-rtemscoff*): Remove cases.
10437
edbf8b16
RS
104382007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10439
10440 * Makefile.in (all): Use install-leaf rather than install.
10441 (install): Split most of the rule into...
10442 (install-leaf): ...this new one.
10443
89deeaff
EK
104442007-12-19 Etsushi Kato <ek.kato@gmail.com>
10445 Paolo Bonzini <bonzini@gnu.org>
10446
10447 PR target/30572
5f464fa2
UB
10448 * Makefile.in: Use @shlib_slibdir@ substitution to get
10449 correct install name on darwin.
89deeaff 10450 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10451
4081d704
HPN
104522007-12-15 Hans-Peter Nilsson <hp@axis.com>
10453
10454 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10455 cris-*-elf and cris-*-none.
10456 (crisv32-*-linux*): Similar, as cris-*-linux*.
10457
f43e89a3
RIL
104582007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10459
10460 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10461
b4e9c2c6
L
104622007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10463
10464 PR regression/33926
10465 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10466 * configure: Regenerated.
10467
b2a00c89
L
104682007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * Makefile.in (dfp-filenames): Replace decimal_globals,
10471 decimal_data, binarydecimal and convert_data with
10472 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10473 and bid_convert_data, respectively.
10474
8d2a9e0e
CF
104752007-09-17 Chao-ying Fu <fu@mips.com>
10476 Nigel Stephens <nigel@mips.com>
10477
10478 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10479 * Makefile.in (fixed_point): Define.
10480 Check if fixed_point is yes to build support functions.
10481 * configure.ac: Check for fixed_point support.
10482 * configure: Regenerated.
10483 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10484 funcs, modes, from, to.
10485
2b53935d
JJ
104862007-09-11 Janis Johnson <janis187@us.ibm.com
10487
10488 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10489
2533577f
JJ
104902007-09-10 Janis Johnson <janis187@us.ibm.com>
10491
10492 * Makefile.in (dfp-filenames): Remove decUtility, add
10493 decDouble, decPacked, decQuad, decSingle.
10494
3ae3dbd6
HK
104952007-08-27 Hans Kester <hans.kester@ellips.nl>
10496
10497 * config.host : Add x86_64-elf target.
10498
22867d02
L
104992007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10500
10501 * configure.ac (set_have_cc_tls): Add a missing =.
10502 * configure: Regenerated.
10503
6f461e76
L
105042007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10505
10506 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10507 and x86_64-*-linux*.
10508
10509 * config/t-tls: New file.
10510
dfb3b0e3 10511 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10512
10513 * configure.ac: Include ../config/enable.m4 and
10514 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10515 supports TLS and substitute set_have_cc_tls.
10516 * configure: Regenerated.
10517
200359e8
L
105182007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10519
10520 * Makefile.in: Use libbid for DFP when BID is enabled.
10521
76f5e200
DS
105222007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10523
10524 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10525 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10526 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10527
9bd196f0 105282007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10529 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10530
10531 PR target/29498
10532 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10533 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10534 * config/i386/t-crtfm: Compile crtfastmath.o with
10535 -minline-all-stringops.
10536
1910440e
RS
105372007-05-10 Richard Sandiford <richard@codesourcery.com>
10538
10539 * config.host (sparc-wrs-vxworks): New target.
10540
7d33c31d
KH
105412007-04-14 Kazu Hirata <kazu@codesourcery.com>
10542
10543 * config.host: Recognize fido.
10544
96fccd0d
JJ
105452007-04-04 Janis Johnson <janis187@us.ibm.com>
10546
10547 * configure: Check host, not target, for decimal float support.
10548
577565f9
UB
105492007-04-03 Uros Bizjak <ubizjak@gmail.com>
10550
10551 * config/i386/t-crtpc: New file.
10552 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10553 (x86_64-*-linux*): Ditto.
577565f9 10554
ccf8e764
RH
105552007-02-30 Kai Tietz <kai.tietz@onevision.com>
10556
10557 * config.host (x86_64-*-mingw*): New target.
10558
79b87c74
MM
105592007-03-23 Michael Meissner <michael.meissner@amd.com>
10560 H.J. Lu <hongjiu.lu@intel.com>
10561
10562 * Makefile.in (enable_decimal_float): New.
10563 (DECNUMINC): Add
10564 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10565 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10566 (decbits-filenames): This.
10567 (decbits-objects): New.
10568 (libgcc-objects): Add $(decbits-objects).
10569
10570 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10571 Substitute enable_decimal_float.
10572 * configure: Regenerated.
10573
8fce4e31
HPN
105742007-03-19 Hans-Peter Nilsson <hp@axis.com>
10575
10576 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10577
e8bb4597
BM
105782007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10579
10580 * Makefile.in (install-info): New dummy target.
10581
344189f9
BS
105822007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10583
10584 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10585
ac84c172
BM
105862007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10587
10588 * Makefile.in: Add install-html and install-pdf dummy
10589 targets.
10590
cd5c2357
RS
105912007-02-05 Roger Sayle <roger@eyesopen.com>
10592 Daniel Jacobowitz <dan@codesourcery.com>
10593
10594 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10595 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10596 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10597
d9a66f98
JJ
105982007-01-29 Janis Johnson <janis187@us.ibm.com>
10599
10600 * Makefile.in (dec-filenames): Add decExcept.
10601
9891ec5f
DJ
106022007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10603
10604 PR bootstrap/30469
10605 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10606 -fprofile-use.
10607
d6efbf5a
DJ
106082007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10609
10610 * configure.ac: Add --enable-version-specific-runtime-libs.
10611 Correct $slibdir default.
10612 * configure: Regenerated.
10613
17caeff2
JM
106142007-01-23 Joseph Myers <joseph@codesourcery.com>
10615
10616 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10617
5ea41e3a
AP
106182007-01-21 Andrew Pinski <pinskia@gmail.com>
10619
10620 PR target/30519
10621 * config.host (alpha*-*-linux*): Set extra_parts.
10622
26900826
KK
106232007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10624
10625 * config/sh/t-linux: New.
10626 * config.host (sh*-*-linux*): Set tmake_file.
10627
97af925b
DJ
106282007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10629
10630 * Makefile.in (install): Handle multilibs.
10631
b0088af7
BM
106322007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10633
10634 * Makefile.in: Added .PHONY entry for documentation targets.
10635
e0a9456a
BM
106362007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10637
10638 * Makefile.in: Add empty info, html, dvi, pdf targets.
10639
7fd453b4
MS
106402007-01-04 Mike Stump <mrs@apple.com>
10641
10642 * Makefile.in (MAKEINFO): Remove.
10643 (PERL): Likewise.
10644
14e8fc8b
PB
106452007-01-04 Paolo Bonzini <bonzini@gnu.org>
10646
10647 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10648 * configure: Regenerate.
10649 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10650 (gcc_objdir): Use it.
14e8fc8b 10651
1555beba
DJ
106522007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10653
10654 * config.host (ia64*-*-linux*): Set tmake_file.
10655
79e6eaeb
DJ
106562007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10657
10658 * Makefile.in (version): Define.
10659
fa958513
DJ
106602007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10661 Paolo Bonzini <bonzini@gnu.org>
10662
10663 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10664 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10665 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10666 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10667 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10668 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10669 * configure: Generated.
818ab71a 10670\f
8d9254fc 10671Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10672
10673Copying and distribution of this file, with or without modification,
10674are permitted in any medium without royalty provided the copyright
10675notice and this notice are preserved.