2020-04-03 11:35:41 +02:00
|
|
|
|
2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/94514
|
|
|
|
|
* config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
|
|
|
|
|
Update context->flags accroding to the frame state.
|
|
|
|
|
|
2020-04-19 14:23:47 +02:00
|
|
|
|
2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
|
|
|
|
|
Remove unneeded assignments to volatile memory.
|
|
|
|
|
|
aarch64: Fix bootstrap with old binutils [PR93053]
As reported in the PR, GCC 10 (and also 9.3.1 but not 9.3.0) fails to build
when using older binutils which lack LSE support, because those instructions
are used in libgcc.
Thanks to Kyrylo's hint, the following patches (hopefully) allow it to build
even with older binutils by using .inst directive if LSE support isn't
available in the assembler.
2020-04-15 Jakub Jelinek <jakub@redhat.com>
PR target/93053
* configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
* config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
is not defined, use just .arch armv8-a.
(B, M, N, OPN): Define.
(COMMENT): New .macro.
(CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
defined. Otherwise, move the operands right after the glue? and
comment out operands where the macros are used.
* configure: Regenerated.
* config.in: Regenerated.
2020-04-15 11:01:19 +02:00
|
|
|
|
2020-04-15 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/93053
|
|
|
|
|
* configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
|
|
|
|
|
* config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
|
|
|
|
|
is not defined, use just .arch armv8-a.
|
|
|
|
|
(B, M, N, OPN): Define.
|
|
|
|
|
(COMMENT): New .macro.
|
|
|
|
|
(CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
|
|
|
|
|
defined. Otherwise, move the operands right after the glue? and
|
|
|
|
|
comment out operands where the macros are used.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
|
2020-04-07 20:29:41 +02:00
|
|
|
|
2020-04-07 Ian Lance Taylor <iant@golang.org>
|
|
|
|
|
|
|
|
|
|
PR libgcc/94513
|
|
|
|
|
* generic-morestack.c: Give up trying to use __mmap/__munmap, use
|
|
|
|
|
syscall instead.
|
|
|
|
|
|
2020-04-04 22:45:45 +02:00
|
|
|
|
2020-04-04 Ian Lance Taylor <iant@golang.org>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.c: Only use __mmap on glibc >= 2.26.
|
|
|
|
|
|
2020-04-03 23:57:18 +02:00
|
|
|
|
2020-04-03 Ian Lance Taylor <iant@golang.org>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
|
|
|
|
|
than mmap/munmap, to avoid hooks.
|
|
|
|
|
|
2020-04-03 08:46:11 +02:00
|
|
|
|
2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
|
|
|
|
|
(TPFRA_OFFSET): Macros removed.
|
|
|
|
|
(CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
|
|
|
|
|
(CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
|
|
|
|
|
(PG3_SKIPPING_OFFSET): New macros.
|
|
|
|
|
(__isPATrange): Use cinfc_fast for the check.
|
|
|
|
|
(__isSkipResetAddr): New function.
|
|
|
|
|
(s390_fallback_frame_state): Check for skip trace addresses. Use
|
|
|
|
|
either ICST_CRET or ICST_SRET to calculate return address
|
|
|
|
|
location.
|
|
|
|
|
(__tpf_eh_return): Handle skip trace addresses.
|
|
|
|
|
|
2020-03-27 11:23:38 +01:00
|
|
|
|
2020-03-26 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/94220
|
|
|
|
|
* config/arm/lib1funcs.asm (COND): Use a single definition for
|
|
|
|
|
unified syntax.
|
|
|
|
|
(aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
|
|
|
|
|
(aeabi_idivmod): Likewise.
|
|
|
|
|
(divsi3_skip_div0_test): Likewise.
|
|
|
|
|
|
2020-03-17 13:39:39 +01:00
|
|
|
|
2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
|
|
|
|
|
|
2020-03-06 12:44:27 +01:00
|
|
|
|
2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Include the new makefile fragment.
|
|
|
|
|
* config/s390/t-tpf: New file.
|
|
|
|
|
|
libgcc: arm: convert thumb1 code to unified syntax
Unified syntax has been the official syntax for thumb1 assembly for
over 10 years now. It's time we made preparations for that becoming
the default in the assembler. But before we can start doing that we
really need to clean up some laggards from the olden days. Libgcc
support for thumb1 is one such example.
This patch converts all of the legacy (disjoint) syntax that I could
find over to unified code. The identification was done by using a
trick version of gas that defaulted to unified mode which then faults
if legacy syntax is encountered. The code produced was then compared
against the old code to check for differences. One such difference
does exist, but that is because in unified syntax 'movs rd, rn' is
encoded as 'lsls rd, rn, #0', rather than 'adds rd, rn, #0'; but that
is a deliberate change that was introduced because the lsls encoding
more closely reflects the behaviour of 'movs' in arm state (where only
some of the condition flags are modified).
* config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
syntax.
(aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
(aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
(aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
(aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
* config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
syntax.
(divsi3, modsi3): Likewise.
(clzdi2, ctzsi2): Likewise.
* config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
unified syntax.
(UNWIND_WRAPPER): Likewise.
2020-03-03 17:02:24 +01:00
|
|
|
|
2020-03-03 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
|
|
|
|
|
syntax.
|
|
|
|
|
(aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
|
|
|
|
|
(aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
|
|
|
|
|
(aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
|
|
|
|
|
(aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
|
|
|
|
|
* config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
|
|
|
|
|
syntax.
|
|
|
|
|
(divsi3, modsi3): Likewise.
|
|
|
|
|
(clzdi2, ctzsi2): Likewise.
|
|
|
|
|
* config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
|
|
|
|
|
unified syntax.
|
|
|
|
|
(UNWIND_WRAPPER): Likewise.
|
|
|
|
|
|
2020-03-02 13:08:49 +01:00
|
|
|
|
2020-03-02 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-interface.c: Remove duplicate
|
|
|
|
|
declaration of __gcov_flush_mx.
|
|
|
|
|
|
2020-02-18 14:28:22 +01:00
|
|
|
|
2020-02-18 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/92924
|
|
|
|
|
* libgcov-merge.c (merge_topn_values_set): Record
|
|
|
|
|
when a TOP N counter becomes invalid. When merging
|
|
|
|
|
remove a smallest value if the space is needed.
|
|
|
|
|
|
2020-02-12 21:20:15 +01:00
|
|
|
|
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/79193
|
|
|
|
|
PR libstdc++/88999
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2020-02-10 22:12:32 +01:00
|
|
|
|
2020-02-10 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/frv/frvbegin.c: Use right flags for .ctors and .dtors
|
|
|
|
|
sections.
|
|
|
|
|
* config/frv/frvend.c: Similarly.
|
|
|
|
|
|
2020-02-10 17:06:53 +01:00
|
|
|
|
2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/85334
|
|
|
|
|
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
|
|
|
|
|
New.
|
|
|
|
|
|
2020-02-10 13:54:39 +01:00
|
|
|
|
2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/93615
|
|
|
|
|
* unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
|
|
|
|
|
_Unwind_gnu_Find_got.
|
|
|
|
|
* unwind-pe.h: Likewise.
|
|
|
|
|
|
2020-02-07 11:01:14 +01:00
|
|
|
|
2020-02-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/93615
|
|
|
|
|
* config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
|
|
|
|
|
(_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
|
|
|
|
|
trailing :s in asm. Formatting fixes.
|
|
|
|
|
(_Unwind_decode_typeinfo_ptr): Adjust caller.
|
|
|
|
|
|
2020-02-01 01:46:50 +01:00
|
|
|
|
2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
|
|
|
|
|
|
|
|
|
|
* config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
|
|
|
|
|
* config/nios2-elf-lib.h: New.
|
|
|
|
|
* unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
|
|
|
|
|
code for finding GOT base for nios2.
|
|
|
|
|
|
2020-01-27 16:20:10 +01:00
|
|
|
|
2020-01-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/93403
|
|
|
|
|
* libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
|
|
|
|
|
Call __gcov_indirect_call_profiler_body.
|
|
|
|
|
(__gcov_indirect_call_profiler_body): New.
|
|
|
|
|
(__gcov_indirect_call_profiler_v4_atomic): New.
|
|
|
|
|
* libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
|
|
|
|
|
New declaration.
|
|
|
|
|
|
2020-01-27 13:51:03 +01:00
|
|
|
|
2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/crti.S: Add RF16 object attribute.
|
|
|
|
|
* config/arc/crtn.S: Likewise.
|
|
|
|
|
* config/arc/crttls.S: Likewise.
|
|
|
|
|
* config/arc/lib1funcs.S: Likewise.
|
|
|
|
|
* config/arc/fp-hack.h (ARC_OPTFPE): Define.
|
|
|
|
|
* config/arc/lib2funcs.c: New file.
|
|
|
|
|
* config/arc/t-arc: Add lib2funcs to LIB2ADD.
|
|
|
|
|
|
2020-01-24 12:24:25 +01:00
|
|
|
|
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
|
|
|
|
|
* configure.ac: Handle `--with-toolexeclibdir='.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2020-01-23 16:37:20 +01:00
|
|
|
|
2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
|
|
|
|
|
|
2020-01-23 16:38:14 +01:00
|
|
|
|
2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/gnustack.h: New file.
|
|
|
|
|
* config/mips/crti.S: Include gnustack.h.
|
|
|
|
|
* config/mips/crtn.S: Likewise.
|
|
|
|
|
* config/mips/mips16.S: Likewise.
|
|
|
|
|
* config/mips/vr4120-div.S: Likewise.
|
|
|
|
|
|
2020-01-23 14:34:59 +01:00
|
|
|
|
2020-01-23 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (prune_topn_counter): Remove
|
|
|
|
|
check for -1 as we only prune run-time counters
|
|
|
|
|
that do not generate an invalid state.
|
|
|
|
|
|
2020-01-22 13:40:12 +01:00
|
|
|
|
2020-01-22 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/92924
|
|
|
|
|
* libgcov-profiler.c (__gcov_topn_values_profiler_body): First
|
|
|
|
|
try to find an existing value, then find an empty slot
|
|
|
|
|
if not found.
|
|
|
|
|
|
2020-01-22 12:08:11 +01:00
|
|
|
|
2020-01-22 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/92924
|
|
|
|
|
* libgcov-driver.c (prune_topn_counter): New.
|
|
|
|
|
(prune_counters): Likewise.
|
|
|
|
|
(dump_one_gcov): Prune a run-time counter.
|
|
|
|
|
* libgcov-profiler.c (__gcov_topn_values_profiler_body):
|
|
|
|
|
For a known value, add GCOV_TOPN_VALUES to value.
|
|
|
|
|
Otherwise, decrement all counters by one.
|
|
|
|
|
|
2020-01-18 16:31:38 +01:00
|
|
|
|
2020-01-18 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* config/cris/arit.c (DS): Apply attribute __fallthrough__.
|
|
|
|
|
|
2020-01-18 16:30:29 +01:00
|
|
|
|
2020-01-18 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libgcc/92988
|
|
|
|
|
* crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
|
|
|
|
|
DEFAULT_USE_CXA_ATEXIT is true.
|
|
|
|
|
|
2020-01-14 18:47:39 +01:00
|
|
|
|
2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
|
2020-01-17 19:45:35 +01:00
|
|
|
|
Thomas Preud'homme <thomas.preudhomme@arm.com>
|
2020-01-14 18:47:39 +01:00
|
|
|
|
|
|
|
|
|
* config/arm/t-arm: Check return value of gcc rather than lack of
|
|
|
|
|
output.
|
|
|
|
|
|
2020-01-14 11:09:38 +01:00
|
|
|
|
2020-01-14 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/lib1funcs.S (skip): Simplify.
|
|
|
|
|
|
2020-01-11 00:19:41 +01:00
|
|
|
|
2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/gcn/atomic.c: Remove include of stdint.h.
|
|
|
|
|
(__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
|
|
|
|
|
__UINTPTR_TYPE__.
|
|
|
|
|
|
2020-01-09 16:35:14 +01:00
|
|
|
|
2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/gcn/atomic.c: New.
|
|
|
|
|
* config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
|
|
|
|
|
|
2020-01-08 10:31:07 +01:00
|
|
|
|
2020-01-08 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
Implement 64-bit double functions.
|
|
|
|
|
|
|
|
|
|
PR target/92055
|
|
|
|
|
* config.host (tmake_file) [target=avr]: Add t-libf7,
|
|
|
|
|
t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
|
|
|
|
|
* config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
|
|
|
|
|
depending on sizeof (double) or sizeof (long double).
|
|
|
|
|
* config/avr/libf7: New folder.
|
|
|
|
|
|
2020-01-05 13:45:54 +01:00
|
|
|
|
2020-01-05 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/gthr-vxworks.h: Guard #include vxAtomicLib.h
|
|
|
|
|
by IN_LIBGCC2.
|
|
|
|
|
|
2020-01-01 12:51:42 +01:00
|
|
|
|
2020-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2019-12-30 22:42:26 +01:00
|
|
|
|
2019-12-30 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/gthr-vxworks.h: Use _vxworks-versions.h.
|
|
|
|
|
* config/gthr-vxworks-tls.c: Likewise.
|
|
|
|
|
|
2019-12-30 22:22:21 +01:00
|
|
|
|
2019-12-30 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
|
|
|
|
|
standard zero-initializer syntax.
|
|
|
|
|
|
2019-12-30 22:14:35 +01:00
|
|
|
|
2019-12-30 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
|
|
|
|
|
reference to the internal VX_GET_TLS_DATA interface.
|
|
|
|
|
|
2019-12-30 22:11:22 +01:00
|
|
|
|
2019-12-30 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/vxcrtstuff.c: Fix incorrect spelling of
|
|
|
|
|
USE_INITFINI_ARRAY in guard.
|
|
|
|
|
|
2019-12-16 12:02:10 +01:00
|
|
|
|
2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* config.host: s/msp430*-*-elf/msp430-*-elf*.
|
|
|
|
|
Override default "extra_parts" variable.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac: Disable TM clone registry by default for
|
|
|
|
|
msp430-elfbare.
|
|
|
|
|
|
2019-12-11 20:19:50 +01:00
|
|
|
|
2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
|
|
|
|
|
"extra_parts".
|
|
|
|
|
* config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
|
|
|
|
|
|
2019-12-11 19:59:38 +01:00
|
|
|
|
2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
|
|
|
|
|
true.
|
|
|
|
|
|
2019-12-09 13:35:55 +01:00
|
|
|
|
2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
|
|
|
|
|
defined instead of its value.
|
|
|
|
|
|
2019-12-09 12:41:07 +01:00
|
|
|
|
2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
|
|
|
|
|
if it will have contents.
|
|
|
|
|
|
2019-12-05 10:47:35 +01:00
|
|
|
|
2019-12-05 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/92055
|
|
|
|
|
* config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
|
|
|
|
|
|
2019-11-18 13:08:18 +01:00
|
|
|
|
2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
2019-11-18 13:46:56 +01:00
|
|
|
|
PR libgcc/91737
|
2019-11-18 13:08:18 +01:00
|
|
|
|
* config.host: Add t-gthr-noweak on *-*-musl*.
|
|
|
|
|
* config/t-gthr-noweak: New file.
|
|
|
|
|
|
2019-11-18 00:11:52 +01:00
|
|
|
|
2019-11-17 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
|
|
|
|
|
volatile void *. Remove trap check.
|
|
|
|
|
(__kernel_cmpxchg2): Likewise.
|
|
|
|
|
(FETCH_AND_OP_2): Adjust operand types.
|
|
|
|
|
(OP_AND_FETCH_2): Likewise.
|
|
|
|
|
(FETCH_AND_OP_WORD): Likewise.
|
|
|
|
|
(OP_AND_FETCH_WORD): Likewise.
|
|
|
|
|
(COMPARE_AND_SWAP_2): Likewise.
|
|
|
|
|
(__sync_val_compare_and_swap_4): Likewise.
|
|
|
|
|
(__sync_bool_compare_and_swap_4): Likewise.
|
|
|
|
|
(SYNC_LOCK_TEST_AND_SET_2): Likewise.
|
|
|
|
|
(__sync_lock_test_and_set_4): Likewise.
|
|
|
|
|
(SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
|
|
|
|
|
(__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
|
|
|
|
|
for release.
|
|
|
|
|
(__sync_lock_release_8): Remove.
|
|
|
|
|
|
2019-11-15 20:47:12 +01:00
|
|
|
|
2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
|
|
|
|
|
of __sigset_t.
|
|
|
|
|
|
2019-11-14 17:11:30 +01:00
|
|
|
|
2019-11-14 Jerome Lambourg <lambourg@adacore.com>
|
|
|
|
|
Doug Rupp <rupp@adacore.com>
|
|
|
|
|
Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Collapse the arm-vxworks entries into
|
|
|
|
|
a single arm-wrs-vxworks7* one.
|
|
|
|
|
* config/arm/unwind-arm-vxworks.c: Update comments. Provide
|
|
|
|
|
__gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
|
|
|
|
|
kernel modules, to be overriden by libstdc++ when we link with
|
|
|
|
|
it. Rely on externally provided __exidx_start/end.
|
|
|
|
|
|
2019-11-14 17:05:08 +01:00
|
|
|
|
2019-11-14 Doug Rupp <rupp@adacore.com>
|
|
|
|
|
Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Handle aarch64*-wrs-vxworks7*.
|
|
|
|
|
|
2019-11-14 17:00:55 +01:00
|
|
|
|
2019-11-12 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/t-gthr-vxworksae: New file, add all the gthr-vxworks
|
|
|
|
|
sources except the cxx0x support to LIB2ADDEH. We don't support
|
|
|
|
|
cxx0x on AE/653.
|
|
|
|
|
* config/t-vxworksae: New file.
|
|
|
|
|
* config.host: Handle *-*-vxworksae: Add the two aforementioned
|
|
|
|
|
Makefile fragment files at their expected position in the tmake_file
|
|
|
|
|
list, in accordance with what is done for other VxWorks variants.
|
|
|
|
|
|
2019-11-14 16:58:31 +01:00
|
|
|
|
2019-11-12 Corentin Gay <gay@adacore.com>
|
|
|
|
|
Jerome Lambourg <lambourg@adacore.com>
|
|
|
|
|
Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/t-gthr-vxworks: New file, add all the gthr-vxworks
|
|
|
|
|
sources to LIB2ADDEH.
|
|
|
|
|
* config/t-vxworks: Remove adjustments to LIB2ADDEH.
|
|
|
|
|
* config/t-vxworks7: Likewise.
|
|
|
|
|
|
|
|
|
|
* config.host: Append a block at the end of the file to add the
|
|
|
|
|
t-gthr files to the tmake_file list for VxWorks after everything
|
|
|
|
|
else.
|
|
|
|
|
|
|
|
|
|
* config/vxlib.c: Rename as gthr-vxworks.c.
|
|
|
|
|
* config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
|
|
|
|
|
|
|
|
|
|
* config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
|
|
|
|
|
API and a basic error checking API, both internal. Simplify the
|
|
|
|
|
__gthread_once_t type definition and initializers. Add sections
|
|
|
|
|
for condition variables support and for the C++0x thread support,
|
|
|
|
|
conditioned against Vx653 for the latter.
|
|
|
|
|
|
|
|
|
|
* config/gthr-vxworks.c (__gthread_once): Simplify comments and
|
|
|
|
|
implementation, leveraging the TAS internal API.
|
|
|
|
|
* config/gthr-vxworks-tls.c: Introduce an internal TLS data access
|
|
|
|
|
API, leveraging the general availability of TLS services in VxWorks7
|
|
|
|
|
post SR6xxx.
|
|
|
|
|
(__gthread_setspecific, __gthread_setspecific): Use it.
|
|
|
|
|
(tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
|
|
|
|
|
* config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
|
|
|
|
|
support based on VxWorks primitives.
|
|
|
|
|
* config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
|
|
|
|
|
based on VxWorks primitives.
|
|
|
|
|
|
2019-11-14 16:53:23 +01:00
|
|
|
|
2019-11-06 Jerome Lambourg <lambourg@adacore.com>
|
|
|
|
|
Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/vxcrtstuff.c: New file.
|
|
|
|
|
* config/t-vxcrtstuff: New Makefile fragment.
|
|
|
|
|
* config.host: Append t-vxcrtstuff to the tmake_file list
|
|
|
|
|
on all VxWorks ports using dwarf for table based EH.
|
|
|
|
|
|
Support 64-bit double and 64-bit long double configurations.
gcc/
Support 64-bit double and 64-bit long double configurations.
PR target/92055
* config.gcc (tm_defines) [avr]: Set from --with-double=,
--with-long-double=.
* config/avr/t-multilib: Remove.
* config/avr/t-avr: Output of genmultilib.awk is now fully
dynamically generated and no more part of the repo.
(HAVE_DOUBLE_MULTILIB, HAVE_LONG_DOUBLE_MULTILIB): New variables.
Pass them down to...
* config/avr/genmultilib.awk: ...here and handle them.
* gcc/config/avr/avr.opt (-mdouble=, avr_double). New option and var.
(-mlong-double=, avr_long_double). New option and var.
* common/config/avr/avr-common.c (opts.h, diagnostic.h): Include.
(TARGET_OPTION_OPTIMIZATION_TABLE) <-mdouble=, -mlong-double=>:
Set default as requested by --with-double=
(TARGET_HANDLE_OPTION): Define to this...
(avr_handle_option): ...new hook worker.
* config/avr/avr.h (DOUBLE_TYPE_SIZE): Define to avr_double.
(LONG_DOUBLE_TYPE_SIZE): Define to avr_long_double.
(avr_double_lib): New proto for spec function.
(EXTRA_SPEC_FUNCTIONS) <double-lib>: Add.
(DRIVER_SELF_SPECS): Call %:double-lib.
* config/avr/avr.c (avr_option_override): Assert
sizeof(long double) >= sizeof(double) for the target.
* config/avr/avr-c.c (avr_cpu_cpp_builtins)
[__HAVE_DOUBLE_MULTILIB__, __HAVE_LONG_DOUBLE_MULTILIB__]
[__HAVE_DOUBLE64__, __HAVE_DOUBLE32__, __DEFAULT_DOUBLE__=]
[__HAVE_LONG_DOUBLE64__, __HAVE_LONG_DOUBLE32__]
[__HAVE_LONG_DOUBLE_IS_DOUBLE__, __DEFAULT_LONG_DOUBLE__=]:
New built-in define depending on --with-double=, --with-long-double=.
* config/avr/driver-avr.c (avr_double_lib): New spec function.
* doc/invoke.tex (AVR Options) <-mdouble=,-mlong-double=>: Doc.
* doc/install.texi (Cross-Compiler-Specific Options)
<--with-double=, --with-long-double=>: Doc.
libgcc/
Support 64-bit double and 64-bit long double configurations.
PR target/92055
* config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
long double is a 32-bit type.
* config/avr/t-avrlibc: Copy double64 and long-double64
multilib(s) from the vanilla one.
* config/avr/t-copy-libgcc: New Makefile snip.
From-SVN: r277908
2019-11-07 10:19:31 +01:00
|
|
|
|
2019-11-07 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
Support 64-bit double and 64-bit long double configurations.
|
|
|
|
|
|
|
|
|
|
PR target/92055
|
|
|
|
|
* config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
|
|
|
|
|
long double is a 32-bit type.
|
|
|
|
|
* config/avr/t-avrlibc: Copy double64 and long-double64
|
|
|
|
|
multilib(s) from the vanilla one.
|
|
|
|
|
* config/avr/t-copy-libgcc: New Makefile snip.
|
|
|
|
|
|
2019-11-04 13:41:56 +01:00
|
|
|
|
2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
|
|
|
|
|
the target output object format is not ELF.
|
|
|
|
|
s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
|
|
|
|
|
|
2019-11-03 13:09:26 +01:00
|
|
|
|
2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libgcc/78804
|
|
|
|
|
* fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
|
|
|
|
|
* fp-bit.c (pack_d, unpack_d): Remove special cases for
|
|
|
|
|
FLOAT_BIT_ORDER_MISMATCH.
|
|
|
|
|
* config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
|
|
|
|
|
|
2019-11-01 21:35:12 +01:00
|
|
|
|
2019-11-01 Jim Wilson <jimw@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
|
|
|
|
|
|
2019-10-23 18:52:47 +02:00
|
|
|
|
2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
|
|
|
|
|
s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
|
|
|
|
|
s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
|
|
|
|
|
Define symbols for 32-bit and f5series hardware multiply
|
|
|
|
|
register addresses.
|
|
|
|
|
Replace hard-coded register addresses with symbols.
|
|
|
|
|
Fix "_mspabi*" typo.
|
|
|
|
|
Fix whitespace.
|
|
|
|
|
* config/msp430/lib2mul.c: Add comment.
|
|
|
|
|
|
2019-10-16 00:17:14 +02:00
|
|
|
|
2019-10-15 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/fptr.c (_dl_read_access_allowed): Change argument to
|
|
|
|
|
unsigned int. Adjust callers.
|
|
|
|
|
(__canonicalize_funcptr_for_compare): Change plabel type to volatile
|
|
|
|
|
unsigned int *. Load relocation offset before function pointer.
|
|
|
|
|
Add barrier to ensure ordering.
|
|
|
|
|
|
2019-10-12 21:40:42 +02:00
|
|
|
|
2019-10-12 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
|
|
|
|
|
Load PIC register after branch target. Fix white space.
|
|
|
|
|
* config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
|
|
|
|
|
implementations. Load PIC register after branch target. Don't
|
|
|
|
|
clobber function pointer when it points to function descriptor.
|
|
|
|
|
Use nullification instead of branch in LINUX implementation.
|
|
|
|
|
|
2019-10-04 01:51:42 +02:00
|
|
|
|
2019-10-03 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/fptr.c: Disable -Warray-bounds warning.
|
|
|
|
|
|
2019-09-25 23:48:41 +02:00
|
|
|
|
2019-09-25 Richard Henderson <richard.henderson@linaro.org>
|
|
|
|
|
|
2019-09-26 01:04:58 +02:00
|
|
|
|
* config.in, configure: Re-rebuild with stock autoconf 2.69,
|
|
|
|
|
not the ubuntu modified 2.69.
|
|
|
|
|
|
2019-09-26 00:51:55 +02:00
|
|
|
|
PR target/91833
|
|
|
|
|
* config/aarch64/lse-init.c: Include auto-target.h. Disable
|
|
|
|
|
initialization if !HAVE_SYS_AUXV_H.
|
|
|
|
|
* configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
|
|
|
|
|
* config.in, configure: Rebuild.
|
|
|
|
|
|
2019-09-25 23:48:41 +02:00
|
|
|
|
PR target/91834
|
|
|
|
|
* config/aarch64/lse.S (LDNM): Ensure STXR output does not
|
|
|
|
|
overlap the inputs.
|
|
|
|
|
|
2019-09-25 14:38:59 +02:00
|
|
|
|
2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
|
|
|
|
|
CTR_EL0.IDC and CTR_EL0.DIC.
|
|
|
|
|
|
2019-09-20 15:32:20 +02:00
|
|
|
|
2019-09-20 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
Revert:
|
|
|
|
|
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
Mickaël Guêné <mickael.guene@st.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
|
|
|
|
|
architecture.
|
|
|
|
|
|
2019-09-19 16:36:38 +02:00
|
|
|
|
2019-09-19 Richard Henderson <richard.henderson@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/lse-init.c: New file.
|
|
|
|
|
* config/aarch64/lse.S: New file.
|
|
|
|
|
* config/aarch64/t-lse: New file.
|
|
|
|
|
* config.host: Add t-lse to all aarch64 tuples.
|
|
|
|
|
|
2019-09-10 09:55:20 +02:00
|
|
|
|
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
Mickaël Guêné <mickael.guene@st.com>
|
|
|
|
|
|
2019-09-10 09:58:44 +02:00
|
|
|
|
* config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
|
|
|
|
|
architecture.
|
|
|
|
|
|
|
|
|
|
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
Mickaël Guêné <mickael.guene@st.com>
|
|
|
|
|
|
2019-09-10 09:55:20 +02:00
|
|
|
|
* unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
|
|
|
|
|
(THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
|
|
|
|
|
(FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
|
|
|
|
|
(FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
|
|
|
|
|
(ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
|
|
|
|
|
(FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
|
|
|
|
|
(__gnu_personality_sigframe_fdpic): New.
|
|
|
|
|
(get_eit_entry): Add FDPIC signal frame support.
|
|
|
|
|
|
2019-09-10 09:47:49 +02:00
|
|
|
|
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
Mickaël Guêné <mickael.guene@st.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
|
|
|
|
|
(__kernel_dmb): Likewise.
|
|
|
|
|
(__fdpic_cmpxchg): New function.
|
|
|
|
|
(__fdpic_dmb): New function.
|
|
|
|
|
* config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
|
|
|
|
|
(gnu_Unwind_Find_got): New function.
|
|
|
|
|
(_Unwind_decode_typeinfo_ptr): Add FDPIC support.
|
|
|
|
|
* unwind-arm-common.inc (UCB_PR_GOT): New.
|
|
|
|
|
(funcdesc_t): New struct.
|
|
|
|
|
(get_eit_entry): Add FDPIC support.
|
|
|
|
|
(unwind_phase2): Likewise.
|
|
|
|
|
(unwind_phase2_forced): Likewise.
|
|
|
|
|
(__gnu_Unwind_RaiseException): Likewise.
|
|
|
|
|
(__gnu_Unwind_Resume): Likewise.
|
|
|
|
|
(__gnu_Unwind_Backtrace): Likewise.
|
|
|
|
|
* unwind-pe.h (read_encoded_value_with_base): Likewise.
|
|
|
|
|
|
2019-09-10 09:37:00 +02:00
|
|
|
|
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
|
2019-09-10 09:43:37 +02:00
|
|
|
|
Mickaël Guêné <mickael.guene@st.com>
|
2019-09-10 09:37:00 +02:00
|
|
|
|
|
2019-09-10 09:43:37 +02:00
|
|
|
|
* libgcc/crtstuff.c: Add support for FDPIC.
|
|
|
|
|
|
|
|
|
|
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Handle *-*-uclinuxfdpiceabi.
|
2019-09-10 09:37:00 +02:00
|
|
|
|
|
2019-09-09 12:13:23 +02:00
|
|
|
|
2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Set cpu_type for bpf-*-* targets.
|
|
|
|
|
* config/bpf/t-bpf: Likewise.
|
|
|
|
|
* config/bpf/crtn.S: Likewise.
|
|
|
|
|
* config/bpf/crti.S: New file.
|
|
|
|
|
|
2019-09-07 02:09:21 +02:00
|
|
|
|
2019-09-06 Jim Wilson <jimw@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
|
|
|
|
|
(riscv*-*-freebsd*): Likewise.
|
|
|
|
|
|
2019-09-03 17:08:28 +02:00
|
|
|
|
2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove references to spu.
|
|
|
|
|
* config/spu/: Remove directory.
|
|
|
|
|
|
2019-08-23 11:21:26 +02:00
|
|
|
|
2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
PR target/91306
|
|
|
|
|
* crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
|
|
|
|
|
element type, instead of "sizeof" the element type.
|
|
|
|
|
(__DTOR_LIST__): Likewise.
|
|
|
|
|
(__TMC_LIST__): Likewise.
|
|
|
|
|
(__do_global_dtors_aux_fini_array_entry): Likewise.
|
|
|
|
|
(__frame_dummy_init_array_entry): Likewise.
|
|
|
|
|
(__CTOR_END__): Likewise.
|
|
|
|
|
(__DTOR_END__): Likweise.
|
|
|
|
|
(__FRAME_END__): Likewise.
|
|
|
|
|
(__TMC_END__): Likewise.
|
|
|
|
|
|
2019-08-20 09:06:03 +02:00
|
|
|
|
2019-08-20 Lili Cui <lilicui@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
|
|
|
|
|
INTEL_COREI7_COOPERLAKE.
|
|
|
|
|
|
2019-07-31 16:11:16 +02:00
|
|
|
|
2019-07-31 Matt Thomas <matt@3am-software.com>
|
|
|
|
|
Nick Hudson <nick@nthcliff.demon.co.uk>
|
|
|
|
|
Matthew Green <mrg@eterna.com.au>
|
|
|
|
|
Maya Rashish <coypu@sdf.org>
|
|
|
|
|
|
|
|
|
|
* config.host (hppa*-*-netbsd*): New case.
|
|
|
|
|
* config/pa/t-netbsd: New file.
|
|
|
|
|
|
2019-07-31 10:56:35 +02:00
|
|
|
|
2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/cmse.c (cmse_check_address_range): Add
|
|
|
|
|
warn_unused_result attribute.
|
|
|
|
|
|
2019-07-22 09:34:47 +02:00
|
|
|
|
2019-07-22 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
|
|
|
|
|
* config/pa/t-stublib: Likewise.
|
|
|
|
|
|
2019-07-21 22:59:50 +02:00
|
|
|
|
2019-07-22 Stafford Horne <shorne@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/90362
|
|
|
|
|
* config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
|
|
|
|
|
to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
|
|
|
|
|
instructions are not available on every processor. Change a
|
|
|
|
|
l.bnf to l.bf to fix logic issue.
|
|
|
|
|
|
2019-07-04 20:28:59 +02:00
|
|
|
|
2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove reference to t-darwin8.
|
|
|
|
|
|
2019-07-03 20:36:28 +02:00
|
|
|
|
2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
|
|
|
|
|
list.
|
|
|
|
|
* config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
|
|
|
|
|
mmacosx-version-min for crts to run across all system versions.
|
|
|
|
|
* config/rs6000/t-darwin64 (LIB2ADD): Remove.
|
|
|
|
|
* config/t-darwin: Revise mmacosx-version-min for crts to run across
|
|
|
|
|
system versions >= 10.4.
|
|
|
|
|
|
2019-07-03 14:42:23 +02:00
|
|
|
|
2019-07-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Use topn_values instead of one_value names.
|
|
|
|
|
* libgcov-merge.c (__gcov_merge_single): Move to ...
|
|
|
|
|
(__gcov_merge_topn): ... this.
|
|
|
|
|
(merge_single_value_set): Move to ...
|
|
|
|
|
(merge_topn_values_set): ... this.
|
|
|
|
|
* libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
|
|
|
|
|
...
|
|
|
|
|
(__gcov_topn_values_profiler_body): ... this.
|
|
|
|
|
(__gcov_one_value_profiler_v2): Move to ...
|
|
|
|
|
(__gcov_topn_values_profiler): ... this.
|
|
|
|
|
(__gcov_one_value_profiler_v2_atomic): Move to ...
|
|
|
|
|
(__gcov_topn_values_profiler_atomic): ... this.
|
|
|
|
|
(__gcov_indirect_call_profiler_v4): Remove.
|
|
|
|
|
* libgcov-util.c (__gcov_single_counter_op): Move to ...
|
|
|
|
|
(__gcov_topn_counter_op): ... this.
|
|
|
|
|
* libgcov.h (L_gcov_merge_single): Remove.
|
|
|
|
|
(L_gcov_merge_topn): New.
|
|
|
|
|
(__gcov_merge_single): Remove.
|
|
|
|
|
(__gcov_merge_topn): New.
|
|
|
|
|
(__gcov_one_value_profiler_v2): Move to ..
|
|
|
|
|
(__gcov_topn_values_profiler): ... this.
|
|
|
|
|
(__gcov_one_value_profiler_v2_atomic): Move to ...
|
|
|
|
|
(__gcov_topn_values_profiler_atomic): ... this.
|
|
|
|
|
|
2019-07-03 14:42:02 +02:00
|
|
|
|
2019-07-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-merge.c (merge_single_value_set): Support N values.
|
|
|
|
|
* libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
|
|
|
|
|
|
2019-06-28 01:41:03 +02:00
|
|
|
|
2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (USE_TM_CLONE_REGISTRY): New.
|
|
|
|
|
(CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
|
|
|
|
|
* configure.ac: Add --disable-tm-clone-registry option.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2019-06-27 12:25:21 +02:00
|
|
|
|
2019-06-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
|
|
|
|
|
dead assignments.
|
|
|
|
|
* libgcov-util.c: Likewise.
|
|
|
|
|
|
2019-06-27 10:21:32 +02:00
|
|
|
|
2019-06-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-util.c (gcov_profile_merge): Release allocated
|
|
|
|
|
memory.
|
|
|
|
|
(calculate_overlap): Likewise.
|
|
|
|
|
|
2019-06-25 22:11:11 +02:00
|
|
|
|
2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
|
|
* config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
|
|
|
|
|
* config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
|
|
|
|
|
Build objects for the out of line save/restore register functions
|
|
|
|
|
so that they can be used for any supported Darwin version.
|
|
|
|
|
* config/t-darwin: Default the build Darwin version to Darwin8
|
|
|
|
|
(MacOS 10.4).
|
|
|
|
|
|
2019-06-25 13:49:36 +02:00
|
|
|
|
2019-06-25 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver-system.c (replace_filename_variables): Do not
|
|
|
|
|
call strlen with NULL argument.
|
|
|
|
|
|
2019-06-25 13:41:33 +02:00
|
|
|
|
2019-06-25 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
|
|
|
|
|
* config/gcn/unwind-gcn.c: New file.
|
|
|
|
|
|
2019-06-25 13:41:29 +02:00
|
|
|
|
2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
|
|
|
|
|
Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config/gcn/gthr-gcn.h: New.
|
|
|
|
|
|
2019-06-18 11:19:28 +02:00
|
|
|
|
2019-06-18 Tom de Vries <tdevries@suse.de>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/crt0.c (__main): Declare.
|
|
|
|
|
|
2019-06-17 16:43:11 +02:00
|
|
|
|
2019-06-17 Matthew Green <mrg@eterna.com.au>
|
|
|
|
|
Maya Rashish <coypu@sdf.org>
|
|
|
|
|
|
|
|
|
|
* config.host (aarch64*-*-netbsd*): New case.
|
|
|
|
|
|
2019-06-16 23:24:56 +02:00
|
|
|
|
2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/slli.S (__mspabi_sllll): New library function for
|
|
|
|
|
performing a logical left shift of a 64-bit value.
|
|
|
|
|
* config/msp430/srai.S (__mspabi_srall): New library function for
|
|
|
|
|
performing a arithmetic right shift of a 64-bit value.
|
|
|
|
|
* config/msp430/srll.S (__mspabi_srlll): New library function for
|
|
|
|
|
performing a logical right shift of a 64-bit value.
|
|
|
|
|
|
2019-06-14 16:04:20 +02:00
|
|
|
|
2019-06-14 Matt Thomas <matt@3am-software.com>
|
|
|
|
|
Matthew Green <mrg@eterna.com.au>
|
|
|
|
|
Nick Hudson <skrll@netbsd.org>
|
|
|
|
|
Maya Rashish <coypu@sdf.org>
|
|
|
|
|
|
|
|
|
|
* config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
|
|
|
|
|
* config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
|
|
|
|
|
functions to build.
|
|
|
|
|
* config/arm/t-netbsd-eabi: New file.
|
|
|
|
|
|
2019-06-12 21:28:51 +02:00
|
|
|
|
2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
|
|
|
|
|
|
|
|
|
|
* config.host: Add PRU target.
|
|
|
|
|
* config/pru/asri.c: New file.
|
|
|
|
|
* config/pru/eqd.c: New file.
|
|
|
|
|
* config/pru/eqf.c: New file.
|
|
|
|
|
* config/pru/ged.c: New file.
|
|
|
|
|
* config/pru/gef.c: New file.
|
|
|
|
|
* config/pru/gtd.c: New file.
|
|
|
|
|
* config/pru/gtf.c: New file.
|
|
|
|
|
* config/pru/led.c: New file.
|
|
|
|
|
* config/pru/lef.c: New file.
|
|
|
|
|
* config/pru/lib2bitcountHI.c: New file.
|
|
|
|
|
* config/pru/lib2divHI.c: New file.
|
|
|
|
|
* config/pru/lib2divQI.c: New file.
|
|
|
|
|
* config/pru/lib2divSI.c: New file.
|
|
|
|
|
* config/pru/libgcc-eabi.ver: New file.
|
|
|
|
|
* config/pru/ltd.c: New file.
|
|
|
|
|
* config/pru/ltf.c: New file.
|
|
|
|
|
* config/pru/mpyll.S: New file.
|
|
|
|
|
* config/pru/pru-abi.h: New file.
|
|
|
|
|
* config/pru/pru-asm.h: New file.
|
|
|
|
|
* config/pru/pru-divmod.h: New file.
|
|
|
|
|
* config/pru/sfp-machine.h: New file.
|
|
|
|
|
* config/pru/t-pru: New file.
|
|
|
|
|
|
2019-06-11 09:54:17 +02:00
|
|
|
|
2019-06-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libgcov-merge.c (__gcov_merge_single): Revert previous change.
|
|
|
|
|
|
2019-06-10 11:53:46 +02:00
|
|
|
|
2019-06-10 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/90808
|
|
|
|
|
* libgcov.h: Add ATTRIBUTE_UNUSED.
|
|
|
|
|
|
2019-06-10 09:38:59 +02:00
|
|
|
|
2019-06-10 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Add __gcov_one_value_profiler_v2,
|
|
|
|
|
__gcov_one_value_profiler_v2_atomic and
|
|
|
|
|
__gcov_indirect_call_profiler_v4.
|
|
|
|
|
* libgcov-merge.c (__gcov_merge_single): Change
|
|
|
|
|
function signature.
|
|
|
|
|
(merge_single_value_set): New.
|
|
|
|
|
* libgcov-profiler.c (__gcov_one_value_profiler_body):
|
|
|
|
|
Update functionality.
|
|
|
|
|
(__gcov_one_value_profiler): Remove.
|
|
|
|
|
(__gcov_one_value_profiler_v2): ... this.
|
|
|
|
|
(__gcov_one_value_profiler_atomic): Rename to ...
|
|
|
|
|
(__gcov_one_value_profiler_v2_atomic): this.
|
|
|
|
|
(__gcov_indirect_call_profiler_v3): Rename to ...
|
|
|
|
|
(__gcov_indirect_call_profiler_v4): ... this.
|
|
|
|
|
* libgcov.h (__gcov_one_value_profiler): Remove.
|
|
|
|
|
(__gcov_one_value_profiler_atomic): Remove.
|
|
|
|
|
(__gcov_one_value_profiler_v2_atomic): New.
|
|
|
|
|
(__gcov_indirect_call_profiler_v3): Remove.
|
|
|
|
|
(__gcov_one_value_profiler_v2): New.
|
|
|
|
|
(__gcov_indirect_call_profiler_v4): New.
|
|
|
|
|
(gcov_get_counter_ignore_scaling): New function.
|
|
|
|
|
|
2019-06-07 08:41:58 +02:00
|
|
|
|
2019-06-07 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Remove usage of
|
|
|
|
|
_gcov_merge_icall_topn.
|
|
|
|
|
* libgcov-driver.c (gcov_sort_n_vals): Remove.
|
|
|
|
|
(gcov_sort_icall_topn_counter): Likewise.
|
|
|
|
|
(gcov_sort_topn_counter_arrays): Likewise.
|
|
|
|
|
(dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
|
|
|
|
|
* libgcov-merge.c (__gcov_merge_icall_topn): Remove.
|
|
|
|
|
* libgcov-profiler.c (__gcov_topn_value_profiler_body):
|
|
|
|
|
Likewise.
|
|
|
|
|
(GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
|
|
|
|
|
(struct indirect_call_tuple): Remove.
|
|
|
|
|
(__gcov_indirect_call_topn_profiler): Remove.
|
|
|
|
|
* libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
|
|
|
|
|
* libgcov.h (gcov_sort_n_vals): Remove.
|
|
|
|
|
(L_gcov_merge_icall_topn): Likewise.
|
|
|
|
|
(__gcov_merge_icall_topn): Likewise.
|
|
|
|
|
(__gcov_indirect_call_topn_profiler): Likewise.
|
|
|
|
|
|
2019-06-06 21:02:54 +02:00
|
|
|
|
2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-darwin: Ensure that the unwinder is built with
|
|
|
|
|
altivec enabled.
|
|
|
|
|
|
2019-06-06 11:07:36 +02:00
|
|
|
|
2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/slli.S (__mspabi_slli_n): Put function in its own
|
|
|
|
|
section.
|
|
|
|
|
(__mspabi_slli): Likewise.
|
|
|
|
|
(__mspabi_slll_n): Likewise.
|
|
|
|
|
(__mspabi_slll): Likewise.
|
|
|
|
|
* config/msp430/srai.S (__mspabi_srai_n): Likewise.
|
|
|
|
|
(__mspabi_srai): Likewise.
|
|
|
|
|
(__mspabi_sral_n): Likewise.
|
|
|
|
|
(__mspabi_sral): Likewise.
|
|
|
|
|
* config/msp430/srli.S (__mspabi_srli_n): Likewise.
|
|
|
|
|
(__mspabi_srli): Likewise.
|
|
|
|
|
(__mspabi_srll_n): Likewise.
|
|
|
|
|
(__mspabi_srll): Likewise.
|
|
|
|
|
|
2019-06-06 01:20:27 +02:00
|
|
|
|
2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
|
|
|
|
|
|
|
|
|
|
* config.host (rx-*-linux*): Add t-fdpbit to tmake_file
|
|
|
|
|
Add appropriate tm_file clause as well.
|
|
|
|
|
* config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
|
|
|
|
|
|
2019-06-06 00:27:37 +02:00
|
|
|
|
2019-06-05 James Clarke <jrtc27@jrtc27.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
|
|
|
|
|
rather than .data/.bss so it can be accessed via gp-relative
|
|
|
|
|
addressing.
|
|
|
|
|
|
2019-06-05 18:45:57 +02:00
|
|
|
|
2019-06-05 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
|
|
|
|
|
(CR2_REGNO): Rename to R_CR2.
|
|
|
|
|
(XER_REGNO): Rename to R_XER.
|
|
|
|
|
(FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
|
|
|
|
|
(VRSAVE_REGNO): Rename to R_VRSAVE.
|
|
|
|
|
(VSCR_REGNO): R_VSCR.
|
|
|
|
|
|
2019-05-29 20:36:06 +02:00
|
|
|
|
2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
|
|
|
|
|
|
|
|
|
|
* config.host (rx-*-linux*): Add new case.
|
|
|
|
|
* config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
|
|
|
|
|
|
[PATCH 3/3][GCC][AARCH64] Add support for pointer authentication B key
gcc/
2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
* config/aarch64/aarch64-builtins.c (aarch64_builtins): Add
AARCH64_PAUTH_BUILTIN_AUTIB1716 and AARCH64_PAUTH_BUILTIN_PACIB1716.
* config/aarch64/aarch64-builtins.c (aarch64_init_pauth_hint_builtins):
Add autib1716 and pacib1716 initialisation.
* config/aarch64/aarch64-builtins.c (aarch64_expand_builtin): Add checks
for autib1716 and pacib1716.
* config/aarch64/aarch64-protos.h (aarch64_key_type,
aarch64_post_cfi_startproc): Define.
* config/aarch64/aarch64-protos.h (aarch64_ra_sign_key): Define extern.
* config/aarch64/aarch64.c (aarch64_handle_standard_branch_protection,
aarch64_handle_pac_ret_protection): Set default sign key to A.
* config/aarch64/aarch64.c (aarch64_expand_epilogue,
aarch64_expand_prologue): Add check for b-key.
* config/aarch64/aarch64.c (aarch64_ra_sign_key,
aarch64_post_cfi_startproc, aarch64_handle_pac_ret_b_key): Define.
* config/aarch64/aarch64.h (TARGET_ASM_POST_CFI_STARTPROC): Define.
* config/aarch64/aarch64.c (aarch64_pac_ret_subtypes): Add "b-key".
* config/aarch64/aarch64.md (unspec): Add UNSPEC_AUTIA1716,
UNSPEC_AUTIB1716, UNSPEC_AUTIASP, UNSPEC_AUTIBSP, UNSPEC_PACIA1716,
UNSPEC_PACIB1716, UNSPEC_PACIASP, UNSPEC_PACIBSP.
* config/aarch64/aarch64.md (do_return): Add check for b-key.
* config/aarch64/aarch64.md (<pauth_mnem_prefix>sp): Replace
pauth_hint_num_a with pauth_hint_num.
* config/aarch64/aarch64.md (<pauth_mnem_prefix>1716): Replace
pauth_hint_num_a with pauth_hint_num.
* config/aarch64/aarch64.opt (msign-return-address=): Deprecate.
* config/aarch64/iterators.md (PAUTH_LR_SP): Add UNSPEC_AUTIASP,
UNSPEC_AUTIBSP, UNSPEC_PACIASP, UNSPEC_PACIBSP.
* config/aarch64/iterators.md (PAUTH_17_16): Add UNSPEC_AUTIA1716,
UNSPEC_AUTIB1716, UNSPEC_PACIA1716, UNSPEC_PACIB1716.
* config/aarch64/iterators.md (pauth_mnem_prefix): Add UNSPEC_AUTIA1716,
UNSPEC_AUTIB1716, UNSPEC_PACIA1716, UNSPEC_PACIB1716, UNSPEC_AUTIASP,
UNSPEC_AUTIBSP, UNSPEC_PACIASP, UNSPEC_PACIBSP.
* config/aarch64/iterators.md (pauth_hint_num_a): Replace
UNSPEC_PACI1716 and UNSPEC_AUTI1716 with UNSPEC_PACIA1716 and
UNSPEC_AUTIA1716 respectively.
* config/aarch64/iterators.md (pauth_hint_num_a): Rename to pauth_hint_num
and add UNSPEC_PACIBSP, UNSPEC_AUTIBSP, UNSPEC_PACIB1716, UNSPEC_AUTIB1716.
* doc/invoke.texi (-mbranch-protection): Add b-key type.
* config/aarch64/aarch64-bti-insert.c (aarch64_pac_insn_p): Rename
UNSPEC_PACISP to UNSPEC_PACIASP and UNSPEC_PACIBSP.
gcc/testsuite
2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
* gcc.target/aarch64/return_address_sign_b_1.c: New file.
* gcc.target/aarch64/return_address_sign_b_2.c: New file.
* gcc.target/aarch64/return_address_sign_b_3.c: New file.
* gcc.target/aarch64/return_address_sign_b_exception.c: New file.
* gcc.target/aarch64/return_address_sign_ab_exception.c: New file.
* gcc.target/aarch64/return_address_sign_builtin.c: New file
libgcc/
2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
* config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
function.
* config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
aarch64_post_frob_eh_handler_addr): Add check for b-key.
* config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
* unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
string.
* unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
string.
(RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
From-SVN: r271735
2019-05-29 11:22:17 +02:00
|
|
|
|
2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
|
|
|
|
|
function.
|
|
|
|
|
* config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
|
|
|
|
|
aarch64_post_frob_eh_handler_addr): Add check for b-key.
|
|
|
|
|
* config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
|
|
|
|
|
aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
|
|
|
|
|
Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
|
|
|
|
|
* unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
|
|
|
|
|
string.
|
|
|
|
|
* unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
|
|
|
|
|
string.
|
|
|
|
|
(RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
|
|
|
|
|
|
2019-05-28 19:27:51 +02:00
|
|
|
|
2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
|
|
|
|
|
Remove Solaris 9 and 10 support.
|
|
|
|
|
(sparc_is_sighandler): Likewise.
|
|
|
|
|
|
2019-05-26 17:16:50 +02:00
|
|
|
|
2019-05-26 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
|
|
|
|
|
|
2019-05-17 16:37:39 +02:00
|
|
|
|
2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
|
|
|
|
|
4_FP_W_TYPEs are used for IEEE quad precision.
|
|
|
|
|
* soft-fp/extendhftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendxftf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfhf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfxf2.c: Likewise.
|
|
|
|
|
* config/rs6000/ibm-ldouble.c: Likewise.
|
|
|
|
|
|
2019-05-14 19:17:23 +02:00
|
|
|
|
2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host: Simplify various *-*-solaris2.1[0-9]* to
|
|
|
|
|
*-*-solaris2*.
|
|
|
|
|
* configure.ac: Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
* config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
|
|
|
|
|
Solaris 10 and Solaris 11 < snv_125 handling.
|
|
|
|
|
|
2019-05-12 21:26:16 +02:00
|
|
|
|
2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/darwin-vecsave.S: Set .machine appropriately.
|
|
|
|
|
|
2019-05-08 12:21:40 +02:00
|
|
|
|
2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_available_features): Detect BF16.
|
|
|
|
|
* config/i386/cpuinfo.h (enum processor_features): Add
|
|
|
|
|
FEATURE_AVX512BF16.
|
|
|
|
|
|
2019-04-23 12:03:41 +02:00
|
|
|
|
2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/89093
|
|
|
|
|
* config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
|
|
|
|
|
* config/arm/unwind-arm.c: Likewise.
|
|
|
|
|
* unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
|
|
|
|
|
attribute for ARM.
|
|
|
|
|
|
2019-04-15 10:19:23 +02:00
|
|
|
|
2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/nds32/linux-unwind.h (SIGRETURN): Remove.
|
|
|
|
|
(RT_SIGRETURN): Update.
|
|
|
|
|
(nds32_fallback_frame_state): Update.
|
|
|
|
|
|
2019-02-22 00:23:12 +01:00
|
|
|
|
2019-02-21 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libgcc2.h (__clear_cache): Correct signature.
|
|
|
|
|
* libgcc2.c (__clear_cache): Same.
|
|
|
|
|
|
2019-02-20 22:37:21 +01:00
|
|
|
|
2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/alpha/linux-unwind.h (alpha_fallback_frame_state):
|
|
|
|
|
Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
|
|
|
|
|
|
2019-02-19 17:10:00 +01:00
|
|
|
|
2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
|
|
|
|
|
regno instead of index to DWARF_ZERO_REG.
|
|
|
|
|
|
2019-02-15 11:40:34 +01:00
|
|
|
|
2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/visium/lib2funcs.c (__set_trampoline_parity): Replace
|
|
|
|
|
TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
|
|
|
|
|
|
2019-01-31 21:49:02 +01:00
|
|
|
|
2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/alpha/t-linux: Add -mfp-rounding-mode=d
|
|
|
|
|
to HOST_LIBGCC2_CFLAGS.
|
|
|
|
|
|
2019-01-23 22:41:59 +01:00
|
|
|
|
2019-01-23 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/88931
|
2019-01-31 21:49:02 +01:00
|
|
|
|
* libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
|
2019-01-23 22:41:59 +01:00
|
|
|
|
|
2019-01-18 12:32:53 +01:00
|
|
|
|
2019-01-18 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
|
|
|
|
|
to ...
|
|
|
|
|
(__gcov_indirect_call_profiler_v3): ... this.
|
|
|
|
|
* libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
|
|
|
|
|
(__gcov_indirect_call_profiler_v3): Likewise.
|
|
|
|
|
* Makefile.in: Bump function name.
|
|
|
|
|
|
2019-01-18 12:31:45 +01:00
|
|
|
|
2019-01-18 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (GCOV_PROF_PREFIX): Define.
|
|
|
|
|
(gcov_version): Use in gcov_error.
|
|
|
|
|
(merge_one_data): Likewise.
|
|
|
|
|
(dump_one_gcov): Likewise.
|
|
|
|
|
|
2019-01-18 12:30:56 +01:00
|
|
|
|
2019-01-18 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (gcov_version_string): New function.
|
|
|
|
|
(gcov_version): Convert version integer into string.
|
|
|
|
|
|
2019-01-17 13:29:13 +01:00
|
|
|
|
2019-01-17 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
Kwok Cheung Yeung <kcy@codesourcery.com>
|
|
|
|
|
Julian Brown <julian@codesourcery.com>
|
|
|
|
|
Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Recognize amdgcn*-*-amdhsa.
|
|
|
|
|
* config/gcn/crt0.c: New file.
|
|
|
|
|
* config/gcn/lib2-divmod-hi.c: New file.
|
|
|
|
|
* config/gcn/lib2-divmod.c: New file.
|
|
|
|
|
* config/gcn/lib2-gcn.h: New file.
|
|
|
|
|
* config/gcn/sfp-machine.h: New file.
|
|
|
|
|
* config/gcn/t-amdgcn: New file.
|
|
|
|
|
|
2019-01-09 22:37:45 +01:00
|
|
|
|
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/16615
|
|
|
|
|
|
|
|
|
|
* config/c6x/libunwind.S: Mechanically replace "can not" with
|
|
|
|
|
"cannot".
|
|
|
|
|
* config/tilepro/atomic.h: Likewise.
|
|
|
|
|
* config/vxlib-tls.c: Likewise.
|
|
|
|
|
* generic-morestack-thread.c: Likewise.
|
|
|
|
|
* generic-morestack.c: Likewise.
|
|
|
|
|
* mkmap-symver.awk: Likewise.
|
|
|
|
|
|
2019-01-01 13:31:55 +01:00
|
|
|
|
2019-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2018-12-20 22:41:48 +01:00
|
|
|
|
2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
|
|
|
|
|
to ignore -Waddress-of-packed-member.
|
|
|
|
|
|
2018-12-19 18:34:18 +01:00
|
|
|
|
2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
|
|
|
|
|
|
|
|
|
|
* /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
|
|
|
|
|
parameter and corresponding code.
|
|
|
|
|
(ARM_FUNC_START): Likewise in both definitions.
|
|
|
|
|
Also update footer comment about condition that need to match with
|
|
|
|
|
gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
|
|
|
|
|
* config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
|
|
|
|
|
defined. Weakly define it in this case.
|
|
|
|
|
* config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
|
|
|
|
|
* config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
|
|
|
|
|
_arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
|
|
|
|
|
comment to keep condition in sync with the one in
|
|
|
|
|
libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
|
|
|
|
|
|
2018-12-18 04:41:44 +01:00
|
|
|
|
2018-12-18 Wei Xiao <wei3.xiao@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
|
|
|
|
|
* config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
|
|
|
|
|
|
2018-12-12 11:12:36 +01:00
|
|
|
|
2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/tramp.S (__trampoline_setup): Also emit .size
|
|
|
|
|
and .cfi_endproc directives for VxWorks targets.
|
|
|
|
|
|
2018-12-05 15:25:11 +01:00
|
|
|
|
2018-12-05 Paul Koning <ni1d@arrl.net>
|
|
|
|
|
|
|
|
|
|
* udivmodhi4.c (__udivmodhi4): Fix loop end check.
|
|
|
|
|
|
2018-11-27 02:59:56 +01:00
|
|
|
|
2018-11-27 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/morestack.S (__stack_split_initialize),
|
|
|
|
|
(__morestack_get_guard, __morestack_set_guard),
|
|
|
|
|
(__morestack_make_guard): Provide CFI covering these functions.
|
|
|
|
|
* config/rs6000/tramp.S (__trampoline_setup): Likewise.
|
|
|
|
|
|
2018-11-16 02:26:04 +01:00
|
|
|
|
2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
|
|
|
|
|
|
2018-11-27 02:59:56 +01:00
|
|
|
|
* config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
|
2018-11-16 02:26:04 +01:00
|
|
|
|
(sc_pt_regs_lr): Update for kernel.
|
|
|
|
|
(sc_pt_regs_tls): Update for kernel.
|
|
|
|
|
|
2018-11-15 07:01:09 +01:00
|
|
|
|
2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
|
|
|
|
|
|
|
|
|
|
* config/csky/linux-unwind.h: Fix coding style.
|
|
|
|
|
|
2018-11-13 10:12:36 +01:00
|
|
|
|
2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
|
|
|
|
|
|
|
|
|
|
* config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
|
2018-11-27 02:59:56 +01:00
|
|
|
|
(csky_fallback_frame_state): Modify the check of the
|
2018-11-13 10:12:36 +01:00
|
|
|
|
instructions to adapt to changes in the kernel
|
|
|
|
|
|
2018-11-09 13:09:15 +01:00
|
|
|
|
2018-11-09 Stafford Horne <shorne@gmail.com>
|
|
|
|
|
Richard Henderson <rth@twiddle.net>
|
|
|
|
|
|
|
|
|
|
* config.host: Add OpenRISC support.
|
|
|
|
|
* config/or1k/*: New.
|
|
|
|
|
|
2018-11-08 17:26:28 +01:00
|
|
|
|
2018-11-08 Kito Cheng <kito@andestech.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/adddf3.c: Update from glibc.
|
|
|
|
|
* soft-fp/addsf3.c: Likewise.
|
|
|
|
|
* soft-fp/addtf3.c: Likewise.
|
|
|
|
|
* soft-fp/divdf3.c: Likewise.
|
|
|
|
|
* soft-fp/divsf3.c: Likewise.
|
|
|
|
|
* soft-fp/divtf3.c: Likewise.
|
|
|
|
|
* soft-fp/double.h: Likewise.
|
|
|
|
|
* soft-fp/eqdf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqsf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqtf2.c: Likewise.
|
|
|
|
|
* soft-fp/extenddftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extended.h: Likewise.
|
|
|
|
|
* soft-fp/extendhftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendxftf2.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixhfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunshfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfti.c: Likewise.
|
|
|
|
|
* soft-fp/floatdidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatdisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floattidf.c: Likewise.
|
|
|
|
|
* soft-fp/floattihf.c: Likewise.
|
|
|
|
|
* soft-fp/floattisf.c: Likewise.
|
|
|
|
|
* soft-fp/floattitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntihf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntitf.c: Likewise.
|
|
|
|
|
* soft-fp/gedf2.c: Likewise.
|
|
|
|
|
* soft-fp/gesf2.c: Likewise.
|
|
|
|
|
* soft-fp/getf2.c: Likewise.
|
|
|
|
|
* soft-fp/half.h: Likewise.
|
|
|
|
|
* soft-fp/ledf2.c: Likewise.
|
|
|
|
|
* soft-fp/lesf2.c: Likewise.
|
|
|
|
|
* soft-fp/letf2.c: Likewise.
|
|
|
|
|
* soft-fp/muldf3.c: Likewise.
|
|
|
|
|
* soft-fp/mulsf3.c: Likewise.
|
|
|
|
|
* soft-fp/multf3.c: Likewise.
|
|
|
|
|
* soft-fp/negdf2.c: Likewise.
|
|
|
|
|
* soft-fp/negsf2.c: Likewise.
|
|
|
|
|
* soft-fp/negtf2.c: Likewise.
|
|
|
|
|
* soft-fp/op-1.h: Likewise.
|
|
|
|
|
* soft-fp/op-2.h: Likewise.
|
|
|
|
|
* soft-fp/op-4.h: Likewise.
|
|
|
|
|
* soft-fp/op-8.h: Likewise.
|
|
|
|
|
* soft-fp/op-common.h: Likewise.
|
|
|
|
|
* soft-fp/quad.h: Likewise.
|
|
|
|
|
* soft-fp/single.h: Likewise.
|
|
|
|
|
* soft-fp/soft-fp.h: Likewise.
|
|
|
|
|
* soft-fp/subdf3.c: Likewise.
|
|
|
|
|
* soft-fp/subsf3.c: Likewise.
|
|
|
|
|
* soft-fp/subtf3.c: Likewise.
|
|
|
|
|
* soft-fp/truncdfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfhf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfxf2.c: Likewise.
|
|
|
|
|
* soft-fp/unorddf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordsf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordtf2.c: Likewise.
|
|
|
|
|
|
2018-11-04 12:17:54 +01:00
|
|
|
|
2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
|
|
|
|
|
* config/i386/cpuinfo.h (processor_types): Add znver2.
|
|
|
|
|
|
2018-11-01 19:36:52 +01:00
|
|
|
|
2018-11-01 Paul Koning <ni1d@arrl.net>
|
|
|
|
|
|
|
|
|
|
* config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
|
|
|
|
|
(HOST_LIBGCC2_CFLAGS): Change to optimize for size.
|
|
|
|
|
|
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
This patch updates GCC to use autoconf 2.69 and automake 1.15.1.
(That's not the latest automake version, but it's the one used by
binutils-gdb, with which consistency is desirable, and in any case
seems a useful incremental update that should make a future update to
1.16.1 easier.)
The changes are generally similar to the binutils-gdb ones, and are
copied from there where shared files and directories are involved
(there are some further changes to such shared directories, however,
which I'd expect to apply to binutils-gdb once this patch is in GCC).
Largely, obsolete AC_PREREQ calls are removed, while many
AC_LANG_SOURCE calls are added to avoid warnings from aclocal and
autoconf. Multilib support is no longer included in core automake,
meaning that multilib.am needs copying from automake's contrib
directory into the GCC source tree. Autoconf 2.69 has Go support, so
local copies of that support are removed. I hope the D support will
soon be submitted to upstream autoconf so the local copy of that can
be removed in a future update. Changes to how automake generates
runtest calls mean quotes are removed from RUNTEST definitions in five
lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm,
libphobos, libvtv; some others have RUNTEST definitions without
quotes, which are still OK); libgo and libphobos also get
-Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST
do not generate automake warnings.
Note that the regeneration did not include regeneration of
fixincludes/config.h.in (attempting such regeneration resulted in all
the USED_FOR_TARGET conditionals disappearing; and I don't see
anything in the fixincludes/ directory that would result in such
conditionals being generated, unlike in the gcc/ directory). Also
note that libvtv/testsuite/other-tests/Makefile.in was not
regenerated; that directory is not listed as a subdirectory for which
Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm
not sure how it's meant to be regenerated.
While I mostly fixed warnings should running aclocal / automake /
autoconf, there were various such warnings from automake in the
libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos
directories that I did not fix, preferring to leave those to the
relevant subsystem maintainers. Specifically, most of those warnings
were of the following form (example from libgfortran):
Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory,
Makefile.am:48: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they
will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
I think it's best for the relevant maintainers to add subdir-objects
and do any other associated Makefile.am changes needed. In some cases
the paths in the warnings involved ../; I don't know if that adds any
extra complications to the use of subdir-objects.
I've tested this with native, cross and Canadian cross builds. The
risk of any OS-specific issues should I hope be rather lower than if a
libtool upgrade were included (we *should* do such an upgrade at some
point, but it's more complicated - it involves identifying all our
local libtool changes to see if any aren't included in the upstream
version we update to, and reverting an upstream libtool patch that's
inappropriate for use in GCC); I think it would be better to get this
update into GCC so that people can test in different configurations
and we can fix any issues found, rather than to try to get more and
more testing done before it goes in.
top level:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* multilib.am: New file. From automake.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
* ar-lib: New file.
* test-driver: New file.
* configure: Re-generate.
config:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* math.m4, tls.m4: Use AC_LANG_SOURCE.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
fixincludes:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, configure: Regenerate.
gcc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use single
line for second argument of AC_DEFINE_UNQUOTED.
* doc/install.texi (Tools/packages necessary for modifying GCC):
Update to autoconf 2.69 and automake 1.15.1.
* aclocal.m4, config.in, configure: Regenerate.
gnattools:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* configure: Regenerate.
gotools:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* config/go.m4: Remove file.
* Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config.
* configure.ac: Remove AC_PREREQ. Do not include config/go.m4.
* Makefile.in, aclocal.m4, configure: Regenerate.
intl:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
* configure: Re-generate.
* config.h.in: Re-generate.
* aclocal.m4: Re-generate.
libada:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* configure: Regenerate.
libatomic:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* acinclude.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libbacktrace:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libcc1:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure: Regenerate.
libcpp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* aclocal.m4, config.in, configure: Regenerate.
libdecnumber:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* aclocal.m4.
libffi:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove doc/libffi.info.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, fficonfig.h.in,
include/Makefile.in, man/Makefile.in, testsuite/Makefile.in:
Regenerate.
libgcc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* configure: Regenerate.
libgfortran:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libgo [logically part of this change but omitted from the commit]:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* config/go.m4: Remove file.
* config/libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use
-Wno-override in AM_INIT_AUTOMAKE call.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libgomp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove libgomp.info.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libhsail-rt:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure: Regenerate.
libiberty:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* config.in: Re-generate.
libitm:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove libitm.info.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libobjc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, config.h.in, configure: Regenerate.
liboffloadmic:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* plugin/Makefile.am: Include multilib.am.
* plugin/configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, plugin/Makefile.in,
plugin/aclocal.m4, plugin/configure: Regenerate.
libphobos:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use -Wno-override in
AM_INIT_AUTOMAKE call.
* m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
* m4/druntime/os.m4: Use AC_LANG_SOURCE.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
src/Makefile.in, testsuite/Makefile.in: Regenerate.
libquadmath:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
(all-local): Define outside conditional code.
(CLEANFILES): Remove libquadmath.info.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libsanitizer:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
interception/Makefile.in, libbacktrace/Makefile.in,
lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
ubsan/Makefile.in: Regenerate.
libssp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Remove 1.9.5.
* configure.ac: Remove AC_PREREQ. Quote argument to
AC_RUN_IFELSE.
* Makefile.in, aclocal.m4, configure: Regenerate.
libstdc++-v3:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, doc/Makefile.in,
include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in,
src/c++17/Makefile.in, src/c++98/Makefile.in,
src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
libvtv:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
lto-plugin:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
zlib:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* configure: Re-generate.
From-SVN: r265695
2018-10-31 18:03:16 +01:00
|
|
|
|
2018-10-31 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/82856
|
|
|
|
|
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-10-31 12:27:07 +01:00
|
|
|
|
2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/lib1funcs.S (_muldi3): New function.
|
|
|
|
|
* config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
|
|
|
|
|
|
2018-10-30 09:33:04 +01:00
|
|
|
|
2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
|
|
|
|
|
|
|
|
|
|
* config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
|
|
|
|
|
|
2018-10-25 17:36:12 +02:00
|
|
|
|
2018-10-25 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR other/87735
|
|
|
|
|
* libgcov-profiler.c: Revert.
|
|
|
|
|
|
2018-10-24 10:47:59 +02:00
|
|
|
|
2018-10-24 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-profiler.c: Start from 1 in order to distinguish
|
|
|
|
|
functions which were seen and these that were not.
|
|
|
|
|
|
2018-10-18 20:01:15 +02:00
|
|
|
|
2018-10-18 Paul Koning <ni1d@arrl.net>
|
|
|
|
|
|
|
|
|
|
* udivmodsi4.c (__udivmodsi4): Rename to conform to coding
|
|
|
|
|
standard.
|
|
|
|
|
* divmod.c: Update references to __udivmodsi4.
|
|
|
|
|
* udivmod.c: Ditto.
|
|
|
|
|
* udivhi3.c: New file.
|
|
|
|
|
* udivmodhi4.c: New file.
|
|
|
|
|
* config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
|
|
|
|
|
|
2018-10-17 20:39:48 +02:00
|
|
|
|
2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
|
|
|
|
|
|
2018-10-12 23:25:46 +02:00
|
|
|
|
2018-10-12 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
|
|
|
|
|
defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
|
|
|
|
|
|
2018-10-08 18:49:48 +02:00
|
|
|
|
2018-10-08 Paul Koning <ni1d@arrl.net>
|
|
|
|
|
|
|
|
|
|
* config/pdp11/t-pdp11: Remove -mfloat32 switch.
|
|
|
|
|
|
2018-10-04 14:41:14 +02:00
|
|
|
|
2018-10-04 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/84107
|
|
|
|
|
* libgcov-profiler.c (__gcov_indirect_call):
|
|
|
|
|
Change type to indirect_call_tuple.
|
|
|
|
|
(struct indirect_call_tuple): New struct.
|
|
|
|
|
(__gcov_indirect_call_topn_profiler): Change type.
|
|
|
|
|
(__gcov_indirect_call_profiler_v2): Use the new
|
|
|
|
|
variables.
|
|
|
|
|
* libgcov.h (struct indirect_call_tuple): New struct
|
|
|
|
|
definition.
|
|
|
|
|
|
2018-10-03 22:29:10 +02:00
|
|
|
|
2018-10-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* libgcc2.c (isnan): Use __builtin_isnan.
|
|
|
|
|
(isfinite): Use __builtin_isfinite.
|
|
|
|
|
(isinf): Use __builtin_isinf.
|
|
|
|
|
|
2018-09-26 17:25:15 +02:00
|
|
|
|
2018-09-26 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
|
|
|
|
|
|
2018-09-21 15:09:51 +02:00
|
|
|
|
2018-09-21 Alexandre Oliva <oliva@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/vxcache.c: New file. Provide __clear_cache, based on
|
|
|
|
|
the cacheTextUpdate VxWorks service.
|
|
|
|
|
* config/t-vxworks (LIB2ADD): Add vxcache.c.
|
|
|
|
|
(LIB2FUNCS_EXCLUDE): Add _clear_cache.
|
|
|
|
|
* config/t-vxwoks7: Likewise.
|
|
|
|
|
|
2018-09-21 10:41:17 +02:00
|
|
|
|
2018-09-21 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (crc32_unsigned): Remove.
|
|
|
|
|
(gcov_histogram_insert): Likewise.
|
|
|
|
|
(gcov_compute_histogram): Likewise.
|
|
|
|
|
(compute_summary): Simplify rapidly.
|
|
|
|
|
(merge_one_data): Do not handle PROGRAM_SUMMARY tag.
|
|
|
|
|
(merge_summary): Rapidly simplify.
|
|
|
|
|
(dump_one_gcov): Ignore gcov_summary.
|
|
|
|
|
(gcov_do_dump): Do not handle program summary, it's not
|
|
|
|
|
used.
|
|
|
|
|
* libgcov-util.c (tag_summary): Remove.
|
|
|
|
|
(read_gcda_finalize): Fix coding style.
|
|
|
|
|
(read_gcda_file): Initialize curr_object_summary.
|
|
|
|
|
(compute_summary): Remove.
|
|
|
|
|
(calculate_overlap): Remove settings of run_max.
|
|
|
|
|
|
2018-09-21 10:39:35 +02:00
|
|
|
|
2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
|
|
|
|
|
ucontext_t type instead.
|
|
|
|
|
(nds32_fallback_frame_state): Remove struct _sigframe statement.
|
|
|
|
|
|
2018-09-21 10:11:40 +02:00
|
|
|
|
2018-09-21 Kito Cheng <kito.cheng@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/nds32/t-nds32-glibc: New file.
|
|
|
|
|
|
2018-09-18 09:04:15 +02:00
|
|
|
|
2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac (solaris_ld_v2_maps): New test.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in (solaris_ld_v2_maps): New variable.
|
|
|
|
|
* config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
|
|
|
|
|
if supported.
|
|
|
|
|
|
2018-08-23 11:47:34 +02:00
|
|
|
|
2018-08-23 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/86951
|
|
|
|
|
* config/arm/lib1funcs.asm (speculation_barrier): New function.
|
|
|
|
|
* config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
|
|
|
|
|
to build.
|
|
|
|
|
|
2018-08-22 13:58:43 +02:00
|
|
|
|
2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
2018-11-27 02:59:56 +01:00
|
|
|
|
* config/unwind-dw2-fde-darwin.c
|
2018-08-22 13:58:43 +02:00
|
|
|
|
(_darwin10_Unwind_FindEnclosingFunction): move from here ...
|
|
|
|
|
* config/darwin10-unwind-find-enc-func.c: … to here.
|
|
|
|
|
* config/t-darwin: Build Darwin10 unwinder shim crt.
|
|
|
|
|
* libgcc/config.host: Add the Darwin10 unwinder shim.
|
|
|
|
|
|
2018-08-21 10:49:15 +02:00
|
|
|
|
2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
|
|
|
|
|
|
|
|
|
|
* config.host: Add crtbegin.o and crtend.o for
|
|
|
|
|
powerpc-wrs-vxworks target.
|
|
|
|
|
|
2018-08-17 21:08:27 +02:00
|
|
|
|
2018-08-17 Jojo <jijie_rong@c-sky.com>
|
|
|
|
|
Huibin Wang <huibin_wang@c-sky.com>
|
|
|
|
|
Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
C-SKY port: libgcc
|
|
|
|
|
|
|
|
|
|
* config.host: Add C-SKY support.
|
|
|
|
|
* config/csky/*: New.
|
|
|
|
|
|
2018-08-12 09:38:40 +02:00
|
|
|
|
2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/nds32/t-nds32-isr: Rearrange object dependency.
|
|
|
|
|
* config/nds32/initfini.c: Add dwarf2 unwinding support.
|
|
|
|
|
* config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
|
|
|
|
|
and registers usage.
|
|
|
|
|
* config/nds32/isr-library/excp_isr.S: Ditto.
|
|
|
|
|
* config/nds32/isr-library/intr_isr.S: Ditto.
|
|
|
|
|
* config/nds32/isr-library/reset.S: Ditto.
|
|
|
|
|
* config/nds32/isr-library/restore_all.inc: Ditto.
|
|
|
|
|
* config/nds32/isr-library/restore_mac_regs.inc: Ditto.
|
|
|
|
|
* config/nds32/isr-library/restore_partial.inc: Ditto.
|
|
|
|
|
* config/nds32/isr-library/restore_usr_regs.inc: Ditto.
|
|
|
|
|
* config/nds32/isr-library/save_all.inc: Ditto.
|
|
|
|
|
* config/nds32/isr-library/save_mac_regs.inc: Ditto.
|
|
|
|
|
* config/nds32/isr-library/save_partial.inc: Ditto.
|
|
|
|
|
* config/nds32/isr-library/save_usr_regs.inc: Ditto.
|
|
|
|
|
* config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
|
|
|
|
|
|
pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum.
gcc
* config/pa/pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum.
Update comment for atomic instructions.
(atomic_storeqi, atomic_storehi, atomic_storesi, atomic_storesf,
atomic_loaddf, atomic_loaddf_1, atomic_storedf, atomic_storedf_1):
Remove.
(atomic_loaddi): Revise fence expansion to only emit fence prior to
load for __ATOMIC_SEQ_CST model.
(atomic_loaddi_1): Remove float register target.
(atomic_storedi): Handle CONST_INT values.
(atomic_storedi_1): Remove float register source. Add special case
for zero value.
(memory_barrier): New expander and insn.
libgcc
* config/pa/linux-atomic.c: Update comment.
(FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
__ATOMIC_RELAXED for atomic loads.
(SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
unordered store to release lock.
(__sync_lock_release_8): Likewise.
(SYNC_LOCK_RELEASE_2): Remove define.
From-SVN: r263488
2018-08-11 23:37:55 +02:00
|
|
|
|
2018-08-11 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-atomic.c: Update comment.
|
|
|
|
|
(FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
|
|
|
|
|
COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
|
|
|
|
|
SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
|
|
|
|
|
__ATOMIC_RELAXED for atomic loads.
|
|
|
|
|
(SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
|
|
|
|
|
unordered store to release lock.
|
|
|
|
|
(__sync_lock_release_8): Likewise.
|
|
|
|
|
(SYNC_LOCK_RELEASE_2): Remove define.
|
2018-10-03 22:29:10 +02:00
|
|
|
|
|
2018-08-02 18:50:07 +02:00
|
|
|
|
2018-08-02 Nicolas Pitre <nico@fluxnic.net>
|
|
|
|
|
|
|
|
|
|
PR libgcc/86512
|
|
|
|
|
* config/arm/ieee754-df.S: Don't shortcut denormal handling when
|
|
|
|
|
exponent goes negative. Update my email address.
|
|
|
|
|
* config/arm/ieee754-sf.S: Likewise.
|
|
|
|
|
|
2018-08-01 12:22:18 +02:00
|
|
|
|
2018-08-01 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
|
2018-08-27 16:04:23 +02:00
|
|
|
|
check that __gcov_indirect_call_callee is non-null.
|
2018-08-01 12:22:18 +02:00
|
|
|
|
|
2018-07-30 14:51:42 +02:00
|
|
|
|
2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/ieee754-df.S: Fix comment for code working on
|
|
|
|
|
architectures >= 4.
|
|
|
|
|
* config/arm/ieee754-sf.S: Likewise.
|
|
|
|
|
|
2018-07-27 16:40:47 +02:00
|
|
|
|
2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/85334
|
|
|
|
|
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
|
|
|
|
|
Removed.
|
|
|
|
|
|
2018-07-05 21:23:29 +02:00
|
|
|
|
2018-07-05 James Clarke <jrtc27@jrtc27.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2018-06-27 22:32:27 +02:00
|
|
|
|
2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (install_leaf): Use enable_gcov instead of
|
|
|
|
|
enable_libgcov.
|
|
|
|
|
|
2018-06-27 12:04:25 +02:00
|
|
|
|
2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Add --disable-gcov option.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Honour @enable_gcov@.
|
|
|
|
|
|
2018-06-21 13:05:36 +02:00
|
|
|
|
2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
|
|
|
|
|
__ARM_ARCH and __ARM_FEATURE_CLZ instead.
|
|
|
|
|
(HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
|
|
|
|
|
* config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
|
|
|
|
|
__ARM_ARCH__.
|
|
|
|
|
* config/arm/ieee754-sf.S: Likewise.
|
|
|
|
|
* config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
|
|
|
|
|
|
2018-06-21 13:01:05 +02:00
|
|
|
|
2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
|
|
|
|
|
longer supported.
|
|
|
|
|
* config/arm/ieee754-sf.S: Likewise.
|
|
|
|
|
|
2018-06-20 23:11:23 +02:00
|
|
|
|
2018-06-20 Than McIntosh <thanm@google.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/86213
|
|
|
|
|
* generic-morestack.c (allocate_segment): Move calls to getenv and
|
|
|
|
|
getpagesize to __morestack_load_mmap.
|
|
|
|
|
(__morestack_load_mmap) Initialize static_pagesize and
|
|
|
|
|
use_guard_page here so as to avoid clobbering SSE regs during a
|
|
|
|
|
__morestack call.
|
|
|
|
|
|
2018-06-18 21:10:08 +02:00
|
|
|
|
2018-06-18 Michael Meissner <meissner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
|
|
|
|
|
support modules with -mno-gnu-attribute.
|
|
|
|
|
* config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
|
|
|
|
|
|
2018-06-07 15:31:24 +02:00
|
|
|
|
2018-06-07 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/t-vxworks (LIBGCC_INCLUDES): Add
|
|
|
|
|
-I$(MULTIBUILDTOP)../../gcc/include.
|
|
|
|
|
* config/t-vxworks7: Likewise. Reformat a bit to match
|
|
|
|
|
the t-vxworks layout.
|
|
|
|
|
|
2018-06-07 13:07:05 +02:00
|
|
|
|
2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
|
|
|
|
|
|
2018-06-07 06:23:16 +02:00
|
|
|
|
2018-06-07 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c: Rename cs_all to all and assign it from
|
2018-08-27 16:04:23 +02:00
|
|
|
|
all_prg.
|
2018-06-07 06:23:16 +02:00
|
|
|
|
|
2018-06-07 06:21:35 +02:00
|
|
|
|
2018-06-07 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
2018-08-27 16:04:23 +02:00
|
|
|
|
PR bootstrap/86057
|
2018-06-07 06:21:35 +02:00
|
|
|
|
* libgcov-driver-system.c (replace_filename_variables): Use
|
2018-08-27 16:04:23 +02:00
|
|
|
|
memcpy instead of mempcpy.
|
2018-06-07 06:21:35 +02:00
|
|
|
|
(allocate_filename_struct): Do not allocate filename, allocate
|
2018-08-27 16:04:23 +02:00
|
|
|
|
prefix and set it.
|
2018-06-07 06:21:35 +02:00
|
|
|
|
(gcov_exit_open_gcda_file): Allocate memory for gf->filename
|
2018-08-27 16:04:23 +02:00
|
|
|
|
here and properly copy content into it.
|
2018-06-07 06:21:35 +02:00
|
|
|
|
* libgcov-driver.c (struct gcov_filename): Remove max_length
|
2018-08-27 16:04:23 +02:00
|
|
|
|
field, change prefix from size_t into char *.
|
2018-06-07 06:21:35 +02:00
|
|
|
|
(compute_summary): Do not calculate longest filename.
|
|
|
|
|
(gcov_do_dump): Release memory of gf.filename after each file.
|
|
|
|
|
* libgcov-util.c (compute_summary): Use new signature of
|
2018-08-27 16:04:23 +02:00
|
|
|
|
compute_summary.
|
2018-06-07 06:21:35 +02:00
|
|
|
|
(calculate_overlap): Likewise.
|
|
|
|
|
|
2018-06-05 14:10:22 +02:00
|
|
|
|
2018-06-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/47618
|
|
|
|
|
* libgcov-driver-system.c (replace_filename_variables): New
|
2018-08-27 16:04:23 +02:00
|
|
|
|
function.
|
2018-06-05 14:10:22 +02:00
|
|
|
|
(gcov_exit_open_gcda_file): Use it.
|
|
|
|
|
|
2018-06-05 10:13:31 +02:00
|
|
|
|
2018-06-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (gcov_compute_histogram): Remove usage
|
|
|
|
|
of gcov_ctr_summary.
|
|
|
|
|
(compute_summary): Do it just for a single summary.
|
|
|
|
|
(merge_one_data): Likewise.
|
|
|
|
|
(merge_summary): Simplify as we read just single summary.
|
|
|
|
|
(dump_one_gcov): Pass proper argument.
|
|
|
|
|
* libgcov-util.c (compute_one_gcov): Simplify as we have just
|
|
|
|
|
single summary.
|
|
|
|
|
(gcov_info_count_all_cold): Likewise.
|
|
|
|
|
(calculate_overlap): Likewise.
|
|
|
|
|
|
2018-06-02 16:22:12 +02:00
|
|
|
|
2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
|
|
|
|
|
Monk Chiang <sh.chiang04@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (nds32*-linux*): New.
|
|
|
|
|
* config/nds32/linux-atomic.c: New file.
|
|
|
|
|
* config/nds32/linux-unwind.h: New file.
|
|
|
|
|
|
2018-05-31 21:45:54 +02:00
|
|
|
|
2018-05-31 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/85591
|
|
|
|
|
* config/i386/cpuinfo.c (get_amd_cpu): Return
|
|
|
|
|
AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
|
|
|
|
|
|
2018-05-31 01:21:48 +02:00
|
|
|
|
2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
|
|
|
|
|
|
2018-08-27 16:04:23 +02:00
|
|
|
|
* crtstuff.c: Remove declaration of _Jv_RegisterClasses.
|
2018-05-31 01:21:48 +02:00
|
|
|
|
|
2018-05-29 14:11:21 +02:00
|
|
|
|
2018-05-29 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
2018-08-27 16:04:23 +02:00
|
|
|
|
PR gcov-profile/85759
|
2018-05-29 14:11:21 +02:00
|
|
|
|
* libgcov-driver-system.c (gcov_error): Introduce usage of
|
2018-08-27 16:04:23 +02:00
|
|
|
|
GCOV_EXIT_AT_ERROR env. variable.
|
2018-05-29 14:11:21 +02:00
|
|
|
|
* libgcov-driver.c (merge_one_data): Print error that we
|
2018-08-27 16:04:23 +02:00
|
|
|
|
overwrite a gcov file with a different timestamp.
|
2018-05-29 14:11:21 +02:00
|
|
|
|
|
2018-05-24 00:29:01 +02:00
|
|
|
|
2018-05-23 Kalamatee <kalamatee@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
|
|
|
|
|
path to Lf$finfty.
|
|
|
|
|
|
2018-05-19 00:53:55 +02:00
|
|
|
|
2018-05-18 Kito Cheng <kito.cheng@gmail.com>
|
|
|
|
|
Monk Chiang <sh.chiang04@gmail.com>
|
|
|
|
|
Jim Wilson <jimw@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/riscv/save-restore.S: Add support for rv32e.
|
|
|
|
|
|
[arm][1/2] Remove support for deprecated -march=armv5 and armv5e
The -march=armv5 and armv5e options have been deprecated in GCC 7 [1].
This patch removes support for them.
It's mostly mechanical stuff. The functionality that was previously
gated on arm_arch5 is now gated on arm_arch5t and the functionality
that was gated on arm_arch5e is now gated on arm_arch5te.
A path in TARGET_OS_CPP_BUILTINS for VxWorks is now unreachable and
therefore is deleted.
References to armv5 and armv5e are deleted/updated throughout the
source tree and testsuite.
Bootstrapped and tested on arm-none-linux-gnueabihf.
Also built a cc1 for arm-wrs-vxworks as a sanity check.
* config/arm/arm-cpus.in (armv5, armv5e): Delete features.
(armv5t, armv5te): New features.
(ARMv5, ARMv5e): Delete fgroups.
(ARMv5t, ARMv5te): Adjust for above changes.
(ARMv6m): Likewise.
(armv5, armv5e): Delete arches.
* config/arm/arm.md (*call_reg_armv5): Use arm_arch5t instead of
arm_arch5.
(*call_reg_arm): Likewise.
(*call_value_reg_armv5): Likewise.
(*call_value_reg_arm): Likewise.
(*call_symbol): Likewise.
(*call_value_symbol): Likewise.
(*sibcall_insn): Likewise.
(*sibcall_value_insn): Likewise.
(clzsi2): Likewise.
(prefetch): Likewise.
(define_split and define_peephole2 dependent on arm_arch5):
Likewise.
* config/arm/arm.h (TARGET_LDRD): Use arm_arch5te instead of
arm_arch5e.
(TARGET_ARM_QBIT): Likewise.
(TARGET_DSP_MULTIPLY): Likewise.
(enum base_architecture): Delete BASE_ARCH_5, BASE_ARCH_5E.
(arm_arch5, arm_arch5e): Delete.
(arm_arch5t, arm_arch5te): Declare.
* config/arm/arm.c (arm_arch5, arm_arch5e): Delete.
(arm_arch5t): Declare.
(arm_option_reconfigure_globals): Update for the above.
(arm_options_perform_arch_sanity_checks): Update comment, replace
use of arm_arch5 with arm_arch5t.
(use_return_insn): Likewise.
(arm_emit_call_insn): Likewise.
(output_return_instruction): Likewise.
(arm_final_prescan_insn): Likewise.
(arm_coproc_builtin_available): Likewise.
* config/arm/arm-c.c (arm_cpu_builtins): Replace arm_arch5 and
arm_arch5e with arm_arch5t and arm_arch5te.
* config/arm/arm-protos.h (arm_arch5, arm_arch5e): Delete.
(arm_arch5t, arm_arch5te): Declare.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/t-arm-elf: Remove references to armv5, armv5e.
* config/arm/t-multilib: Likewise.
* config/arm/thumb1.md (*call_reg_thumb1_v5): Check arm_arch5t
instead of arm_arch5.
(*call_reg_thumb1): Likewise.
(*call_value_reg_thumb1_v5): Likewise.
(*call_value_reg_thumb1): Likewise.
* config/arm/vxworks.h (TARGET_OS_CPP_BUILTINS): Remove now
unreachable path.
* doc/invoke.texi (ARM Options): Remove references to armv5, armv5e.
* gcc.target/arm/pr40887.c: Update comment.
* lib/target-supports.exp: Don't generate effective target checks
and related helpers for armv5. Update comment.
* gcc.target/arm/armv5_thumb_isa.c: Delete.
* gcc.target/arm/di-longlong64-sync-withhelpers.c: Update effective
target check and options.
* config/arm/libunwind.S: Update comment relating to armv5.
From-SVN: r260362
2018-05-18 15:08:16 +02:00
|
|
|
|
2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/libunwind.S: Update comment relating to armv5.
|
|
|
|
|
|
2018-05-17 18:36:36 +02:00
|
|
|
|
2018-05-17 Jerome Lambourg <lambourg@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/cmse.c (cmse_check_address_range): Replace
|
|
|
|
|
UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
|
|
|
|
|
|
2018-05-17 10:13:23 +02:00
|
|
|
|
2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
|
|
|
|
|
|
2018-05-08 14:23:08 +02:00
|
|
|
|
2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
|
|
|
|
|
|
2018-05-07 18:32:09 +02:00
|
|
|
|
2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
|
|
|
|
|
|
2018-04-27 21:14:05 +02:00
|
|
|
|
2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
|
|
|
|
|
|
|
|
|
|
PR libgcc/84292
|
|
|
|
|
* config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
|
|
|
|
|
op_and_fetch to return the right result.
|
|
|
|
|
|
2018-04-27 11:06:39 +02:00
|
|
|
|
2018-04-27 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/85532
|
|
|
|
|
* config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
|
|
|
|
|
-fno-asynchronous-unwind-tables.
|
|
|
|
|
|
2018-04-25 14:08:14 +02:00
|
|
|
|
2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
|
|
|
|
|
* config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
|
|
|
|
|
|
2018-04-25 00:15:51 +02:00
|
|
|
|
2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
|
|
|
|
|
when including "config/i386/shadow-stack-unwind.h".
|
|
|
|
|
|
2018-04-24 18:45:26 +02:00
|
|
|
|
2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2018-04-20 23:27:08 +02:00
|
|
|
|
2018-04-20 Michael Meissner <meissner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/85456
|
|
|
|
|
* config/rs6000/_powikf2.c: New file. Add support for the
|
|
|
|
|
__builtin_powil function when long double is IEEE 128-bit floating
|
|
|
|
|
point.
|
|
|
|
|
* config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
|
|
|
|
|
__powikf2 support.
|
|
|
|
|
(__powikf2): Likewise.
|
|
|
|
|
* config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
|
|
|
|
|
(__powikf2_hw): Likewise.
|
|
|
|
|
(__powikf2): Likewise.
|
|
|
|
|
* config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
|
|
|
|
|
* config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
|
|
|
|
|
(_powikf2-hw.c): Likewise.
|
|
|
|
|
|
2018-04-19 19:05:39 +02:00
|
|
|
|
2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/85334
|
|
|
|
|
* unwind-generic.h (_Unwind_Frames_Increment): New.
|
|
|
|
|
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
|
|
|
|
|
Likewise.
|
|
|
|
|
* unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
|
|
|
|
|
count with _Unwind_Frames_Increment.
|
|
|
|
|
(_Unwind_ForcedUnwind_Phase2): Likewise.
|
|
|
|
|
|
2018-04-19 17:22:27 +02:00
|
|
|
|
2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/85379
|
|
|
|
|
* config/i386/morestack.S (__stack_split_initialize): Add
|
|
|
|
|
_CET_ENDBR.
|
|
|
|
|
|
2018-04-19 09:45:51 +02:00
|
|
|
|
2018-04-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2018-04-18 11:46:58 +02:00
|
|
|
|
2018-04-18 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR jit/85384
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-04-16 13:22:40 +02:00
|
|
|
|
2018-04-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/84945
|
|
|
|
|
* config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
|
|
|
|
|
-Wdangling-else warnings. Mask shift counts to avoid
|
|
|
|
|
-Wshift-count-negative and -Wshift-count-overflow false positives.
|
|
|
|
|
|
2018-04-06 22:04:17 +02:00
|
|
|
|
2018-04-06 Ruslan Bukin <br@bsdpad.com>
|
|
|
|
|
|
|
|
|
|
* config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
|
|
|
|
|
|
2018-03-29 15:14:06 +02:00
|
|
|
|
2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/85100
|
|
|
|
|
* config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
|
|
|
|
|
(XSTATE_FP): Likewise.
|
|
|
|
|
(XSTATE_SSE): Likewise.
|
|
|
|
|
(XSTATE_YMM): Likewise.
|
|
|
|
|
(XSTATE_OPMASK): Likewise.
|
|
|
|
|
(XSTATE_ZMM): Likewise.
|
|
|
|
|
(XSTATE_HI_ZMM): Likewise.
|
|
|
|
|
(XCR_AVX_ENABLED_MASK): Likewise.
|
|
|
|
|
(XCR_AVX512F_ENABLED_MASK): Likewise.
|
|
|
|
|
(get_available_features): Enable AVX and AVX512 features only
|
|
|
|
|
if their states are supported by OSXSAVE.
|
|
|
|
|
|
2018-03-22 12:22:31 +01:00
|
|
|
|
2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/85025
|
|
|
|
|
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
|
|
|
|
|
Fix a typo, tmp => 255.
|
|
|
|
|
|
2018-03-20 09:14:42 +01:00
|
|
|
|
2018-03-20 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/84945
|
|
|
|
|
* config/i386/cpuinfo.h (__cpu_features2): Declare.
|
|
|
|
|
* config/i386/cpuinfo.c (__cpu_features2): New variable for
|
|
|
|
|
ifndef SHARED only.
|
|
|
|
|
(set_feature): Define.
|
|
|
|
|
(get_available_features): Use set_feature macro. Set __cpu_features2
|
|
|
|
|
to the second word of features ifndef SHARED.
|
|
|
|
|
|
Add builtin_cpu for cannonlake and new isa features.
gcc/
* config/i386/i386.c (F_AVX512VBMI2, F_GFNI, F_VPCLMULQDQ,
F_AVX512VNNI, F_AVX512BITALG): New.
gcc/testsuite/
* gcc.target/i386/builtin_target.c (check_intel_cpu_model): Add
cannonlake.
(check_features): Add avx512vbmi2, gfni, vpclmulqdq, avx512vnni,
avx512bitalg.
libgcc/
* config/i386/cpuinfo.c (get_available_features): Add
FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
* config/i386/cpuinfo.h (processor_features) Add
FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
From-SVN: r258551
2018-03-15 08:52:36 +01:00
|
|
|
|
2018-03-15 Julia Koval <julia.koval@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_available_features): Add
|
|
|
|
|
FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
|
|
|
|
|
FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
|
|
|
|
|
* config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
|
|
|
|
|
FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
|
|
|
|
|
FEATURE_AVX512BITALG.
|
|
|
|
|
|
2018-03-14 11:26:38 +01:00
|
|
|
|
2018-03-14 Julia Koval <julia.koval@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
|
|
|
|
|
icelake client and icelake server.
|
|
|
|
|
|
2018-03-07 01:17:32 +01:00
|
|
|
|
2018-03-06 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/fptr.c (_dl_read_access_allowed): New.
|
|
|
|
|
(__canonicalize_funcptr_for_compare): Use it.
|
2018-10-03 22:29:10 +02:00
|
|
|
|
|
2018-02-28 09:59:15 +01:00
|
|
|
|
2018-02-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/83917
|
|
|
|
|
* configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
|
|
|
|
|
$asm_hidden_op if visibility ("hidden") attribute works.
|
|
|
|
|
(HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
|
|
|
|
|
* config/i386/i386-asm.h: Don't include auto-host.h.
|
|
|
|
|
(PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
|
|
|
|
|
PACKAGE_URL): Don't undefine.
|
|
|
|
|
(USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
|
|
|
|
|
guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
|
|
|
|
|
(FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
|
|
|
|
|
#ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
|
|
|
|
|
definition instead of hardcoded .hidden.
|
|
|
|
|
* config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
|
|
|
|
|
directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
|
|
|
|
|
#ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
|
|
|
|
|
(USE_GAS_CFI_DIRECTIVES): Don't define.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* config.in: Likewise.
|
|
|
|
|
|
re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace)
PR debug/83917
* config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
inclusion of auto-target.h and auto-host.h.
(USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
__GCC_HAVE_DWARF2_CFI_ASM.
(cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
cfi_pop): Define.
* config/i386/cygwin.S: Don't include auto-host.h here, just
define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
(cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
* config/i386/resms64fx.h: Add cfi_* directives.
* config/i386/resms64x.h: Likewise.
From-SVN: r258010
2018-02-26 20:46:34 +01:00
|
|
|
|
2018-02-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/83917
|
|
|
|
|
* config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
|
|
|
|
|
PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
|
|
|
|
|
inclusion of auto-target.h and auto-host.h.
|
|
|
|
|
(USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
|
|
|
|
|
__GCC_HAVE_DWARF2_CFI_ASM.
|
|
|
|
|
(cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
|
|
|
|
|
cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
|
|
|
|
|
cfi_pop): Define.
|
|
|
|
|
* config/i386/cygwin.S: Don't include auto-host.h here, just
|
|
|
|
|
define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
|
|
|
|
|
(cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
|
|
|
|
|
cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
|
|
|
|
|
* config/i386/resms64fx.h: Add cfi_* directives.
|
|
|
|
|
* config/i386/resms64x.h: Likewise.
|
|
|
|
|
|
2018-02-20 21:55:56 +01:00
|
|
|
|
2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/ieee754-df.S (__adddf3_aux): Add
|
|
|
|
|
.literal_position directive.
|
|
|
|
|
* config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
|
|
|
|
|
|
2018-02-19 17:25:49 +01:00
|
|
|
|
2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/84148
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-02-16 11:19:14 +01:00
|
|
|
|
2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/84239
|
|
|
|
|
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
|
|
|
|
|
Include cetintrin.h not x86intrin.h.
|
|
|
|
|
|
2018-02-14 16:06:21 +01:00
|
|
|
|
2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/84239
|
2018-02-16 11:19:14 +01:00
|
|
|
|
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
|
2018-02-14 16:06:21 +01:00
|
|
|
|
Use new _get_ssp and _inc_ssp intrinsics.
|
|
|
|
|
|
2018-02-02 14:45:57 +01:00
|
|
|
|
2018-02-02 Julia Koval <julia.koval@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
|
|
|
|
|
|
2018-01-26 12:34:00 +01:00
|
|
|
|
2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
|
|
|
|
|
option.
|
|
|
|
|
(__divsi3): Use RF16 safe registers.
|
|
|
|
|
(__modsi3): Likewise.
|
|
|
|
|
|
2018-01-23 22:42:52 +01:00
|
|
|
|
2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
|
|
|
|
|
(__divsf3): Make NaN return value quiet.
|
|
|
|
|
* config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
|
|
|
|
|
(__divdf3): Make NaN return value quiet.
|
|
|
|
|
|
2018-01-22 20:23:15 +01:00
|
|
|
|
2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/anddi3.S: New assembly file.
|
|
|
|
|
* config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
|
|
|
|
|
|
2018-01-22 19:51:28 +01:00
|
|
|
|
2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/umindi3.S: New assembly file.
|
|
|
|
|
* config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
|
|
|
|
|
|
2018-01-22 19:17:09 +01:00
|
|
|
|
2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/smindi3.S: New assembly file.
|
|
|
|
|
* config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
|
|
|
|
|
|
2018-01-22 18:38:26 +01:00
|
|
|
|
2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
|
2018-10-03 22:29:10 +02:00
|
|
|
|
|
2018-01-22 18:38:26 +01:00
|
|
|
|
* config/rl78/smaxdi3.S: New assembly file.
|
|
|
|
|
* config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
|
|
|
|
|
|
2018-01-22 16:05:59 +01:00
|
|
|
|
2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
|
2018-10-03 22:29:10 +02:00
|
|
|
|
|
2018-01-22 16:00:59 +01:00
|
|
|
|
* config/rl78/umaxdi3.S: New assembly file.
|
|
|
|
|
* config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
|
2018-10-03 22:29:10 +02:00
|
|
|
|
|
2018-01-21 18:52:44 +01:00
|
|
|
|
2018-01-21 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR lto/83452
|
|
|
|
|
* config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
|
|
|
|
|
* config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
|
2018-10-03 22:29:10 +02:00
|
|
|
|
|
2018-01-13 18:56:52 +01:00
|
|
|
|
2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/value-unwind.h (aarch64_vg): New function.
|
|
|
|
|
(DWARF_LAZY_REGISTER_VALUE): Define.
|
|
|
|
|
* unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
|
|
|
|
|
to provide a fallback register value.
|
|
|
|
|
|
2018-01-08 23:11:24 +01:00
|
|
|
|
2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
|
|
|
|
|
__ibm128, instead of trying to use long double.
|
|
|
|
|
(CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
|
|
|
|
|
accomidate -mabi=ieeelongdouble multilibs.
|
|
|
|
|
(CVT_IBM128_TO_FLOAT128): Likewise.
|
|
|
|
|
* config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
|
|
|
|
|
the appropriate IBM extended double type.
|
|
|
|
|
(__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
|
|
|
|
|
(__gcc_qsub): Likewise.
|
|
|
|
|
(__gcc_qmul): Likewise.
|
|
|
|
|
(__gcc_qdiv): Likewise.
|
|
|
|
|
(pack_ldouble): Likewise.
|
|
|
|
|
(__gcc_qneg): Likewise.
|
|
|
|
|
(__gcc_qeq): Likewise.
|
|
|
|
|
(__gcc_qne): Likewise.
|
|
|
|
|
(__gcc_qge): Likewise.
|
|
|
|
|
(__gcc_qle): Likewise.
|
|
|
|
|
(__gcc_stoq): Likewise.
|
|
|
|
|
(__gcc_dtoq): Likewise.
|
|
|
|
|
(__gcc_itoq): Likewise.
|
|
|
|
|
(__gcc_utoq): Likewise.
|
|
|
|
|
(__gcc_qunord): Likewise.
|
|
|
|
|
* config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
|
|
|
|
|
quad-float128.h for the definitions.
|
|
|
|
|
(COPYSIGN): Use the f128 version instead of the q version.
|
|
|
|
|
(INFINITY): Likewise.
|
|
|
|
|
(__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
|
|
|
|
|
* config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
|
|
|
|
|
quad-float128.h for the definitions.
|
|
|
|
|
(COPYSIGN): Use the f128 version instead of the q version.
|
|
|
|
|
(INFINITY): Likewise.
|
|
|
|
|
(FABS): Likewise.
|
|
|
|
|
(__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
|
|
|
|
|
* config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
|
|
|
|
|
* config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
|
|
|
|
|
|
2018-01-05 07:17:22 +01:00
|
|
|
|
2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
|
|
|
|
|
configuration.
|
|
|
|
|
|
2018-01-03 11:03:58 +01:00
|
|
|
|
2018-01-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
|
|
|
|
2017-12-12 Kito Cheng <kito.cheng@gmail.com>
|
2017-12-13 07:25:06 +01:00
|
|
|
|
|
|
|
|
|
* config/riscv/t-elf: Use multi3.c instead of multi3.S.
|
|
|
|
|
* config/riscv/multi3.c: New file.
|
|
|
|
|
* config/riscv/multi3.S: Remove.
|
|
|
|
|
|
2017-12-09 04:00:57 +01:00
|
|
|
|
2017-12-08 Jim Wilson <jimw@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/riscv/div.S: Use FUNC_* macros.
|
|
|
|
|
* config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
|
|
|
|
|
* config/riscv/save-restore.S: Likewise.
|
|
|
|
|
* config/riscv/riscv-asm.h: New.
|
|
|
|
|
|
2017-11-30 21:52:27 +01:00
|
|
|
|
2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
2017-12-01 06:32:39 +01:00
|
|
|
|
* config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
|
|
|
|
|
* config/rs6000/_divkc3.c (__divkc3): Likewise.
|
|
|
|
|
|
2017-11-30 21:52:27 +01:00
|
|
|
|
PR libgcc/83112
|
|
|
|
|
* config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
|
|
|
|
|
correct type for all ifunc resolvers to silence -Wattribute-alias
|
|
|
|
|
warnings. Eliminate the forward declaration of the resolver
|
|
|
|
|
functions which is no longer needed.
|
|
|
|
|
(__subkf3_resolve): Likewise.
|
|
|
|
|
(__mulkf3_resolve): Likewise.
|
|
|
|
|
(__divkf3_resolve): Likewise.
|
|
|
|
|
(__negkf2_resolve): Likewise.
|
|
|
|
|
(__eqkf2_resolve): Likewise.
|
|
|
|
|
(__nekf2_resolve): Likewise.
|
|
|
|
|
(__gekf2_resolve): Likewise.
|
|
|
|
|
(__gtkf2_resolve): Likewise.
|
|
|
|
|
(__lekf2_resolve): Likewise.
|
|
|
|
|
(__ltkf2_resolve): Likewise.
|
|
|
|
|
(__unordkf2_resolve): Likewise.
|
|
|
|
|
(__extendsfkf2_resolve): Likewise.
|
|
|
|
|
(__extenddfkf2_resolve): Likewise.
|
|
|
|
|
(__trunckfsf2_resolve): Likewise.
|
|
|
|
|
(__trunckfdf2_resolve): Likewise.
|
|
|
|
|
(__fixkfsi_resolve): Likewise.
|
|
|
|
|
(__fixkfdi_resolve): Likewise.
|
|
|
|
|
(__fixunskfsi_resolve): Likewise.
|
|
|
|
|
(__fixunskfdi_resolve): Likewise.
|
|
|
|
|
(__floatsikf_resolve): Likewise.
|
|
|
|
|
(__floatdikf_resolve): Likewise.
|
|
|
|
|
(__floatunsikf_resolve): Likewise.
|
|
|
|
|
(__floatundikf_resolve): Likewise.
|
|
|
|
|
(__extendkftf2_resolve): Likewise.
|
|
|
|
|
(__trunctfkf2_resolve): Likewise.
|
|
|
|
|
|
|
|
|
|
PR libgcc/83103
|
|
|
|
|
* config/rs6000/quad-float128.h (TF): Don't define if long double
|
|
|
|
|
is IEEE 128-bit floating point.
|
|
|
|
|
(TCtype): Define as either TCmode or KCmode, depending on whether
|
|
|
|
|
long double is IEEE 128-bit floating point.
|
|
|
|
|
(__mulkc3_sw): Add declarations for software/hardware versions of
|
|
|
|
|
complex multiply/divide.
|
|
|
|
|
(__divkc3_sw): Likewise.
|
|
|
|
|
(__mulkc3_hw): Likewise.
|
|
|
|
|
(__divkc3_hw): Likewise.
|
|
|
|
|
* config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
|
|
|
|
|
handlers to switch between using software emulation and hardware
|
|
|
|
|
float128 instructions, build the complex multiply/divide functions
|
|
|
|
|
for both software and hardware support.
|
|
|
|
|
* config/rs6000/_divkc3.c (_divkc3): Likewise.
|
|
|
|
|
* config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
|
|
|
|
|
(__divkc3_resolve): Likewise.
|
|
|
|
|
(__mulkc3): Likewise.
|
|
|
|
|
(__divkc3): Likewise.
|
|
|
|
|
* config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
|
|
|
|
|
(fp128_hw_src): Likewise.
|
|
|
|
|
(fp128_hw_static_obj): Likewise.
|
|
|
|
|
(fp128_hw_shared_obj): Likewise.
|
|
|
|
|
(_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
|
|
|
|
|
_mulkc3.c and _divkc3.c, changing the function name.
|
|
|
|
|
(_divkc3-hw.c): Likewise.
|
|
|
|
|
* config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
|
|
|
|
|
and _divkc3-hw.c.
|
|
|
|
|
|
2017-11-26 17:11:29 +01:00
|
|
|
|
2017-11-26 Julia Koval <julia.koval@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
|
|
|
|
|
* config/i386/cpuinfo.h (processor_subtypes): Add
|
|
|
|
|
INTEL_COREI7_CANNONLAKE.
|
|
|
|
|
|
2017-11-20 13:30:25 +01:00
|
|
|
|
2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/83015
|
|
|
|
|
* config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
|
|
|
|
|
parameter.
|
|
|
|
|
* config/xtensa/unwind-dw2-xtensa.c: Likewise
|
|
|
|
|
* config/ia64/unwind-ia64.c: Add frames parameter.
|
|
|
|
|
* unwind-sjlj.c: Likewise.
|
|
|
|
|
|
2017-11-17 16:21:23 +01:00
|
|
|
|
2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/linux-unwind.h: Include
|
|
|
|
|
config/i386/shadow-stack-unwind.h.
|
|
|
|
|
* config/i386/shadow-stack-unwind.h: New file.
|
|
|
|
|
* unwind-dw2.c: (uw_install_context): Add a frame parameter and
|
|
|
|
|
pass it to _Unwind_Frames_Extra.
|
|
|
|
|
* unwind-generic.h (_Unwind_Frames_Extra): New.
|
|
|
|
|
* unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
|
|
|
|
|
parameter. Add local variable frames to count number of frames.
|
|
|
|
|
(_Unwind_ForcedUnwind_Phase2): Likewise.
|
|
|
|
|
(_Unwind_RaiseException): Add local variable frames to count
|
|
|
|
|
number of frames, pass it to _Unwind_RaiseException_Phase2 and
|
|
|
|
|
uw_install_context.
|
|
|
|
|
(_Unwind_ForcedUnwind): Likewise.
|
|
|
|
|
(_Unwind_Resume): Likewise.
|
|
|
|
|
(_Unwind_Resume_or_Rethrow): Likewise.
|
|
|
|
|
|
2017-11-17 14:34:39 +01:00
|
|
|
|
2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
|
|
|
|
|
(CET_FLAGS): New.
|
|
|
|
|
* config/i386/morestack.S: Include <cet.h>.
|
|
|
|
|
(__morestack_large_model): Add _CET_ENDBR at function entrance.
|
|
|
|
|
* config/i386/resms64.h: Include <cet.h>.
|
|
|
|
|
* config/i386/resms64f.h: Likewise.
|
|
|
|
|
* config/i386/resms64fx.h: Likewise.
|
|
|
|
|
* config/i386/resms64x.h: Likewise.
|
|
|
|
|
* config/i386/savms64.h: Likewise.
|
|
|
|
|
* config/i386/savms64f.h: Likewise.
|
|
|
|
|
* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
|
|
|
|
|
(CRTSTUFF_T_CFLAGS): Likewise.
|
|
|
|
|
* configure.ac: Include ../config/cet.m4.
|
|
|
|
|
Set and substitute CET_FLAGS.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2017-11-14 19:31:01 +01:00
|
|
|
|
2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-solaris2*): Adapt comment for Solaris 12
|
|
|
|
|
renaming.
|
|
|
|
|
* config/sol2/crtpg.c (__start_crt_compiler): Likewise.
|
|
|
|
|
* configure.ac (libgcc_cv_solaris_crts): Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2017-11-07 10:21:40 +01:00
|
|
|
|
2017-11-07 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
|
|
|
|
|
after "do {} while (0)".
|
|
|
|
|
|
2017-11-07 09:11:43 +01:00
|
|
|
|
2017-11-07 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/82784
|
|
|
|
|
* config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
|
|
|
|
|
semicolon after "do {} while (0)".
|
|
|
|
|
* config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
|
|
|
|
|
* config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
|
|
|
|
|
* config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
|
|
|
|
|
* config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
|
|
|
|
|
|
2017-11-04 20:40:23 +01:00
|
|
|
|
2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libgcc/82635
|
|
|
|
|
* config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
|
|
|
|
|
sysctl to determine whether we're in a trampoline.
|
|
|
|
|
Keep the pattern matching method for systems without
|
|
|
|
|
KERN_PROC_SIGTRAMP sysctl.
|
|
|
|
|
|
2017-11-03 11:51:18 +01:00
|
|
|
|
2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
|
|
|
|
|
Vineet Gupta <vgupta@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arc*-*-linux*): Set md_unwind_header variable.
|
|
|
|
|
* config/arc/linux-unwind-reg.def: New file.
|
|
|
|
|
* config/arc/linux-unwind-reg.h: Likewise.
|
|
|
|
|
|
2017-10-23 19:54:02 +02:00
|
|
|
|
2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/subdi3.S: New assembly file.
|
|
|
|
|
* config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
|
|
|
|
|
|
2017-10-14 02:33:58 +02:00
|
|
|
|
2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/adddi3.S: New assembly file.
|
|
|
|
|
* config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
|
|
|
|
|
|
2017-10-13 19:19:12 +02:00
|
|
|
|
2017-10-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/82274
|
|
|
|
|
* libgcc2.c (__mulvDI3): If both operands have
|
|
|
|
|
the same highpart of -1 and the topmost bit of lowpart is 0,
|
|
|
|
|
multiplication overflows even if both lowparts are 0.
|
|
|
|
|
|
2017-09-29 03:01:52 +02:00
|
|
|
|
2017-09-28 James Bowman <james.bowman@ftdichip.com>
|
|
|
|
|
|
|
|
|
|
* config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
|
|
|
|
|
|
Enable no-exec stacks for more targets using the Linux kernel.
Building glibc for many different configurations and running the
compilation parts of the testsuite runs into failures of the
elf/check-execstack test for hppa and microblaze. Those
configurations default to executable stacks in the Linux kernel
because of VM_DATA_DEFAULT_FLAGS definitions including VM_EXEC
(VM_DATA_DEFAULT_FLAGS being the default definition of
VM_STACK_DEFAULT_FLAGS).
This fails because those configurations are not generating
.note.GNU-stack sections to indicate that programs do not need an
executable stack. This patch fixes GCC to generate those sections on
those architectures (when configured for a target using the Linux
kernel), as it does on other architectures, together with adding that
section to libgcc .S sources, with the same code as used on other
architectures (or a variant using "#ifdef __linux__" instead of the
usual "#if defined(__ELF__) && defined(__linux__)" for microblaze, as
that configuration doesn't use elfos.h and so doesn't define __ELF__).
This suffices to eliminate that glibc test failure. (For hppa, the
compilation parts of the glibc testsuite still fail because of the
separate elf/check-textrel failure.)
gcc:
* config/microblaze/linux.h (TARGET_ASM_FILE_END): Likewise.
* config/pa/pa.h (NEED_INDICATE_EXEC_STACK): Likewise.
* config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Likewise.
* config/pa/pa.c (pa_hpux_file_end): Rename to pa_file_end.
Define unconditionally, with [ASM_OUTPUT_EXTERNAL_REAL]
conditionals inside the function instead of around it. Call
file_end_indicate_exec_stack if NEED_INDICATE_EXEC_STACK.
(TARGET_ASM_FILE_END): Define unconditionally to pa_file_end.
libgcc:
* config/microblaze/crti.S, config/microblaze/crtn.S,
config/microblaze/divsi3.S, config/microblaze/moddi3.S,
config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
config/microblaze/mulsi3.S,
config/microblaze/stack_overflow_exit.S,
config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
config/pa/milli64.S: Add .note.GNU-stack section.
From-SVN: r253204
2017-09-26 18:35:53 +02:00
|
|
|
|
2017-09-26 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/microblaze/crti.S, config/microblaze/crtn.S,
|
|
|
|
|
config/microblaze/divsi3.S, config/microblaze/moddi3.S,
|
|
|
|
|
config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
|
|
|
|
|
config/microblaze/mulsi3.S,
|
|
|
|
|
config/microblaze/stack_overflow_exit.S,
|
|
|
|
|
config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
|
|
|
|
|
config/pa/milli64.S: Add .note.GNU-stack section.
|
|
|
|
|
|
2017-09-23 13:02:54 +02:00
|
|
|
|
2017-09-23 Daniel Santos <daniel.santos@pobox.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Add Check for HAVE_AS_AVX.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
* config/i386/i386-asm.h: Include auto-target.h from libgcc.
|
|
|
|
|
(SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
|
|
|
|
|
Correct out-of-date comments.
|
|
|
|
|
|
2017-09-20 15:47:30 +02:00
|
|
|
|
2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
|
|
|
|
|
|
2017-09-18 00:04:40 +02:00
|
|
|
|
2017-09-17 Daniel Santos <daniel.santos@pobox.com>
|
|
|
|
|
|
2017-09-20 15:47:30 +02:00
|
|
|
|
* config/i386/i386-asm.h (PASTE2): New macro.
|
2017-09-18 00:04:40 +02:00
|
|
|
|
(ASMNAME): Modify to use PASTE2.
|
|
|
|
|
(MS2SYSV_STUB_PREFIX): New macro for isa prefix.
|
|
|
|
|
(MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
|
2017-09-20 15:47:30 +02:00
|
|
|
|
* config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
|
2017-09-18 00:04:40 +02:00
|
|
|
|
instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
|
2017-09-20 15:47:30 +02:00
|
|
|
|
* config/i386/resms64f.S: Likewise.
|
|
|
|
|
* config/i386/resms64fx.S: Likewise.
|
|
|
|
|
* config/i386/resms64x.S: Likewise.
|
|
|
|
|
* config/i386/savms64.S: Likewise.
|
|
|
|
|
* config/i386/savms64f.S: Likewise.
|
|
|
|
|
* config/i386/avx_resms64.S: New file that only defines a macro and
|
2017-09-18 00:04:40 +02:00
|
|
|
|
includes it's corresponding header file.
|
2017-09-20 15:47:30 +02:00
|
|
|
|
* config/i386/avx_resms64f.S: Likewise.
|
|
|
|
|
* config/i386/avx_resms64fx.S: Likewise.
|
|
|
|
|
* config/i386/avx_resms64x.S: Likewise.
|
|
|
|
|
* config/i386/avx_savms64.S: Likewise.
|
|
|
|
|
* config/i386/avx_savms64f.S: Likewise.
|
|
|
|
|
* config/i386/sse_resms64.S: Likewise.
|
|
|
|
|
* config/i386/sse_resms64f.S: Likewise.
|
|
|
|
|
* config/i386/sse_resms64fx.S: Likewise.
|
|
|
|
|
* config/i386/sse_resms64x.S: Likewise.
|
|
|
|
|
* config/i386/sse_savms64.S: Likewise.
|
|
|
|
|
* config/i386/sse_savms64f.S: Likewise.
|
|
|
|
|
* config/i386/t-msabi: Modified to add avx and sse versions of stubs.
|
2017-09-18 00:04:40 +02:00
|
|
|
|
|
2017-09-01 15:43:01 +02:00
|
|
|
|
2017-09-01 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
* config.host (*-*-vxworks7): Widen scope to vxworks7*.
|
|
|
|
|
|
2017-08-31 21:19:47 +02:00
|
|
|
|
2017-08-31 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
|
|
|
|
|
match as powerpc-wrs-vxworks*.
|
|
|
|
|
|
2017-08-07 13:40:08 +02:00
|
|
|
|
2017-08-07 Jonathan Yong <10walls@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (*-cygwin): Include file from mingw
|
|
|
|
|
config/i386/enable-execute-stack-mingw32.c
|
|
|
|
|
|
2017-08-01 16:14:21 +02:00
|
|
|
|
2017-08-01 Jerome Lambourg <lambourg@adacore.com>
|
2018-08-27 16:04:23 +02:00
|
|
|
|
Doug Rupp <rupp@adacore.com>
|
|
|
|
|
Olivier Hainque <hainque@adacore.com>
|
2017-08-01 16:14:21 +02:00
|
|
|
|
|
|
|
|
|
* config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
|
|
|
|
|
as well as arm-wrs-vxworks.
|
|
|
|
|
* config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
|
|
|
|
|
LIB2ADDEH.
|
|
|
|
|
* config/arm/unwind-arm-vxworks.c: New file. Provide dummy
|
|
|
|
|
__exidx_start and __exidx_end for downloadable modules.
|
|
|
|
|
|
2017-08-01 15:23:06 +02:00
|
|
|
|
2017-08-01 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
|
|
|
|
|
* config/t-vxworks7: Likewise.
|
|
|
|
|
|
2017-08-01 14:59:44 +02:00
|
|
|
|
2017-08-01 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/t-vxworks: Instead of redefining LIB2ADD,
|
|
|
|
|
augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
|
|
|
|
|
|
2017-07-28 09:17:10 +02:00
|
|
|
|
2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
|
|
|
|
|
|
2017-07-24 23:59:57 +02:00
|
|
|
|
2017-07-24 Daniel Santos <daniel.santos@pobox.com>
|
|
|
|
|
|
|
|
|
|
PR testsuite/80759
|
|
|
|
|
* config.host: include i386/t-msabi for darwin and solaris.
|
|
|
|
|
* config/i386/i386-asm.h
|
|
|
|
|
(ELFFN): Rename to FN_TYPE.
|
|
|
|
|
(FN_SIZE): New macro.
|
|
|
|
|
(FN_HIDDEN): Likewise.
|
|
|
|
|
(ASMNAME): Likewise.
|
|
|
|
|
(FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
|
|
|
|
|
.globl.
|
|
|
|
|
(HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
|
|
|
|
|
(SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
|
|
|
|
|
* config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
|
|
|
|
|
.macro.
|
|
|
|
|
* config/i386/resms64f.S: Likewise.
|
|
|
|
|
* config/i386/resms64fx.S: Likewise.
|
|
|
|
|
* config/i386/resms64x.S: Likewise.
|
|
|
|
|
* config/i386/savms64.S: Likewise.
|
|
|
|
|
* config/i386/savms64f.S: Likewise.
|
|
|
|
|
|
2017-07-19 17:55:11 +02:00
|
|
|
|
2017-07-19 John Marino <gnugcc@marino.st>
|
|
|
|
|
|
|
|
|
|
* config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
|
|
|
|
|
|
2017-07-13 01:07:50 +02:00
|
|
|
|
2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/81193
|
|
|
|
|
* configure.ac (PowerPC float128 hardware support): Test whether
|
|
|
|
|
we can use __builtin_cpu_supports before enabling the ifunc
|
|
|
|
|
handler.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2017-07-10 15:55:26 +02:00
|
|
|
|
2017-07-10 Vineet Gupta <vgupta@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove uclibc from arc target spec.
|
|
|
|
|
|
2017-07-09 06:01:02 +02:00
|
|
|
|
2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
|
|
|
|
|
|
2017-07-07 23:08:42 +02:00
|
|
|
|
2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/float128-ifunc.c: Don't include auxv.h.
|
|
|
|
|
(have_ieee_hw_p): Delete function.
|
|
|
|
|
(SW_OR_HW) Use __builtin_cpu_supports().
|
|
|
|
|
|
2017-07-06 16:37:28 +02:00
|
|
|
|
2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
|
|
|
|
|
|
2017-07-04 10:50:03 +02:00
|
|
|
|
2017-07-03 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
2017-07-07 23:08:42 +02:00
|
|
|
|
* config/t-vxworks7: New file, really.
|
2017-07-04 10:50:03 +02:00
|
|
|
|
|
Use ucontext_t not struct ucontext in linux-unwind.h files.
Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules. This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead. This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.
This patch changes those files to use ucontext_t instead. As the
standard name that should be unconditionally safe, so this is not
restricted to architectures supported by glibc, or conditioned on the
glibc version.
Tested compilation together with current glibc with glibc's
build-many-glibcs.py.
* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
config/alpha/linux-unwind.h (alpha_fallback_frame_state),
config/bfin/linux-unwind.h (bfin_fallback_frame_state),
config/i386/linux-unwind.h (x86_64_fallback_frame_state,
x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
config/pa/linux-unwind.h (pa32_fallback_frame_state),
config/riscv/linux-unwind.h (riscv_fallback_frame_state),
config/sh/linux-unwind.h (sh_fallback_frame_state),
config/tilepro/linux-unwind.h (tile_fallback_frame_state),
config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
ucontext_t instead of struct ucontext.
From-SVN: r249731
2017-06-28 11:21:16 +02:00
|
|
|
|
2017-06-28 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
|
|
|
|
|
config/alpha/linux-unwind.h (alpha_fallback_frame_state),
|
|
|
|
|
config/bfin/linux-unwind.h (bfin_fallback_frame_state),
|
|
|
|
|
config/i386/linux-unwind.h (x86_64_fallback_frame_state,
|
|
|
|
|
x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
|
|
|
|
|
uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
|
|
|
|
|
config/pa/linux-unwind.h (pa32_fallback_frame_state),
|
|
|
|
|
config/riscv/linux-unwind.h (riscv_fallback_frame_state),
|
|
|
|
|
config/sh/linux-unwind.h (sh_fallback_frame_state),
|
|
|
|
|
config/tilepro/linux-unwind.h (tile_fallback_frame_state),
|
|
|
|
|
config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
|
|
|
|
|
ucontext_t instead of struct ucontext.
|
|
|
|
|
|
2017-06-27 15:15:35 +02:00
|
|
|
|
2017-06-27 Jerome Lambourg <lambourg@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
|
|
|
|
|
(x86_64-wrs-vxworks7): Likewise.
|
|
|
|
|
|
2017-06-27 14:20:05 +02:00
|
|
|
|
2017-06-27 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/t-vxworks7: New file.
|
|
|
|
|
* config.host (*-*-vxworks7): Use it.
|
|
|
|
|
|
2017-06-22 21:46:10 +02:00
|
|
|
|
2017-06-22 Matt Turner <mattst88@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
|
|
|
|
|
skylake case.
|
|
|
|
|
|
2017-06-21 09:01:34 +02:00
|
|
|
|
2017-06-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/81080
|
|
|
|
|
* configure.ac: Add AC_SYS_LARGEFILE.
|
|
|
|
|
* libgcov.h: Include auto-target.h before tsystem.h to pick
|
|
|
|
|
up _FILE_OFFSET_BITS which might differ for multilibs.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
|
2017-06-16 23:04:52 +02:00
|
|
|
|
2017-06-16 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
|
|
|
|
|
|
2017-06-09 14:54:53 +02:00
|
|
|
|
2017-06-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
|
|
|
|
|
Reset __gcov_indirect_call_callee to NULL.
|
|
|
|
|
|
2017-06-08 16:08:56 +02:00
|
|
|
|
2017-06-08 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
|
|
|
|
|
the set of -I options, support for direct inclusions of net/uio.h
|
|
|
|
|
by VxWorks header files via ioLib.h.
|
|
|
|
|
|
2017-06-07 14:35:19 +02:00
|
|
|
|
2017-06-07 Tony Reix <tony.reix@atos.net>
|
|
|
|
|
Matthieu Sarter <matthieu.sarter.external@atos.net>
|
|
|
|
|
David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
2018-08-27 16:04:23 +02:00
|
|
|
|
* config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
|
|
|
|
|
unconditionally.
|
|
|
|
|
(ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
|
|
|
|
|
AIX 7.2 support.
|
2017-06-07 14:35:19 +02:00
|
|
|
|
|
2017-06-02 18:46:44 +02:00
|
|
|
|
2017-06-02 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/vxlib.c (__gthread_once): Add missing value to
|
|
|
|
|
return statement.
|
|
|
|
|
|
2017-05-30 14:37:39 +02:00
|
|
|
|
2017-05-30 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
|
|
|
|
|
dollar sign before $(MULTIDIR).
|
|
|
|
|
|
2017-05-26 20:45:59 +02:00
|
|
|
|
2017-05-26 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/80037
|
|
|
|
|
* config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
|
|
|
|
|
|
2017-05-17 22:54:39 +02:00
|
|
|
|
2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
|
|
|
|
|
_Unwind_SetIP available as functions for arm*-*-freebsd*.
|
|
|
|
|
* config/arm/unwind-arm.c: Implement the above.
|
|
|
|
|
|
2017-05-15 09:36:18 +02:00
|
|
|
|
2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
|
|
|
|
|
section for a non-executable stack.
|
|
|
|
|
|
2017-05-15 00:49:03 +02:00
|
|
|
|
2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/80600
|
|
|
|
|
* config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
|
|
|
|
|
|
2017-05-14 12:22:08 +02:00
|
|
|
|
2017-05-14 Daniel Santos <daniel.santos@pobox.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add i386/t-msabi to i386/t-linux file list.
|
|
|
|
|
* config/i386/i386-asm.h: New file.
|
|
|
|
|
* config/i386/resms64.S: New file.
|
|
|
|
|
* config/i386/resms64f.S: New file.
|
|
|
|
|
* config/i386/resms64fx.S: New file.
|
|
|
|
|
* config/i386/resms64x.S: New file.
|
|
|
|
|
* config/i386/savms64.S: New file.
|
|
|
|
|
* config/i386/savms64f.S: New file.
|
|
|
|
|
* config/i386/t-msabi: New file.
|
|
|
|
|
|
2017-05-09 22:37:25 +02:00
|
|
|
|
2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
|
|
|
|
|
arm*-*-freebsd* instead of the t-slibgcc-libgcc.
|
|
|
|
|
|
2017-05-06 02:22:38 +02:00
|
|
|
|
2017-05-05 Joshua Conner <joshconner@google.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
|
|
|
|
|
pc-relative indirect handling for fuchsia.
|
|
|
|
|
* config/t-slibgcc-fuchsia: New file.
|
|
|
|
|
* config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
|
2017-05-14 12:22:08 +02:00
|
|
|
|
x86_64-*-fuchsia*): Add definitions.
|
2017-05-06 02:22:38 +02:00
|
|
|
|
|
2017-04-19 10:08:44 +02:00
|
|
|
|
2017-04-19 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/80435
|
|
|
|
|
* Makefile.in: Install gcov.h.
|
|
|
|
|
* gcov.h: New file.
|
|
|
|
|
* libgcov.h: Use the header and make __gcov_flush publicly
|
|
|
|
|
visible.
|
|
|
|
|
|
2017-04-18 09:24:20 +02:00
|
|
|
|
2017-04-18 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/78783
|
|
|
|
|
* libgcov-driver.c (gcov_get_filename): New function.
|
|
|
|
|
|
2017-04-07 18:11:57 +02:00
|
|
|
|
2017-04-07 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
|
|
|
|
|
target makefile fragment.
|
|
|
|
|
* config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
|
|
|
|
|
|
2017-04-07 03:30:43 +02:00
|
|
|
|
2017-04-07 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/45053
|
|
|
|
|
* config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
|
|
|
|
|
|
2017-04-04 00:30:56 +02:00
|
|
|
|
2017-04-03 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
|
|
|
|
|
|
2017-03-27 12:56:35 +02:00
|
|
|
|
2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
|
|
|
|
|
|
2017-03-10 20:33:27 +01:00
|
|
|
|
2017-03-10 John Marino <gnugcc@marino.st>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/freebsd-unwind.h: New file.
|
|
|
|
|
* config.host: Add aarch64-*-freebsd unwinder.
|
|
|
|
|
|
2017-03-10 20:29:48 +01:00
|
|
|
|
2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/crtrestvr.s: Use .machine altivec.
|
|
|
|
|
* config/rs6000/crtsavevr.s: Ditto.
|
|
|
|
|
|
2017-03-10 18:57:58 +01:00
|
|
|
|
2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
|
|
|
|
|
modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
|
|
|
|
|
(test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
|
|
|
|
|
-mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
|
2017-03-02 12:03:23 +01:00
|
|
|
|
2017-03-02 Jonathan Yong <10walls@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/gthr-win32.h: Define NOGDI before
|
|
|
|
|
windows.h include to prevent w32api CC_NONE macro
|
|
|
|
|
clash with libgfortran.
|
|
|
|
|
|
2017-03-02 12:00:28 +01:00
|
|
|
|
2017-03-02 Jonathan Yong <10walls@gmail.com>
|
|
|
|
|
|
|
|
|
|
* unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
|
|
|
|
|
|
2017-02-16 17:27:42 +01:00
|
|
|
|
2017-02-16 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/value-unwind.h: New file.
|
|
|
|
|
* config.host (aarch64*-*-*): Add aarch64/value-unwind.h
|
|
|
|
|
to tm_file.
|
|
|
|
|
|
2017-02-06 22:38:51 +01:00
|
|
|
|
2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add RISC-V tuples.
|
|
|
|
|
* config/riscv/atomic.c: New file.
|
|
|
|
|
* config/riscv/crti.S: Likewise.
|
|
|
|
|
* config/riscv/crtn.S: Likewise.
|
|
|
|
|
* config/riscv/div.S: Likewise.
|
|
|
|
|
* config/riscv/linux-unwind.h: Likewise.
|
|
|
|
|
* config/riscv/muldi3.S: Likewise.
|
|
|
|
|
* config/riscv/multi3.S: Likewise.
|
|
|
|
|
* config/riscv/save-restore.S: Likewise.
|
|
|
|
|
* config/riscv/sfp-machine.h: Likewise.
|
|
|
|
|
* config/riscv/t-elf: Likewise.
|
|
|
|
|
* config/riscv/t-elf32: Likewise.
|
|
|
|
|
* config/riscv/t-elf64: Likewise.
|
|
|
|
|
* config/riscv/t-softfp32: Likewise.
|
|
|
|
|
* config/riscv/t-softfp64: Likewise.
|
|
|
|
|
|
2017-01-24 23:32:30 +01:00
|
|
|
|
2017-01-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
|
|
|
|
|
/* FALLTHRU */ comments.
|
|
|
|
|
|
2017-01-21 09:52:32 +01:00
|
|
|
|
2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
|
|
|
|
|
|
2017-01-20 22:03:41 +01:00
|
|
|
|
2017-01-20 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
|
|
|
|
|
* unwind-dw2.c (execute_cfa_program): Only multiplexing
|
|
|
|
|
DW_CFA_GNU_window_save for AArch64 and LP64.
|
|
|
|
|
|
2017-01-20 13:27:46 +01:00
|
|
|
|
2017-01-20 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
|
|
|
|
|
|
2017-01-20 01:19:01 +01:00
|
|
|
|
2017-01-19 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-unwind.h: New file.
|
|
|
|
|
(DWARF_REGNUM_AARCH64_RA_STATE): Define.
|
|
|
|
|
(MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
|
|
|
|
|
(MD_POST_EXTRACT_FRAME_ADDR): Likewise.
|
|
|
|
|
(MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
|
|
|
|
|
(MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
|
|
|
|
|
(aarch64_post_extract_frame_addr): New function.
|
|
|
|
|
(aarch64_post_frob_eh_handler_addr): New function.
|
|
|
|
|
(aarch64_frob_update_context): New function.
|
|
|
|
|
* config/aarch64/linux-unwind.h: Include aarch64-unwind.h
|
|
|
|
|
* config.host (aarch64*-*-elf, aarch64*-*-rtems*,
|
|
|
|
|
aarch64*-*-freebsd*):
|
|
|
|
|
Initialize md_unwind_header to include aarch64-unwind.h.
|
|
|
|
|
* unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
|
|
|
|
|
(execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
|
|
|
|
|
__aarch64__.
|
|
|
|
|
(uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
|
|
|
|
|
(uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
|
|
|
|
|
(uw_frob_return_addr): New function.
|
|
|
|
|
(uw_install_context): Use uw_frob_return_addr.
|
|
|
|
|
|
2017-01-17 10:38:48 +01:00
|
|
|
|
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/79046
|
|
|
|
|
* configure.ac: Add GCC_BASE_VER.
|
|
|
|
|
* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
|
|
|
|
|
version from BASE-VER file.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2017-01-13 23:18:07 +01:00
|
|
|
|
2017-01-13 Joe Seymour <joe.s@somniumtech.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
|
|
|
|
|
libmul_f5.a): Filter archived prerequisites.
|
|
|
|
|
|
2017-01-10 13:55:41 +01:00
|
|
|
|
2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.h (processor_features): Add
|
|
|
|
|
FEATURE_AVX512VPOPCNTDQ.
|
|
|
|
|
* config/i386/cpuinfo.c (get_available_features): Habdle new
|
|
|
|
|
feature.
|
|
|
|
|
|
2017-01-04 18:06:33 +01:00
|
|
|
|
2017-01-04 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
|
|
|
|
|
payload if [__mips_nan2008].
|
|
|
|
|
|
2017-01-04 09:29:34 +01:00
|
|
|
|
2017-01-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (configure_deps): Update.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2017-01-01 13:07:43 +01:00
|
|
|
|
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2016-12-19 10:21:09 +01:00
|
|
|
|
2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
|
|
|
|
|
* crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
|
|
|
|
|
* unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
|
|
|
|
|
|
2016-12-17 13:42:03 +01:00
|
|
|
|
2016-12-17 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/gmon: Remove empty directory.
|
|
|
|
|
|
2016-12-16 13:56:21 +01:00
|
|
|
|
2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
|
|
|
|
|
crtgend.
|
|
|
|
|
(arc*-*-elf*): Likewise.
|
|
|
|
|
* config/arc/t-arc: Remove old gmon lib targets.
|
|
|
|
|
* config/arc/crtg.S: Remove.
|
|
|
|
|
* config/arc/crtgend.S: Likewise.
|
|
|
|
|
* config/arc/gmon/atomic.h: Likewise.
|
|
|
|
|
* config/arc/gmon/auxreg.h: Likewise.
|
|
|
|
|
* config/arc/gmon/dcache_linesz.S: Likewise.
|
|
|
|
|
* config/arc/gmon/gmon.c: Likewise.
|
|
|
|
|
* config/arc/gmon/machine-gmon.h: Likewise.
|
|
|
|
|
* config/arc/gmon/mcount.c: Likewise.
|
|
|
|
|
* config/arc/gmon/prof-freq-stub.S: Likewise.
|
|
|
|
|
* config/arc/gmon/prof-freq.c: Likewise.
|
|
|
|
|
* config/arc/gmon/profil.S: Likewise.
|
|
|
|
|
* config/arc/gmon/sys/gmon.h: Likewise.
|
|
|
|
|
* config/arc/gmon/sys/gmon_out.h: Likewise.
|
|
|
|
|
* config/arc/t-arc-newlib: Likewise.
|
|
|
|
|
* config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
|
|
|
|
|
|
2016-12-12 12:57:33 +01:00
|
|
|
|
2016-12-12 George Spelvin <linux@sciencehorizons.net>
|
|
|
|
|
|
|
|
|
|
* config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
|
|
|
|
|
|
2016-12-12 12:25:51 +01:00
|
|
|
|
2016-12-12 George Spelvin <linux@sciencehorizons.net>
|
|
|
|
|
|
|
|
|
|
* config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
|
|
|
|
|
R16 instead of push + pop.
|
|
|
|
|
(__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
|
|
|
|
|
|
2016-12-10 21:59:52 +01:00
|
|
|
|
2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
|
|
|
|
|
tmake_file.
|
|
|
|
|
|
2016-12-05 12:16:52 +01:00
|
|
|
|
2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arc*-*-linux-uclibc*): Use default extra
|
|
|
|
|
objects. Include linux-android header.
|
|
|
|
|
* config/arc/crti.S (_init): Declare symbol as function.
|
|
|
|
|
(_fini): Likewise.
|
|
|
|
|
|
2016-12-03 10:44:35 +01:00
|
|
|
|
2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR fortran/78379
|
|
|
|
|
* config/i386/cpuinfo.c: Move denums for processor vendors,
|
|
|
|
|
processor type, processor subtypes and declaration of
|
|
|
|
|
struct __processor_model into
|
|
|
|
|
* config/i386/cpuinfo.h: New header file.
|
|
|
|
|
|
2016-12-02 16:33:26 +01:00
|
|
|
|
2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/cmse_nonsecure_call.S: New.
|
|
|
|
|
* config/arm/t-arm: Compile cmse_nonsecure_call.S
|
|
|
|
|
|
2016-12-02 16:22:43 +01:00
|
|
|
|
2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/t-arm (HAVE_CMSE): New.
|
|
|
|
|
* config/arm/cmse.c: New.
|
|
|
|
|
|
2016-11-28 22:27:47 +01:00
|
|
|
|
2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
|
|
2016-11-28 22:30:40 +01:00
|
|
|
|
PR gcc/74748
|
|
|
|
|
* libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
|
|
|
|
|
use generic linker version information on Blackfin.
|
|
|
|
|
|
2016-11-28 22:27:47 +01:00
|
|
|
|
PR gcc/74748
|
|
|
|
|
* libgcc/mkmap-symver.awk: add support for skip_underscore
|
|
|
|
|
|
[Darwin] fix PR67710 by updating 'as' specs to handle newer assembler versions.
A/ Newer versions of ld64 check the min_version command, and newer versions of
the system assembler inserts this in response to "-mmacosx-version-min=" on
the assembler line. Unless one makes sensible versions, some object is bound
to conflict.
B/ Additionally, there's a difference in behaviour between "as" and "ld" when
presented with xx.yy.zz (ld truncates to xx.yy, as doesn't); net result is
that one needs to pass a truncated version to "as".
So (if the assembler supports minversion commands)
(a) provide a truncated minversion (as asm_macosx_version_min, which is a
driver-only var).
(b) pass this to "as"
(c) Update tests to determine 'HAVE_AS_MMACOSX_VERSION_MIN_OPTION'
(Rainer's patch)
(d) For some reason the testcases are "run" (it's not obvious they need to be,
they are checking compile-time issues)
- anyway, to preserve the status quo, I've left them as exec. However, the
minimum version that can be code-gened for is target-dependent (there are no
released x86 versions before 10.4, for example). To avoid conflicts where
the "as" is assuming some minimum, I've set the testversion to 10.5 (which
is supported by all the archs we have)
(e) We need to ensure that libgcc and crts are generated with a sufficiently
old minversion not to conflict.
gcc/
2016-11-27 Iain Sandoe <iain@codesourcery.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/67710
* config.in: Regenerate
* config/darwin-driver.c (darwin_driver_init): Emit a version string
for the assembler.
* config/darwin.h(ASM_MMACOSX_VERSION_MIN_SPEC): New, new tests.
* config/darwin.opt(asm_macosx_version_min): New.
* config/i386/darwin.h: Handle ASM_MMACOSX_VERSION_MIN_SPEC.
* configure: Regenerate
* configure.ac: Check for mmacosx-version-min handling.
gcc/testsuite/
2016-11-27 Iain Sandoe <iain@codesourcery.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Dominique d'Humieres <dominiq@lps.ens.fr>
PR target/67710
* gcc.dg/darwin-minversion-1.c: Update min version check.
* gcc.dg/darwin-minversion-2.c: Likewise.
* gcc.dg/darwin-minversion-3.c: Likewise.
libgcc/
2016-11-27 Iain Sandoe <iain@codesourcery.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/67710
* config/t-darwin: Default builds to 10.5 codegen.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
From-SVN: r242898
2016-11-27 16:07:22 +01:00
|
|
|
|
2016-11-27 Iain Sandoe <iain@codesourcery.com>
|
|
|
|
|
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/67710
|
|
|
|
|
* config/t-darwin: Default builds to 10.5 codegen.
|
|
|
|
|
|
2016-11-24 19:16:55 +01:00
|
|
|
|
2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
|
|
|
|
|
(_FP_NANSIGN_H): Likewise.
|
|
|
|
|
* config/aarch64/t-softfp (softfp_extensions): Add hftf.
|
|
|
|
|
(softfp_truncations): Add tfhf.
|
|
|
|
|
(softfp_extras): Add required conversion functions.
|
|
|
|
|
|
2016-11-23 18:31:25 +01:00
|
|
|
|
2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/fp16.c (binary64): New.
|
|
|
|
|
(__gnu_d2h_internal): New.
|
|
|
|
|
(__gnu_d2h_ieee): New.
|
|
|
|
|
(__gnu_d2h_alternative): New.
|
|
|
|
|
|
2016-11-23 18:30:02 +01:00
|
|
|
|
2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/fp16.c (struct format): New.
|
|
|
|
|
(binary32): New.
|
|
|
|
|
(__gnu_float2h_internal): New. Body moved from
|
|
|
|
|
__gnu_f2h_internal and generalize.
|
|
|
|
|
(_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
|
|
|
|
|
Call it with binary32.
|
|
|
|
|
|
2016-11-23 18:27:27 +01:00
|
|
|
|
2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/extendhftf2.c: Update from glibc.
|
|
|
|
|
* soft-fp/fixhfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunshfti.c: Likewise.
|
|
|
|
|
* soft-fp/floattihf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntihf.c: Likewise.
|
|
|
|
|
* soft-fp/half.h: Likewise.
|
|
|
|
|
* soft-fp/trunctfhf2.c: Likewise.
|
|
|
|
|
|
2016-11-20 14:35:27 +01:00
|
|
|
|
2016-11-20 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
PR libgcc/77813
|
|
|
|
|
* crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
|
|
|
|
|
__TMC_END__ behind a passthrough asm.
|
|
|
|
|
|
2016-11-19 03:28:00 +01:00
|
|
|
|
2016-11-18 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
2016-11-20 14:35:27 +01:00
|
|
|
|
* config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
|
2016-11-19 03:28:00 +01:00
|
|
|
|
|
2016-11-17 23:18:23 +01:00
|
|
|
|
2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (processor_features): Add
|
|
|
|
|
FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
|
|
|
|
|
|
2016-11-17 14:43:43 +01:00
|
|
|
|
2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/dp-hack.h (ARC_OPTFPE): Define.
|
|
|
|
|
(__ARC_NORM__): Use instead ARC_OPTFPE.
|
|
|
|
|
* config/arc/fp-hack.h: Likewise.
|
|
|
|
|
* config/arc/lib1funcs.S (ARC_OPTFPE): Define.
|
|
|
|
|
(__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
|
|
|
|
|
|
2016-11-16 18:17:00 +01:00
|
|
|
|
2016-11-16 Alexander Monakov <amonakov@ispras.ru>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
|
|
|
|
|
* config/nvptx/mgomp.c: New file.
|
|
|
|
|
* config/nvptx/t-nvptx: Add mgomp.c
|
|
|
|
|
|
2016-11-16 08:01:56 +01:00
|
|
|
|
2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
|
|
|
|
|
|
|
|
|
|
PR libgcc/68468
|
|
|
|
|
* unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
|
|
|
|
|
|
2016-11-15 16:42:17 +01:00
|
|
|
|
2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
|
|
|
|
|
of checking for cpus.
|
|
|
|
|
(__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
|
|
|
|
|
(__modsi3, __clzsi2): Likewise.
|
|
|
|
|
|
2016-11-11 18:31:07 +01:00
|
|
|
|
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
* config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
|
|
|
|
|
i386/t-cpuinfo-static instead of i386/t-cpuinfo.
|
|
|
|
|
* config/i386/t-cpuinfo-static: New.
|
|
|
|
|
|
2016-11-03 16:24:22 +01:00
|
|
|
|
2016-11-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-profiler.c (__gcov_time_profiler): Remove.
|
|
|
|
|
(__gcov_time_profiler_atomic): Likewise.
|
|
|
|
|
|
2016-11-03 13:52:19 +01:00
|
|
|
|
2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
PR libgcc/78067
|
|
|
|
|
* libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
|
|
|
|
|
count_leading_zeros.
|
|
|
|
|
|
2016-11-02 23:23:13 +01:00
|
|
|
|
2016-11-02 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
|
|
|
|
|
* libgcc2.c (__divmoddi4): New function.
|
|
|
|
|
* libgcc2.h (__divmoddi4): Declare.
|
|
|
|
|
* libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
|
|
|
|
|
and __PFX_divmodti4.
|
|
|
|
|
|
2016-10-24 20:25:09 +02:00
|
|
|
|
2016-10-24 Florian Weimer <fweimer@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/78064
|
|
|
|
|
* unwind-c.c: Include auto-target.h.
|
|
|
|
|
|
2016-10-20 00:52:21 +02:00
|
|
|
|
2016-10-19 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
2016-11-02 23:23:13 +01:00
|
|
|
|
* config/pa/pa64-hpux-lib.h: New file.
|
2016-10-20 00:52:21 +02:00
|
|
|
|
(EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
|
|
|
|
|
(DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
|
|
|
|
|
* config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
|
|
|
|
|
hppa*64*-*-hpux11*.
|
|
|
|
|
|
2016-10-18 21:12:19 +02:00
|
|
|
|
2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
|
|
|
|
|
definition.
|
|
|
|
|
* config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
|
|
|
|
|
definition.
|
|
|
|
|
* config/xtensa/t-windowed (LIB2ADDEH): Use
|
|
|
|
|
LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
|
|
|
|
|
or xtensa/t-linux.
|
|
|
|
|
|
xtensa: add HW FPU sequences for DIV/SQRT/RECIP/RSQRT
Use new FPU instruction sequences documented in the ISA book to
implement __divsf3, __divdf3, __recipsf2, __recipdf2, __rsqrtsf2,
__rsqrtdf2 and __ieee754_sqrtf and __ieee754_sqrt.
2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
libgcc/
* config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
__ieee754_sqrt): New functions.
(__divdf3): Add implementation with new FPU instructions under
#if XCHAL_HAVE_DFP_DIV.
* config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
__ieee754_sqrtf): New functions.
(__divsf3): Add implementation with new FPU instructions under
#if XCHAL_HAVE_FP_DIV.
* config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
_rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
From-SVN: r241312
2016-10-18 21:06:33 +02:00
|
|
|
|
2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
|
|
|
|
|
__ieee754_sqrt): New functions.
|
|
|
|
|
(__divdf3): Add implementation with new FPU instructions under
|
|
|
|
|
#if XCHAL_HAVE_DFP_DIV.
|
|
|
|
|
* config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
|
|
|
|
|
__ieee754_sqrtf): New functions.
|
|
|
|
|
(__divsf3): Add implementation with new FPU instructions under
|
|
|
|
|
#if XCHAL_HAVE_FP_DIV.
|
|
|
|
|
* config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
|
|
|
|
|
_rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
|
|
|
|
|
|
Move MEMMODEL_* from coretypes.h to memmodel.h
2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/
* coretypes.h: Move MEMMODEL_* macros and enum memmodel definition
into ...
* memmodel.h: This file.
* alias.c, asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
caller-save.c, calls.c, ccmp.c, cfgbuild.c, cfgcleanup.c,
cfgexpand.c, cfgloopanal.c, cfgrtl.c, cilk-common.c, combine.c,
combine-stack-adj.c, common/config/aarch64/aarch64-common.c,
common/config/arm/arm-common.c, common/config/bfin/bfin-common.c,
common/config/c6x/c6x-common.c, common/config/i386/i386-common.c,
common/config/ia64/ia64-common.c, common/config/nvptx/nvptx-common.c,
compare-elim.c, config/aarch64/aarch64-builtins.c,
config/aarch64/aarch64-c.c, config/aarch64/cortex-a57-fma-steering.c,
config/arc/arc.c, config/arc/arc-c.c, config/arm/arm-builtins.c,
config/arm/arm-c.c, config/avr/avr.c, config/avr/avr-c.c,
config/avr/avr-log.c, config/bfin/bfin.c, config/c6x/c6x.c,
config/cr16/cr16.c, config/cris/cris.c, config/darwin-c.c,
config/darwin.c, config/epiphany/epiphany.c,
config/epiphany/mode-switch-use.c,
config/epiphany/resolve-sw-modes.c, config/fr30/fr30.c,
config/frv/frv.c, config/ft32/ft32.c, config/h8300/h8300.c,
config/i386/i386-c.c, config/i386/winnt.c, config/iq2000/iq2000.c,
config/lm32/lm32.c, config/m32c/m32c.c, config/m32r/m32r.c,
config/m68k/m68k.c, config/mcore/mcore.c,
config/microblaze/microblaze.c, config/mmix/mmix.c,
config/mn10300/mn10300.c, config/moxie/moxie.c,
config/msp430/msp430.c, config/nds32/nds32-cost.c,
config/nds32/nds32-intrinsic.c, config/nds32/nds32-md-auxiliary.c,
config/nds32/nds32-memory-manipulation.c,
config/nds32/nds32-predicates.c, config/nds32/nds32.c,
config/nios2/nios2.c, config/nvptx/nvptx.c, config/pa/pa.c,
config/pdp11/pdp11.c, config/rl78/rl78.c, config/rs6000/rs6000-c.c,
config/rx/rx.c, config/s390/s390-c.c, config/s390/s390.c,
config/sh/sh.c, config/sh/sh-c.c, config/sh/sh-mem.cc,
config/sh/sh_treg_combine.cc, config/sol2.c, config/spu/spu.c,
config/stormy16/stormy16.c, config/tilegx/tilegx.c,
config/tilepro/tilepro.c, config/v850/v850.c, config/vax/vax.c,
config/visium/visium.c, config/vms/vms-c.c, config/xtensa/xtensa.c,
coverage.c, cppbuiltin.c, cprop.c, cse.c, cselib.c, dbxout.c, dce.c,
df-core.c, df-problems.c, df-scan.c, dojump.c, dse.c, dwarf2asm.c,
dwarf2cfi.c, dwarf2out.c, emit-rtl.c, except.c, explow.c, expmed.c,
expr.c, final.c, fold-const.c, function.c, fwprop.c, gcse.c,
ggc-page.c, haifa-sched.c, hsa-brig.c, hsa-gen.c, hw-doloop.c,
ifcvt.c, init-regs.c, internal-fn.c, ira-build.c, ira-color.c,
ira-conflicts.c, ira-costs.c, ira-emit.c, ira-lives.c, ira.c, jump.c,
loop-doloop.c, loop-invariant.c, loop-iv.c, loop-unroll.c,
lower-subreg.c, lra.c, lra-assigns.c, lra-coalesce.c,
lra-constraints.c, lra-eliminations.c, lra-lives.c, lra-remat.c,
lra-spills.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
postreload-gcse.c, postreload.c, predict.c, print-rtl-function.c,
recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
reload.c, reload1.c, reorg.c, resource.c, rtl-chkp.c, rtl-tests.c,
rtlanal.c, rtlhooks.c, sched-deps.c, sched-rgn.c, sdbout.c,
sel-sched-ir.c, sel-sched.c, shrink-wrap.c, simplify-rtx.c,
stack-ptr-mod.c, stmt.c, stor-layout.c, target-globals.c,
targhooks.c, toplev.c, tree-nested.c, tree-outof-ssa.c,
tree-profile.c, tree-ssa-coalesce.c, tree-ssa-ifcombine.c,
tree-ssa-loop-ivopts.c, tree-ssa-loop.c, tree-ssa-reassoc.c,
tree-ssa-sccvn.c, tree-vect-data-refs.c, ubsan.c, valtrack.c,
var-tracking.c, varasm.c: Include memmodel.h.
* genattrtab.c (write_header): Include memmodel.h in generated file.
* genautomata.c (main): Likewise.
* gengtype.c (open_base_files): Likewise.
* genopinit.c (main): Likewise.
* genconditions.c (write_header): Include memmodel.h earlier in
generated file.
* genemit.c (main): Likewise.
* genoutput.c (output_prologue): Likewise.
* genpeep.c (main): Likewise.
* genpreds.c (write_insn_preds_c): Likewise.
* genrecog.c (write_header): Likewise.
* Makefile.in (PLUGIN_HEADERS): Include memmodel.h
gcc/ada/
* gcc-interface/utils2.c: Include memmodel.h.
gcc/c-family/
* c-cppbuiltin.c: Include memmodel.h.
* c-opts.c: Likewise.
* c-pragma.c: Likewise.
* c-warn.c: Likewise.
gcc/c/
* c-typeck.c: Include memmodel.h.
gcc/cp/
* decl2.c: Include memmodel.h.
* rtti.c: Likewise.
gcc/fortran/
* trans-intrinsic.c: Include memmodel.h.
gcc/go/
* go-backend.c: Include memmodel.h.
libgcc/
* libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
equivalent.
* config/tilepro/atomic.c: Likewise and stop casting model to
enum memmodel.
From-SVN: r241121
2016-10-13 16:17:52 +02:00
|
|
|
|
2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
|
|
|
|
|
equivalent.
|
|
|
|
|
* config/tilepro/atomic.c: Likewise and stop casting model to
|
|
|
|
|
enum memmodel.
|
|
|
|
|
|
Always support float128 on ia64 (PR target/77586).
Bug 77586, and previously
<https://gcc.gnu.org/ml/gcc-bugs/2016-08/msg03233.html>, reports
ia64-elf failing to build because of float128_type_node being NULL,
but being used by the back end for __float128.
The global float128_type_node is only available conditionally, if
target hooks indicate TFmode is not only available as a scalar mode
and of the right format, but also supported in libgcc. The back-end
support, however, expects the type always to be available for
__float128 even if the libgcc support is missing.
Although a target-specific node could be restored in the case where
libgcc support is missing, it seems better to address the missing
libgcc support. Thus, this patch enables TFmode soft-fp in libgcc
globally for all ia64 targets. Support for XFmode in libgcc (that is,
for libgcc2.c XFmode functions, not soft-fp) is also enabled for all
ia64 targets so that ia64 no longer needs to define the
TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P hook.
I've confirmed that ia64-elf builds cc1 with this patch and it passes
-fself-test. I have not otherwise tested the patch. It's plausible
that ia64-elf and ia64-freebsd might work as-is, but ia64-vms probably
needs further changes, by someone familiar with VMS shared libraries,
to implement an equivalent of ia64/t-softfp-compat in that case
(avoiding conflicts between __divtf3 from soft-fp and the old alias
for __divxf3).
PR target/77586
gcc:
* config/ia64/ia64.c (ia64_libgcc_floating_mode_supported_p)
(TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Remove.
* config/ia64/elf.h (IA64_NO_LIBGCC_TFMODE): Likewise.
* config/ia64/freebsd.h (IA64_NO_LIBGCC_TFMODE): Likewise.
* config/ia64/vms.h (IA64_NO_LIBGCC_XFMODE)
(IA64_NO_LIBGCC_TFMODE): Likewise.
libgcc:
* config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
soft-fp.
From-SVN: r240955
2016-10-11 00:43:07 +02:00
|
|
|
|
2016-10-10 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR target/77586
|
|
|
|
|
* config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
|
|
|
|
|
soft-fp.
|
|
|
|
|
|
2016-10-10 23:31:17 +02:00
|
|
|
|
2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Add support for aarch64-*-freebsd*.
|
|
|
|
|
|
2016-10-05 09:50:34 +02:00
|
|
|
|
2016-10-05 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
|
|
|
|
|
(.section .init_array): Don't call __do_jv_register_classes.
|
|
|
|
|
(.section .init): Likewise.
|
|
|
|
|
|
2016-10-04 09:49:44 +02:00
|
|
|
|
2016-10-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
|
|
|
|
|
(__JCR_LIST__): Remove.
|
|
|
|
|
(__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
|
|
|
|
|
* config/i386/cygming-crtend.c (__JCR_END__): Remove.
|
|
|
|
|
* config/ia64/crtbegin.S (__JCR_LIST__): Remove.
|
|
|
|
|
* config/ia64/crtend.S (__JCR_END__): Remove.
|
|
|
|
|
* crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
|
|
|
|
|
conditionals.
|
|
|
|
|
(__JCR_LIST__, __JCR_END__): Remove.
|
|
|
|
|
(frame_dummy): Don't attempt to _Jv_RegisterClasses.
|
|
|
|
|
(__do_global_ctors_1): Likewise.
|
|
|
|
|
|
2016-09-28 20:22:16 +02:00
|
|
|
|
2015-09-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (__get_cpuid_output): Remove.
|
|
|
|
|
(__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
|
|
|
|
|
|
2016-09-27 13:07:11 +02:00
|
|
|
|
2016-09-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/7970
|
|
|
|
|
PR gcov-profile/16855
|
|
|
|
|
PR gcov-profile/44779
|
|
|
|
|
* libgcov-driver.c (__gcov_init): Do not register a atexit
|
|
|
|
|
handler.
|
|
|
|
|
(__gcov_exit): Rename from gcov_exit.
|
|
|
|
|
* libgcov.h (__gcov_exit): Declare.
|
|
|
|
|
|
2016-09-27 12:04:39 +02:00
|
|
|
|
2016-09-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/77749
|
|
|
|
|
* Makefile.in: Remove _gcov_merge_delta.
|
|
|
|
|
* libgcov-merge.c (void __gcov_merge_delta): Remove.
|
|
|
|
|
* libgcov-util.c (__gcov_delta_counter_op): Remove.
|
|
|
|
|
* libgcov.h: Remove declaration of __gcov_merge_delta.
|
|
|
|
|
|
2016-09-21 14:53:20 +02:00
|
|
|
|
2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Do not create links, only substitute the filenames.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Assign the substitution results to variables.
|
|
|
|
|
(LIBGCC_LINKS): Define.
|
|
|
|
|
(enable-execute-stack.c): New rule.
|
|
|
|
|
(unwind.h): Likewise.
|
|
|
|
|
(md-unwind-support.h): Likewise.
|
|
|
|
|
(sfp-machine.h): Likewise.
|
|
|
|
|
(gthr-default.h): Likewise.
|
|
|
|
|
Add $(LIBGCC_LINKS) to the prerequisites of all object files and
|
|
|
|
|
unwind.h as prerequisite of install-unwind_h-forbuild.
|
|
|
|
|
|
2016-09-16 21:17:47 +02:00
|
|
|
|
2016-09-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/71744
|
|
|
|
|
* unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
|
|
|
|
|
is not the primary registry and atomics are available.
|
|
|
|
|
(any_objects_registered): New variable.
|
|
|
|
|
(__register_frame_info_bases, __register_frame_info_table_bases):
|
|
|
|
|
Atomically store 1 to any_objects_registered after registering first
|
|
|
|
|
unwind info.
|
|
|
|
|
(_Unwind_Find_FDE): Return early if any_objects_registered is 0.
|
|
|
|
|
|
2016-09-09 11:40:22 +02:00
|
|
|
|
2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/63250
|
|
|
|
|
* Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
|
|
|
|
|
* libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
|
|
|
|
|
(HFtype): Likewise.
|
|
|
|
|
(HCtype): Likewise.
|
|
|
|
|
(__divhc3): Likewise.
|
|
|
|
|
(__mulhc3): Likewise.
|
|
|
|
|
* libgcc2.c: Support _mulhc3 and _divhc3.
|
|
|
|
|
|
2016-09-08 01:02:56 +02:00
|
|
|
|
2016-09-07 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/77519
|
|
|
|
|
* libgcc2.c (NOTRUNC): Invert settings.
|
|
|
|
|
|
2016-09-06 16:13:21 +02:00
|
|
|
|
2016-09-06 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/77378
|
|
|
|
|
PR gcov-profile/77466
|
|
|
|
|
* libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
|
|
|
|
|
conditionaly enable/disable *_atomic functions.
|
|
|
|
|
|
Always support float128 on x86.
In <https://gcc.gnu.org/ml/gcc-bugs/2016-08/msg03233.html>, Nick
reported i386-elf and ia64-elf failing to build because of
float128_type_node being NULL, but being used by the back end for
__float128.
The global float128_type_node is only available conditionally, if
target hooks indicate TFmode is not only available as a scalar mode
and of the right format, but also supported in libgcc. The back-end
support, however, expects the type always to be available for
__float128 even if the libgcc support is missing.
Although a target-specific node could be restored in the case where
libgcc support is missing, it seems better to address the missing
libgcc support. Thus, this patch enables TFmode soft-fp in libgcc
globally for all x86 targets - the only special cases needed being for
targets that use soft-fp for SFmode and DFmode, one of which already
had the support for TFmode as well (so I based the i[34567]86-*-rtems*
configuration on that present for i[34567]86-*-elfiamcu). The i386
implementation of TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P is then
removed as no longer needed.
I can provide such a patch for ia64 if useful, but am not in a
position to test it (and while I'm reasonably confident that enabling
this support would be right for ia64-elf and ia64-freebsd, I've no
real idea if enabling libgcc support for TFmode, with or without also
enabling it for XFmode, would be safe for ia64-vms).
Bootstrapped with no regressions on x86_64-pc-linux-gnu.
gcc:
* config/i386/i386.c (ix86_libgcc_floating_mode_supported_p)
(TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Remove.
* config/i386/i386elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Likewise.
* config/i386/lynx.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Likewise.
* config/i386/netbsd-elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE):
Likewise.
* config/i386/netbsd64.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Likewise.
* config/i386/nto.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Likewise.
* config/i386/openbsd.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Likewise.
* config/i386/rtemself.h (IX86_NO_LIBGCC_TFMODE): Likewise.
* config/i386/vxworks.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Likewise.
libgcc:
* config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
where not already enabled.
From-SVN: r239775
2016-08-26 13:13:42 +02:00
|
|
|
|
2016-08-26 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
|
|
|
|
|
where not already enabled.
|
|
|
|
|
|
2016-08-25 16:08:27 +02:00
|
|
|
|
2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/linux-unwind.h: Use sys/syscall.h.
|
|
|
|
|
|
2016-08-16 23:30:56 +02:00
|
|
|
|
2016-08-16 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/77265
|
|
|
|
|
* soft-fp/adddf3.c: Update from glibc.
|
|
|
|
|
* soft-fp/addsf3.c: Likewise.
|
|
|
|
|
* soft-fp/addtf3.c: Likewise.
|
|
|
|
|
* soft-fp/divdf3.c: Likewise.
|
|
|
|
|
* soft-fp/divsf3.c: Likewise.
|
|
|
|
|
* soft-fp/divtf3.c: Likewise.
|
|
|
|
|
* soft-fp/double.h: Likewise.
|
|
|
|
|
* soft-fp/eqdf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqsf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqtf2.c: Likewise.
|
|
|
|
|
* soft-fp/extenddftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extended.h: Likewise.
|
|
|
|
|
* soft-fp/extendsfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendxftf2.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfti.c: Likewise.
|
|
|
|
|
* soft-fp/floatdidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatdisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floattidf.c: Likewise.
|
|
|
|
|
* soft-fp/floattisf.c: Likewise.
|
|
|
|
|
* soft-fp/floattitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntitf.c: Likewise.
|
|
|
|
|
* soft-fp/gedf2.c: Likewise.
|
|
|
|
|
* soft-fp/gesf2.c: Likewise.
|
|
|
|
|
* soft-fp/getf2.c: Likewise.
|
|
|
|
|
* soft-fp/ledf2.c: Likewise.
|
|
|
|
|
* soft-fp/lesf2.c: Likewise.
|
|
|
|
|
* soft-fp/letf2.c: Likewise.
|
|
|
|
|
* soft-fp/muldf3.c: Likewise.
|
|
|
|
|
* soft-fp/mulsf3.c: Likewise.
|
|
|
|
|
* soft-fp/multf3.c: Likewise.
|
|
|
|
|
* soft-fp/negdf2.c: Likewise.
|
|
|
|
|
* soft-fp/negsf2.c: Likewise.
|
|
|
|
|
* soft-fp/negtf2.c: Likewise.
|
|
|
|
|
* soft-fp/op-1.h: Likewise.
|
|
|
|
|
* soft-fp/op-2.h: Likewise.
|
|
|
|
|
* soft-fp/op-4.h: Likewise.
|
|
|
|
|
* soft-fp/op-8.h: Likewise.
|
|
|
|
|
* soft-fp/op-common.h: Likewise.
|
|
|
|
|
* soft-fp/quad.h: Likewise.
|
|
|
|
|
* soft-fp/single.h: Likewise.
|
|
|
|
|
* soft-fp/soft-fp.h: Likewise.
|
|
|
|
|
* soft-fp/subdf3.c: Likewise.
|
|
|
|
|
* soft-fp/subsf3.c: Likewise.
|
|
|
|
|
* soft-fp/subtf3.c: Likewise.
|
|
|
|
|
* soft-fp/truncdfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfxf2.c: Likewise.
|
|
|
|
|
* soft-fp/unorddf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordsf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordtf2.c: Likewise.
|
|
|
|
|
|
2016-08-15 13:23:27 +02:00
|
|
|
|
2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/67097
|
|
|
|
|
* libgcov-util.c (gcov_profile_merge): Skip missing files.
|
|
|
|
|
|
2016-08-10 15:14:56 +02:00
|
|
|
|
2016-08-10 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/58306
|
|
|
|
|
* Makefile.in: New functions (modules) are added.
|
|
|
|
|
* libgcov-profiler.c (__gcov_interval_profiler_atomic): New
|
|
|
|
|
function.
|
|
|
|
|
(__gcov_pow2_profiler_atomic): New function.
|
|
|
|
|
(__gcov_one_value_profiler_body): New argument is instroduced.
|
|
|
|
|
(__gcov_one_value_profiler): Call with the new argument.
|
|
|
|
|
(__gcov_one_value_profiler_atomic): Likewise.
|
|
|
|
|
(__gcov_indirect_call_profiler_v2): Likewise.
|
|
|
|
|
(__gcov_time_profiler_atomic): New function.
|
|
|
|
|
(__gcov_average_profiler_atomic): Likewise.
|
|
|
|
|
(__gcov_ior_profiler_atomic): Likewise.
|
|
|
|
|
* libgcov.h: Declare the aforementioned functions.
|
|
|
|
|
|
2016-08-09 23:02:24 +02:00
|
|
|
|
2016-08-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-util.c: Fix typo and GNU coding style.
|
|
|
|
|
|
2016-08-09 23:01:19 +02:00
|
|
|
|
2016-08-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Remove __gcov_indirect_call_profiler.
|
|
|
|
|
* libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
|
|
|
|
|
function.
|
|
|
|
|
* libgcov.h: And the declaration of the function.
|
|
|
|
|
|
2016-08-09 22:57:14 +02:00
|
|
|
|
2016-08-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
|
|
|
|
|
power of two.
|
|
|
|
|
|
2016-07-29 22:15:54 +02:00
|
|
|
|
2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/_divkc3.c: Add copyright/license boilerplate.
|
|
|
|
|
* config/rs6000/_mulkc3.c: Likewise.
|
|
|
|
|
|
2016-07-29 11:14:02 +02:00
|
|
|
|
2016-07-29 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
|
|
|
|
|
zero_reg as previous call to __umulhisi3 already cleared it.
|
|
|
|
|
|
2016-07-21 10:27:47 +02:00
|
|
|
|
2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
|
|
|
|
|
|
|
|
|
|
PR target/59833
|
|
|
|
|
* config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
|
|
|
|
|
|
2016-07-19 18:07:40 +02:00
|
|
|
|
2016-07-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.host (m32r): Add m32r/t-m32r to tmake_file.
|
|
|
|
|
Add crtinit.o and crtfini.o to extra_parts.
|
|
|
|
|
|
2016-07-12 18:05:18 +02:00
|
|
|
|
2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/_divkc3.c: New.
|
|
|
|
|
* config/rs6000/_mulkc3.c: New.
|
|
|
|
|
* config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
|
|
|
|
|
and _divkc3.
|
|
|
|
|
* config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
|
|
|
|
|
fp128_ppc_funcs.
|
|
|
|
|
|
2016-07-11 19:11:31 +02:00
|
|
|
|
2016-07-11 Hale Wang <hale.wang@arm.com>
|
|
|
|
|
Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/lib1funcs.S: Add new wrapper.
|
|
|
|
|
|
2016-07-07 10:54:40 +02:00
|
|
|
|
2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
|
|
|
|
|
|
2016-07-07 10:54:28 +02:00
|
|
|
|
2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
|
|
|
|
|
and ARMv5t* rather than for a fixed list of architectures.
|
|
|
|
|
|
2016-07-07 10:54:18 +02:00
|
|
|
|
2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/bpabi-v6m.S: Clarify what architectures is the
|
|
|
|
|
implementation suitable for.
|
|
|
|
|
* config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
|
|
|
|
|
for all Thumb-1 only targets.
|
|
|
|
|
(NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
|
|
|
|
|
(THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
|
|
|
|
|
__ARM_ARCH_6M__.
|
|
|
|
|
(EQUIV): Likewise.
|
|
|
|
|
(ARM_FUNC_ALIAS): Likewise.
|
|
|
|
|
(umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
|
|
|
|
|
version.
|
|
|
|
|
(modsi3): Likewise.
|
|
|
|
|
(clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
|
|
|
|
|
(clzdi2): Likewise.
|
|
|
|
|
(ctzsi2): Likewise.
|
|
|
|
|
(L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
|
|
|
|
|
__ARM_ARCH_6M__ in guard for checking whether it is defined.
|
|
|
|
|
(final includes): Test for NOT_ISA_TARGET_32BIT rather than
|
|
|
|
|
__ARM_ARCH_6M__ and add comment to indicate the connection between
|
|
|
|
|
this condition and the one in gcc/config/arm/elf.h.
|
|
|
|
|
* config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
|
|
|
|
|
__ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
|
|
|
|
|
* config/arm/t-softfp: Likewise.
|
|
|
|
|
|
2016-07-07 01:55:52 +02:00
|
|
|
|
2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* libgcc2.c (SYMBOL__MAIN): Remove checks for
|
|
|
|
|
CTOR_LISTS_DEFINED_EXTERNALLY.
|
|
|
|
|
|
2016-06-28 18:20:58 +02:00
|
|
|
|
2016-06-28 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config/tilepro/atomic.h: Do not include arch/spr_def.h and
|
|
|
|
|
asm/unistd.h.
|
|
|
|
|
(SPR_CMPEXCH_VALUE): Define for tilegx.
|
|
|
|
|
(__NR_FAST_cmpxchg): Define for tilepro.
|
|
|
|
|
(__NR_FAST_atomic_update): Define for tilepro.
|
|
|
|
|
(__NR_FAST_cmpxchg64): Define for tilepro.
|
|
|
|
|
|
2016-06-23 09:32:58 +02:00
|
|
|
|
2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
|
|
|
|
|
|
2016-11-02 23:23:13 +01:00
|
|
|
|
* config.host: Add suport for arm*-*-phoenix* targets.
|
2016-06-23 09:32:58 +02:00
|
|
|
|
|
2016-06-21 23:57:49 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove support for mep-*.
|
|
|
|
|
* config/mep/lib1funcs.S: Remove.
|
|
|
|
|
* config/mep/lib2funcs.c: Remove.
|
|
|
|
|
* config/mep/t-mep: Remove.
|
|
|
|
|
* config/mep/tramp.c: Remove.
|
|
|
|
|
|
2016-06-21 23:57:44 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove support for avr-rtems.
|
|
|
|
|
* config/avr/t-rtems: Remove.
|
|
|
|
|
|
2016-06-21 23:57:37 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove m32r-rtems support.
|
|
|
|
|
|
2016-06-21 23:57:34 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove h8300-rtems support.
|
|
|
|
|
|
2016-06-21 23:57:30 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove support for knetbsd.
|
|
|
|
|
|
2016-06-21 23:57:25 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove support for openbsd 2 and 3.
|
|
|
|
|
|
2016-06-21 23:57:20 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove interix support.
|
|
|
|
|
* config/i386/t-interix: Remove.
|
|
|
|
|
|
2016-06-18 19:49:58 +02:00
|
|
|
|
2016-06-18 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
|
|
|
|
|
least-significant bit in function pointer for fixup.
|
|
|
|
|
|
2016-06-06 17:24:24 +02:00
|
|
|
|
2016-06-05 Aaron Conole <aconole@redhat.com>
|
|
|
|
|
Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR libgcc/71400
|
|
|
|
|
* libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
|
|
|
|
|
(get_gcov_error_file): Check __gcov_error_file before trying to
|
|
|
|
|
initialize it.
|
|
|
|
|
(gcov_error): Always use get_gcov_error_file.
|
|
|
|
|
|
2016-06-02 14:22:01 +02:00
|
|
|
|
2016-06-02 Aaron Conole <aconole@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver-system.c (__gcov_error_file): New.
|
|
|
|
|
(get_gcov_error_file): New.
|
|
|
|
|
(gcov_error): Use and set __gcov_error_file.
|
|
|
|
|
(gcov_error_exit): New.
|
|
|
|
|
* libgcov-driver.c (gcov_exit): Call gcov_error_exit.
|
|
|
|
|
|
2016-05-26 16:22:40 +02:00
|
|
|
|
2016-05-26 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/free.asm: Delete.
|
|
|
|
|
* config/nvptx/malloc.asm: Delete.
|
|
|
|
|
* config/nvptx/realloc.c: Delete.
|
|
|
|
|
* t-nvptx: Update.
|
|
|
|
|
|
2016-05-25 14:25:01 +02:00
|
|
|
|
2016-05-25 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/crt0.s: Delete.
|
|
|
|
|
* config/nvptx/crt0.c: New.
|
|
|
|
|
* t-nvptx: Update.
|
|
|
|
|
|
2016-05-19 23:59:45 +02:00
|
|
|
|
2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
2016-06-13 23:34:07 +02:00
|
|
|
|
* config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
|
2016-05-19 23:59:45 +02:00
|
|
|
|
dw2/seh configuration.
|
|
|
|
|
[x86_64-*-mingw*]: Likewise.
|
|
|
|
|
|
2016-05-10 09:11:00 +02:00
|
|
|
|
2016-05-10 Joel Sherrill <joel@rtems.org>
|
|
|
|
|
|
|
|
|
|
PR libgcc/70720
|
|
|
|
|
* config.host (moxie-*-rtems*): Merge this stanza with other moxie
|
|
|
|
|
targets so the same extra_parts are built. Also have tmake_file add
|
|
|
|
|
on to its value rather than override.
|
|
|
|
|
|
2016-04-30 11:11:03 +02:00
|
|
|
|
2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove SH5 support.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
|
2016-04-29 16:10:26 +02:00
|
|
|
|
2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/crt1.S: Remove SH5 support.
|
|
|
|
|
* config/sh/crti.S: Likewise.
|
|
|
|
|
* config/sh/crtn.S: Likewise.
|
|
|
|
|
* config/sh/lib1funcs-4-300.S: Likewise.
|
|
|
|
|
* config/sh/lib1funcs-Os-4-200.S: Likewise.
|
|
|
|
|
* config/sh/lib1funcs.S: Likewise.
|
|
|
|
|
* config/sh/linux-unwind.h: Likewise.
|
|
|
|
|
* config/sh/t-sh64: Delete.
|
|
|
|
|
|
2016-04-29 12:49:26 +02:00
|
|
|
|
2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
|
|
|
|
|
|
2016-04-28 13:53:34 +02:00
|
|
|
|
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/crttls.S: New file.
|
|
|
|
|
* config/arc/t-arc: New rule.
|
|
|
|
|
* config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
|
|
|
|
|
|
2016-04-25 13:13:35 +02:00
|
|
|
|
2016-04-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
|
|
|
|
|
(__mspabi_cmpd): Likewise.
|
|
|
|
|
* config/msp430/floathidf.c (__floathidf): Likewise.
|
|
|
|
|
* config/msp430/floathisf.c (__floathisf): Likewise
|
|
|
|
|
* config/msp430/floatunhidf.c (__floatunssidf): Likewise.
|
|
|
|
|
* config/msp430/floatunhisf.c (__floatunshisf): Likewise.
|
|
|
|
|
* config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
|
|
|
|
|
second parameter.
|
|
|
|
|
(__ashrsi3): Likewise.
|
|
|
|
|
|
2016-04-22 07:43:43 +02:00
|
|
|
|
2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
|
|
|
|
|
|
|
|
|
|
* config/m68k/linux-atomic.c: Do not include unistd.h
|
|
|
|
|
|
2016-04-20 17:49:13 +02:00
|
|
|
|
2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/ieee754-df.S: Fix typos in comments.
|
|
|
|
|
|
2016-04-11 21:45:35 +02:00
|
|
|
|
2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70381
|
|
|
|
|
* configure.ac (powerpc*-*-linux*): Rework tests to build
|
|
|
|
|
__float128 emulation routines to not depend on using #pragma GCC
|
|
|
|
|
target to enable -mfloat128.
|
|
|
|
|
* configure: Regnerate.
|
|
|
|
|
|
2016-04-05 00:29:02 +02:00
|
|
|
|
2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/67172
|
|
|
|
|
* libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
|
|
|
|
|
__MINGW32__ is defined.
|
|
|
|
|
|
2016-03-29 02:37:26 +02:00
|
|
|
|
2016-03-28 James Bowman <james.bowman@ftdichip.com>
|
|
|
|
|
|
2016-06-13 23:34:07 +02:00
|
|
|
|
* libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
|
2016-03-29 02:37:26 +02:00
|
|
|
|
|
2016-03-22 22:05:43 +01:00
|
|
|
|
2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/70363
|
|
|
|
|
* config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
|
|
|
|
|
built with an assembler that does not support ISA 3.0
|
|
|
|
|
instructions, rename __extendkftf2_sw to __extendkftf2.
|
|
|
|
|
|
2016-03-16 12:57:02 +01:00
|
|
|
|
2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/38239
|
|
|
|
|
* config/sol2/gmon.c [__i386__] (_mcount): Save and restore
|
|
|
|
|
call-clobbered registers.
|
|
|
|
|
(internal_mcount): Remove __i386__ handling.
|
|
|
|
|
|
2016-02-26 21:02:28 +01:00
|
|
|
|
2016-02-26 Joel Sherrill <joel@rtems.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Add x86_64-*-rtems*.
|
|
|
|
|
|
2016-02-26 20:59:04 +01:00
|
|
|
|
2016-02-26 Joel Sherrill <joel@rtems.org>
|
|
|
|
|
|
|
|
|
|
* libgcc/config.host: Add aarch64-*-rtems*.
|
|
|
|
|
|
2016-02-26 20:20:54 +01:00
|
|
|
|
2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
|
|
|
|
|
Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
|
|
|
|
|
union of u64 and double.
|
|
|
|
|
(FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
|
|
|
|
|
(FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
|
|
|
|
|
value.
|
|
|
|
|
(FP_ROUNDMODE): Update the usage of _fpscr.
|
|
|
|
|
|
2016-02-25 13:23:52 +01:00
|
|
|
|
2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR driver/68463
|
|
|
|
|
* Makefile.in (crtoffloadtable$(objext)): New rule.
|
|
|
|
|
* configure.ac (extra_parts): Add crtoffloadtable$(objext) if
|
|
|
|
|
enable_offload_targets is not empty.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
|
|
|
|
|
crtoffloadtable.
|
|
|
|
|
|
2016-02-17 21:21:48 +01:00
|
|
|
|
2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
|
|
|
|
|
.literal_position before the function.
|
|
|
|
|
* config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2016-02-15 11:20:18 +01:00
|
|
|
|
2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
|
|
|
|
|
|
|
|
|
|
* config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
|
|
|
|
|
* config/s390/morestack.S: New file.
|
|
|
|
|
* config/s390/t-stack-s390: New file.
|
|
|
|
|
* generic-morestack.c (__splitstack_find): Add s390-specific code.
|
|
|
|
|
|
2016-02-12 22:15:43 +01:00
|
|
|
|
2016-02-12 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config.host (tilegx*-*-linux*): remove ti from
|
|
|
|
|
softfp_int_modes for 32-bit configs.
|
|
|
|
|
|
2016-02-10 16:14:05 +01:00
|
|
|
|
2016-02-10 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
PR go/68562
|
|
|
|
|
* config/i386/morestack.S (__stack_split_initialize): Align
|
|
|
|
|
stack.
|
|
|
|
|
|
2016-02-03 23:15:21 +01:00
|
|
|
|
2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/69611
|
|
|
|
|
* config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
|
|
|
|
|
__FLOAT128__ to compile only for __float128 capable targets.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2016-01-25 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69444
|
|
|
|
|
* config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
|
|
|
|
|
instead of ___NO_FPRS__.
|
|
|
|
|
|
2016-01-21 18:52:33 +01:00
|
|
|
|
2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
|
2016-01-25 22:37:08 +01:00
|
|
|
|
Steven Munroe <munroesj@linux.vnet.ibm.com>
|
|
|
|
|
Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
|
2016-01-21 18:52:33 +01:00
|
|
|
|
|
|
|
|
|
* config/rs6000/float128-sed: New files to convert TF names to KF
|
|
|
|
|
names for PowerPC IEEE 128-bit floating point support.
|
|
|
|
|
* config/rs6000/float128-sed-hw: Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
|
|
|
|
|
floating point hardware support.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/float128-ifunc.c: New file to pick either IEEE
|
|
|
|
|
128-bit floating point software emulation or use ISA 3.0 hardware
|
|
|
|
|
support if it is available.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/quad-float128.h: New file to support IEEE 128-bit
|
|
|
|
|
floating point.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
|
|
|
|
|
floating point to IBM extended double.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
|
|
|
|
|
double to IEEE 128-bit floating point.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-float128: New Makefile fragments to enable
|
|
|
|
|
building __float128 emulation support.
|
|
|
|
|
* config/rs6000/t-float128-hw: Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/sfp-exceptions.c: New file to provide exception
|
|
|
|
|
support for IEEE 128-bit floating point.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/floattikf.c: New files for converting between IEEE
|
|
|
|
|
128-bit floating point and signed/unsigned 128-bit integers.
|
|
|
|
|
* config/rs6000/fixunskfti.c: Likewise.
|
|
|
|
|
* config/rs6000/fixkfti.c: Likewise.
|
|
|
|
|
* config/rs6000/floatuntikf.c: Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
|
|
|
|
|
when building on 64-bit systems, or when VSX is enabled.
|
|
|
|
|
(_FP_W_TYPE): Likewise.
|
|
|
|
|
(_FP_WS_TYPE): Likewise.
|
|
|
|
|
(_FP_I_TYPE): Likewise.
|
|
|
|
|
(TItype): Define on 64-bit systems.
|
|
|
|
|
(UTItype): Likewise.
|
|
|
|
|
(TI_BITS): Likewise.
|
|
|
|
|
(_FP_MUL_MEAT_D): Add support for using 64-bit types.
|
|
|
|
|
(_FP_MUL_MEAT_Q): Likewise.
|
|
|
|
|
(_FP_DIV_MEAT_D): Likewise.
|
|
|
|
|
(_FP_DIV_MEAT_Q): Likewise.
|
|
|
|
|
(_FP_NANFRAC_D): Likewise.
|
|
|
|
|
(_FP_NANFRAC_Q): Likewise.
|
|
|
|
|
(ISA_BIT): Add exception support if we are being compiled on a
|
|
|
|
|
machine with hardware floating point support to build the IEEE
|
|
|
|
|
128-bit emulation functions.
|
|
|
|
|
(FP_EX_INVALID): Likewise.
|
|
|
|
|
(FP_EX_OVERFLOW): Likewise.
|
|
|
|
|
(FP_EX_UNDERFLOW): Likewise.
|
|
|
|
|
(FP_EX_DIVZERO): Likewise.
|
|
|
|
|
(FP_EX_INEXACT): Likewise.
|
|
|
|
|
(FP_EX_ALL): Likewise.
|
|
|
|
|
(__sfp_handle_exceptions): Likewise.
|
|
|
|
|
(FP_HANDLE_EXCEPTIONS): Likewise.
|
|
|
|
|
(FP_RND_NEAREST): Likewise.
|
|
|
|
|
(FP_RND_ZERO): Likewise.
|
|
|
|
|
(FP_RND_PINF): Likewise.
|
|
|
|
|
(FP_RND_MINF): Likewise.
|
|
|
|
|
(FP_RND_MASK): Likewise.
|
|
|
|
|
(_FP_DECL_EX): Likewise.
|
|
|
|
|
(FP_INIT_ROUNDMODE): Likewise.
|
|
|
|
|
(FP_ROUNDMODE): Likewise.
|
|
|
|
|
|
|
|
|
|
* libgcc/config.host (powerpc*-*-linux*): If compiler can compile
|
|
|
|
|
VSX code, enable IEEE 128-bit floating point. If the compiler can
|
|
|
|
|
compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
|
|
|
|
|
floating point hardware instructions and it supports declaring
|
|
|
|
|
functions with the ifunc attribute, enable ifunc functions to
|
|
|
|
|
switch between software and hardware support.
|
|
|
|
|
* configure.ac (powerpc*-*-linux*): Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2016-01-15 09:18:13 +01:00
|
|
|
|
2016-01-15 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
|
|
|
|
|
dependency as the source file to be compiled.
|
|
|
|
|
(lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
|
|
|
|
|
(lib2hw_mul_f5.o): Likewise.
|
|
|
|
|
|
2016-01-14 22:54:16 +01:00
|
|
|
|
2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
|
|
|
|
|
* libgcc/config/rs6000/fixkfti.c: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/fixunskfti.c: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/float128-hw.c: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/float128-ifunc.c: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/float128-sed: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/floattikf.c: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/floatuntikf.c: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/quad-float128.h: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/sfp-exceptions.c: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/sfp-machine.h: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/t-float128: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/t-float128-hw: Likewise.
|
|
|
|
|
* libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
|
|
|
|
|
* libgcc/config.host: Likewise.
|
|
|
|
|
* libgcc/configure: Likewise.
|
|
|
|
|
* libgcc/configure.ac: Likewise.
|
|
|
|
|
|
2016-01-13 21:07:12 +01:00
|
|
|
|
2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
|
2016-01-25 22:37:08 +01:00
|
|
|
|
Steven Munroe <munroesj@linux.vnet.ibm.com>
|
|
|
|
|
Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
|
2016-01-13 21:07:12 +01:00
|
|
|
|
|
|
|
|
|
* config/rs6000/sfp-exceptions.c: New file to provide exception
|
|
|
|
|
support for IEEE 128-bit floating point.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
|
|
|
|
|
floating point hardware support.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/floattikf.c: New files for IEEE 128-bit floating
|
|
|
|
|
point conversions.
|
|
|
|
|
* config/rs6000/fixunskfti.c: Likewise.
|
|
|
|
|
* config/rs6000/fixkfti.c: Likewise.
|
|
|
|
|
* config/rs6000/floatuntikf.c: Likewise.
|
|
|
|
|
* config/rs6000/extendkftf2-sw.c: Likewise.
|
|
|
|
|
* config/rs6000/trunctfkf2-sw.c: Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/float128-ifunc.c: New file to pick either IEEE
|
|
|
|
|
128-bit floating point software emulation or use ISA 3.0 hardware
|
|
|
|
|
support if it is available.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/quad-float128.h: New file to support IEEE 128-bit
|
|
|
|
|
floating point.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-float128: New Makefile fragments to enable
|
|
|
|
|
building __float128 emulation support.
|
|
|
|
|
* config/rs6000/t-float128-hw: Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/float128-sed: New file to convert TF names to KF
|
|
|
|
|
names for PowerPC IEEE 128-bit floating point support.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
|
|
|
|
|
when building on 64-bit systems, or when VSX is enabled.
|
|
|
|
|
(_FP_W_TYPE): Likewise.
|
|
|
|
|
(_FP_WS_TYPE): Likewise.
|
|
|
|
|
(_FP_I_TYPE): Likewise.
|
|
|
|
|
(TItype): Define on 64-bit systems.
|
|
|
|
|
(UTItype): Likewise.
|
|
|
|
|
(TI_BITS): Likewise.
|
|
|
|
|
(_FP_MUL_MEAT_D): Add support for using 64-bit types.
|
|
|
|
|
(_FP_MUL_MEAT_Q): Likewise.
|
|
|
|
|
(_FP_DIV_MEAT_D): Likewise.
|
|
|
|
|
(_FP_DIV_MEAT_Q): Likewise.
|
|
|
|
|
(_FP_NANFRAC_D): Likewise.
|
|
|
|
|
(_FP_NANFRAC_Q): Likewise.
|
|
|
|
|
(ISA_BIT): Add exception support if we are being compiled on a
|
|
|
|
|
machine with hardware floating point support to build the IEEE
|
|
|
|
|
128-bit emulation functions.
|
|
|
|
|
(FP_EX_INVALID): Likewise.
|
|
|
|
|
(FP_EX_OVERFLOW): Likewise.
|
|
|
|
|
(FP_EX_UNDERFLOW): Likewise.
|
|
|
|
|
(FP_EX_DIVZERO): Likewise.
|
|
|
|
|
(FP_EX_INEXACT): Likewise.
|
|
|
|
|
(FP_EX_ALL): Likewise.
|
|
|
|
|
(__sfp_handle_exceptions): Likewise.
|
|
|
|
|
(FP_HANDLE_EXCEPTIONS): Likewise.
|
|
|
|
|
(FP_RND_NEAREST): Likewise.
|
|
|
|
|
(FP_RND_ZERO): Likewise.
|
|
|
|
|
(FP_RND_PINF): Likewise.
|
|
|
|
|
(FP_RND_MINF): Likewise.
|
|
|
|
|
(FP_RND_MASK): Likewise.
|
|
|
|
|
(_FP_DECL_EX): Likewise.
|
|
|
|
|
(FP_INIT_ROUNDMODE): Likewise.
|
|
|
|
|
(FP_ROUNDMODE): Likewise.
|
|
|
|
|
|
|
|
|
|
* configure.ac (powerpc*-*-linux*): Check whether the PowerPC
|
|
|
|
|
compiler can do __float128.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
* libgcc/config.host (powerpc*-*-linux*): If compiler can compile
|
|
|
|
|
VSX code, enable IEEE 128-bit floating point.
|
|
|
|
|
|
2016-01-05 19:10:31 +01:00
|
|
|
|
2016-01-05 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
|
2016-01-13 21:07:12 +01:00
|
|
|
|
specificities.
|
2016-01-05 19:10:31 +01:00
|
|
|
|
|
2016-01-04 15:30:50 +01:00
|
|
|
|
2016-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2015-12-18 05:46:11 +01:00
|
|
|
|
2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
|
|
|
|
|
|
|
|
|
|
* config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
|
2016-01-13 21:07:12 +01:00
|
|
|
|
soft-fp targets.
|
2015-12-18 05:46:11 +01:00
|
|
|
|
|
2015-12-16 16:24:52 +01:00
|
|
|
|
2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
* unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
|
|
|
|
|
instead of abort to avoid dependency on stdlib.h.
|
|
|
|
|
|
2015-12-10 02:32:10 +01:00
|
|
|
|
2015-12-09 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
|
|
|
|
|
to initialize call to __dl_fixup once.
|
|
|
|
|
|
2015-12-04 18:24:30 +01:00
|
|
|
|
2015-12-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
|
|
|
|
|
Allow for the second argument being negative.
|
|
|
|
|
* config.host (extra_parts): Define for MSP430. Create separate
|
|
|
|
|
libraries for each of the hardware multiply formats.
|
|
|
|
|
* config/msp430/lib2hw_mul.S: Build only the multiply routines
|
|
|
|
|
that are needed.
|
|
|
|
|
* config/msp430/lib2mul.c: Likewise.
|
|
|
|
|
* config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
|
|
|
|
|
Add rules to build hardware multiply libraries.
|
|
|
|
|
* config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
|
|
|
|
|
__mspabi_divul function.
|
|
|
|
|
(__mspabi_divllu): New stub function.
|
|
|
|
|
|
2015-12-02 00:59:20 +01:00
|
|
|
|
2015-12-01 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
|
|
|
|
|
fixup values if saved GOT address doesn't match runtime address.
|
|
|
|
|
(fixup_branch_offset): Reorder list.
|
|
|
|
|
|
Port libvtv to Solaris
libstdc++-v3:
* acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY) <solaris2*>: Use
-Wl,-R in VTV_CXXLINKFLAGS.
* configure: Regenerate.
* testsuite/18_support/bad_exception/23591_thread-1.c: Use
-fvtable-verify=none on Solaris 12+.
libgcc:
* Makefile.in (VTV_CFLAGS): New variable.
(vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
(vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
to extra_parts if $enable_vtable_verify = yes.
libvtv:
* configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
<*-*-solaris2*>: Check for init priority support.
Check for getexecname, __fortify_fail, _obstack_begin.
(VTV_NO_OBSTACK): New conditional.
* configure: Regenerate.
* Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
Create empty config.h
* Makefile.in: Regenerate.
* vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
variable.
(read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
(dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
(__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
[!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
(read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
(iterate_modules): Fix typo.
Use VTV_PAGE_SIZE.
(dl_iterate_phdr_callback): Fix typo.
Use VTV_PAGE_SIZE.
(__VLTChangePermission): Fix typos.
include:
* vtv-change-permission.h (VTV_PAGE_SIZE) [__sun__ && __svr4__ &&
__sparc__]: Define.
gcc:
* config/sol2.h (SUPPORTS_INIT_PRIORITY): Move up.
(STARTFILE_VTV_SPEC, ENDFILE_VTV_SPEC): Define.
(STARTFILE_SPEC): Use %(startfile_vtv).
(ENDFILE_SPEC): Use %(endfile_vtv).
(SUBTARGET_EXTRA_SPECS): Handle STARTFILE_VTV_SPEC,
ENDFILE_VTV_SPEC.
* gcc.c (LINK_COMMAND_SPEC): Move VTABLE_VERIFICATION_SPEC after %{L*}.
From-SVN: r230865
2015-11-25 11:30:25 +01:00
|
|
|
|
2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (VTV_CFLAGS): New variable.
|
|
|
|
|
(vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
|
|
|
|
|
(vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
|
|
|
|
|
* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
|
|
|
|
|
Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
|
|
|
|
|
to extra_parts if $enable_vtable_verify = yes.
|
|
|
|
|
|
2015-11-23 16:17:55 +01:00
|
|
|
|
2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/68059
|
|
|
|
|
* config/arm/linux-atomic-64bit.c (__write): Rename to...
|
|
|
|
|
(write): ...this and fix the return type.
|
|
|
|
|
|
2015-11-20 01:08:50 +01:00
|
|
|
|
2015-11-19 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/lib2hw_mul.S: Fix alignment.
|
|
|
|
|
|
2015-11-18 14:49:17 +01:00
|
|
|
|
2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/reduction.c: New.
|
|
|
|
|
* config/nvptx/t-nvptx (LIB2ADD): Add it.
|
|
|
|
|
|
2015-11-16 00:41:44 +01:00
|
|
|
|
2015-11-15 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/on_exit.c: New file.
|
|
|
|
|
* config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
|
|
|
|
|
* config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
|
|
|
|
|
|
2015-11-11 12:04:32 +01:00
|
|
|
|
2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/dp-hack.h: Add support for ARCHS.
|
|
|
|
|
* config/arc/ieee-754/divdf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/divsf3-stdmul.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/muldf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/mulsf3.S: Likewise
|
|
|
|
|
* config/arc/lib1funcs.S: Likewise
|
|
|
|
|
* config/arc/gmon/dcache_linesz.S: Don't read the build register
|
|
|
|
|
for ARCv2 cores.
|
|
|
|
|
* config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
|
|
|
|
|
for ARCv2 cores.
|
|
|
|
|
* config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
|
|
|
|
|
* config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
|
|
|
|
|
cores.
|
|
|
|
|
|
2015-11-09 12:33:30 +01:00
|
|
|
|
2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
|
|
|
|
|
value.
|
|
|
|
|
* config/ia64/crtend.S: Likewise.
|
|
|
|
|
|
2015-11-07 20:36:26 +01:00
|
|
|
|
2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config/visium/lib2funcs.c (__set_trampoline_parity): Use
|
|
|
|
|
__CHAR_BIT__ instead of BITS_PER_UNIT.
|
|
|
|
|
* fixed-bit.h: Likewise.
|
|
|
|
|
* fp-bit.h: Likewise.
|
|
|
|
|
* libgcc2.c (__popcountSI2): Likewise.
|
|
|
|
|
(__popcountDI2): Likewise.
|
|
|
|
|
* libgcc2.h: Likewise.
|
|
|
|
|
* libgcov.h: Likewise.
|
|
|
|
|
|
2015-11-07 15:23:32 +01:00
|
|
|
|
2015-11-07 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/atexit.c: New file.
|
|
|
|
|
* config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
|
|
|
|
|
* config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
|
|
|
|
|
* config/rs6000/cxa_finalize.c
|
|
|
|
|
(catomic_compare_and_exchange_bool_acq): Negate return value.
|
|
|
|
|
|
2015-10-30 14:20:42 +01:00
|
|
|
|
2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
|
|
|
|
|
(processor_subtypes): Add znver1.
|
|
|
|
|
(get_amd_cpu): Detect znver1.
|
|
|
|
|
|
2015-10-29 15:22:56 +01:00
|
|
|
|
2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
|
|
|
|
|
Include crtfastmath.o.
|
|
|
|
|
|
2015-10-23 13:57:26 +02:00
|
|
|
|
2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/66883
|
|
|
|
|
* config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
|
2015-10-29 15:22:56 +01:00
|
|
|
|
|
2015-10-16 23:47:07 +02:00
|
|
|
|
2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
|
|
|
|
|
* config/rl78/divmodsi.S: Update return register to r8.
|
|
|
|
|
* config/rl78/divmodhi.S: Update return register to r8,r9.
|
|
|
|
|
Branch to main_loop_done_himode to pop registers before return.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
|
2015-10-11 10:06:14 +02:00
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
|
|
|
|
|
(__cpu_indicator_init): Fix model selection for AMD CPUs.
|
|
|
|
|
|
2015-10-05 15:16:07 +02:00
|
|
|
|
2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
|
|
|
|
|
|
2015-10-03 18:09:07 +02:00
|
|
|
|
2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (xtensa*-*-uclinux*): New configuration.
|
|
|
|
|
|
2015-10-02 17:25:26 +02:00
|
|
|
|
2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
2016-06-13 23:34:07 +02:00
|
|
|
|
* config/i386/cpuinfo.c (processor_features): Add
|
2015-10-02 17:25:26 +02:00
|
|
|
|
FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
|
|
|
|
|
|
2015-09-28 23:50:22 +02:00
|
|
|
|
2015-09-28 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/adddf3.c: Update from glibc.
|
|
|
|
|
* soft-fp/addsf3.c: Likewise.
|
|
|
|
|
* soft-fp/addtf3.c: Likewise.
|
|
|
|
|
* soft-fp/divdf3.c: Likewise.
|
|
|
|
|
* soft-fp/divsf3.c: Likewise.
|
|
|
|
|
* soft-fp/divtf3.c: Likewise.
|
|
|
|
|
* soft-fp/double.h: Likewise.
|
|
|
|
|
* soft-fp/eqdf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqsf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqtf2.c: Likewise.
|
|
|
|
|
* soft-fp/extenddftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extended.h: Likewise.
|
|
|
|
|
* soft-fp/extendsfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendxftf2.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfti.c: Likewise.
|
|
|
|
|
* soft-fp/floatdidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatdisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floattidf.c: Likewise.
|
|
|
|
|
* soft-fp/floattisf.c: Likewise.
|
|
|
|
|
* soft-fp/floattitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntitf.c: Likewise.
|
|
|
|
|
* soft-fp/gedf2.c: Likewise.
|
|
|
|
|
* soft-fp/gesf2.c: Likewise.
|
|
|
|
|
* soft-fp/getf2.c: Likewise.
|
|
|
|
|
* soft-fp/ledf2.c: Likewise.
|
|
|
|
|
* soft-fp/lesf2.c: Likewise.
|
|
|
|
|
* soft-fp/letf2.c: Likewise.
|
|
|
|
|
* soft-fp/muldf3.c: Likewise.
|
|
|
|
|
* soft-fp/mulsf3.c: Likewise.
|
|
|
|
|
* soft-fp/multf3.c: Likewise.
|
|
|
|
|
* soft-fp/negdf2.c: Likewise.
|
|
|
|
|
* soft-fp/negsf2.c: Likewise.
|
|
|
|
|
* soft-fp/negtf2.c: Likewise.
|
|
|
|
|
* soft-fp/op-1.h: Likewise.
|
|
|
|
|
* soft-fp/op-2.h: Likewise.
|
|
|
|
|
* soft-fp/op-4.h: Likewise.
|
|
|
|
|
* soft-fp/op-8.h: Likewise.
|
|
|
|
|
* soft-fp/op-common.h: Likewise.
|
|
|
|
|
* soft-fp/quad.h: Likewise.
|
|
|
|
|
* soft-fp/single.h: Likewise.
|
|
|
|
|
* soft-fp/soft-fp.h: Likewise.
|
|
|
|
|
* soft-fp/subdf3.c: Likewise.
|
|
|
|
|
* soft-fp/subsf3.c: Likewise.
|
|
|
|
|
* soft-fp/subtf3.c: Likewise.
|
|
|
|
|
* soft-fp/truncdfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfxf2.c: Likewise.
|
|
|
|
|
* soft-fp/unorddf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordsf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordtf2.c: Likewise.
|
|
|
|
|
|
2015-09-24 11:40:06 +02:00
|
|
|
|
2015-09-24 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/67624
|
|
|
|
|
* config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
|
|
|
|
|
|
2015-09-24 11:00:22 +02:00
|
|
|
|
2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
|
|
|
|
|
Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
|
|
|
|
|
* config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
|
|
|
|
|
messages.
|
|
|
|
|
(internal_mcount): Likewise.
|
|
|
|
|
* config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
|
|
|
|
|
crt_compile, add CRTSTUFF_T_CFLAGS_S.
|
|
|
|
|
|
2015-09-24 10:51:39 +02:00
|
|
|
|
2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac (libgcc_cv_solaris_crts): New test.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* config/sol2/crtp.c, config/sol2/crtpg.c: New files.
|
|
|
|
|
* config/gmon-sol2.c: Rename to ...
|
|
|
|
|
* config/sol2/gmon.c: ... this.
|
|
|
|
|
Include auto-target.h.
|
|
|
|
|
(internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
|
|
|
|
|
* config/t-sol2: Rename to ...
|
|
|
|
|
* config/sol2/t-sol2: ... this.
|
|
|
|
|
(gmon.o): Reflect renaming.
|
|
|
|
|
(crtp.o, crtpg.o): New rules.
|
|
|
|
|
* config.host (*-*-solaris2*): Reflect renaming.
|
|
|
|
|
Use system CRTs if present.
|
|
|
|
|
Remove default CRT case.
|
|
|
|
|
|
2015-09-24 01:27:15 +02:00
|
|
|
|
2015-09-23 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
|
|
|
|
|
(__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
|
|
|
|
|
__kernel_cmpxchg2.
|
|
|
|
|
(__sync_##OP##_and_fetch_##WIDTH): Likewise.
|
|
|
|
|
(__sync_val_compare_and_swap_##WIDTH): Likewise.
|
|
|
|
|
(__sync_bool_compare_and_swap_##WIDTH): Likewise.
|
|
|
|
|
(__sync_lock_test_and_set_##WIDTH): Likewise.
|
|
|
|
|
(__sync_lock_release_##WIDTH): Likewise.
|
|
|
|
|
(__sync_fetch_and_##OP##_4): Change result to match type of
|
|
|
|
|
__kernel_cmpxchg.
|
|
|
|
|
(__sync_##OP##_and_fetch_4): Likewise.
|
|
|
|
|
(__sync_val_compare_and_swap_4): Likewise.
|
|
|
|
|
(__sync_bool_compare_and_swap_4): likewise.
|
|
|
|
|
(__sync_lock_test_and_set_4): Likewise.
|
|
|
|
|
(__sync_lock_release_4): Likewise.
|
|
|
|
|
(FETCH_AND_OP_2): Add long long variants.
|
|
|
|
|
(OP_AND_FETCH_2): Likewise.
|
|
|
|
|
(COMPARE_AND_SWAP_2 ): Likewise.
|
|
|
|
|
(SYNC_LOCK_TEST_AND_SET_2): Likewise.
|
|
|
|
|
(SYNC_LOCK_RELEASE_2): Likewise.
|
|
|
|
|
(__sync_bool_compare_and_swap_##WIDTH): Correct return.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
|
AVX-512. Introduce SKylake server CPU.
gcc/
* config.gcc: Support "skylake-avx512".
* config/i386/i386-c.c (ix86_target_macros_internal): Handle
PROCESSOR_SKYLAKE_AVX512.
* config/i386/i386.c (m_SKYLAKE_AVX512): Define.
(processor_target_table): Add "skylake-avx512".
(PTA_SKYLAKE_AVX512): Define.
(ix86_option_override_internal): Add "skylake_avx512".
(fold_builtin_cpu): Handle "skylake_avx512", add F_AVX512VL
F_AVX512BW, F_AVX512DQ, F_AVX512ER, F_AVX512PF, F_AVX512CD.
* config/i386/i386.h (TARGET_SKYLAKE_AVX512): Define.
(processor_type): Add PROCESSOR_SKYLAKE_AVX512.
* doc/invoke.texi (skylake-avx512): New.
libgcc/
* libgcc/config/i386/cpuinfo.c (enum processor_features): Add
FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
(get_available_features): Habdle new features.
gcc/testsuite/
* gcc.target/i386/funcspec-5.c: Test avx512vl, avx512bw,
avx512dq, avx512cd, avx512er, avx512pf and skylake-avx512.
* gcc.target/i386/builtin_target.c: Test avx512vl, avx512bw,
avx512dq, avx512cd, avx512er and avx512pf.
From-SVN: r228009
2015-09-22 13:10:21 +02:00
|
|
|
|
|
|
|
|
|
* libgcc/config/i386/cpuinfo.c (enum processor_features): Add
|
|
|
|
|
FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
|
|
|
|
|
FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
|
|
|
|
|
(get_available_features): Habdle new features.
|
|
|
|
|
|
2015-09-22 00:31:53 +02:00
|
|
|
|
2015-09-21 James Bowman <james.bowman@ftdichip.com>
|
|
|
|
|
|
|
|
|
|
* config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
|
|
|
|
|
memory layout. Deal correctly with BSS region larger than 32K.
|
|
|
|
|
Handle a watchdog reset like a power-on reset. Clean up unused
|
|
|
|
|
code.
|
|
|
|
|
|
2015-09-18 16:10:36 +02:00
|
|
|
|
2015-09-18 Andrew Dixie <andrewd@gentrack.com>
|
|
|
|
|
David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
|
|
|
|
|
* config/rs6000/crtdbase.S: New file.
|
|
|
|
|
* config/rs6000/t-aix-cxa: Build crtdbase.o.
|
|
|
|
|
|
2015-09-15 21:30:32 +02:00
|
|
|
|
2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
|
|
|
|
|
Add support for call0 ABI.
|
|
|
|
|
|
2015-09-13 17:05:57 +02:00
|
|
|
|
2015-09-13 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
|
|
|
|
|
|
2015-09-03 07:28:46 +02:00
|
|
|
|
2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* config/gthr-rtems.h (__GTHREADS_CXX0X): New.
|
|
|
|
|
(__GTHREAD_HAS_COND): Likewise.
|
|
|
|
|
(__gthread_t): Likewise.
|
|
|
|
|
(__gthread_cond_t): Likewise.
|
|
|
|
|
(__gthread_time_t): Likewise.
|
|
|
|
|
(__GTHREAD_MUTEX_INIT): Likewise.
|
|
|
|
|
(__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
|
|
|
|
|
(__GTHREAD_COND_INIT): Likewise.
|
|
|
|
|
(__GTHREAD_COND_INIT_FUNCTION): Likewise.
|
|
|
|
|
(__GTHREAD_TIME_INIT): Likewise.
|
|
|
|
|
(__gthread_create): Likewise.
|
|
|
|
|
(__gthread_join): Likewise.
|
|
|
|
|
(__gthread_detach): Likewise.
|
|
|
|
|
(__gthread_equal): Likewise.
|
|
|
|
|
(__gthread_self): Likewise.
|
|
|
|
|
(__gthread_yield): Likewise.
|
|
|
|
|
(__gthread_cond_broadcast): Likewise.
|
|
|
|
|
(__gthread_cond_signal): Likewise.
|
|
|
|
|
(__gthread_cond_wait): Likewise.
|
|
|
|
|
(__gthread_cond_timedwait): Likewise.
|
|
|
|
|
(__gthread_cond_wait_recursive): Likewise.
|
|
|
|
|
(__gthread_cond_destroy): Likewise.
|
|
|
|
|
(rtems_gxx_once): Delete.
|
|
|
|
|
(rtems_gxx_key_create): Likewise.
|
|
|
|
|
(rtems_gxx_key_delete): Likewise.
|
|
|
|
|
(rtems_gxx_getspecific): Likewise.
|
|
|
|
|
(rtems_gxx_setspecific): Likewise.
|
|
|
|
|
(rtems_gxx_mutex_init): Likewise.
|
|
|
|
|
(rtems_gxx_mutex_destroy): Likewise.
|
|
|
|
|
(rtems_gxx_mutex_lock): Likewise.
|
|
|
|
|
(rtems_gxx_mutex_trylock): Likewise.
|
|
|
|
|
(rtems_gxx_mutex_unlock): Likewise.
|
|
|
|
|
(rtems_gxx_recursive_mutex_init): Likewise.
|
|
|
|
|
(rtems_gxx_recursive_mutex_lock): Likewise.
|
|
|
|
|
(rtems_gxx_recursive_mutex_trylock): Likewise.
|
|
|
|
|
(rtems_gxx_recursive_mutex_unlock): Likewise.
|
|
|
|
|
(__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
|
|
|
|
|
(__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
|
|
|
|
|
(__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
|
|
|
|
|
(__gthread_once): Likewise.
|
|
|
|
|
(__gthread_key_create): Likewise.
|
|
|
|
|
(__gthread_key_delete): Likewise.
|
|
|
|
|
(__gthread_getspecific): Likewise.
|
|
|
|
|
(__gthread_setspecific): Likewise.
|
|
|
|
|
(__gthread_key_t): Use <pthread.h> type.
|
|
|
|
|
(__gthread_once_t): Likewise
|
|
|
|
|
(__gthread_mutex_t): Use <sys/lock.h> type.
|
|
|
|
|
(__gthread_recursive_mutex_t): Likewise
|
|
|
|
|
(__gthread_mutex_lock): Use <sys/lock.h> function.
|
|
|
|
|
(__gthread_mutex_trylock): Likewise.
|
|
|
|
|
(__gthread_mutex_timedlock): Likewise.
|
|
|
|
|
(__gthread_mutex_unlock): Likewise.
|
|
|
|
|
(__gthread_mutex_destroy): Likewise.
|
|
|
|
|
(__gthread_recursive_mutex_lock): Likewise.
|
|
|
|
|
(__gthread_recursive_mutex_trylock): Likewise.
|
|
|
|
|
(__gthread_recursive_mutex_timedlock): Likewise.
|
|
|
|
|
(__gthread_recursive_mutex_unlock): Likewise.
|
|
|
|
|
(__gthread_recursive_mutex_destroy): Likewise.
|
|
|
|
|
|
2015-08-18 03:08:22 +02:00
|
|
|
|
2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
|
|
|
|
|
context->sp instead of context->cfa.
|
|
|
|
|
|
2015-08-18 03:07:10 +02:00
|
|
|
|
2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
|
|
|
|
|
with unwind-dw2-fde-dip.
|
|
|
|
|
|
2015-08-18 03:05:44 +02:00
|
|
|
|
2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
|
|
|
|
|
CALL12 followed by series of ENTRY to spill windowed registers.
|
|
|
|
|
(__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
|
|
|
|
|
instead of making linux spill syscall.
|
|
|
|
|
|
2015-08-14 11:11:01 +02:00
|
|
|
|
2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
|
|
|
|
|
(get_intel_cpu): Likewise.
|
|
|
|
|
|
2015-08-12 16:52:22 +02:00
|
|
|
|
2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
|
|
|
|
|
(get_intel_cpu): Add Knights Landing support.
|
|
|
|
|
|
2015-08-11 19:53:41 +02:00
|
|
|
|
2015-08-11 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/66954
|
|
|
|
|
* config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
|
|
|
|
|
(get_available_features): Handle FEATURE_PCLMUL.
|
|
|
|
|
|
2015-08-10 21:19:05 +02:00
|
|
|
|
2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
|
|
|
|
|
Broadwell.
|
|
|
|
|
|
2015-07-22 20:01:33 +02:00
|
|
|
|
2015-07-22 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/66954
|
|
|
|
|
* config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
|
|
|
|
|
(get_available_features): Handle FEATURE_AES.
|
|
|
|
|
|
2015-07-22 13:39:30 +02:00
|
|
|
|
2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
|
|
|
|
|
(EFAULT,EBUSY,ENOSYS): Delete unused #defines.
|
|
|
|
|
|
2015-07-17 19:12:01 +02:00
|
|
|
|
2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* offloadstuff.c: Constify host data.
|
|
|
|
|
|
2015-07-17 09:14:25 +02:00
|
|
|
|
2015-07-17 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* config/t-softfp: Split up "else ifneq".
|
|
|
|
|
|
2015-07-15 00:43:46 +02:00
|
|
|
|
2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
Cesar Philippidis <cesar@codesourcery.com>
|
|
|
|
|
Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
|
|
|
|
|
for __nios2_arch__ level.
|
|
|
|
|
|
2015-07-13 16:53:16 +02:00
|
|
|
|
2015-07-13 John Marino <gnugcc@marino.st>
|
|
|
|
|
|
|
|
|
|
* config/i386/t-dragonfly: New.
|
|
|
|
|
|
2015-07-01 19:42:20 +02:00
|
|
|
|
2015-07-01 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
|
|
|
|
|
better match light-weight syscall argument order.
|
|
|
|
|
(__kernel_cmpxchg2): Likewise.
|
|
|
|
|
Adjust callers.
|
|
|
|
|
|
2015-06-30 18:42:07 +02:00
|
|
|
|
2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Support i[34567]86-*-elfiamcu target.
|
|
|
|
|
* config/t-softfp-sfdftf: New file.
|
|
|
|
|
* config/i386/32/t-iamcu: Likewise.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2015-06-23 19:45:18 +02:00
|
|
|
|
2015-06-23 James Lemke <jwlemke@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
libgcc/config/arm/
|
|
|
|
|
* lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
|
|
|
|
|
|
2015-05-28 04:36:55 +02:00
|
|
|
|
2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2015-05-27 John Marino <gnugcc@marino.st>
|
2015-05-27 18:14:10 +02:00
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
|
|
|
|
|
md_unwind_header
|
|
|
|
|
* config/i386/freebsd-unwind.h: New.
|
|
|
|
|
|
2015-05-22 16:39:22 +02:00
|
|
|
|
2015-05-22 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
|
|
|
|
|
i386/t-crtfm to tmake_file.
|
|
|
|
|
* config/i386/crtfastmath.c (set_fast_math_sse): New function.
|
|
|
|
|
(set_fast_math): Use set_fast_math_sse for SSE targets.
|
|
|
|
|
* config/i386/t-crtfm: Remove.
|
|
|
|
|
|
2015-05-21 01:55:08 +02:00
|
|
|
|
2015-05-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/66225
|
|
|
|
|
* config/rs6000/morestack.S: Remove ".abiversion 1".
|
|
|
|
|
|
rs6000-common.c (TARGET_SUPPORTS_SPLIT_STACK): Define.
gcc/
* common/config/rs6000/rs6000-common.c (TARGET_SUPPORTS_SPLIT_STACK):
Define.
(rs6000_supports_split_stack): New function.
* gcc/config/rs6000/rs6000.c (machine_function): Add
split_stack_arg_pointer.
(TARGET_EXTRA_LIVE_ON_ENTRY, TARGET_INTERNAL_ARG_POINTER): Define.
(setup_incoming_varargs): Use crtl->args.internal_arg_pointer
rather than virtual_incoming_args_rtx.
(rs6000_va_start): Likewise.
(split_stack_arg_pointer_used_p): New function.
(rs6000_emit_prologue): Set up arg pointer for -fsplit-stack.
(morestack_ref): New var.
(gen_add3_const, rs6000_expand_split_stack_prologue,
rs6000_internal_arg_pointer, rs6000_live_on_entry,
rs6000_split_stack_space_check): New functions.
(rs6000_elf_file_end): Call file_end_indicate_split_stack.
* gcc/config/rs6000/rs6000.md (UNSPEC_STACK_CHECK): Define.
(UNSPECV_SPLIT_STACK_RETURN): Define.
(split_stack_prologue, load_split_stack_limit,
load_split_stack_limit_di, load_split_stack_limit_si,
split_stack_return, split_stack_space_check): New expands and insns.
* gcc/config/rs6000/rs6000-protos.h
(rs6000_expand_split_stack_prologue): Declare.
(rs6000_split_stack_space_check): Declare.
libgcc/
* config/rs6000/morestack.S: New.
* config/rs6000/t-stack-rs6000: New.
* config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
to tmake_file.
* generic-morestack.c: Don't build for powerpc 32-bit.
From-SVN: r223426
2015-05-20 03:26:28 +02:00
|
|
|
|
2015-05-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/morestack.S: New.
|
|
|
|
|
* config/rs6000/t-stack-rs6000: New.
|
|
|
|
|
* config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
|
|
|
|
|
to tmake_file.
|
|
|
|
|
* generic-morestack.c: Don't build for powerpc 32-bit.
|
|
|
|
|
|
2015-05-19 21:02:55 +02:00
|
|
|
|
2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
|
|
|
|
|
Remove useless endif/ifneq ($(enable_shared),yes) pair.
|
|
|
|
|
|
2015-06-03 15:39:45 +02:00
|
|
|
|
2015-05-16 James Bowman <james.bowman@ftdichip.com>
|
|
|
|
|
|
|
|
|
|
* config.host: FT32 target added.
|
|
|
|
|
* config/ft32/*: New files for FT32 target.
|
|
|
|
|
|
2015-05-15 18:57:10 +02:00
|
|
|
|
2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
|
|
|
|
|
|
2016-06-13 23:34:07 +02:00
|
|
|
|
* config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
|
|
|
|
|
New macros.
|
|
|
|
|
* config/arm/ieee754-df.S: Add CFI directives.
|
|
|
|
|
* config/arm/ieee754-sf.S: Add CFI directives.
|
2015-05-15 18:57:10 +02:00
|
|
|
|
|
2015-05-13 23:15:31 +02:00
|
|
|
|
2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Include config/sjlj.m4.
|
|
|
|
|
Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
* config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
|
|
|
|
|
|
2015-05-12 16:40:49 +02:00
|
|
|
|
2015-05-12 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* libgcov-util.c: Add space between string literal and macro name.
|
|
|
|
|
|
2015-05-06 18:01:05 +02:00
|
|
|
|
2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
Chris Jones <chrisj@nvidia.com>
|
|
|
|
|
Joshua Conner <jconner@nvidia.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arm*-*-linux*): Add support for crtfastmath.o.
|
|
|
|
|
(arm*-*-uclinux*): Likewise.
|
|
|
|
|
(arm*-*-eabi* | arm*-*-rtems*): Likewise.
|
|
|
|
|
* config/arm/crtfastmath.c: New file.
|
|
|
|
|
|
2015-04-29 18:52:45 +02:00
|
|
|
|
2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (real_host_noncanonical): New variable.
|
|
|
|
|
(libsubdir): Use it.
|
|
|
|
|
* configure.ac (real_host_noncanonical): Compute. Remove special
|
|
|
|
|
case for intelmicemul.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2015-04-28 11:23:40 +02:00
|
|
|
|
2015-04-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/frv/elf-lib.h: New file.
|
|
|
|
|
(CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
|
|
|
|
|
* libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
|
|
|
|
|
to tm_file.
|
|
|
|
|
|
|
|
|
|
2015-04-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/frv/frvbengin.c: Do not include defaults.h
|
|
|
|
|
* config/frv/frvend.c: Ditto.
|
|
|
|
|
|
2015-04-27 21:16:27 +02:00
|
|
|
|
2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
|
|
|
|
|
|
|
|
|
|
* config.host: Add h8300-*-linux
|
|
|
|
|
* config/h8300/t-linux: New file.
|
|
|
|
|
* config/h8300/lib1funs.s: Change symbol prefix.
|
|
|
|
|
* config/h8300/sfp-machine.h: 64bit double support.
|
|
|
|
|
|
2015-04-22 16:20:01 +02:00
|
|
|
|
2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
|
|
|
|
|
Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
* unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
|
|
|
|
|
Linux if target provides dl_iterate_phdr.
|
|
|
|
|
|
2015-04-17 14:58:07 +02:00
|
|
|
|
2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/65612
|
|
|
|
|
* config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
|
|
|
|
|
* config/i386/cpuinfo.c (__cpu_model): Initialize.
|
|
|
|
|
(__cpu_indicator_init@GCC_4.8.0): New.
|
|
|
|
|
(__cpu_model@GCC_4.8.0): Likewise.
|
|
|
|
|
* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
|
|
|
|
|
-DUSE_ELF_SYMVER.
|
|
|
|
|
|
2015-04-16 09:57:56 +02:00
|
|
|
|
2015-04-16 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
|
|
|
|
|
and __modhi3 functions.
|
|
|
|
|
* config/rl78/divmodso.S: Add G14 and G13 versions of the
|
|
|
|
|
__divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
|
|
|
|
|
|
2015-04-15 17:29:12 +02:00
|
|
|
|
2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
|
|
|
|
|
do-while loop as macro body to avoid warnings.
|
|
|
|
|
|
2015-04-10 08:43:52 +02:00
|
|
|
|
2015-04-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Iain Sandoe <iain@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR target/65351
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2015-04-07 11:57:46 +02:00
|
|
|
|
2015-04-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Iain Sandoe <iain@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR target/65351
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2015-03-25 09:32:17 +01:00
|
|
|
|
2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (nios2-*-linux*): Remove 'extra_parts' setting.
|
|
|
|
|
|
Implement call0 ABI for xtensa
call0 is an ABI that doesn't use register windows.
2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
gcc/
* config/xtensa/constraints.md ("a" constraint): Include stack
pointer in case of call0 ABI.
("q" constraint): Make empty in case of call0 ABI.
("D" constraint): Include stack pointer in case of call0 ABI.
* config/xtensa/xtensa-protos.h (xtensa_set_return_address,
xtensa_expand_epilogue, xtensa_regno_to_class): Add new function
prototypes.
* config/xtensa/xtensa.c (xtensa_callee_save_size): New
variable.
(xtensa_regno_to_class): Make it a local variable in the
function xtensa_regno_to_class.
(xtensa_function_epilogue, TARGET_ASM_FUNCTION_EPILOGUE): Remove
macro, function prototype and implementation.
(reg_nonleaf_alloc_order): Make it a local variable in the
function order_regs_for_local_alloc.
(xtensa_conditional_register_usage): New function.
(TARGET_CONDITIONAL_REGISTER_USAGE): Define macro.
(xtensa_valid_move): Allow direct moves to stack pointer
register in call0 ABI.
(xtensa_setup_frame_addresses): Only spill register windows in
windowed ABI.
(xtensa_emit_call): Emit call(x)8 or call(x)0 in windowed and
call0 ABI respectively.
(xtensa_function_arg_1): Only mark a7 register for copying in
windowed ABI.
(xtensa_call_save_reg): New function.
(compute_frame_size): Add space for callee saved register
storage to the frame size in call0 ABI.
(xtensa_expand_prologue): Generate code to set up stack frame
and save callee-saved registers in call0 ABI.
(xtensa_expand_epilogue): New function.
(xtensa_set_return_address): New function.
(xtensa_return_addr): Calculate return address in call0 ABI.
(xtensa_builtin_saveregs): Only mark a7 register for copying and
emit copying code in windowed ABI.
(order_regs_for_local_alloc): Add preferred register allocation
order for non-leaf function in call0 ABI.
(xtensa_static_chain): Add atatic chain passing for call0 ABI.
(xtensa_asm_trampoline_template): Add trampoline generation for
call0 ABI.
(xtensa_trampoline_init): Add trampoline initialization for
call0 ABI.
(xtensa_conditional_register_usage, xtensa_regno_to_class): New
functions.
* config/xtensa/xtensa.h (TARGET_WINDOWED_ABI): New macro.
(TARGET_CPU_CPP_BUILTINS): Add built-in define for call0 ABI.
(CALL_USED_REGISTERS): Modify to encode both windowed and call0
ABI call-used registers.
(HARD_FRAME_POINTER_REGNUM): Add frame pointer for call0 ABI.
(INCOMING_REGNO, OUTGOING_REGNO): Use argument unchanged in
call0 ABI.
(REG_CLASS_CONTENTS): Include all registers into the preferred
reload registers set, adjust the set in the
xtensa_conditional_register_usage.
(xtensa_regno_to_class): Drop variable declaration.
(REGNO_REG_CLASS): Redefine to use xtensa_regno_to_class
function.
(WINDOW_SIZE): Define as 8 or 0 for windowed and call0 ABI
respectively.
(FUNCTION_PROFILER): Add _mcount call for call0 ABI.
(TRAMPOLINE_SIZE): Define trampoline size for call0 ABI.
(RETURN_ADDR_IN_PREVIOUS_FRAME): Define to 0 in call0 ABI.
(ASM_OUTPUT_POOL_PROLOGUE): Always generate literal pool
location in call0 ABI.
(EH_RETURN_STACKADJ_RTX): New definition, use a10 for passing
stack adjustment size when handling exception.
(CRT_CALL_STATIC_FUNCTION): Add definition for call0 ABI.
* config/xtensa/xtensa.md (A9_REG, UNSPECV_BLOCKAGE): New
definitions.
("return" pattern): Generate ret.n/ret in call0 ABI.
("epilogue" pattern): Expand epilogue.
("nonlocal_goto" pattern): Use default in call0 ABI.
("eh_return" pattern): Move implementation to eh_set_a0_windowed,
emit eh_set_a0_* depending on ABI.
("eh_set_a0_windowed" pattern): Former eh_return pattern.
("eh_set_a0_call0", "blockage"): New patterns.
libgcc/
* config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
__xtensa_nonlocal_goto): Don't compile for call0 ABI.
(__xtensa_sync_caches): Only use entry and retw in windowed ABI,
use ret in call0 ABI.
* config/xtensa/t-windowed: New file.
* libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
* libgcc/configure: Regenerated.
* libgcc/configure.ac: Check if xtensa target is configured for
windowed ABI and thus needs to use custom unwind code.
From-SVN: r221158
2015-03-03 18:44:01 +01:00
|
|
|
|
2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
|
2015-03-25 09:32:17 +01:00
|
|
|
|
|
Implement call0 ABI for xtensa
call0 is an ABI that doesn't use register windows.
2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
gcc/
* config/xtensa/constraints.md ("a" constraint): Include stack
pointer in case of call0 ABI.
("q" constraint): Make empty in case of call0 ABI.
("D" constraint): Include stack pointer in case of call0 ABI.
* config/xtensa/xtensa-protos.h (xtensa_set_return_address,
xtensa_expand_epilogue, xtensa_regno_to_class): Add new function
prototypes.
* config/xtensa/xtensa.c (xtensa_callee_save_size): New
variable.
(xtensa_regno_to_class): Make it a local variable in the
function xtensa_regno_to_class.
(xtensa_function_epilogue, TARGET_ASM_FUNCTION_EPILOGUE): Remove
macro, function prototype and implementation.
(reg_nonleaf_alloc_order): Make it a local variable in the
function order_regs_for_local_alloc.
(xtensa_conditional_register_usage): New function.
(TARGET_CONDITIONAL_REGISTER_USAGE): Define macro.
(xtensa_valid_move): Allow direct moves to stack pointer
register in call0 ABI.
(xtensa_setup_frame_addresses): Only spill register windows in
windowed ABI.
(xtensa_emit_call): Emit call(x)8 or call(x)0 in windowed and
call0 ABI respectively.
(xtensa_function_arg_1): Only mark a7 register for copying in
windowed ABI.
(xtensa_call_save_reg): New function.
(compute_frame_size): Add space for callee saved register
storage to the frame size in call0 ABI.
(xtensa_expand_prologue): Generate code to set up stack frame
and save callee-saved registers in call0 ABI.
(xtensa_expand_epilogue): New function.
(xtensa_set_return_address): New function.
(xtensa_return_addr): Calculate return address in call0 ABI.
(xtensa_builtin_saveregs): Only mark a7 register for copying and
emit copying code in windowed ABI.
(order_regs_for_local_alloc): Add preferred register allocation
order for non-leaf function in call0 ABI.
(xtensa_static_chain): Add atatic chain passing for call0 ABI.
(xtensa_asm_trampoline_template): Add trampoline generation for
call0 ABI.
(xtensa_trampoline_init): Add trampoline initialization for
call0 ABI.
(xtensa_conditional_register_usage, xtensa_regno_to_class): New
functions.
* config/xtensa/xtensa.h (TARGET_WINDOWED_ABI): New macro.
(TARGET_CPU_CPP_BUILTINS): Add built-in define for call0 ABI.
(CALL_USED_REGISTERS): Modify to encode both windowed and call0
ABI call-used registers.
(HARD_FRAME_POINTER_REGNUM): Add frame pointer for call0 ABI.
(INCOMING_REGNO, OUTGOING_REGNO): Use argument unchanged in
call0 ABI.
(REG_CLASS_CONTENTS): Include all registers into the preferred
reload registers set, adjust the set in the
xtensa_conditional_register_usage.
(xtensa_regno_to_class): Drop variable declaration.
(REGNO_REG_CLASS): Redefine to use xtensa_regno_to_class
function.
(WINDOW_SIZE): Define as 8 or 0 for windowed and call0 ABI
respectively.
(FUNCTION_PROFILER): Add _mcount call for call0 ABI.
(TRAMPOLINE_SIZE): Define trampoline size for call0 ABI.
(RETURN_ADDR_IN_PREVIOUS_FRAME): Define to 0 in call0 ABI.
(ASM_OUTPUT_POOL_PROLOGUE): Always generate literal pool
location in call0 ABI.
(EH_RETURN_STACKADJ_RTX): New definition, use a10 for passing
stack adjustment size when handling exception.
(CRT_CALL_STATIC_FUNCTION): Add definition for call0 ABI.
* config/xtensa/xtensa.md (A9_REG, UNSPECV_BLOCKAGE): New
definitions.
("return" pattern): Generate ret.n/ret in call0 ABI.
("epilogue" pattern): Expand epilogue.
("nonlocal_goto" pattern): Use default in call0 ABI.
("eh_return" pattern): Move implementation to eh_set_a0_windowed,
emit eh_set_a0_* depending on ABI.
("eh_set_a0_windowed" pattern): Former eh_return pattern.
("eh_set_a0_call0", "blockage"): New patterns.
libgcc/
* config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
__xtensa_nonlocal_goto): Don't compile for call0 ABI.
(__xtensa_sync_caches): Only use entry and retw in windowed ABI,
use ret in call0 ABI.
* config/xtensa/t-windowed: New file.
* libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
* libgcc/configure: Regenerated.
* libgcc/configure.ac: Check if xtensa target is configured for
windowed ABI and thus needs to use custom unwind code.
From-SVN: r221158
2015-03-03 18:44:01 +01:00
|
|
|
|
Implement call0 ABI for xtensa
|
|
|
|
|
* config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
|
|
|
|
|
__xtensa_nonlocal_goto): Don't compile for call0 ABI.
|
|
|
|
|
(__xtensa_sync_caches): Only use entry and retw in windowed ABI,
|
|
|
|
|
use ret in call0 ABI.
|
|
|
|
|
* config/xtensa/t-windowed: New file.
|
|
|
|
|
* libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
|
|
|
|
|
* libgcc/configure: Regenerated.
|
|
|
|
|
* libgcc/configure.ac: Check if xtensa target is configured for
|
|
|
|
|
windowed ABI and thus needs to use custom unwind code.
|
|
|
|
|
|
2015-03-02 19:02:18 +01:00
|
|
|
|
2015-02-12 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/64885
|
|
|
|
|
* gthr-single.h: Use __unused__ attribute instead of unused.
|
|
|
|
|
* config/gthr-vxworks.h: Likewise.
|
|
|
|
|
* config/i386/gthr-win32.h: Likewise.
|
|
|
|
|
|
2015-02-27 14:19:38 +01:00
|
|
|
|
2015-02-27 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/65038
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
* configure.ac (AC_HEADER_STDC): Added explicit.
|
|
|
|
|
(AC_CHECK_HEADERS): Check for default headers plus
|
|
|
|
|
for ftw.h header.
|
|
|
|
|
* libgcov-util.c (gcov_read_profile_dir): Disable use
|
|
|
|
|
of ftw-function, if header is not found.
|
|
|
|
|
(ftw_read_file): Likewise.
|
|
|
|
|
|
2015-02-23 18:51:41 +01:00
|
|
|
|
2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR target/65181
|
|
|
|
|
* config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
|
|
|
|
|
-Dinhibit_libc.
|
|
|
|
|
|
2015-02-17 18:39:22 +01:00
|
|
|
|
2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/bpabi.S (test_div_by_zero): Make label names
|
|
|
|
|
consistent between thumb2 and arm mode cases. Separate the
|
|
|
|
|
signed comparison on the high word of the numerator from the
|
|
|
|
|
unsigned comparison on the low word.
|
|
|
|
|
* config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
|
|
|
|
|
signed comparison.
|
|
|
|
|
|
2015-02-17 17:19:56 +01:00
|
|
|
|
2015-02-17 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
|
|
|
|
|
and <string.h>.
|
|
|
|
|
(__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
|
|
|
|
|
|
2015-02-10 15:13:13 +01:00
|
|
|
|
2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/61889
|
2015-02-10 15:14:09 +01:00
|
|
|
|
* libgcov-driver-system.c: undefine clashing macro for mkdir.
|
2015-02-10 15:13:13 +01:00
|
|
|
|
|
2015-02-04 17:39:16 +01:00
|
|
|
|
2015-02-02 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
|
|
|
|
|
rounding up the fraction.
|
|
|
|
|
|
2015-01-31 20:45:53 +01:00
|
|
|
|
2015-01-31 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
|
|
|
|
|
oldval and newval to const void *. Fix typo.
|
|
|
|
|
(FETCH_AND_OP_2): Use __atomic_load_n to load value.
|
|
|
|
|
(FETCH_AND_OP_WORD): Likewise.
|
|
|
|
|
(OP_AND_FETCH_WORD): Likewise.
|
|
|
|
|
(COMPARE_AND_SWAP_2): Likewise.
|
|
|
|
|
(__sync_val_compare_and_swap_4): Likewise.
|
|
|
|
|
(__sync_lock_test_and_set_4): Likewise.
|
|
|
|
|
(SYNC_LOCK_RELEASE_2): Likewise.
|
|
|
|
|
Remove support for long long atomic operations.
|
|
|
|
|
|
Committing VTV Cygwin patch for Patrick Wollgast
* gcc/config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
if -fvtable-verify=preinit/std is used.
* gcc/config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
* gcc/config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
* gcc/config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
if -fvtable-verify=preinit/std is used.
* gcc/config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
* gcc/config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
if -fvtable-verify=preinit/std is used.
* gcc/config/i386/mingw-w64.h (LIB_SPEC): Likewise.
* gcc/config/i386/mingw32.h (LIB_SPEC): Likewise.
* gcc/cp/vtable-class-hierarchy.c (vtv_generate_init_routine): Add
check for not TARGET_PECOFF at the VTV_PREINIT_PRIORITY checks.
* gcc/varasm.c (assemble_variable): Add code to properly set the comdat
section and name for the .vtable_map_vars section in case the
target is PE or COFF.
* libgcc/Makefile.in: Move rules to build vtv_*.o out of the check
for CUSTOM_CRTSTUFF.
* libgcc/config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*, i[34567]86-*-mingw*)
(x86_64-*-mingw*): Only add vtv_*.o to extra_parts if enable_vtable_verify.
* libstdc++-v3/acinclude.m4: Define VTV_CYGMIN.
* libstdc++-v3/configure: Regenerate.
* libstdc++-v3/libsupc++/Makefile.am: Add vtv_sources only to
libsupc___la_SOURCES and libsupc__convenience_la_SOURCES if VTV_CYGMIN is
not set.
* libstdc++-v3/libsupc++/Makefile.in: Regenerated.
* libstdc++-v3/libsupc++/vtv_stubs.cc: Add none weak declaration of every
function for Cygwin and MinGW.
* libstdc++-v3/src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES,
if VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
* libstdc++-v3/src/Makefile.in: Regenerate.
* libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if VTV_CYGMIN
is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS, libvtv_stubs_la_LDFLAGS
and libvtv_stubs_la_SOURCES if VTV_CYGMIN is set. Add obstac.c to
libvtv_la_SOURCES if VTV_CYGMIN is set.
* libvtv/Makefile.in : Regenerate.
* libvtv/aclocal.m4 : Regenerate.
* libvtv/configure : Regenerate.
* libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
* libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*, x86_64-*-mingw*)
(i?86-*-mingw*): Add to supported targets.
* libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
(log_error_message): Skip calls to backtrace and backtrace_symbols_fd on Cygwin
and MinGW.
* libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h inclusion on
Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
(obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc on Cygwin
and MinGW.
(__vtv_malloc_init): Exchange call to sysconf with call to port of sysconf on
Cygwin and MinGW.
* libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and PROT_WRITE on
Cygwin and MinGW.
* libvtv/map.h : Include stdint.h on MinGW.
* libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip include of
execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.
Add port of __fortify_fail on Cygwin and MinGW.
Change ElfW (Addr) to uintptr_t on Cygwin and MinGW.
(read_section_offset_and_length): Add port for Cygwin and MinGW
(iterate_modules): New function.
(vtv_unprotect_vtable_vars): Use iterate_modules instead of dl_iterate_phdr on
Cygwin and MinGW.
(vtv_protect_vtable_vars): Likewise.
(count_all_pages): Likewise.
(dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
* libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
Cygwin and MinGW.
(__vtv_open_log): Exchange call to getuid and getpid with GetCurrentProcessId and
adjust call to snprintf accordingly on Cygwin and MinGW.
Adjust calls to mkdir on MinGW.
Adjust call to open on Cygwin and MinGW.
(__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
(__vtv_log_verification_failure): Don't generate a backtrace on Cygwin and MinGW.
From-SVN: r220232
2015-01-29 09:03:56 +01:00
|
|
|
|
2015-01-27 Caroline Tice <cmtice@google.com>
|
|
|
|
|
|
|
|
|
|
Committing VTV Cywin/Ming patch for Patrick Wollgast
|
|
|
|
|
* Makefile.in: Move rules to build vtv_*.o out of the check
|
|
|
|
|
for CUSTOM_CRTSTUFF.
|
|
|
|
|
* config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
|
|
|
|
|
i[34567]86-*-mingw*)
|
|
|
|
|
(x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
|
|
|
|
|
enable_vtable_verify.
|
|
|
|
|
|
cmpsi2.S: Use function start and end macros.
* config/rl78/cmpsi2.S: Use function start and end macros.
(__gcc_bcmp): New function.
* config/rl78/lshrsi3.S: Use function start and end macros.
* config/rl78/mulsi3.S: Add support for G10.
(__mulqi3): New function for G10.
* config/rl78/signbit.S: Use function start and end macros.
* config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
fpmath-sf.S.
(LIB2FUNCS_EXCLUDE): Define.
(LIB2FUNCS_ST): Define.
* config/rl78/trampoline.S: Use function start and end macros.
* config/rl78/vregs.h (START_FUNC): New macro.
(START_ANOTHER_FUNC): New macro.
(END_FUNC): New macro.
(END_ANOTHER_FUNC): New macro.
* config/rl78/bit-count.S: New file. Contains assembler
implementations of the bit counting functions: ___clzhi2,
__clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
__paritysi2, __popcounthi2 and __popcountsi2.
* config/rl78/fpbit-sf.S: New file. Contains assembler
implementationas of the math functions: __negsf2, __cmpsf2,
__eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
__fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
* config/rl78/fpmath-sf.S: New file. Contains assembler
implementations of the math functions: __subsf3, __addsf3,
__mulsf3 and __divsf3
From-SVN: r220162
2015-01-27 12:36:01 +01:00
|
|
|
|
2015-01-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/cmpsi2.S: Use function start and end macros.
|
|
|
|
|
(__gcc_bcmp): New function.
|
|
|
|
|
* config/rl78/lshrsi3.S: Use function start and end macros.
|
|
|
|
|
* config/rl78/mulsi3.S: Add support for G10.
|
|
|
|
|
(__mulqi3): New function for G10.
|
|
|
|
|
* config/rl78/signbit.S: Use function start and end macros.
|
|
|
|
|
* config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
|
|
|
|
|
fpmath-sf.S.
|
|
|
|
|
(LIB2FUNCS_EXCLUDE): Define.
|
|
|
|
|
(LIB2FUNCS_ST): Define.
|
|
|
|
|
* config/rl78/trampoline.S: Use function start and end macros.
|
|
|
|
|
* config/rl78/vregs.h (START_FUNC): New macro.
|
|
|
|
|
(START_ANOTHER_FUNC): New macro.
|
|
|
|
|
(END_FUNC): New macro.
|
|
|
|
|
(END_ANOTHER_FUNC): New macro.
|
|
|
|
|
* config/rl78/bit-count.S: New file. Contains assembler
|
|
|
|
|
implementations of the bit counting functions: ___clzhi2,
|
|
|
|
|
__clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
|
|
|
|
|
__paritysi2, __popcounthi2 and __popcountsi2.
|
|
|
|
|
* config/rl78/fpbit-sf.S: New file. Contains assembler
|
|
|
|
|
implementationas of the math functions: __negsf2, __cmpsf2,
|
|
|
|
|
__eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
|
|
|
|
|
__fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
|
|
|
|
|
* config/rl78/fpmath-sf.S: New file. Contains assembler
|
|
|
|
|
implementations of the math functions: __subsf3, __addsf3,
|
|
|
|
|
__mulsf3 and __divsf3
|
|
|
|
|
|
2015-01-27 11:02:26 +01:00
|
|
|
|
2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
|
|
|
|
|
Add i386/elf-lib.h to tm_file.
|
|
|
|
|
* config/i386/elf-lib.h: Fix comment.
|
|
|
|
|
* unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
|
|
|
|
|
&& __sun__ && __svr4__]: Remove workaround.
|
|
|
|
|
|
2015-01-25 19:17:46 +01:00
|
|
|
|
2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
|
|
|
|
|
FEATURE_BMI2.
|
|
|
|
|
(get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
|
|
|
|
|
|
2015-01-25 05:42:50 +01:00
|
|
|
|
2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (processor_subtypes): Add
|
|
|
|
|
INTEL_COREI7_BROADWELL.
|
|
|
|
|
(get_intel_cpu): Support new Silvermont, Haswell and Broadwell
|
|
|
|
|
model numbers.
|
|
|
|
|
|
2015-01-23 20:46:43 +01:00
|
|
|
|
2015-01-23 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/elf-lib.h: New file.
|
|
|
|
|
(CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
|
|
|
|
|
Wrap definition in #ifdef __i386__.
|
|
|
|
|
* libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
|
|
|
|
|
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
|
|
|
|
|
(i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
|
|
|
|
|
(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
|
|
|
|
|
to tm_file.
|
|
|
|
|
|
2015-01-22 17:22:31 +01:00
|
|
|
|
2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
|
|
|
|
|
|
|
|
|
|
* unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
|
|
|
|
|
"(char *)" to avoid qualifier warning by 'xgcc' compiling.
|
|
|
|
|
|
2015-01-20 15:49:51 +01:00
|
|
|
|
2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nios2/linux-unwind.h (nios2_fallback_frame_state):
|
|
|
|
|
Update rt_sigframe format and address for current Nios II
|
|
|
|
|
Linux conventions.
|
|
|
|
|
|
2015-01-09 15:06:02 +01:00
|
|
|
|
2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host (arm*-*-freebsd*): Add new configuration for
|
|
|
|
|
arm*-*-freebsd*.
|
|
|
|
|
* config/arm/freebsd-atomic.c: New file.
|
|
|
|
|
* config/arm/t-freebsd: Likewise.
|
|
|
|
|
* config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
|
|
|
|
|
'PC-relative indirect' OS's.
|
|
|
|
|
|
2015-01-06 09:50:12 +01:00
|
|
|
|
2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add Visium support.
|
|
|
|
|
* config/visium: New directory.
|
|
|
|
|
|
2015-01-05 13:33:28 +01:00
|
|
|
|
2015-01-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
MIPS32R6 and MIPS64R6 support
gcc/
* config.gcc: Add mipsisa64r6 and mipsisa32r6 cpu support.
* config/mips/constraints.md (ZD): Add r6 restrictions.
* config/mips/gnu-user.h (DRIVER_SELF_SPECS): Add MIPS_ISA_LEVEL_SPEC.
* config/mips/loongson.md
(<u>div<mode>3, <u>mod<mode>3): Move to mips.md.
* config/mips/mips-cpus.def (mips32r6, mips64r6): Define.
* config/mips/mips-modes.def (CCF): New mode.
* config/mips/mips-protos.h
(mips_9bit_offset_address_p): New prototype.
* config/mips/mips-tables.opt: Regenerate.
* config/mips/mips.c (MIPS_JR): Use JALR $, <reg> for R6.
(mips_rtx_cost_data): Add pseudo-processors W32 and W64.
(mips_9bit_offset_address_p): New function.
(mips_rtx_costs): Account for R6 multiply and FMA instructions.
(mips_emit_compare): Implement R6 FPU comparisons.
(mips_expand_conditional_move): Implement R6 selects.
(mips_expand_conditional_trap): Account for removed trap immediate.
(mips_expand_block_move): Disable inline move when LWL/LWR are removed.
(mips_print_float_branch_condition): Update for R6 FPU branches.
(mips_print_operand): Handle CCF mode compares.
(mips_interrupt_extra_call_saved_reg_p): Do not attempt to callee-save
MD_REGS for R6.
(mips_hard_regno_mode_ok_p): Support CCF mode.
(mips_mode_ok_for_mov_fmt_p): Likewise.
(mips_secondary_reload_class): CCFmode can be loaded directly.
(mips_set_fast_mult_zero_zero_p): Account for R6 multiply instructions.
(mips_option_override): Ensure R6 is used with fp64. Set default
mips_nan modes. Check for mips_nan support. Prevent DSP with R6.
(mips_conditional_register_usage): Disable MD_REGS for R6. Disable
FPSW for R6.
(mips_mulsidi3_gen_fn): Support R6 multiply instructions.
* config/mips/mips.h (ISA_MIPS32R6, ISA_MIPS64R6): Define.
(TARGET_CPU_CPP_BUILTINS): Rework for mips32/mips64.
(ISA_HAS_JR): New macro.
(ISA_HAS_HILO): New macro.
(ISA_HAS_R6MUL): Likewise.
(ISA_HAS_R6DMUL): Likewise.
(ISA_HAS_R6DIV): Likewise.
(ISA_HAS_R6DDIV): Likewise.
(ISA_HAS_CCF): Likewise.
(ISA_HAS_SEL): Likewise.
(ISA_HAS_COND_TRAPI): Likewise.
(ISA_HAS_FP_MADDF_MSUBF): Likewise.
(ISA_HAS_LWL_LWR): Likewise.
(ISA_HAS_IEEE_754_LEGACY): Likewise.
(ISA_HAS_IEEE_754_2008): Likewise.
(ISA_HAS_PREFETCH_9BIT): Likewise.
(MIPSR6_9BIT_OFFSET_P): New macro.
(BASE_DRIVER_SELF_SPECS): Use MIPS_ISA_DRIVER_SELF_SPECS.
(DRIVER_SELF_SPECS): Use MIPS_ISA_LEVEL_SPEC.
(MULTILIB_ISA_DEFAULT): Handle mips32r6 and mips64r6.
(MIPS_ISA_LEVEL_SPEC): Likewise.
(MIPS_ISA_SYNCI_SPEC): Likewise.
(ISA_HAS_64BIT_REGS): Likewise.
(ISA_HAS_BRANCHLIKELY): Likewise.
(ISA_HAS_MUL3): Likewise.
(ISA_HAS_DMULT): Likewise.
(ISA_HAS_DDIV): Likewise.
(ISA_HAS_DIV): Likewise.
(ISA_HAS_MULT): Likewise.
(ISA_HAS_FP_CONDMOVE): Likewise.
(ISA_HAS_8CC): Likewise.
(ISA_HAS_FP4): Likewise.
(ISA_HAS_PAIRED_SINGLE): Likewise.
(ISA_HAS_MADD_MSUB): Likewise.
(ISA_HAS_FP_RECIP_RSQRT): Likewise.
* config/mips/mips.md (processor): Add w32 and w64.
(FPCC): New mode iterator.
(reg): Add CCF mode.
(fpcmp): New mode attribute.
(fcond): Add ordered, ltgt and ne codes.
(fcond): Update code attribute.
(sel): New code attribute.
(selinv): Likewise.
(ctrap<mode>4): Update condition.
(*conditional_trap_reg<mode>): New define_insn.
(*conditional_trap<mode>): Update condition.
(mul<mode>3): Expand R6 multiply instructions.
(<su>mulsi3_highpart): Likewise.
(<su>muldi3_highpart): Likewise.
(mul<mode>3_mul3_loongson): Rename...
(mul<mode>3_mul3_hilo): To this. Add R6 mul instruction.
(<u>mulsidi3_32bit_r6): New expander.
(<u>mulsidi3_32bit): Restrict to pre-r6 multiplies.
(<u>mulsidi3_32bit_r4000): Likewise.
(<u>mulsidi3_64bit): Likewise.
(<su>mulsi3_highpart_internal): Likewise.
(mulsidi3_64bit_r6dmul): New instruction.
(<su>mulsi3_highpart_r6): Likewise.
(<su>muldi3_highpart_r6): Likewise.
(fma<mode>4): Likewise.
(movccf): Likewise.
(*sel<code><GPR:mode>_using_<GPR2:mode>): Likewise.
(*sel<mode>): Likewise.
(<u>div<mode>3): Moved from loongson.md. Add R6 instructions.
(<u>mod<mode>3): Likewise.
(extvmisalign<mode>): Require ISA_HAS_LWL_LWR.
(extzvmisalign<mode>): Likewise.
(insvmisalign<mode>): Likewise.
(mips_cache): Account for R6 displacement field sizes.
(*branch_fp): Rename...
(*branch_fp_<mode>): To this. Add CCFmode support.
(*branch_fp_inverted): Rename...
(*branch_fp_inverted_<mode>): To this. Add CCFmode support.
(s<code>_<mode>): Rename...
(s<code>_<SCALARF:mode>_using_<FPCC:mode>): To this. Add FCCmode
condition support.
(s<code>_<mode> swapped): Rename...
(s<code>_<SCALARF:mode>_using_<FPCC:mode> swapped): To this. Add
CCFmode condition support.
(mov<mode>cc GPR): Expand R6 selects.
(mov<mode>cc FPR): Expand R6 selects.
(*tls_get_tp_<mode>_split): Do not .set push for >= mips32r2.
* config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Update similarly to
mips.h.
(ASM_SPEC): Add mips32r6, mips64r6.
* config/mips/t-isa3264 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Update
for mips32r6/mips64r6.
* doc/invoke.texi: Document -mips32r6,-mips64r6.
* doc/md.texi: Update comment for ZD constraint.
libgcc/
* config.host: Support mipsisa32r6 and mipsisa64r6.
* config/mips/mips16.S: Do not build for R6.
gcc/testsuite/
* gcc.dg/torture/mips-hilo-2.c: Unconditionally pass for R6 onwards.
* gcc.dg/torture/pr19683-1.c: Likewise.
* gcc.target/mips/branch-cost-2.c: Require MOVN.
* gcc.target/mips/movcc-1.c: Likewise.
* gcc.target/mips/movcc-2.c: Likewise.
* gcc.target/mips/movcc-3.c: Likewise.
* gcc.target/mips/call-saved-4.c: Require LDC.
* gcc.target/mips/dmult-1.c: Require R5 or earlier.
* gcc.target/mips/fpcmp-1.c: Likewise.
* gcc.target/mips/fpcmp-2.c: Likewise.
* gcc.target/mips/neg-abs-2.c: Likewise.
* gcc.target/mips/timode-1.c: Likewise.
* gcc.target/mips/unaligned-1.c: Likewise.
* gcc.target/mips/madd-3.c: Require MADD.
* gcc.target/mips/madd-9.c: Likewise.
* gcc.target/mips/maddu-3.c: Likewise.
* gcc.target/mips/msub-3.c: Likewise.
* gcc.target/mips/msubu-3.c: Likewise.
* gcc.target/mips/mult-1.c: Require INS and not DMUL.
* gcc.target/mips/mips-ps-type-2.c: Require MADD.PS.
* gcc.target/mips/mips.exp (mips_option_groups): Add ins, dmul, ldc,
movn, madd, maddps.
(mips-dg-options): INS available from R2. LDC available from MIPS II,
DMUL is present in octeon. Describe all features removed from R6.
Co-Authored-By: Steve Ellcey <sellcey@imgtec.com>
From-SVN: r218973
2014-12-19 21:17:36 +01:00
|
|
|
|
2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Support mipsisa32r6 and mipsisa64r6.
|
|
|
|
|
* config/mips/mips16.S: Do not build for R6.
|
|
|
|
|
|
2014-12-17 03:01:10 +01:00
|
|
|
|
2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/crt.h: New.
|
|
|
|
|
* config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
|
|
|
|
|
symbols.
|
|
|
|
|
* config/sh/crt1.S: Likewise.
|
|
|
|
|
|
2014-12-15 19:43:26 +01:00
|
|
|
|
2014-12-15 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/63832
|
|
|
|
|
* crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
|
|
|
|
|
func_ptr *dtor_list temporary variable to avoid "array subscript
|
|
|
|
|
is above array bounds" warnings.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
|
2014-12-09 21:48:48 +01:00
|
|
|
|
|
|
|
|
|
* Makefile.in (with_aix_soname): Define.
|
|
|
|
|
* config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
|
|
|
|
|
* configure.ac: Accept --with-aix-soname=aix|svr4|both option.
|
|
|
|
|
* configure: Recreate.
|
|
|
|
|
|
2014-12-05 18:01:42 +01:00
|
|
|
|
2014-12-05 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
|
|
|
|
|
now provided by defaults.h.
|
|
|
|
|
|
2014-11-30 20:03:29 +01:00
|
|
|
|
2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
2014-12-09 23:40:20 +01:00
|
|
|
|
PR target/55351
|
2014-11-30 20:03:29 +01:00
|
|
|
|
* config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
|
|
|
|
|
whether it's defined.
|
|
|
|
|
|
2014-11-27 14:51:10 +01:00
|
|
|
|
2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
|
|
|
|
|
* config/i386/cpuinfo.c (get_available_features): Detect it.
|
|
|
|
|
|
2014-11-27 14:38:51 +01:00
|
|
|
|
2014-11-27 Tony Wang <tony.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/lib1funcs.S (FUNC_START): Add conditional section
|
|
|
|
|
redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
|
|
|
|
|
(SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
|
|
|
|
|
|
2014-11-25 18:50:29 +01:00
|
|
|
|
2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
|
|
|
|
|
|
2014-11-25 00:39:47 +01:00
|
|
|
|
2014-11-24 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
|
|
|
|
|
instead.
|
|
|
|
|
|
2014-11-22 01:18:49 +01:00
|
|
|
|
2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
|
|
|
|
|
John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
|
|
|
|
|
(FETCH_AND_OP_2): New. Use for subword and double word operations.
|
|
|
|
|
(OP_AND_FETCH_2): Likewise.
|
|
|
|
|
(COMPARE_AND_SWAP_2): Likewise.
|
|
|
|
|
(SYNC_LOCK_TEST_AND_SET_2): Likewise.
|
|
|
|
|
(SYNC_LOCK_RELEASE_2): Likewise.
|
|
|
|
|
(SUBWORD_SYNC_OP): Remove.
|
|
|
|
|
(SUBWORD_VAL_CAS): Likewise.
|
|
|
|
|
(SUBWORD_BOOL_CAS): Likewise.
|
|
|
|
|
(FETCH_AND_OP_WORD): Update.
|
|
|
|
|
Consistently use signed types.
|
2015-04-28 11:23:40 +02:00
|
|
|
|
|
[PATCH 1/7] OpenMP 4.0 offloading infrastructure: configure and make
* configure: Regenerate.
* configure.ac (--enable-as-accelerator-for)
(--enable-offload-targets): New configure options.
gcc/
* Makefile.in (real_target_noncanonical, accel_dir_suffix)
(enable_as_accelerator): New variables substituted by configure.
(libsubdir, libexecsubdir, unlibsubdir): Tweak for the possibility of
being configured as an offload compiler.
(DRIVER_DEFINES): Pass new defines DEFAULT_REAL_TARGET_MACHINE and
ACCEL_DIR_SUFFIX.
(install-cpp, install-common, install_driver, install-gcc-ar): Do not
install for the offload compiler.
* config.in: Regenerate.
* configure: Regenerate.
* configure.ac (real_target_noncanonical, accel_dir_suffix)
(enable_as_accelerator): Compute new variables.
(ACCEL_COMPILER): Define if the compiler is built as the accel compiler.
(OFFLOAD_TARGETS): List of target names suitable for offloading.
(ENABLE_OFFLOADING): Define if list of offload targets is not empty.
gcc/cp/
* Make-lang.in (c++.install-common): Do not install for the offload
compiler.
gcc/doc/
* install.texi (Options specification): Document
--enable-as-accelerator-for and --enable-offload-targets.
gcc/fortran/
* Make-lang.in (fortran.install-common): Do not install for the offload
compiler.
libgcc/
* Makefile.in (crtoffloadbegin$(objext)): New rule.
(crtoffloadend$(objext)): Likewise.
* configure: Regenerate.
* configure.ac (accel_dir_suffix): Compute new variable.
(extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
if enable_offload_targets is not empty.
* offloadstuff.c: New file.
libgomp/
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check for libdl, required for plugin support.
(PLUGIN_SUPPORT): Define if plugins are supported.
(enable_offload_targets): Support Intel MIC targets.
(OFFLOAD_TARGETS): List of target names suitable for offloading.
lto-plugin/
* Makefile.am (libexecsubdir): Tweak for the possibility of being
configured for offload compiler.
(accel_dir_suffix, real_target_noncanonical): New variables substituted
by configure.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
variables.
Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
From-SVN: r217485
2014-11-13 14:28:56 +01:00
|
|
|
|
2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
Ilya Verbin <ilya.verbin@intel.com>
|
|
|
|
|
Andrey Turetskiy <andrey.turetskiy@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (crtoffloadbegin$(objext)): New rule.
|
|
|
|
|
(crtoffloadend$(objext)): Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac (accel_dir_suffix): Compute new variable.
|
|
|
|
|
(extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
|
|
|
|
|
if enable_offload_targets is not empty.
|
|
|
|
|
* offloadstuff.c: New file.
|
|
|
|
|
|
2014-11-13 09:34:41 +01:00
|
|
|
|
2014-11-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/divmodhi.S: Add support for the G10 architecture.
|
|
|
|
|
Use START_FUNC and END_FUNC macros to enable linker garbage
|
|
|
|
|
collection.
|
|
|
|
|
* config/rl78/divmodqi.S: Likewise.
|
|
|
|
|
* config/rl78/divmodsi.S: Likewise.
|
|
|
|
|
* config/rl78/mulsi3.S: Likewise.
|
|
|
|
|
* config/rl78/lib2div.c: Remove G10 functions.
|
|
|
|
|
* config/rl78/lib2muls.c: Likewise.
|
|
|
|
|
* config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
|
|
|
|
|
* config/rl78/vregs.h (START_FUNC): New macro.
|
|
|
|
|
(END_FUNC): New macro.
|
|
|
|
|
|
Implement MIPS o32 FPXX, FP64, FP64A ABI extensions.
2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
gcc/
* common/config/mips/mips-common.c (mips_handle_option): Ensure
that -mfp32, -mfp64 disable -mfpxx and -mfpxx disables -mfp64.
* config.gcc (--with-fp-32): New option.
(--with-odd-spreg-32): Likewise.
* config.in (HAVE_AS_DOT_MODULE): New config define.
* config/mips/mips-protos.h
(mips_secondary_memory_needed): New prototype.
(mips_hard_regno_caller_save_mode): Likewise.
* config/mips/mips.c (mips_get_reg_raw_mode): New static prototype.
(mips_get_arg_info): Assert that V2SFmode is only handled specially
with TARGET_PAIRED_SINGLE_FLOAT.
(mips_return_mode_in_fpr_p): Likewise.
(mips16_call_stub_mode_suffix): Likewise.
(mips_get_reg_raw_mode): New static function.
(mips_return_fpr_pair): O32 return values span two registers.
(mips16_build_call_stub): Likewise.
(mips_function_value_regno_p): Support both FP return registers.
(mips_output_64bit_xfer): Use mthc1 whenever TARGET_HAS_MXHC1. Add
specific cases for TARGET_FPXX to move via memory.
(mips_dwarf_register_span): For TARGET_FPXX pretend that modes larger
than UNITS_PER_FPREG 'span' one register.
(mips_dwarf_frame_reg_mode): New static function.
(mips_file_start): Switch to using .module instead of .gnu_attribute.
No longer support FP ABI 4 (-mips32r2 -mfp64), replace with FP ABI 6.
Add FP ABI 5 (-mfpxx) and FP ABI 7 (-mfp64 -mno-odd-spreg).
(mips_save_reg, mips_restore_reg): Always represent DFmode frame
slots with two CFI directives even for O32 FP64.
(mips_for_each_saved_gpr_and_fpr): Account for fixed_regs when
saving/restoring callee-saved registers.
(mips_hard_regno_mode_ok_p): Implement O32 FP64A extension.
(mips_secondary_memory_needed): New function.
(mips_option_override): ABI check for TARGET_FLOATXX. Disable
odd-numbered single-precision registers when using TARGET_FLOATXX.
Implement -modd-spreg and defaults.
(mips_conditional_register_usage): Redefine O32 FP64 to match O32 FP32
callee-saved behaviour.
(mips_hard_regno_caller_save_mode): Implement.
(TARGET_GET_RAW_RESULT_MODE): Define target hook.
(TARGET_GET_RAW_ARG_MODE): Define target hook.
(TARGET_DWARF_FRAME_REG_MODE): Define target hook.
* config/mips/mips.h (TARGET_FLOAT32): New macro.
(TARGET_O32_FP64A_ABI): Likewise.
(TARGET_CPU_CPP_BUILTINS): TARGET_FPXX is __mips_fpr==0. Add
_MIPS_SPFPSET builtin define.
(MIPS_FPXX_OPTION_SPEC): New macro.
(OPTION_DEFAULT_SPECS): Pass through --with-fp-32=* to -mfp and
--with-odd-spreg-32=* to -m[no-]odd-spreg.
(ISA_HAS_ODD_SPREG): New macro.
(ISA_HAS_MXHC1): True for anything other than -mfp32.
(ASM_SPEC): Pass through mfpxx, mfp64, -mno-odd-spreg and -modd-spreg.
(MIN_FPRS_PER_FMT): Redefine in terms of TARGET_ODD_SPREG.
(HARD_REGNO_CALLER_SAVE_MODE): Define. Implement O32 FPXX extension
(HARD_REGNO_CALL_PART_CLOBBERED): Likewise.
(SECONDARY_MEMORY_NEEDED): Likewise.
(FUNCTION_ARG_REGNO_P): Update for O32 FPXX and FP64 extensions.
* config/mips/mips.md (define_attr enabled): Implement O32 FPXX and
FP64A ABI extensions.
(move_doubleword_fpr<mode>): Use ISA_HAS_MXHC1 instead of
TARGET_FLOAT64.
* config/mips/mips.opt (mfpxx): New target option.
(modd-spreg): Likewise.
* config/mips/mti-elf.h (DRIVER_SELF_SPECS): Infer FP ABI from arch.
* config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise and remove
fp64 sysroot.
* config/mips/t-mti-elf: Remove fp64 multilib.
* config/mips/t-mti-linux: Likewise.
* configure.ac: Detect .module support.
* configure: Regenerate.
* doc/invoke.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg option.
* doc/install.texi (--with-fp-32, --with-odd-spreg-32): Document new
options.
gcc/testsuite/
* gcc.target/mips/args-1.c: Handle __mips_fpr == 0.
* gcc.target/mips/call-clobbered-1.c: New.
* gcc.target/mips/call-clobbered-2.c: New.
* gcc.target/mips/call-clobbered-3.c: New.
* gcc.target/mips/call-clobbered-4.c: New.
* gcc.target/mips/call-clobbered-5.c: New.
* gcc.target/mips/call-saved-4.c: New.
* gcc.target/mips/call-saved-5.c: New.
* gcc.target/mips/call-saved-6.c: New.
* gcc.target/mips/mips.exp: Support -mfpxx, -ffixed-f*,
and -m[no-]odd-spreg. Use _MIPS_SPFPSET to determine default
odd-spreg option. Account for -modd-spreg in minimum arch code.
* gcc.target/mips/movdf-1.c: New.
* gcc.target/mips/movdf-2.c: New.
* gcc.target/mips/movdf-3.c: New.
* gcc.target/mips/oddspreg-1.c: New.
* gcc.target/mips/oddspreg-2.c: New.
* gcc.target/mips/oddspreg-3.c: New.
* gcc.target/mips/oddspreg-4.c: New.
* gcc.target/mips/oddspreg-5.c: New.
* gcc.target/mips/oddspreg-6.c: New.
libgcc/
* config/mips/mips16.S: Set .module when supported. Update O32
FP64 calling convention and use for FPXX when possible. Add FPXX
calling convention fallback case.
From-SVN: r217446
2014-11-12 22:39:46 +01:00
|
|
|
|
2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips16.S: Set .module when supported. Update O32
|
|
|
|
|
FP64 calling convention and use for FPXX when possible. Add FPXX
|
|
|
|
|
calling convention fallback case.
|
|
|
|
|
|
2014-11-10 17:12:42 +01:00
|
|
|
|
2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Handle nvptx-*-*.
|
|
|
|
|
* shared-object.mk (as-flags-$o): Define.
|
|
|
|
|
($(base)$(objext), $(base)_s$(objext)): Use it instead of
|
|
|
|
|
-xassembler-with-cpp.
|
|
|
|
|
* static-object.mk: Identical changes.
|
|
|
|
|
* config/nvptx/t-nvptx: New file.
|
|
|
|
|
* config/nvptx/crt0.s: New file.
|
|
|
|
|
* config/nvptx/free.asm: New file.
|
|
|
|
|
* config/nvptx/malloc.asm: New file.
|
|
|
|
|
* config/nvptx/realloc.c: New file.
|
|
|
|
|
|
Make soft-fp symbols into compat symbols for powerpc*-*-linux*.
Continuing preparations for implementing
TARGET_ATOMIC_ASSIGN_EXPAND_FENV for powerpc*-*-linux* soft-float and
e500, this patch makes soft-fp symbols used for those targets into
compat symbols when building with glibc >= 2.19, so that they are only
in shared libgcc for existing binaries requiring them, not in static
libgcc and not available for new links using shared libgcc. Instead,
new links will get the symbols from libc, which has exported all of
them since 2.19. (Actually all the symbols were exported from glibc
since 2.4, but some of them were exported by glibc as compat symbols
only - because of a confusion between deliberately present soft-fp
symbols and old accidental reexports of libgcc functions from glibc
2.0 - until 2.19.)
This allows user floating-point arithmetic to interoperate properly
with the state handled by <fenv.h> functions, whether software state
(for soft-float; TLS variables that don't form a public part of
glibc's ABI, so can only be accessed directly by functions within
glibc) or hardware state (for e500 - the copies of the soft-fp
functions in glibc being built to interoperate with the hardware state
whereas those in libgcc aren't). Previously only glibc's own
functions, and those operations done in hardware on e500, properly
worked with that state, not direct floating-point arithmetic
operations that were implemented in software.
The intended next step is the actual TARGET_ATOMIC_ASSIGN_EXPAND_FENV
implementation.
The test of glibc >= 2.19 uses the same --with-glibc-version configure
option as in the gcc/ directory (but differently implemented; in gcc/
the fallback is to examine headers to find the version, while in
libgcc/ we can use compile for the target and so use AC_COMPUTE_INT).
The TARGET_ATOMIC_ASSIGN_EXPAND_FENV implementation will also only do
anything for glibc >= 2.19, as it will depend on generating calls to
functions __atomic_feholdexcept __atomic_feclearexcept
__atomic_feupdateenv that were added in 2.19 for that purpose (even
for e500, inline code is not readily possible because of the need to
make prctl syscalls from the implementation of these functions).
In order to make symbols compat symbols, the soft-fp files need
wrapping with generated wrappers including asm .symver directives,
which need to name the symbol version in question. This is extracted
by an awk script from an intermediate stage of generating the .map
file for linking libgcc (that .map itself depends on the objects that
go into the library, so can't be used for this purpose as that would
mean a circular dependency); the extraction is not fully general
regarding the features available in .map generation, but suffices for
the present purpose.
It would make sense for hardfp.c symbols to be compat symbols as well
(in the cases where hardfp.c gets used, the functions in question
should not be used for new links), but this isn't required for the
present purpose, which is only concerned with ensuring that where
functions that should be affected by rounding modes or exceptions get
used, those functions are actually affected by those rounding modes or
exceptions.
Tested with no regressions with cross to powerpc-linux-gnu
(soft-float); c11-atomic-exec-5.c moves from UNSUPPORTED to FAIL, as
expected, now that floating-point arithmetic in user programs uses the
same state as <fenv.h> functions, so the fenv_exceptions test passes,
but TARGET_ATOMIC_ASSIGN_EXPAND_FENV isn't yet implemented. (For
e500, c11-atomic-exec-5.c was already FAILing, as enough operations
worked with the hardware state for the fenv_exceptions effective
target test to pass.) Also verified that the exported symbols and
versions are unchanged, with the expected symbols becoming compat
symbols at the same versions, and that with --with-glibc-version=2.18
the symbols remain normal rather than compat symbols.
* Makefile.in (libgcc.map.in): New target.
(libgcc.map): Use libgcc.map.in.
* config/t-softfp (softfp_compat): New variable to be set by
users.
[$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
variables.
[$(softfp_compat) = y] (softfp_file_list): Use files in the build
directory.
[$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
that use compat symbols and disable all code unless [SHARED].
* config/t-softfp-compat: New file.
* find-symver.awk: New file.
* configure.ac (--with-glibc-version): New configure option.
(ppc_fp_compat): New variable set for powerpc*-*-linux*.
* configure: Regenerate.
* config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
soft-float and e500.
From-SVN: r216942
2014-10-30 18:28:30 +01:00
|
|
|
|
2014-10-30 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (libgcc.map.in): New target.
|
|
|
|
|
(libgcc.map): Use libgcc.map.in.
|
|
|
|
|
* config/t-softfp (softfp_compat): New variable to be set by
|
|
|
|
|
users.
|
|
|
|
|
[$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
|
|
|
|
|
variables.
|
|
|
|
|
[$(softfp_compat) = y] (softfp_file_list): Use files in the build
|
|
|
|
|
directory.
|
|
|
|
|
[$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
|
|
|
|
|
that use compat symbols and disable all code unless [SHARED].
|
|
|
|
|
* config/t-softfp-compat: New file.
|
|
|
|
|
* find-symver.awk: New file.
|
|
|
|
|
* configure.ac (--with-glibc-version): New configure option.
|
|
|
|
|
(ppc_fp_compat): New variable set for powerpc*-*-linux*.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
|
|
|
|
|
soft-float and e500.
|
|
|
|
|
|
Optimize powerpc*-*-linux* e500 hardfp/soft-fp use.
Continuing the cleanups of libgcc soft-fp configuration for
powerpc*-*-linux* in preparation for implementing
TARGET_ATOMIC_ASSIGN_EXPAND_FENV for soft-float and e500, this patch
optimizes the choice of which functions to build for the e500 cases.
For e500v2, use of hardfp is generally right, except that calls to
__unordsf2 and __unorddf2 are actually generated by GCC from
__builtin_isunordered and so they need to be implemented with soft-fp
to avoid recursively calling themselves. For e500v1, hardfp is right
for SFmode (except for __unordsf2) but soft-fp for DFmode (and when
using soft-fp, as usual it's best for the conversions between DFmode
and integers all to come directly from soft-fp rather than some coming
from libgcc2.c). Thus, new variables hardfp_exclusions and
softfp_extras are added that configurations using t-hardfp and
t-softfp can use to achieve the desired effect of selectively mixing
the two sources of functions.
Tested with no regressions for crosses to powerpc-linux-gnuspe (both
e500v1 and e500v2); also checked that the same set of symbols and
versions is exported from shared libgcc before and after the patch.
* config/t-hardfp (hardfp_exclusions): Document new variable for
user to define.
(hardfp_func_list): Exclude functions from $(hardfp_exclusions).
* config/t-softfp (softfp_extras): Document new variable for user
to define.
(softfp_func_list): Add functions from $(softfp_extras).
* config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
* config.host (powerpc*-*-linux*): For e500v1, use
rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
From-SVN: r216835
2014-10-29 13:59:16 +01:00
|
|
|
|
2014-10-29 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/t-hardfp (hardfp_exclusions): Document new variable for
|
|
|
|
|
user to define.
|
|
|
|
|
(hardfp_func_list): Exclude functions from $(hardfp_exclusions).
|
|
|
|
|
* config/t-softfp (softfp_extras): Document new variable for user
|
|
|
|
|
to define.
|
|
|
|
|
(softfp_func_list): Add functions from $(softfp_extras).
|
|
|
|
|
* config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
|
|
|
|
|
* config.host (powerpc*-*-linux*): For e500v1, use
|
|
|
|
|
rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
|
|
|
|
|
t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
|
|
|
|
|
and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
|
|
|
|
|
|
2014-10-26 15:46:14 +01:00
|
|
|
|
2014-10-26 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-unwind.h (pa32_read_access_ok): New function.
|
|
|
|
|
(pa32_fallback_frame_state): Use pa32_read_access_ok to check if
|
|
|
|
|
memory read accesses are ok.
|
|
|
|
|
|
2014-10-25 02:22:02 +02:00
|
|
|
|
2014-10-25 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
|
|
|
|
|
additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
|
|
|
|
|
of soft-fp for 32-bit classic hard float. Do not use
|
|
|
|
|
t-softfp-excl for soft float.
|
|
|
|
|
|
Do not build soft-fp code at all for powerpc64-linux-gnu.
When I added support for using soft-fp in libgcc
<https://gcc.gnu.org/ml/gcc-patches/2006-03/msg00689.html>, libgcc
configuration was still done in the gcc/ directory, meaning that the
variables set in makefile fragments could not depend on the multilib
being built. Thus, building the soft-fp code for powerpc64-linux-gnu
was disabled in the same way as had been done with fp-bit: the code
was built, but with #ifndef __powerpc64__ wrappers around it so that
the resulting objects were empty.
Now that libgcc configuration is done in the toplevel libgcc
directory, such uses of softfp_wrap_start / softfp_wrap_end are better
replaced by configure-time conditionals that determine whether to use
soft-fp for a given multilib. This patch does so for
powerpc*-*-linux*. The same would appear to apply to
powerpc*-*-freebsd* (using rs6000/t-freebsd64), but I have not made
any changes there. t-ppc64-fp is also used by AIX targets, but they
don't use soft-fp anyway so the changes are of no consequence to them.
The same principle of replacing softfp_wrap_start / softfp_wrap_end
with configure-time conditionals also applies to
softfp_exclude_libgcc2, which was intended for cases where soft-fp is
being used on hard-float multilibs and so it is desirable on those
multilibs for a few functions to come from libgcc2.c rather than
soft-fp (but the soft-fp versions would be more efficient on
soft-float multilibs). Now we have hardfp.c and t-hardfp, those are
better to use in that case, to minimize the size of the bulk of the
functions that are only present for ABI compatibility and should never
be called by newly compiled code.
I intend followup patches to switch 32-bit hard-float multilibs to use
t-hardfp as far as possible (for all non-libgcc2.c operations for
classic hard float; for all except __unord* for e500v2; for all SFmode
operations except __unordsf2 for e500v1). After that will come making
the soft-fp operations, in the remaining cases for which they are
built because they are actually needed for code compiled by current
GCC, into compat symbols when building for glibc 2.19 or later, so
that the glibc versions (with exception and rounding mode support) get
used instead (2.19 or later is needed for all the functions to be
exported from glibc as non-compat symbols). In turn, that is required
before implementing TARGET_ATOMIC_ASSIGN_EXPAND_FENV for soft-float
and e500, as that can only be properly effective when GCC-compiled
code is actually interoperating correctly with the exception and
rounding mode state used by <fenv.h> functions.
Tested with no regressions with cross to powerpc64-linux-gnu (in
addition, verified that stripped libgcc_s.so.1 is identical before and
after the patch).
* config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
configurations.
* config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
Remove variables.
From-SVN: r216564
2014-10-22 19:29:14 +02:00
|
|
|
|
2014-10-22 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
|
|
|
|
|
configurations.
|
|
|
|
|
* config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
|
|
|
|
|
Remove variables.
|
|
|
|
|
|
2014-10-22 12:40:30 +02:00
|
|
|
|
2014-10-22 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
|
|
|
|
|
introduced with 2014-10-21 trunk r216525.
|
|
|
|
|
|
avr-c.c (avr_cpu_cpp_builtins): Don't define __MEMX for avrtiny.
gcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
__MEMX for avrtiny.
* config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
(avr_nonconst_pointer_addrspace): Likewise.
* config/avr/avr.h (AVR_HAVE_LPM): Define.
Added AVRTINY architecture to avr target.
* config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
(base_arch_s): member added for AVRTINY architecture.
* config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
respectively. LAST_CALLEE_SAVED_REG macro added for the last register
in callee saved register list.
(avr_option_override): CCP address updated for AVRTINY.
(avr_init_expanders): tmp and zero rtx initialized as per arch.
Reset avr_have_dimode if AVRTINY.
(sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
(emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
(avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
(expand_epilogue): Likewise.
(avr_print_operand): Print CCP address in case of AVRTINY also.
<TBD>bad address
(function_arg_regno_p): Check different register list for arguments
if AVRTINY.
(init_cumulative_args): Check for AVRTINY to update number of argument
registers.
(tiny_valid_direct_memory_access_range): New function. Return false if
direct memory access range is not in accepted range for AVRTINY.
(avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(out_movqi_r_mr): Updated instruction length for AVRTINY. Call
avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
(avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for AVRTINY.
(avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
indirect load for pre-decrement address.
(out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
functions. Update instruction length for AVRTINY.
(avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
SImode.
(avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
(out_movsi_r_mr): Likewise, for SImode.
(avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for AVRTINY.
(avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for AVRTINY.
(out_movsi_mr_r): Emit out insn for IO address store. Update store
instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
store functions.
(avr_out_load_psi_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for PSImode in AVRTINY.
(avr_out_load_psi_reg_disp_tiny): New function to handle register
indirect load (with displacement) for PSImode in AVRTINY.
(avr_out_load_psi): Call PSImode register indirect load functions for
AVRTINY. Update instruction length for AVRTINY.
(avr_out_store_psi_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for PSImode in AVRTINY.
(avr_out_store_psi_reg_disp_tiny): New function to handle register
indirect store (with displacement) for PSImode in AVRTINY.
(avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
register indirect store functions for AVRTINY.
(avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
register indirect store (with displacement) for AVRTINY.
(out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for QImode in AVRTINY.
(avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
(avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
indirect store for post-increment address in HImode.
(out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for HImode in AVRTINY.
(avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
in case of AVRTINY.
(order_regs_for_local_alloc): Updated register allocation order for
AVRTINY.
(avr_conditional_register_usage): New function. It is a target hook
(TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
used registers list and register allocation order for AVRTINY.
(avr_return_in_memory): Update return value size for AVRTINY.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
for AVRTINY arch and tiny program memory base address.
* config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
(avr_texinfo): Added description for AVRTINY arch.
* config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
STATIC_CHAIN_REGNUM for AVRTINY.
* config/avr/avr-mcus.def: Added AVRTINY arch devices.
* config/avr/avr.md: Added constants for tmp/ zero registers in
AVRTINY. Attributes for AVRTINY added.
(mov<mode>): Move src/ dest address to register if it is not in AVRTINY
memory access range.
(mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
in AVRTINY memory access range.
(*mov<mode>): Likewise for HImode and SImode.
(*movsf): Likewise for SFmode.
(delay_cycles_2): Updated instructions to be emitted as AVRTINY does
not have sbiw.
* config/avr/avr-protos.h: Added function prototype for
tiny_valid_direct_memory_access_range.
* config/avr/avr-tables.opt: Regenerate.
* gcc/config/avr/t-multilib: Regenerate.
* doc/avr-mmcu.texi: Regenerate.
gcc/testsuite:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
* gcc.target/avr/tiny-memx.c: New test.
* gcc.target/avr/tiny-caller-save.c: New test.
libgcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
order.
Updated library functions for AVRTINY arch.
* config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
Replaced occurrences of r0/r1 with tmp/zero reg macros.
Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
wsubi/wadi macors.
(__mulsi3_helper): Update stack, preserve callee saved regs and
argument from stack. Restore callee save registers.
(__mulpsi3): Likewise.
(__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
__moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
__negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
AVRTINY.
(__tablejump2__): Added lpm equivalent instructions for AVRTINY.
(__do_copy_data): Added new definition for AVRTINY.
(__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
(__load_3, __load_4, __xload_1, __xload_2, __xload_3,
__xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
* config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
macors.
* config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
AVRTINY.
Fix broken long multiplication on tiny arch.
Co-Authored-By: Pitchumani Sivanupandi <pitchumani.s@atmel.com>
Co-Authored-By: Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Co-Authored-By: Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Co-Authored-By: Vidya Praveen <vidya.praveen@atmel.com>
From-SVN: r216525
2014-10-21 22:12:01 +02:00
|
|
|
|
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
|
2016-01-25 22:37:08 +01:00
|
|
|
|
Vidya Praveen <vidya.praveen@atmel.com>
|
|
|
|
|
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
|
|
|
|
|
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
|
|
|
|
|
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
|
avr-c.c (avr_cpu_cpp_builtins): Don't define __MEMX for avrtiny.
gcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
__MEMX for avrtiny.
* config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
(avr_nonconst_pointer_addrspace): Likewise.
* config/avr/avr.h (AVR_HAVE_LPM): Define.
Added AVRTINY architecture to avr target.
* config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
(base_arch_s): member added for AVRTINY architecture.
* config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
respectively. LAST_CALLEE_SAVED_REG macro added for the last register
in callee saved register list.
(avr_option_override): CCP address updated for AVRTINY.
(avr_init_expanders): tmp and zero rtx initialized as per arch.
Reset avr_have_dimode if AVRTINY.
(sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
(emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
(avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
(expand_epilogue): Likewise.
(avr_print_operand): Print CCP address in case of AVRTINY also.
<TBD>bad address
(function_arg_regno_p): Check different register list for arguments
if AVRTINY.
(init_cumulative_args): Check for AVRTINY to update number of argument
registers.
(tiny_valid_direct_memory_access_range): New function. Return false if
direct memory access range is not in accepted range for AVRTINY.
(avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(out_movqi_r_mr): Updated instruction length for AVRTINY. Call
avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
(avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for AVRTINY.
(avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
indirect load for pre-decrement address.
(out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
functions. Update instruction length for AVRTINY.
(avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
SImode.
(avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
(out_movsi_r_mr): Likewise, for SImode.
(avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for AVRTINY.
(avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for AVRTINY.
(out_movsi_mr_r): Emit out insn for IO address store. Update store
instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
store functions.
(avr_out_load_psi_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for PSImode in AVRTINY.
(avr_out_load_psi_reg_disp_tiny): New function to handle register
indirect load (with displacement) for PSImode in AVRTINY.
(avr_out_load_psi): Call PSImode register indirect load functions for
AVRTINY. Update instruction length for AVRTINY.
(avr_out_store_psi_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for PSImode in AVRTINY.
(avr_out_store_psi_reg_disp_tiny): New function to handle register
indirect store (with displacement) for PSImode in AVRTINY.
(avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
register indirect store functions for AVRTINY.
(avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
register indirect store (with displacement) for AVRTINY.
(out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for QImode in AVRTINY.
(avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
(avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
indirect store for post-increment address in HImode.
(out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for HImode in AVRTINY.
(avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
in case of AVRTINY.
(order_regs_for_local_alloc): Updated register allocation order for
AVRTINY.
(avr_conditional_register_usage): New function. It is a target hook
(TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
used registers list and register allocation order for AVRTINY.
(avr_return_in_memory): Update return value size for AVRTINY.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
for AVRTINY arch and tiny program memory base address.
* config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
(avr_texinfo): Added description for AVRTINY arch.
* config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
STATIC_CHAIN_REGNUM for AVRTINY.
* config/avr/avr-mcus.def: Added AVRTINY arch devices.
* config/avr/avr.md: Added constants for tmp/ zero registers in
AVRTINY. Attributes for AVRTINY added.
(mov<mode>): Move src/ dest address to register if it is not in AVRTINY
memory access range.
(mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
in AVRTINY memory access range.
(*mov<mode>): Likewise for HImode and SImode.
(*movsf): Likewise for SFmode.
(delay_cycles_2): Updated instructions to be emitted as AVRTINY does
not have sbiw.
* config/avr/avr-protos.h: Added function prototype for
tiny_valid_direct_memory_access_range.
* config/avr/avr-tables.opt: Regenerate.
* gcc/config/avr/t-multilib: Regenerate.
* doc/avr-mmcu.texi: Regenerate.
gcc/testsuite:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
* gcc.target/avr/tiny-memx.c: New test.
* gcc.target/avr/tiny-caller-save.c: New test.
libgcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
order.
Updated library functions for AVRTINY arch.
* config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
Replaced occurrences of r0/r1 with tmp/zero reg macros.
Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
wsubi/wadi macors.
(__mulsi3_helper): Update stack, preserve callee saved regs and
argument from stack. Restore callee save registers.
(__mulpsi3): Likewise.
(__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
__moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
__negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
AVRTINY.
(__tablejump2__): Added lpm equivalent instructions for AVRTINY.
(__do_copy_data): Added new definition for AVRTINY.
(__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
(__load_3, __load_4, __xload_1, __xload_2, __xload_3,
__xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
* config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
macors.
* config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
AVRTINY.
Fix broken long multiplication on tiny arch.
Co-Authored-By: Pitchumani Sivanupandi <pitchumani.s@atmel.com>
Co-Authored-By: Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Co-Authored-By: Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Co-Authored-By: Vidya Praveen <vidya.praveen@atmel.com>
From-SVN: r216525
2014-10-21 22:12:01 +02:00
|
|
|
|
|
|
|
|
|
* config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
|
|
|
|
|
order.
|
|
|
|
|
|
|
|
|
|
Updated library functions for AVRTINY arch.
|
|
|
|
|
* config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
|
|
|
|
|
Replaced occurrences of r0/r1 with tmp/zero reg macros.
|
|
|
|
|
Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
|
|
|
|
|
or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
|
|
|
|
|
wsubi/wadi macors.
|
|
|
|
|
(__mulsi3_helper): Update stack, preserve callee saved regs and
|
|
|
|
|
argument from stack. Restore callee save registers.
|
|
|
|
|
(__mulpsi3): Likewise.
|
|
|
|
|
(__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
|
|
|
|
|
__moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
|
2014-10-22 12:40:30 +02:00
|
|
|
|
__negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
|
avr-c.c (avr_cpu_cpp_builtins): Don't define __MEMX for avrtiny.
gcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
__MEMX for avrtiny.
* config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
(avr_nonconst_pointer_addrspace): Likewise.
* config/avr/avr.h (AVR_HAVE_LPM): Define.
Added AVRTINY architecture to avr target.
* config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
(base_arch_s): member added for AVRTINY architecture.
* config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
respectively. LAST_CALLEE_SAVED_REG macro added for the last register
in callee saved register list.
(avr_option_override): CCP address updated for AVRTINY.
(avr_init_expanders): tmp and zero rtx initialized as per arch.
Reset avr_have_dimode if AVRTINY.
(sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
(emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
(avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
(expand_epilogue): Likewise.
(avr_print_operand): Print CCP address in case of AVRTINY also.
<TBD>bad address
(function_arg_regno_p): Check different register list for arguments
if AVRTINY.
(init_cumulative_args): Check for AVRTINY to update number of argument
registers.
(tiny_valid_direct_memory_access_range): New function. Return false if
direct memory access range is not in accepted range for AVRTINY.
(avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(out_movqi_r_mr): Updated instruction length for AVRTINY. Call
avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
(avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for AVRTINY.
(avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
indirect load for pre-decrement address.
(out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
functions. Update instruction length for AVRTINY.
(avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
SImode.
(avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
(out_movsi_r_mr): Likewise, for SImode.
(avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for AVRTINY.
(avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for AVRTINY.
(out_movsi_mr_r): Emit out insn for IO address store. Update store
instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
store functions.
(avr_out_load_psi_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for PSImode in AVRTINY.
(avr_out_load_psi_reg_disp_tiny): New function to handle register
indirect load (with displacement) for PSImode in AVRTINY.
(avr_out_load_psi): Call PSImode register indirect load functions for
AVRTINY. Update instruction length for AVRTINY.
(avr_out_store_psi_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for PSImode in AVRTINY.
(avr_out_store_psi_reg_disp_tiny): New function to handle register
indirect store (with displacement) for PSImode in AVRTINY.
(avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
register indirect store functions for AVRTINY.
(avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
register indirect store (with displacement) for AVRTINY.
(out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for QImode in AVRTINY.
(avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
(avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
indirect store for post-increment address in HImode.
(out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for HImode in AVRTINY.
(avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
in case of AVRTINY.
(order_regs_for_local_alloc): Updated register allocation order for
AVRTINY.
(avr_conditional_register_usage): New function. It is a target hook
(TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
used registers list and register allocation order for AVRTINY.
(avr_return_in_memory): Update return value size for AVRTINY.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
for AVRTINY arch and tiny program memory base address.
* config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
(avr_texinfo): Added description for AVRTINY arch.
* config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
STATIC_CHAIN_REGNUM for AVRTINY.
* config/avr/avr-mcus.def: Added AVRTINY arch devices.
* config/avr/avr.md: Added constants for tmp/ zero registers in
AVRTINY. Attributes for AVRTINY added.
(mov<mode>): Move src/ dest address to register if it is not in AVRTINY
memory access range.
(mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
in AVRTINY memory access range.
(*mov<mode>): Likewise for HImode and SImode.
(*movsf): Likewise for SFmode.
(delay_cycles_2): Updated instructions to be emitted as AVRTINY does
not have sbiw.
* config/avr/avr-protos.h: Added function prototype for
tiny_valid_direct_memory_access_range.
* config/avr/avr-tables.opt: Regenerate.
* gcc/config/avr/t-multilib: Regenerate.
* doc/avr-mmcu.texi: Regenerate.
gcc/testsuite:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
* gcc.target/avr/tiny-memx.c: New test.
* gcc.target/avr/tiny-caller-save.c: New test.
libgcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
order.
Updated library functions for AVRTINY arch.
* config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
Replaced occurrences of r0/r1 with tmp/zero reg macros.
Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
wsubi/wadi macors.
(__mulsi3_helper): Update stack, preserve callee saved regs and
argument from stack. Restore callee save registers.
(__mulpsi3): Likewise.
(__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
__moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
__negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
AVRTINY.
(__tablejump2__): Added lpm equivalent instructions for AVRTINY.
(__do_copy_data): Added new definition for AVRTINY.
(__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
(__load_3, __load_4, __xload_1, __xload_2, __xload_3,
__xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
* config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
macors.
* config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
AVRTINY.
Fix broken long multiplication on tiny arch.
Co-Authored-By: Pitchumani Sivanupandi <pitchumani.s@atmel.com>
Co-Authored-By: Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Co-Authored-By: Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Co-Authored-By: Vidya Praveen <vidya.praveen@atmel.com>
From-SVN: r216525
2014-10-21 22:12:01 +02:00
|
|
|
|
AVRTINY.
|
|
|
|
|
(__tablejump2__): Added lpm equivalent instructions for AVRTINY.
|
|
|
|
|
(__do_copy_data): Added new definition for AVRTINY.
|
|
|
|
|
(__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
|
|
|
|
|
(__load_3, __load_4, __xload_1, __xload_2, __xload_3,
|
|
|
|
|
__xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
|
|
|
|
|
* config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
|
|
|
|
|
tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
|
|
|
|
|
macors.
|
2014-10-22 12:40:30 +02:00
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
|
avr-c.c (avr_cpu_cpp_builtins): Don't define __MEMX for avrtiny.
gcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
__MEMX for avrtiny.
* config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
(avr_nonconst_pointer_addrspace): Likewise.
* config/avr/avr.h (AVR_HAVE_LPM): Define.
Added AVRTINY architecture to avr target.
* config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
(base_arch_s): member added for AVRTINY architecture.
* config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
respectively. LAST_CALLEE_SAVED_REG macro added for the last register
in callee saved register list.
(avr_option_override): CCP address updated for AVRTINY.
(avr_init_expanders): tmp and zero rtx initialized as per arch.
Reset avr_have_dimode if AVRTINY.
(sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
(emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
(avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
(expand_epilogue): Likewise.
(avr_print_operand): Print CCP address in case of AVRTINY also.
<TBD>bad address
(function_arg_regno_p): Check different register list for arguments
if AVRTINY.
(init_cumulative_args): Check for AVRTINY to update number of argument
registers.
(tiny_valid_direct_memory_access_range): New function. Return false if
direct memory access range is not in accepted range for AVRTINY.
(avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(out_movqi_r_mr): Updated instruction length for AVRTINY. Call
avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
(avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for AVRTINY.
(avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
indirect load for pre-decrement address.
(out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
functions. Update instruction length for AVRTINY.
(avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
SImode.
(avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
(out_movsi_r_mr): Likewise, for SImode.
(avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for AVRTINY.
(avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for AVRTINY.
(out_movsi_mr_r): Emit out insn for IO address store. Update store
instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
store functions.
(avr_out_load_psi_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for PSImode in AVRTINY.
(avr_out_load_psi_reg_disp_tiny): New function to handle register
indirect load (with displacement) for PSImode in AVRTINY.
(avr_out_load_psi): Call PSImode register indirect load functions for
AVRTINY. Update instruction length for AVRTINY.
(avr_out_store_psi_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for PSImode in AVRTINY.
(avr_out_store_psi_reg_disp_tiny): New function to handle register
indirect store (with displacement) for PSImode in AVRTINY.
(avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
register indirect store functions for AVRTINY.
(avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
register indirect store (with displacement) for AVRTINY.
(out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for QImode in AVRTINY.
(avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
(avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
indirect store for post-increment address in HImode.
(out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for HImode in AVRTINY.
(avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
in case of AVRTINY.
(order_regs_for_local_alloc): Updated register allocation order for
AVRTINY.
(avr_conditional_register_usage): New function. It is a target hook
(TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
used registers list and register allocation order for AVRTINY.
(avr_return_in_memory): Update return value size for AVRTINY.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
for AVRTINY arch and tiny program memory base address.
* config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
(avr_texinfo): Added description for AVRTINY arch.
* config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
STATIC_CHAIN_REGNUM for AVRTINY.
* config/avr/avr-mcus.def: Added AVRTINY arch devices.
* config/avr/avr.md: Added constants for tmp/ zero registers in
AVRTINY. Attributes for AVRTINY added.
(mov<mode>): Move src/ dest address to register if it is not in AVRTINY
memory access range.
(mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
in AVRTINY memory access range.
(*mov<mode>): Likewise for HImode and SImode.
(*movsf): Likewise for SFmode.
(delay_cycles_2): Updated instructions to be emitted as AVRTINY does
not have sbiw.
* config/avr/avr-protos.h: Added function prototype for
tiny_valid_direct_memory_access_range.
* config/avr/avr-tables.opt: Regenerate.
* gcc/config/avr/t-multilib: Regenerate.
* doc/avr-mmcu.texi: Regenerate.
gcc/testsuite:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
* gcc.target/avr/tiny-memx.c: New test.
* gcc.target/avr/tiny-caller-save.c: New test.
libgcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
order.
Updated library functions for AVRTINY arch.
* config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
Replaced occurrences of r0/r1 with tmp/zero reg macros.
Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
wsubi/wadi macors.
(__mulsi3_helper): Update stack, preserve callee saved regs and
argument from stack. Restore callee save registers.
(__mulpsi3): Likewise.
(__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
__moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
__negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
AVRTINY.
(__tablejump2__): Added lpm equivalent instructions for AVRTINY.
(__do_copy_data): Added new definition for AVRTINY.
(__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
(__load_3, __load_4, __xload_1, __xload_2, __xload_3,
__xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
* config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
macors.
* config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
AVRTINY.
Fix broken long multiplication on tiny arch.
Co-Authored-By: Pitchumani Sivanupandi <pitchumani.s@atmel.com>
Co-Authored-By: Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Co-Authored-By: Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Co-Authored-By: Vidya Praveen <vidya.praveen@atmel.com>
From-SVN: r216525
2014-10-21 22:12:01 +02:00
|
|
|
|
AVRTINY.
|
|
|
|
|
|
2014-10-22 12:40:30 +02:00
|
|
|
|
Fix broken long multiplication on tiny arch.
|
avr-c.c (avr_cpu_cpp_builtins): Don't define __MEMX for avrtiny.
gcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
__MEMX for avrtiny.
* config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
(avr_nonconst_pointer_addrspace): Likewise.
* config/avr/avr.h (AVR_HAVE_LPM): Define.
Added AVRTINY architecture to avr target.
* config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
(base_arch_s): member added for AVRTINY architecture.
* config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
respectively. LAST_CALLEE_SAVED_REG macro added for the last register
in callee saved register list.
(avr_option_override): CCP address updated for AVRTINY.
(avr_init_expanders): tmp and zero rtx initialized as per arch.
Reset avr_have_dimode if AVRTINY.
(sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
(emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
(avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
(expand_epilogue): Likewise.
(avr_print_operand): Print CCP address in case of AVRTINY also.
<TBD>bad address
(function_arg_regno_p): Check different register list for arguments
if AVRTINY.
(init_cumulative_args): Check for AVRTINY to update number of argument
registers.
(tiny_valid_direct_memory_access_range): New function. Return false if
direct memory access range is not in accepted range for AVRTINY.
(avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(out_movqi_r_mr): Updated instruction length for AVRTINY. Call
avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
(avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for AVRTINY.
(avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
indirect load (with displacement) for AVRTINY.
(avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
indirect load for pre-decrement address.
(out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
functions. Update instruction length for AVRTINY.
(avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
SImode.
(avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
(out_movsi_r_mr): Likewise, for SImode.
(avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for AVRTINY.
(avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for AVRTINY.
(out_movsi_mr_r): Emit out insn for IO address store. Update store
instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
store functions.
(avr_out_load_psi_reg_no_disp_tiny): New function to handle register
indirect load (no displacement) for PSImode in AVRTINY.
(avr_out_load_psi_reg_disp_tiny): New function to handle register
indirect load (with displacement) for PSImode in AVRTINY.
(avr_out_load_psi): Call PSImode register indirect load functions for
AVRTINY. Update instruction length for AVRTINY.
(avr_out_store_psi_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for PSImode in AVRTINY.
(avr_out_store_psi_reg_disp_tiny): New function to handle register
indirect store (with displacement) for PSImode in AVRTINY.
(avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
register indirect store functions for AVRTINY.
(avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
register indirect store (with displacement) for AVRTINY.
(out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for QImode in AVRTINY.
(avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
(avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
indirect store (no displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
indirect store (with displacement) for HImode in AVRTINY.
(avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
indirect store for post-increment address in HImode.
(out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
register indirect store function for HImode in AVRTINY.
(avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
in case of AVRTINY.
(order_regs_for_local_alloc): Updated register allocation order for
AVRTINY.
(avr_conditional_register_usage): New function. It is a target hook
(TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
used registers list and register allocation order for AVRTINY.
(avr_return_in_memory): Update return value size for AVRTINY.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
for AVRTINY arch and tiny program memory base address.
* config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
(avr_texinfo): Added description for AVRTINY arch.
* config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
STATIC_CHAIN_REGNUM for AVRTINY.
* config/avr/avr-mcus.def: Added AVRTINY arch devices.
* config/avr/avr.md: Added constants for tmp/ zero registers in
AVRTINY. Attributes for AVRTINY added.
(mov<mode>): Move src/ dest address to register if it is not in AVRTINY
memory access range.
(mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
in AVRTINY memory access range.
(*mov<mode>): Likewise for HImode and SImode.
(*movsf): Likewise for SFmode.
(delay_cycles_2): Updated instructions to be emitted as AVRTINY does
not have sbiw.
* config/avr/avr-protos.h: Added function prototype for
tiny_valid_direct_memory_access_range.
* config/avr/avr-tables.opt: Regenerate.
* gcc/config/avr/t-multilib: Regenerate.
* doc/avr-mmcu.texi: Regenerate.
gcc/testsuite:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
* gcc.target/avr/tiny-memx.c: New test.
* gcc.target/avr/tiny-caller-save.c: New test.
libgcc:
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
* config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
order.
Updated library functions for AVRTINY arch.
* config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
Replaced occurrences of r0/r1 with tmp/zero reg macros.
Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
wsubi/wadi macors.
(__mulsi3_helper): Update stack, preserve callee saved regs and
argument from stack. Restore callee save registers.
(__mulpsi3): Likewise.
(__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
__moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
__negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
AVRTINY.
(__tablejump2__): Added lpm equivalent instructions for AVRTINY.
(__do_copy_data): Added new definition for AVRTINY.
(__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
(__load_3, __load_4, __xload_1, __xload_2, __xload_3,
__xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
* config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
macors.
* config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
AVRTINY.
Fix broken long multiplication on tiny arch.
Co-Authored-By: Pitchumani Sivanupandi <pitchumani.s@atmel.com>
Co-Authored-By: Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
Co-Authored-By: Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
Co-Authored-By: Vidya Praveen <vidya.praveen@atmel.com>
From-SVN: r216525
2014-10-21 22:12:01 +02:00
|
|
|
|
|
2014-10-09 20:21:30 +02:00
|
|
|
|
2014-10-09 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/double.h: Update from glibc.
|
|
|
|
|
* soft-fp/eqdf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqsf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqtf2.c: Likewise.
|
|
|
|
|
* soft-fp/extenddftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extended.h: Likewise.
|
|
|
|
|
* soft-fp/extendsfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendxftf2.c: Likewise.
|
|
|
|
|
* soft-fp/gedf2.c: Likewise.
|
|
|
|
|
* soft-fp/gesf2.c: Likewise.
|
|
|
|
|
* soft-fp/getf2.c: Likewise.
|
|
|
|
|
* soft-fp/ledf2.c: Likewise.
|
|
|
|
|
* soft-fp/lesf2.c: Likewise.
|
|
|
|
|
* soft-fp/letf2.c: Likewise.
|
|
|
|
|
* soft-fp/op-1.h: Likewise.
|
|
|
|
|
* soft-fp/op-2.h: Likewise.
|
|
|
|
|
* soft-fp/op-4.h: Likewise.
|
|
|
|
|
* soft-fp/op-8.h: Likewise.
|
|
|
|
|
* soft-fp/op-common.h: Likewise.
|
|
|
|
|
* soft-fp/quad.h: Likewise.
|
|
|
|
|
* soft-fp/single.h: Likewise.
|
|
|
|
|
* soft-fp/soft-fp.h: Likewise.
|
|
|
|
|
* soft-fp/unorddf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordsf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordtf2.c: Likewise.
|
|
|
|
|
* config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
|
|
|
|
|
* config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
|
|
|
|
|
* config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
|
|
|
|
|
* config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
|
|
|
|
|
* config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
|
|
|
|
|
* config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
|
|
|
|
|
* config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
|
|
|
|
|
* config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
|
|
|
|
|
* config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
|
|
|
|
|
* config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
|
|
|
|
|
|
2014-10-08 23:51:41 +02:00
|
|
|
|
2014-10-08 Rong Xu <xur@google.com>
|
|
|
|
|
|
|
|
|
|
* libgcov-util.c (read_gcda_file): Fix format.
|
|
|
|
|
(find_match_gcov_info): Ditto.
|
|
|
|
|
(calculate_2_entries): New.
|
|
|
|
|
(compute_one_gcov): Ditto.
|
|
|
|
|
(gcov_info_count_all_cold): Ditto.
|
|
|
|
|
(gcov_info_count_all_zero): Ditto.
|
|
|
|
|
(extract_file_basename): Ditto.
|
|
|
|
|
(get_file_basename): Ditto.
|
|
|
|
|
(set_flag): Ditto.
|
|
|
|
|
(matched_gcov_info): Ditto.
|
|
|
|
|
(calculate_overlap): Ditto.
|
|
|
|
|
(gcov_profile_overlap): Ditto.
|
|
|
|
|
* libgcov-driver.c (compute_summary): Make
|
|
|
|
|
it avavilable for external calls.
|
|
|
|
|
|
2014-10-07 18:26:51 +02:00
|
|
|
|
2014-10-06 Rong Xu <xur@google.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Ditto.
|
|
|
|
|
* libgcov-driver.c (gcov_sort_n_vals): New utility function.
|
|
|
|
|
(gcov_sort_icall_topn_counter): Ditto.
|
|
|
|
|
(gcov_sort_topn_counter_arrays): Ditto.
|
|
|
|
|
(dump_one_gcov): Sort indirect_call topn counters.
|
|
|
|
|
* libgcov-merge.c (__gcov_merge_icall_topn): New merge
|
|
|
|
|
function.
|
|
|
|
|
* libgcov-profiler.c (__gcov_topn_value_profiler_body): New
|
|
|
|
|
utility function.
|
|
|
|
|
(__gcov_indirect_call_topn_profiler): New profiler function.
|
|
|
|
|
* libgcov-util.c (__gcov_icall_topn_counter_op): New.
|
|
|
|
|
* libgcov.h: New decls.
|
|
|
|
|
|
2014-10-04 16:53:41 +02:00
|
|
|
|
2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove support for score-*.
|
|
|
|
|
|
Remove LIBGCC2_LONG_DOUBLE_TYPE_SIZE target macro.
This patch removes the target macro LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
After recent changes, this macro was used in two ways in libgcc: to
determine the mode of long double in dfp-bit.h, and to determine
whether a particular mode has excess precision for use in complex
multiplication.
The former is concerned specifically with long double: it relates to
use of strtold for converting between decimal and binary floating
point. This is replaced by comparing __LDBL_MANT_DIG__ with the
appropriate __LIBGCC_*_MANT_DIG__ macro. The latter is replaced
__LIBGCC_*_EXCESS_PRECISION__ predefined macros.
Remarks:
* Comparing (__LDBL_MANT_DIG__ == __LIBGCC_XF_MANT_DIG__) is more
fragile than it looks; it's possible for XFmode to have 53-bit
mantissa (TARGET_96_ROUND_53_LONG_DOUBLE, on FreeBSD and
DragonFlyBSD 32-bit), in which case such a comparison would not
distinguish XFmode and DFmode as possible modes for long double.
Fortunately, no target supporting that form of XFmode also supports
long double = double (but if some target did, we'd need e.g. an
additional macro giving the exponent range of each mode).
Furthermore, this code doesn't actually get used for x86 (or any
other target with XFmode support), because x86 uses BID not DPD and
BID has its own conversion code (which handles conversions for both
XFmode and TFmode without needing to go via strtold). And FreeBSD
and DragonFlyBSD aren't among the targets with DFP support. So
while in principle this code is fragile and it's a deficiency that
it can't support both XFmode and TFmode at once (something that
can't be solved with the string conversion approach without libc
having TS 18661 functions such as strtof128), all these issues
should not be a problem in practice.
* If other cases of excess precision are supported in future, the code
for defining __LIBGCC_*_EXCESS_PRECISION__ may need updating.
Although the most likely such cases might not actually involve
excess precision for any mode used in libgcc - FLT_EVAL_METHOD being
32 to do _Float16 arithmetic on _Float32 should have the effect of
_Complex _Float16 arithmetic using __mulsc3 and __divsc3, rather
than currently nonexistent __mulhc3 and __divhc3 as in bug 63250 for
ARM.
* As has been noted in the context of simultaneous support for
__float128 and __ibm128 on Power, the semantics of macros such as
LONG_DOUBLE_TYPE_SIZE are problematic because they rely on a
poorly-defined precision value for floating-point modes (which seems
to be intended as the number of significant bits in the
representation, e.g. 80 for XFmode which may be either 12 or 16
bytes) uniquely identifying a mode (although defining an arbitrarily
different value for one of the modes you wish to distinguish may
work as a hack). It would be cleaner to have a target hook that
gives a machine mode directly for float, double and long double,
rather than going via these precision values. By eliminating all
use of these macros (FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE,
LONG_DOUBLE_TYPE_SIZE) from code built for the target, this patch
facilitates such a conversion to a hook (which I suppose would take
some suitable enum as an argument to identify which of the three
types to return a mode for).
(The issue of multiple type support for DFP conversions would apply
in that Power case.
<https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01084.html> doesn't
seem to touch on it, but it would seem reasonable to punt on it
initially as hard to fix. There would also be the issue of getting
functions such as __powikf2, __mulkc3, __divkc3 defined, but that's
rather easier to address.)
Bootstrapped with no regressions on x86_64-unknown-linux-gnu.
gcc:
* doc/tm.texi.in (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* doc/tm.texi: Regenerate.
* system.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Poison.
* config/alpha/alpha.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/i386/i386-interix.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
Remove.
* config/i386/i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/i386/rtemself.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/ia64/ia64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/m68k/m68k.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
Remove.
* config/mips/mips.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/mips/n32-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/msp430/msp430.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/rl78/rl78.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/rs6000/rs6000.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/rx/rx.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/s390/s390.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/sparc/freebsd.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/sparc/linux.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/sparc/linux64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
* config/sparc/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
Remove.
gcc/c-family:
* c-cppbuiltin.c (c_cpp_builtins): Define
__LIBGCC_*_EXCESS_PRECISION__ macros for supported floating-point
modes.
libgcc:
* dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
(__LIBGCC_XF_MANT_DIG__): Define if not already defined.
(LONG_DOUBLE_HAS_XF_MODE): Define in terms of
__LIBGCC_XF_MANT_DIG__.
(__LIBGCC_TF_MANT_DIG__): Define if not already defined.
(LONG_DOUBLE_HAS_TF_MODE): Define in terms of
__LIBGCC_TF_MANT_DIG__.
* libgcc2.c (NOTRUNC): Define in terms of
__LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
* libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
From-SVN: r215491
2014-09-23 02:48:46 +02:00
|
|
|
|
2014-09-22 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
|
|
|
|
|
(__LIBGCC_XF_MANT_DIG__): Define if not already defined.
|
|
|
|
|
(LONG_DOUBLE_HAS_XF_MODE): Define in terms of
|
|
|
|
|
__LIBGCC_XF_MANT_DIG__.
|
|
|
|
|
(__LIBGCC_TF_MANT_DIG__): Define if not already defined.
|
|
|
|
|
(LONG_DOUBLE_HAS_TF_MODE): Define in terms of
|
|
|
|
|
__LIBGCC_TF_MANT_DIG__.
|
|
|
|
|
* libgcc2.c (NOTRUNC): Define in terms of
|
|
|
|
|
__LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
|
|
|
|
|
* libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
|
|
|
|
|
|
2014-09-22 13:08:03 +02:00
|
|
|
|
2014-09-22 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR target/63312
|
|
|
|
|
* config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
|
|
|
|
|
New macros.
|
|
|
|
|
|
2014-09-22 02:49:01 +02:00
|
|
|
|
2014-09-22 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
|
|
|
|
|
override USE_PT_GNU_EH_FRAME.
|
|
|
|
|
[__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
|
|
|
|
|
check USE_EH_FRAME_REGISTRY_ALWAYS against
|
|
|
|
|
__LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
|
|
|
|
|
* Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
|
|
|
|
|
variable for substituted force_explicit_eh_registry.
|
|
|
|
|
(CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
|
|
|
|
|
* configure.ac (explicit-exception-frame-registration):
|
|
|
|
|
New AC_ARG_ENABLE.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2014-09-19 10:11:55 +02:00
|
|
|
|
2014-09-19 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc-wrs-vxworksmils): New configuration,
|
|
|
|
|
same as vxworksae.
|
|
|
|
|
|
Remove LIBGCC2_TF_CEXT target macro.
This patch removes the (undocumented) LIBGCC2_TF_CEXT target macro,
replacing it by -fbuilding-libgcc predefines (and thereby gets rid of
another LIBGCC2_LONG_DOUBLE_TYPE_SIZE conditional, though some more
patches are needed before that target macro can be eliminated). This
macro indicated the suffix used on __builtin_huge_val,
__builtin_copysign, __builtin_fabs built-in function names to produce
the names for a given floating-point mode.
Predefines are added for all floating-point modes supported for
libgcc, not just TFmode. These are fully accurate for modes
corresponding to float, double and long double. For other modes, the
suffix for *constants* is determined by the targetm.c.mode_for_suffix
hook (the limit to two possible suffixes 'w' and 'q' being hardcoded
in various places). This is in fact the suffix for built-in functions
as well where such functions exist.
* For i386, the *q functions always exist (whether or not TFmode is
used for long double). The *w functions never exist (but this
doesn't matter for libgcc, since no i386 configuration treats XFmode
as a supported scalar mode if long double is TFmode; if __float80
were to be supported for 64-bit Android, properly such functions
ought to be added).
* For ia64, the *q functions exist for non-HP-UX (under HP-UX, long
double is TFmode, so they aren't needed). The *w functions never
exist. This is an issue for this libgcc code for the XFmode complex
functions in libgcc on HP-UX; as I understand it, right now those
will accidentally be using TFmode versions of those three functions,
so involving unnecessary conversions, while the sanity check on CEXT
accidentally passes because all it tests is the sizes of the types.
Because of the lack of 'w' functions, the patch uses 'l' when the
constant suffix is 'w', matching what the existing libgcc code would
do for IA64 HP-UX in that case.
Ideally there would be generic code to create such built-in functions
for all supported floating-point types. That may be something to
consider if support for TS 18661-3 (standard bindings for IEEE
754-2008, defining names such as _Float128, and function names such as
copysignf128) is added in future.
Bootstrapped with no regressions on x86_64-unknown-linux-gnu.
gcc:
* system.h (LIBGCC2_TF_CEXT): Poison.
* config/i386/cygming.h (LIBGCC2_TF_CEXT): Remove.
* config/i386/darwin.h (LIBGCC2_TF_CEXT): Likewise.
* config/i386/dragonfly.h (LIBGCC2_TF_CEXT): Likewise.
* config/i386/freebsd.h (LIBGCC2_TF_CEXT): Likewise.
* config/i386/gnu-user-common.h (LIBGCC2_TF_CEXT): Likewise.
* config/i386/openbsdelf.h (LIBGCC2_TF_CEXT): Likewise.
* config/i386/sol2.h (LIBGCC2_TF_CEXT): Likewise.
* config/ia64/ia64.h (LIBGCC2_TF_CEXT): Likewise.
* config/ia64/linux.h (LIBGCC2_TF_CEXT): Likewise.
gcc/c-family:
* c-cppbuiltin.c (c_cpp_builtins): Define __LIBGCC_*_FUNC_EXT__
for supported floating-point modes.
libgcc:
* libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
From-SVN: r215368
2014-09-19 01:27:26 +02:00
|
|
|
|
2014-09-18 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
|
|
|
|
|
|
2014-09-18 14:00:21 +02:00
|
|
|
|
2014-09-18 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
|
|
|
|
|
bits not set bits as indicating trapping exceptions.
|
|
|
|
|
|
2014-09-17 22:13:17 +02:00
|
|
|
|
2014-09-17 Nathan sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
|
|
|
|
|
(LIBGCOV_DRIVER): ... here.
|
|
|
|
|
* libgcov-driver.c (gcov_master): New.
|
|
|
|
|
(gcov_exit): Remove from master chain.
|
|
|
|
|
(__gcov_init): Add to master chain if version compatible. Don't
|
|
|
|
|
clear the version.
|
|
|
|
|
* libgcov_interface (__gcov_flust): Call gcov_dump_int.
|
|
|
|
|
(gcov_reset_int): Clear master chain, if compatible.
|
|
|
|
|
(gcov_dump_int): New internal interface. Dump master chain, if
|
|
|
|
|
compatible.
|
|
|
|
|
(gcov_dump): Alias for gcov_dump_int.
|
|
|
|
|
* libgcov.h (struct gcov_root): Add next and prev fields.
|
|
|
|
|
(struct gcov_master): New struct.
|
|
|
|
|
(__gcov_master): New.
|
|
|
|
|
(gcov_dump_int): Declare.
|
|
|
|
|
|
2014-09-17 15:04:49 +02:00
|
|
|
|
2014-09-17 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
|
|
|
|
|
and crtbegin.o + crtend.o to extra_parts.
|
|
|
|
|
|
Remove LIBGCC2_HAS_?F_MODE target macros.
This patch removes the LIBGCC2_HAS_{SF,DF,XF,TF}_MODE target macros,
replacing them by predefines with -fbuilding-libgcc, together with a
target hook that can influence those predefines when needed.
The new default is that a floating-point mode is supported in libgcc
if (a) it passes the scalar_mode_supported_p hook (otherwise it's not
plausible for it to be supported in libgcc) and (b) it's one of those
four modes (since those are the modes for which libgcc hardcodes the
possibility of support). The target hook can override the default
choice (in either direction) for modes that pass
scalar_mode_supported_p (although overriding in the direction of
returning true when the default would return false only makes sense if
all relevant functions are specially defined in libgcc for that
particular target).
The previous default settings depended on various settings such as
LIBGCC2_LONG_DOUBLE_TYPE_SIZE, as well as targets defining the above
target macros if the default wasn't correct.
The default scalar_mode_supported_p only declares a floating-point
mode to be supported if it matches one of float / double / long
double. This means that in most cases where a mode is only supported
conditionally in libgcc (TFmode only supported if it's the mode of
long double, most commonly), the default gets things right. Overrides
were needed in the following cases:
* SFmode would always have been supported in libgcc (the condition was
BITS_PER_UNIT == 8, true for all current targets), but pdp11
defaults to 64-bit float, and in that case SFmode would fail
scalar_mode_supported_p. I don't know if libgcc actually built for
pdp11 (and the port may well no longer be being used), but this
patch adds a scalar_mode_supported_p hook to it to ensure SFmode is
treated as supported.
* Certain i386 and ia64 targets need the new hook to match the
existing cases for when XFmode or TFmode support is present in
libgcc. For i386, the hook can always declare XFmode to be
supported - the cases where it's not are the cases where long double
is TFmode, in which case XFmode fails scalar_mode_supported_p[*] -
but TFmode support needs to be conditional. (And of the targets not
defining LIBGCC2_HAS_TF_MODE before this patch, some defined
LONG_DOUBLE_TYPE_SIZE to 64, so ensuring LIBGCC2_HAS_TF_MODE would
always be false, while others did not define it, so allowing it to
be true in the -mlong-double-128 case. This patch matches that
logic, although I suspect all the latter targets would have been
broken if you tried to enable -mlong-double-128 by default, for lack
of the soft-fp TFmode support in libgcc, which is separately
configured.)
[*] I don't know if it's deliberate not to support __float80 at all
with -mlong-double-128.
In order to implement the default version of the new hook,
insn-modes.h was made to contain macros such as HAVE_TFmode for each
machine mode, so the default hook can contain conditionals on whether
XFmode and TFmode exist (to match the hardcoding of a list of modes in
libgcc). This is also used in fortran/trans-types.c; previously it
had a conditional on defined(LIBGCC2_HAS_TF_MODE) (a bit dubious,
since it ignored the value of the macro), which is replaced by testing
defined(HAVE_TFmode), in conjunction with requiring
targetm.libgcc_floating_mode_supported_p.
(Fortran is testing something stronger than that hook: not only is
libgcc support required, but also libm or equivalent. Thus, it has a
test for ENABLE_LIBQUADMATH_SUPPORT in the case that the mode is
TFmode and that's not the same as any of the three standard types.
The old and new tests are intended to accept exactly the same set of
modes for all targets.)
Apart from the four target macros eliminated by this patch, it gets us
closer to eliminating LIBGCC2_LONG_DOUBLE_TYPE_SIZE as well, though a
few more places using that macro need changing first.
Bootstrapped with no regressions on x86_64-unknown-linux-gnu; also
built cc1 for crosses to ia64-elf and pdp11-none as a minimal test of
changes for those targets.
gcc:
* target.def (libgcc_floating_mode_supported_p): New hook.
* targhooks.c (default_libgcc_floating_mode_supported_p): New
function.
* targhooks.h (default_libgcc_floating_mode_supported_p): Declare.
* doc/tm.texi.in (LIBGCC2_HAS_DF_MODE, LIBGCC2_HAS_XF_MODE)
(LIBGCC2_HAS_TF_MODE): Remove.
(TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): New @hook.
* doc/tm.texi: Regenerate.
* genmodes.c (emit_insn_modes_h): Define HAVE_%smode for each
machine mode.
* system.h (LIBGCC2_HAS_SF_MODE, LIBGCC2_HAS_DF_MODE)
(LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE): Poison.
* config/i386/cygming.h (LIBGCC2_HAS_TF_MODE): Remove.
* config/i386/darwin.h (LIBGCC2_HAS_TF_MODE): Remove.
* config/i386/djgpp.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
* config/i386/dragonfly.h (LIBGCC2_HAS_TF_MODE): Remove.
* config/i386/freebsd.h (LIBGCC2_HAS_TF_MODE): Remove.
* config/i386/gnu-user-common.h (LIBGCC2_HAS_TF_MODE): Remove.
* config/i386/i386-interix.h (IX86_NO_LIBGCC_TFMODE): Define.
* config/i386/i386.c (ix86_libgcc_floating_mode_supported_p): New
function.
(TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define.
* config/i386/i386elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
* config/i386/lynx.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
* config/i386/netbsd-elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
* config/i386/netbsd64.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
* config/i386/nto.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
* config/i386/openbsd.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
* config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE): Remove.
* config/i386/rtemself.h (IX86_NO_LIBGCC_TFMODE): Define.
* config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Remove.
* config/i386/vx-common.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
* config/ia64/elf.h (IA64_NO_LIBGCC_TFMODE): Define.
* config/ia64/freebsd.h (IA64_NO_LIBGCC_TFMODE): Define.
* config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE):
Remove.
* config/ia64/ia64.c (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P):
New macro.
(ia64_libgcc_floating_mode_supported_p): New function.
* config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): Remove.
* config/ia64/vms.h (IA64_NO_LIBGCC_XFMODE)
(IA64_NO_LIBGCC_TFMODE): Define.
* config/msp430/msp430.h (LIBGCC2_HAS_DF_MODE): Remove.
* config/pdp11/pdp11.c (TARGET_SCALAR_MODE_SUPPORTED_P): New
macro.
(pdp11_scalar_mode_supported_p): New function.
* config/rl78/rl78.h (LIBGCC2_HAS_DF_MODE): Remove.
* config/rx/rx.h (LIBGCC2_HAS_DF_MODE): Remove.
gcc/c-family:
* c-cppbuiltin.c (c_cpp_builtins): Define __LIBGCC_HAS_%s_MODE__
macros for floating-point modes.
gcc/fortran:
* trans-types.c (gfc_init_kinds): Check
targetm.libgcc_floating_mode_supported_p for floating-point
modes. Check HAVE_TFmode instead of LIBGCC2_HAS_TF_MODE.
libgcc:
* libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
__LIBGCC_HAS_SF_MODE__.
(LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
(LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
(LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
* config/libbid/bid_gcc_intrinsics.h
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
(LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
(LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
* fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
(LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
(LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
From-SVN: r215215
2014-09-12 14:05:18 +02:00
|
|
|
|
2014-09-12 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
|
|
|
|
|
__LIBGCC_HAS_SF_MODE__.
|
|
|
|
|
(LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
|
|
|
|
|
(LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
|
|
|
|
|
(LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
|
|
|
|
|
* config/libbid/bid_gcc_intrinsics.h
|
|
|
|
|
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
|
|
|
|
|
(LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
|
|
|
|
|
(LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
|
|
|
|
|
* fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
|
|
|
|
|
(LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
|
|
|
|
|
(LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
|
|
|
|
|
|
2014-09-11 10:08:17 +02:00
|
|
|
|
2014-09-11 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/63223
|
|
|
|
|
* config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
|
|
|
|
|
and R24 as needed. Make work for all devices and .text locations.
|
|
|
|
|
(__do_global_ctors, __do_global_dtors): Use word addresses.
|
|
|
|
|
(__tablejump__, __tablejump_elpm__): Remove functions.
|
|
|
|
|
* t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
|
|
|
|
|
Add _tablejump2.
|
|
|
|
|
(XICALL, XIJMP): New macros.
|
|
|
|
|
|
2014-09-09 17:53:01 +02:00
|
|
|
|
2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
* config.host (aarch64*): Include crtfastmath.o and
|
|
|
|
|
t-crtfm.
|
|
|
|
|
* config/aarch64/crtfastmath.c: New file.
|
|
|
|
|
|
2014-09-09 04:11:06 +02:00
|
|
|
|
2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove picochip support.
|
|
|
|
|
* config/picochip/adddi3.S: Remove.
|
|
|
|
|
* config/picochip/ashlsi3.S: Remove.
|
|
|
|
|
* config/picochip/ashlsi3.c: Remove.
|
|
|
|
|
* config/picochip/ashrsi3.S: Remove.
|
|
|
|
|
* config/picochip/ashrsi3.c: Remove.
|
|
|
|
|
* config/picochip/clzsi2.S: Remove.
|
|
|
|
|
* config/picochip/cmpsi2.S: Remove.
|
|
|
|
|
* config/picochip/divmod15.S: Remove.
|
|
|
|
|
* config/picochip/divmodhi4.S: Remove.
|
|
|
|
|
* config/picochip/divmodsi4.S: Remove.
|
|
|
|
|
* config/picochip/lib1funcs.S: Remove.
|
|
|
|
|
* config/picochip/longjmp.S: Remove.
|
|
|
|
|
* config/picochip/lshrsi3.S: Remove.
|
|
|
|
|
* config/picochip/lshrsi3.c: Remove.
|
|
|
|
|
* config/picochip/parityhi2.S: Remove.
|
|
|
|
|
* config/picochip/popcounthi2.S: Remove.
|
|
|
|
|
* config/picochip/setjmp.S: Remove.
|
|
|
|
|
* config/picochip/subdi3.S: Remove.
|
|
|
|
|
* config/picochip/t-picochip: Remove.
|
|
|
|
|
* config/picochip/ucmpsi2.S: Remove.
|
|
|
|
|
* config/picochip/udivmodhi4.S: Remove.
|
|
|
|
|
* config/picochip/udivmodsi4.S: Remove.
|
|
|
|
|
|
2014-09-08 14:25:35 +02:00
|
|
|
|
2014-09-08 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
|
|
|
|
|
(DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
|
|
|
|
|
(XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
|
|
|
|
|
(TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
|
|
|
|
|
* libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
|
|
|
|
|
error if not defined and LIBGCC2_HAS_SF_MODE is defined.
|
|
|
|
|
(DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
|
|
|
|
|
defined and LIBGCC2_HAS_DF_MODE is defined.
|
|
|
|
|
(XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
|
|
|
|
|
defined and LIBGCC2_HAS_XF_MODE is defined.
|
|
|
|
|
(TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
|
|
|
|
|
defined and LIBGCC2_HAS_TF_MODE is defined.
|
|
|
|
|
|
2014-09-08 14:22:56 +02:00
|
|
|
|
2014-09-08 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
|
|
|
|
|
and ROUND_TOWARDS_ZERO conditionals.
|
|
|
|
|
|
2014-09-07 20:09:34 +02:00
|
|
|
|
2014-09-07 Nathan sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov-interface.c (STRONG_ALIAS): Rename to ...
|
|
|
|
|
(ALIAS_weak): ... here. Use forwarding function. Adjust uses.
|
|
|
|
|
|
Use -fbuilding-libgcc for more target macros used in libgcc.
gcc/c-family:
* c-cppbuiltin.c (c_cpp_builtins): Also define
__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__,
__LIBGCC_EH_FRAME_SECTION_NAME__, __LIBGCC_JCR_SECTION_NAME__,
__LIBGCC_CTORS_SECTION_ASM_OP__, __LIBGCC_DTORS_SECTION_ASM_OP__,
__LIBGCC_TEXT_SECTION_ASM_OP__, __LIBGCC_INIT_SECTION_ASM_OP__,
__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__,
__LIBGCC_STACK_GROWS_DOWNWARD__,
__LIBGCC_DONT_USE_BUILTIN_SETJMP__,
__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__,
__LIBGCC_DWARF_FRAME_REGISTERS__,
__LIBGCC_EH_RETURN_STACKADJ_RTX__, __LIBGCC_JMP_BUF_SIZE__,
__LIBGCC_STACK_POINTER_REGNUM__ and
__LIBGCC_VTABLE_USES_DESCRIPTORS__ for -fbuilding-libgcc.
(builtin_define_with_value): Handle backslash-escaping in string
macro values.
libgcc:
* Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
* config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
uses to __LIBGCC_STACK_POINTER_REGNUM__.
(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
(DWARF_FRAME_REGISTERS): Change all uses to
__LIBGCC_DWARF_FRAME_REGISTERS__.
(EH_RETURN_STACKADJ_RTX): Change all uses to
__LIBGCC_EH_RETURN_STACKADJ_RTX__.
* config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
__LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
* config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
use to __LIBGCC_EH_FRAME_SECTION_NAME__.
(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
* config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
to __LIBGCC_EH_FRAME_SECTION_NAME__.
(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
* config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
__LIBGCC_STACK_POINTER_REGNUM__.
(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
to __LIBGCC_STACK_POINTER_REGNUM__.
* config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
(STACK_POINTER_REGNUM): Change all uses to
__LIBGCC_STACK_POINTER_REGNUM__.
* config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
use to __LIBGCC_STACK_POINTER_REGNUM__.
* config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
uses to __LIBGCC_STACK_POINTER_REGNUM__.
* config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
to __LIBGCC_DWARF_FRAME_REGISTERS__.
* config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
to __LIBGCC_DWARF_FRAME_REGISTERS__.
* config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
to __LIBGCC_STACK_POINTER_REGNUM__.
* config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
Remove conditional definition.
* crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
__LIBGCC_TEXT_SECTION_ASM_OP__.
(EH_FRAME_SECTION_NAME): Change all uses to
__LIBGCC_EH_FRAME_SECTION_NAME__.
(EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
(CTORS_SECTION_ASM_OP): Change all uses to
__LIBGCC_CTORS_SECTION_ASM_OP__.
(DTORS_SECTION_ASM_OP): Change all uses to
__LIBGCC_DTORS_SECTION_ASM_OP__.
(JCR_SECTION_NAME): Change all uses to
__LIBGCC_JCR_SECTION_NAME__.
(INIT_SECTION_ASM_OP): Change all uses to
__LIBGCC_INIT_SECTION_ASM_OP__.
(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
* generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
__LIBGCC_STACK_GROWS_DOWNWARD__.
* libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
__LIBGCC_INIT_SECTION_ASM_OP__.
(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
(EH_FRAME_SECTION_NAME): Change all uses to
__LIBGCC_EH_FRAME_SECTION_NAME__.
* libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
definitions. Change all uses to
__LIBGCC_VTABLE_USES_DESCRIPTORS__.
* unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
__LIBGCC_STACK_GROWS_DOWNWARD__.
(DWARF_FRAME_REGISTERS): Change all uses to
__LIBGCC_DWARF_FRAME_REGISTERS__.
(EH_RETURN_STACKADJ_RTX): Change all uses to
__LIBGCC_EH_RETURN_STACKADJ_RTX__.
* unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
* unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
__LIBGCC_DONT_USE_BUILTIN_SETJMP__.
(JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
From-SVN: r214954
2014-09-05 14:03:46 +02:00
|
|
|
|
2014-09-05 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
|
|
|
|
|
* config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
|
|
|
|
|
uses to __LIBGCC_STACK_POINTER_REGNUM__.
|
|
|
|
|
(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
|
|
|
|
|
__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
|
|
|
|
|
* config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
|
|
|
|
|
Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
|
|
|
|
|
* config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
|
|
|
|
|
uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
|
|
|
|
|
(DWARF_FRAME_REGISTERS): Change all uses to
|
|
|
|
|
__LIBGCC_DWARF_FRAME_REGISTERS__.
|
|
|
|
|
(EH_RETURN_STACKADJ_RTX): Change all uses to
|
|
|
|
|
__LIBGCC_EH_RETURN_STACKADJ_RTX__.
|
|
|
|
|
* config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
|
|
|
|
|
__LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
|
|
|
|
|
* config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
|
|
|
|
|
use to __LIBGCC_EH_FRAME_SECTION_NAME__.
|
|
|
|
|
(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
|
|
|
|
|
* config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
|
|
|
|
|
to __LIBGCC_EH_FRAME_SECTION_NAME__.
|
|
|
|
|
(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
|
|
|
|
|
* config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
|
|
|
|
|
__LIBGCC_STACK_POINTER_REGNUM__.
|
|
|
|
|
(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
|
|
|
|
|
__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
|
|
|
|
|
* config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
|
|
|
|
|
to __LIBGCC_STACK_POINTER_REGNUM__.
|
|
|
|
|
* config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
|
|
|
|
|
all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
|
|
|
|
|
* config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
|
|
|
|
|
all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
|
|
|
|
|
* config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
|
|
|
|
|
Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
|
|
|
|
|
(STACK_POINTER_REGNUM): Change all uses to
|
|
|
|
|
__LIBGCC_STACK_POINTER_REGNUM__.
|
|
|
|
|
* config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
|
|
|
|
|
use to __LIBGCC_STACK_POINTER_REGNUM__.
|
|
|
|
|
* config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
|
|
|
|
|
uses to __LIBGCC_STACK_POINTER_REGNUM__.
|
|
|
|
|
* config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
|
|
|
|
|
to __LIBGCC_DWARF_FRAME_REGISTERS__.
|
|
|
|
|
* config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
|
|
|
|
|
to __LIBGCC_DWARF_FRAME_REGISTERS__.
|
|
|
|
|
* config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
|
|
|
|
|
to __LIBGCC_STACK_POINTER_REGNUM__.
|
|
|
|
|
* config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
|
|
|
|
|
Remove conditional definition.
|
|
|
|
|
* crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
|
|
|
|
|
__LIBGCC_TEXT_SECTION_ASM_OP__.
|
|
|
|
|
(EH_FRAME_SECTION_NAME): Change all uses to
|
|
|
|
|
__LIBGCC_EH_FRAME_SECTION_NAME__.
|
|
|
|
|
(EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
|
|
|
|
|
__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
|
|
|
|
|
(CTORS_SECTION_ASM_OP): Change all uses to
|
|
|
|
|
__LIBGCC_CTORS_SECTION_ASM_OP__.
|
|
|
|
|
(DTORS_SECTION_ASM_OP): Change all uses to
|
|
|
|
|
__LIBGCC_DTORS_SECTION_ASM_OP__.
|
|
|
|
|
(JCR_SECTION_NAME): Change all uses to
|
|
|
|
|
__LIBGCC_JCR_SECTION_NAME__.
|
|
|
|
|
(INIT_SECTION_ASM_OP): Change all uses to
|
|
|
|
|
__LIBGCC_INIT_SECTION_ASM_OP__.
|
|
|
|
|
(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
|
|
|
|
|
__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
|
|
|
|
|
* generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
|
|
|
|
|
__LIBGCC_STACK_GROWS_DOWNWARD__.
|
|
|
|
|
* libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
|
|
|
|
|
__LIBGCC_INIT_SECTION_ASM_OP__.
|
|
|
|
|
(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
|
|
|
|
|
__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
|
|
|
|
|
(EH_FRAME_SECTION_NAME): Change all uses to
|
|
|
|
|
__LIBGCC_EH_FRAME_SECTION_NAME__.
|
|
|
|
|
* libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
|
|
|
|
|
definitions. Change all uses to
|
|
|
|
|
__LIBGCC_VTABLE_USES_DESCRIPTORS__.
|
|
|
|
|
* unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
|
|
|
|
|
__LIBGCC_STACK_GROWS_DOWNWARD__.
|
|
|
|
|
(DWARF_FRAME_REGISTERS): Change all uses to
|
|
|
|
|
__LIBGCC_DWARF_FRAME_REGISTERS__.
|
|
|
|
|
(EH_RETURN_STACKADJ_RTX): Change all uses to
|
|
|
|
|
__LIBGCC_EH_RETURN_STACKADJ_RTX__.
|
|
|
|
|
* unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
|
|
|
|
|
definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
|
|
|
|
|
* unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
|
|
|
|
|
__LIBGCC_DONT_USE_BUILTIN_SETJMP__.
|
|
|
|
|
(JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
|
|
|
|
|
|
2014-09-03 02:43:00 +02:00
|
|
|
|
2014-09-02 Nathan sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov-interface.c (STRONG_ALIAS): New.
|
|
|
|
|
(__gcov_flush): Call __gcov_reset_int.
|
|
|
|
|
(__gcov_reset): Strong alias for ...
|
|
|
|
|
(__gcov_reset_ing): ... this renamed hidden version.
|
|
|
|
|
* libgcov.h (__gcov_reset_int): New declaration.
|
|
|
|
|
|
2014-08-19 16:52:17 +02:00
|
|
|
|
2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
|
|
|
|
|
|
2014-08-19 17:22:59 +02:00
|
|
|
|
* config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
|
|
|
|
|
call from here...
|
|
|
|
|
* config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
|
|
|
|
|
(__dso_handle): Define on Cygwin.
|
|
|
|
|
* config/i386/t-cygming (crtbeginS.o): New rule.
|
|
|
|
|
* config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
|
|
|
|
|
|
2014-08-19 16:52:17 +02:00
|
|
|
|
* config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
|
|
|
|
|
declaration syntax.
|
|
|
|
|
|
2014-08-14 00:23:16 +02:00
|
|
|
|
2014-08-13 Steve Ellcey <sellcey@mips.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c: Undef caddr_t.
|
|
|
|
|
|
2014-08-12 17:28:41 +02:00
|
|
|
|
2014-08-12 Steve Ellcey <sellcey@mips.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips16.S: Skip when __mips_soft_float is defined.
|
|
|
|
|
|
2014-08-07 20:02:06 +02:00
|
|
|
|
2014-08-07 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
|
|
|
|
|
(LIBGCOV_DRIVER): ... to here.
|
|
|
|
|
* libgcov.h (gcov_do_dump): New #define.
|
|
|
|
|
(struct gcov_root): New.
|
|
|
|
|
(__gcov_root): New declaration.
|
|
|
|
|
(__gcov_dump_one): Declare.
|
|
|
|
|
* libgcov-driver.c (gcov_list, gcov_dump_complete,
|
|
|
|
|
run_accounted): Delete.
|
|
|
|
|
(gcov_compute_histogram): Add LIST argument, adjust.
|
|
|
|
|
(compute_summary): Adjust gcov_compute_histogram call.
|
|
|
|
|
(gcov_do_dump): Not hidden, static in libgcov.
|
|
|
|
|
(gcov_clear): Move to interface.c.
|
|
|
|
|
(__gcov_dump_one): New, broken out of ...
|
|
|
|
|
(gcov_exit): ... here. Make static.
|
|
|
|
|
(__gcov_root): New.
|
|
|
|
|
(__gcov_init): Adjust.
|
|
|
|
|
* libgcov-interface.c (gcov_clear, gcov_exit): Remove
|
|
|
|
|
declarations.
|
|
|
|
|
(__gcov_flush): Use __gcov_dump_one and __gcov_reset.
|
|
|
|
|
(gcov_clear): Moved from driver.c. Add LIST argument.
|
|
|
|
|
(__gcov_reset): Adjust for changed interfaces.
|
|
|
|
|
(__gcov_fork): Remove local declaration of __gcov_flush_mx.
|
|
|
|
|
|
2014-08-04 18:34:34 +02:00
|
|
|
|
2014-08-04 Rohit <rohitarulraj@freescale.com>
|
|
|
|
|
|
|
|
|
|
PR target/60102
|
|
|
|
|
* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
|
2014-08-05 16:44:36 +02:00
|
|
|
|
based on change in SPE high register numbers and 3 HTM registers.
|
2014-08-04 18:34:34 +02:00
|
|
|
|
|
2014-08-01 12:05:42 +02:00
|
|
|
|
2014-08-01 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
|
|
|
|
|
LIBGCOV_INTERFACE): Reformat.
|
|
|
|
|
* libgcov-driver.c (gcov_exit, __gcov_init): Disable when
|
|
|
|
|
IN_GCOV_TOOL.
|
|
|
|
|
* libgcov-interface.c: Reformat some comments.
|
|
|
|
|
(__gcov_flush_mx): Add declaration. Tidy up definition.
|
|
|
|
|
|
2014-07-31 18:22:58 +02:00
|
|
|
|
2014-07-31 Alan Modra <amodra@gmail.com>
|
|
|
|
|
Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
|
|
|
|
|
(pack_ldouble): New function.
|
|
|
|
|
(__gcc_qadd): Use it.
|
|
|
|
|
(__gcc_qmul): Likewise.
|
|
|
|
|
(__gcc_qdiv): Likewise.
|
|
|
|
|
(__gcc_qneg): Likewise.
|
|
|
|
|
(__gcc_stoq): Likewise.
|
|
|
|
|
(__gcc_dtoq): Likewise.
|
|
|
|
|
|
2014-07-30 18:26:15 +02:00
|
|
|
|
2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/tpf-unwind.h: Include <stdbool.h>.
|
|
|
|
|
(__tpf_eh_return): Add original return address as second parameter.
|
|
|
|
|
Handle cases where unwinder routines were called directly, instead
|
|
|
|
|
of from within the C++ library.
|
|
|
|
|
|
2014-07-29 15:48:38 +02:00
|
|
|
|
2014-07-29 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov.h: Move renaming of entry points to lib gcov specific
|
|
|
|
|
portion.
|
|
|
|
|
(gcov_do_dump): New rename.
|
|
|
|
|
(gcov_rewrite): Remove inline, make HIDDEN.
|
|
|
|
|
* libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
|
|
|
|
|
(gcov_exit_compute_summary): Rename to ...
|
|
|
|
|
(compute_summary): ... here. Add LIST argument.
|
|
|
|
|
(gcov_exit_merge_gcda): Rename to ...
|
|
|
|
|
(merge_one_data): ... here.
|
|
|
|
|
(gcov_exit_write_gcda): Rename to ...
|
|
|
|
|
(write_one_data): ... here.
|
|
|
|
|
(gcov_exit_merge_summary): Rename to ...
|
|
|
|
|
(merge_summary): Add RUN_COUNTED argument.
|
|
|
|
|
(gcov_exit_dump_gcov): Rename to ...
|
|
|
|
|
(dump_one_gcov): Add RUN_COUNTED argument.
|
|
|
|
|
(gcov_do_dump): New function, broken out of ...
|
|
|
|
|
(gcov_exit): ... here. Call it.
|
|
|
|
|
|
2014-07-27 15:17:38 +02:00
|
|
|
|
2014-07-27 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add moxiebox configuration suppport.
|
|
|
|
|
|
2014-07-27 09:22:47 +02:00
|
|
|
|
2014-07-27 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (struct gcov_filename_aux): Rename ...
|
|
|
|
|
(struct gcov_filename): ... here. Include buffer and max length
|
|
|
|
|
fields.
|
|
|
|
|
(gcov_max_filename): Remove.
|
|
|
|
|
(gi_filename): Remove.
|
|
|
|
|
(gcov_exit_compute_summary): Compute max filename here.
|
|
|
|
|
(gcov_exit_merge_gcda): Add filename parm, adjust.
|
|
|
|
|
(gcov_exit_merge_summary): Likewise.
|
|
|
|
|
(gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
|
|
|
|
|
(gcov_exit): Likewise.
|
|
|
|
|
(__gcov_init): Don't calculate max length here.
|
|
|
|
|
* libgcov_util.c (max_filename_len): Remove.
|
|
|
|
|
(read_gcda_file): Don't calculate max length here.
|
|
|
|
|
(gcov_read_profile_dir): Don't propagate here.
|
|
|
|
|
* libgcov-driver-system.c (alloc_filename_struct): Adjust for
|
|
|
|
|
struct gcov_filename changes.
|
|
|
|
|
(gcov_exit_open_gcda_file): Likewise.
|
|
|
|
|
|
2014-07-25 17:02:17 +02:00
|
|
|
|
2014-07-25 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (set_gcov_dump_complete,
|
|
|
|
|
reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
|
|
|
|
|
functions polluting user's namespace.
|
|
|
|
|
(gcov_exit): Set variable directly.
|
|
|
|
|
(gcov_clear): Reset variable directly.
|
|
|
|
|
* libgcov-interface.c (get_gcov_dymp_complete,
|
|
|
|
|
reset_gov_dump_complete): Remove declarations.
|
|
|
|
|
(__gcov_reset, __gcov_dump): Don't call them.
|
|
|
|
|
|
2014-07-24 18:41:01 +02:00
|
|
|
|
2014-07-24 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
|
2014-07-25 17:02:17 +02:00
|
|
|
|
(__gcc_deregister_frame): Move logic to detect deregister function
|
|
|
|
|
to ...
|
|
|
|
|
(__gcc_register_frame): here, so it's consistent with the register
|
|
|
|
|
logic.
|
2014-07-24 18:41:01 +02:00
|
|
|
|
|
2014-07-23 14:08:31 +02:00
|
|
|
|
2014-07-23 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (set_gcov_list): Remove.
|
|
|
|
|
(gcov_list): Make non-static in GCOV_TOOL.
|
|
|
|
|
* libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
|
|
|
|
|
|
2014-07-18 01:18:50 +02:00
|
|
|
|
2014-07-17 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/linux-atomic.c (__sync_lock_release_4): New.
|
|
|
|
|
(SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
|
|
|
|
|
Don't use SYNC_LOCK_RELEASE for int type.
|
|
|
|
|
|
2014-07-14 15:22:02 +02:00
|
|
|
|
2014-07-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* libgcov.h (struct gcov_fn_info): Make ctrs size 1.
|
|
|
|
|
|
2014-07-11 19:02:18 +02:00
|
|
|
|
2014-07-11 Rong Xu <xur@google.com>
|
|
|
|
|
|
|
|
|
|
* libgcov-util.c (gcov_max_filename): Fix declartion.
|
|
|
|
|
|
2014-07-11 07:48:07 +02:00
|
|
|
|
2014-07-10 Rong Xu <xur@google.com>
|
|
|
|
|
|
|
|
|
|
Add gcov-tool: an offline gcda profile processing tool
|
|
|
|
|
Support.
|
|
|
|
|
* libgcov-driver.c (gcov_max_filename): Make available
|
|
|
|
|
to gcov-tool.
|
|
|
|
|
* libgcov-merge.c (__gcov_merge_add): Replace
|
|
|
|
|
gcov_read_counter() with a Macro.
|
|
|
|
|
(__gcov_merge_ior): Ditto.
|
|
|
|
|
(__gcov_merge_time_profile): Ditto.
|
|
|
|
|
(__gcov_merge_single): Ditto.
|
|
|
|
|
(__gcov_merge_delta): Ditto.
|
|
|
|
|
* libgcov-util.c (void gcov_set_verbose): Set the verbose flag
|
|
|
|
|
in the utility functions.
|
|
|
|
|
(set_fn_ctrs): Utility function for reading gcda files to in-memory
|
|
|
|
|
gcov_list object link lists.
|
|
|
|
|
(tag_function): Ditto.
|
|
|
|
|
(tag_blocks): Ditto.
|
|
|
|
|
(tag_arcs): Ditto.
|
|
|
|
|
(tag_lines): Ditto.
|
|
|
|
|
(tag_counters): Ditto.
|
|
|
|
|
(tag_summary): Ditto.
|
|
|
|
|
(read_gcda_finalize): Ditto.
|
|
|
|
|
(read_gcda_file): Ditto.
|
|
|
|
|
(ftw_read_file): Ditto.
|
|
|
|
|
(read_profile_dir_init): Ditto.
|
|
|
|
|
(gcov_read_profile_dir): Ditto.
|
|
|
|
|
(gcov_read_counter_mem): Ditto.
|
|
|
|
|
(gcov_get_merge_weight): Ditto.
|
|
|
|
|
(merge_wrapper): A wrapper function that calls merging handler.
|
|
|
|
|
(gcov_merge): Merge two gcov_info objects with weights.
|
|
|
|
|
(find_match_gcov_info): Find the matched gcov_info in the list.
|
|
|
|
|
(gcov_profile_merge): Merge two gcov_info object lists.
|
|
|
|
|
(__gcov_add_counter_op): Process edge profile counter values.
|
|
|
|
|
(__gcov_ior_counter_op): Process IOR profile counter values.
|
|
|
|
|
(__gcov_delta_counter_op): Process delta profile counter values.
|
|
|
|
|
(__gcov_single_counter_op): Process single profile counter values.
|
|
|
|
|
(fp_scale): Callback function for float-point scaling.
|
2015-04-28 11:23:40 +02:00
|
|
|
|
(int_scale): Callback function for integer fraction scaling.
|
2014-07-11 07:48:07 +02:00
|
|
|
|
(gcov_profile_scale): Scaling profile counters.
|
|
|
|
|
(gcov_profile_normalize): Normalize profile counters.
|
|
|
|
|
* libgcov.h: Add headers and functions for gcov-tool use.
|
|
|
|
|
(gcov_get_counter): New.
|
|
|
|
|
(gcov_get_counter_target): Ditto.
|
|
|
|
|
(struct gcov_info): Make the functions field mutable in gcov-tool
|
|
|
|
|
compilation.
|
|
|
|
|
|
2014-06-23 18:20:31 +02:00
|
|
|
|
2014-06-23 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/61585
|
|
|
|
|
* unwind-seh.c (_Unwind_GetGR): Check for proper
|
|
|
|
|
index range.
|
|
|
|
|
(_Unwind_SetGR): Likewise.
|
|
|
|
|
|
2014-05-22 17:15:36 +02:00
|
|
|
|
2014-05-22 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
|
|
|
|
|
-mhwmult=none.
|
|
|
|
|
|
2014-05-22 16:06:08 +02:00
|
|
|
|
2014-05-22 Teresa Johnson <tejohnson@google.com>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
|
|
|
|
|
include.
|
|
|
|
|
|
2014-05-21 13:08:58 +02:00
|
|
|
|
2014-05-20 John Marino <gnugcc@marino.st>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-dragonfly*): New target.
|
|
|
|
|
* crtstuff.c: Make dl_iterate_support generic on *bsd.
|
|
|
|
|
* enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
|
|
|
|
|
* unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
|
|
|
|
|
* config/i386/dragonfly-unwind.h: New.
|
|
|
|
|
|
2014-05-21 03:24:05 +02:00
|
|
|
|
2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/60166
|
|
|
|
|
* config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
|
|
|
|
|
(_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
|
|
|
|
|
|
2014-05-13 18:23:11 +02:00
|
|
|
|
2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
* unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
|
|
|
|
|
implementation.
|
|
|
|
|
|
2014-05-12 11:02:36 +02:00
|
|
|
|
2014-05-12 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
|
|
|
|
|
|
2014-05-08 14:11:14 +02:00
|
|
|
|
2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR libgcc/61097
|
|
|
|
|
* config/t-slibgcc-sld: Only build and install libgcc-unwind.map
|
|
|
|
|
if --enable-shared.
|
|
|
|
|
|
2014-04-30 18:53:51 +02:00
|
|
|
|
2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
Work around for current cygwin32 build problems.
|
|
|
|
|
* config/i386/cygming-crtbegin.c (__register_frame_info,
|
|
|
|
|
__deregister_frame_info, _Jv_RegisterClasses): Compile weak default
|
|
|
|
|
functions only for 64-bit systems.
|
|
|
|
|
|
2014-04-25 10:01:09 +02:00
|
|
|
|
2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
|
|
|
|
|
(sigill_caught, sigill_hdlr): Remove.
|
|
|
|
|
|
2014-04-22 14:30:59 +02:00
|
|
|
|
2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
|
|
|
|
|
check.
|
|
|
|
|
* config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
|
|
|
|
|
Solaris 9 single-threaded support.
|
|
|
|
|
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
|
|
|
|
|
Solaris 9 single-threaded support. Add call_user_handler code
|
|
|
|
|
sequences.
|
|
|
|
|
(sparc_is_sighandler): Likewise.
|
|
|
|
|
|
2014-03-27 16:40:31 +01:00
|
|
|
|
2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Append t-floattodi to tmake_file depending on
|
|
|
|
|
host_address.
|
|
|
|
|
|
2014-03-20 17:11:10 +01:00
|
|
|
|
2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
|
|
|
|
|
|
2014-03-20 17:15:39 +01:00
|
|
|
|
* config.host (v850*-*-*): Add to tmake_file instead of resetting it.
|
2014-03-20 17:11:10 +01:00
|
|
|
|
|
2014-03-10 19:31:20 +01:00
|
|
|
|
2014-03-10 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/60472
|
|
|
|
|
* crtstuff.c (frame_dummy): Use void **jcr_list temporary
|
2014-12-15 19:43:26 +01:00
|
|
|
|
variable to avoid "array subscript is above array bounds" warnings.
|
2014-03-10 19:31:20 +01:00
|
|
|
|
Use __builtin_expect when checking *jcr_list for NULL.
|
|
|
|
|
|
2014-03-06 13:24:11 +01:00
|
|
|
|
2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR libgcc/59339
|
|
|
|
|
* config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
|
|
|
|
|
(*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
|
|
|
|
|
vtv_*.o to extra_parts if enable_vtable_verify.
|
|
|
|
|
|
2014-03-06 09:35:40 +01:00
|
|
|
|
2014-03-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
|
|
|
|
|
* config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
|
|
|
|
|
|
2014-02-28 22:53:40 +01:00
|
|
|
|
2014-02-28 Joey Ye <joey.ye@arm.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/60166
|
|
|
|
|
* config/arm/sfp-machine.h (_FP_NANFRAC_H,
|
|
|
|
|
_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
|
|
|
|
|
Set to zero.
|
|
|
|
|
|
2014-02-24 16:08:00 +01:00
|
|
|
|
2014-02-24 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Support "tilegx*" and "tilepro*" triplets.
|
|
|
|
|
* config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
|
|
|
|
|
* config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
|
|
|
|
|
|
2014-02-20 17:35:10 +01:00
|
|
|
|
2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
|
|
|
|
|
* config/nios2/crti.S: Remove .file directive.
|
|
|
|
|
* config/nios2/crtn.S: Likewise.
|
|
|
|
|
|
2014-02-18 18:02:54 +01:00
|
|
|
|
2014-02-18 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
Jonathan Schleifer <js@webkeks.org>
|
|
|
|
|
|
|
|
|
|
PR objc/56870
|
|
|
|
|
* unwind-seh.c (_GCC_specific_handler): Pass proper
|
|
|
|
|
value to unwind-handler.
|
|
|
|
|
|
2014-02-13 00:24:49 +01:00
|
|
|
|
2014-02-12 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/adddf3.c: Update from glibc.
|
|
|
|
|
* soft-fp/addsf3.c: Likewise.
|
|
|
|
|
* soft-fp/addtf3.c: Likewise.
|
|
|
|
|
* soft-fp/divdf3.c: Likewise.
|
|
|
|
|
* soft-fp/divsf3.c: Likewise.
|
|
|
|
|
* soft-fp/divtf3.c: Likewise.
|
|
|
|
|
* soft-fp/double.h: Likewise.
|
|
|
|
|
* soft-fp/eqdf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqsf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqtf2.c: Likewise.
|
|
|
|
|
* soft-fp/extenddftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extended.h: Likewise.
|
|
|
|
|
* soft-fp/extendsfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendxftf2.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfti.c: Likewise.
|
|
|
|
|
* soft-fp/floatdidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatdisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floattidf.c: Likewise.
|
|
|
|
|
* soft-fp/floattisf.c: Likewise.
|
|
|
|
|
* soft-fp/floattitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntitf.c: Likewise.
|
|
|
|
|
* soft-fp/gedf2.c: Likewise.
|
|
|
|
|
* soft-fp/gesf2.c: Likewise.
|
|
|
|
|
* soft-fp/getf2.c: Likewise.
|
|
|
|
|
* soft-fp/ledf2.c: Likewise.
|
|
|
|
|
* soft-fp/lesf2.c: Likewise.
|
|
|
|
|
* soft-fp/letf2.c: Likewise.
|
|
|
|
|
* soft-fp/muldf3.c: Likewise.
|
|
|
|
|
* soft-fp/mulsf3.c: Likewise.
|
|
|
|
|
* soft-fp/multf3.c: Likewise.
|
|
|
|
|
* soft-fp/negdf2.c: Likewise.
|
|
|
|
|
* soft-fp/negsf2.c: Likewise.
|
|
|
|
|
* soft-fp/negtf2.c: Likewise.
|
|
|
|
|
* soft-fp/op-1.h: Likewise.
|
|
|
|
|
* soft-fp/op-2.h: Likewise.
|
|
|
|
|
* soft-fp/op-4.h: Likewise.
|
|
|
|
|
* soft-fp/op-8.h: Likewise.
|
|
|
|
|
* soft-fp/op-common.h: Likewise.
|
|
|
|
|
* soft-fp/quad.h: Likewise.
|
|
|
|
|
* soft-fp/single.h: Likewise.
|
|
|
|
|
* soft-fp/soft-fp.h: Likewise.
|
|
|
|
|
* soft-fp/subdf3.c: Likewise.
|
|
|
|
|
* soft-fp/subsf3.c: Likewise.
|
|
|
|
|
* soft-fp/subtf3.c: Likewise.
|
|
|
|
|
* soft-fp/truncdfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfxf2.c: Likewise.
|
|
|
|
|
* soft-fp/unorddf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordsf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordtf2.c: Likewise.
|
|
|
|
|
* config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
|
|
|
|
|
macro.
|
|
|
|
|
* config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2014-02-07 11:14:24 +01:00
|
|
|
|
2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/32/_fixdfdi.c: Throw invalid exception if number
|
|
|
|
|
cannot be represented.
|
|
|
|
|
* config/s390/32/_fixsfdi.c: Likewise.
|
|
|
|
|
* config/s390/32/_fixtfdi.c: Likewise.
|
|
|
|
|
* config/s390/32/_fixunsdfdi.c: Likewise.
|
|
|
|
|
* config/s390/32/_fixunssfdi.c: Likewise.
|
|
|
|
|
* config/s390/32/_fixunstfdi.c: Likewise.
|
|
|
|
|
|
2014-02-07 08:46:34 +01:00
|
|
|
|
2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (libgcc_cv_mips_hard_float): New.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.host (mips*-*-*): Use t-hardfp-sfdf rather than
|
|
|
|
|
t-softfp-sfdf for hard-float targets.
|
|
|
|
|
* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
|
|
|
|
|
(softfp_float_modes, softfp_int_modes, softfp_extensions)
|
|
|
|
|
(softfp_truncations, softfp_exclude_libgcc2): New.
|
|
|
|
|
* config/t-hardfp: New file.
|
|
|
|
|
* config/t-hardfp-sfdf: Likewise.
|
|
|
|
|
* config/hardfp.c: Likewise.
|
|
|
|
|
|
2014-02-05 16:02:50 +01:00
|
|
|
|
2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Include t-floattodi also for s390x.
|
|
|
|
|
* config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
|
|
|
|
|
* config/s390/32/_fixsfdi.c: Likewise.
|
|
|
|
|
* config/s390/32/_fixtfdi.c: Likewise.
|
|
|
|
|
* config/s390/32/_fixunsdfdi.c: Likewise.
|
|
|
|
|
* config/s390/32/_fixunssfdi.c: Likewise.
|
|
|
|
|
* config/s390/32/_fixunstfdi.c: Likewise.
|
|
|
|
|
|
2014-02-04 10:31:38 +01:00
|
|
|
|
2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/59788
|
|
|
|
|
* config/t-slibgcc-sld (libgcc-unwind.map): New target.
|
|
|
|
|
(install-libgcc-unwind-map-forbuild): New target.
|
|
|
|
|
(all): Depend on install-libgcc-unwind-map-forbuild.
|
|
|
|
|
(install-libgcc-unwind-map): New target.
|
|
|
|
|
(install): Depend on install-libgcc-unwind-map.
|
|
|
|
|
|
2014-02-02 23:12:17 +01:00
|
|
|
|
2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nios2/crti.S (_init): Initialize GOT pointer from
|
|
|
|
|
_gp_got instead of _GLOBAL_OFFSET_TABLE_.
|
|
|
|
|
|
2014-02-02 17:17:15 +01:00
|
|
|
|
2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Check __mips64 when setting host_address.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
|
|
|
|
|
mips/t-mips64 and t-softfp.
|
|
|
|
|
(mips*-*-linux*): Don't add mips/t-tpbit.
|
|
|
|
|
* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
|
|
|
|
|
(DPBIT, DPBIT_CFLAGS): Delete.
|
|
|
|
|
* config/mips/sfp-machine.h: New file.
|
|
|
|
|
* config/mips/t-mips64: Likewise.
|
|
|
|
|
* config/mips/t-softfp-tf: Likewise.
|
|
|
|
|
* config/mips/t-tpbit: Delete.
|
|
|
|
|
|
2014-01-29 16:45:20 +01:00
|
|
|
|
2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
|
|
|
|
|
as long long.
|
|
|
|
|
|
2014-01-25 21:37:01 +01:00
|
|
|
|
2014-01-25 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config/tilepro/atomic.c: Include tconfig.h. Don't include
|
|
|
|
|
config.h or system.h.
|
|
|
|
|
(bool) Define.
|
|
|
|
|
|
2014-01-25 21:35:56 +01:00
|
|
|
|
2014-01-25 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
|
|
|
|
|
(post_atomic_barrier): Ditto.
|
|
|
|
|
(__fetch_and_do): New macro.
|
|
|
|
|
(__atomic_fetch_and_do): Use __fetch_and_do.
|
|
|
|
|
(__sync_fetch_and_do): New macro.
|
|
|
|
|
(__sync_fetch_and_add_4): New function.
|
|
|
|
|
(__sync_fetch_and_sub_4): New function.
|
|
|
|
|
(__sync_fetch_and_or_4): New function.
|
|
|
|
|
(__sync_fetch_and_and_4): New function.
|
|
|
|
|
(__sync_fetch_and_xor_4): New function.
|
|
|
|
|
(__sync_fetch_and_nand_4): New function.
|
|
|
|
|
(__sync_fetch_and_add_8): New function.
|
|
|
|
|
(__sync_fetch_and_sub_8): New function.
|
|
|
|
|
(__sync_fetch_and_or_8): New function.
|
|
|
|
|
(__sync_fetch_and_and_8): New function.
|
|
|
|
|
(__sync_fetch_and_xor_8): New function.
|
|
|
|
|
(__sync_fetch_and_nand_8): New function.
|
|
|
|
|
(__do_and_fetch): New macro.
|
|
|
|
|
(__atomic_do_and_fetch): Use __do_and_fetch.
|
|
|
|
|
(__sync_do_and_fetch): New macro.
|
|
|
|
|
(__sync_add_and_fetch_4): New function.
|
|
|
|
|
(__sync_sub_and_fetch_4): New function.
|
|
|
|
|
(__sync_or_and_fetch_4): New function.
|
|
|
|
|
(__sync_and_and_fetch_4): New function.
|
|
|
|
|
(__sync_xor_and_fetch_4): New function.
|
|
|
|
|
(__sync_nand_and_fetch_4): New function.
|
|
|
|
|
(__sync_add_and_fetch_8): New function.
|
|
|
|
|
(__sync_sub_and_fetch_8): New function.
|
|
|
|
|
(__sync_or_and_fetch_8): New function.
|
|
|
|
|
(__sync_and_and_fetch_8): New function.
|
|
|
|
|
(__sync_xor_and_fetch_8): New function.
|
|
|
|
|
(__sync_nand_and_fetch_8): New function.
|
|
|
|
|
(__sync_exchange_methods): New macro.
|
|
|
|
|
(__sync_val_compare_and_swap_4): New function.
|
|
|
|
|
(__sync_bool_compare_and_swap_4): New function.
|
|
|
|
|
(__sync_lock_test_and_test_4): New function.
|
|
|
|
|
(__sync_val_compare_and_swap_8): New function.
|
|
|
|
|
(__sync_bool_compare_and_swap_8): New function.
|
|
|
|
|
(__sync_lock_test_and_test_8): New function.
|
|
|
|
|
(__subword_cmpxchg_body): New macro.
|
|
|
|
|
(__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
|
|
|
|
|
(__atomic_compare_exchange_2): Ditto.
|
|
|
|
|
(__sync_subword_cmpxchg): New macro.
|
|
|
|
|
(__sync_val_compare_and_swap_1): New function.
|
|
|
|
|
(__sync_bool_compare_and_swap_1): New function.
|
|
|
|
|
(__sync_val_compare_and_swap_2): New function.
|
|
|
|
|
(__sync_bool_compare_and_swap_2): New function.
|
|
|
|
|
(__atomic_subword): Rename to ...
|
|
|
|
|
(__subword): ... New name.
|
|
|
|
|
(__atomic_subword_fetch): Use __subword.
|
|
|
|
|
(__sync_subword_fetch): New macro.
|
|
|
|
|
(__sync_fetch_and_add_1): New function.
|
|
|
|
|
(__sync_fetch_and_sub_1): New function.
|
|
|
|
|
(__sync_fetch_and_or_1): New function.
|
|
|
|
|
(__sync_fetch_and_and_1): New function.
|
|
|
|
|
(__sync_fetch_and_xor_1): New function.
|
|
|
|
|
(__sync_fetch_and_nand_1): New function.
|
|
|
|
|
(__sync_fetch_and_add_2): New function.
|
|
|
|
|
(__sync_fetch_and_sub_2): New function.
|
|
|
|
|
(__sync_fetch_and_or_2): New function.
|
|
|
|
|
(__sync_fetch_and_and_2): New function.
|
|
|
|
|
(__sync_fetch_and_xor_2): New function.
|
|
|
|
|
(__sync_fetch_and_nand_2): New function.
|
|
|
|
|
(__sync_add_and_fetch_1): New function.
|
|
|
|
|
(__sync_sub_and_fetch_1): New function.
|
|
|
|
|
(__sync_or_and_fetch_1): New function.
|
|
|
|
|
(__sync_and_and_fetch_1): New function.
|
|
|
|
|
(__sync_xor_and_fetch_1): New function.
|
|
|
|
|
(__sync_nand_and_fetch_1): New function.
|
|
|
|
|
(__sync_add_and_fetch_2): New function.
|
|
|
|
|
(__sync_sub_and_fetch_2): New function.
|
|
|
|
|
(__sync_or_and_fetch_2): New function.
|
|
|
|
|
(__sync_and_and_fetch_2): New function.
|
|
|
|
|
(__sync_xor_and_fetch_2): New function.
|
|
|
|
|
(__sync_nand_and_fetch_2): New function.
|
|
|
|
|
(__atomic_subword_lock): Use __subword.
|
|
|
|
|
(__sync_subword_lock): New macro.
|
|
|
|
|
(__sync_lock_test_and_set_1): New function.
|
|
|
|
|
(__sync_lock_test_and_set_2): New function.
|
|
|
|
|
|
2014-01-25 21:34:42 +01:00
|
|
|
|
2014-01-25 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config/tilepro/atomic.c (BIT_OFFSET): Define.
|
|
|
|
|
(__atomic_subword_cmpxchg): Use BIT_OFFSET.
|
|
|
|
|
(__atomic_subword): Ditto.
|
|
|
|
|
|
2014-01-25 21:33:28 +01:00
|
|
|
|
2014-01-25 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config/tilepro/atomic.c (__atomic_do_and_fetch): Add
|
|
|
|
|
a prefix op argument.
|
|
|
|
|
(__atomic_nand_fetch_4): Add prefix op.
|
|
|
|
|
(__atomic_nand_fetch_8): Ditto.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2014-01-21 Baruch Siach <barch@tkos.co.il>
|
2014-01-21 20:06:32 +01:00
|
|
|
|
|
|
|
|
|
* config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
|
|
|
|
|
|
2014-01-09 20:41:54 +01:00
|
|
|
|
2014-01-09 Rong Xu <xur@google.com>
|
|
|
|
|
|
|
|
|
|
* libgcov-driver.c (this_prg): make it local to save
|
|
|
|
|
bss space.
|
|
|
|
|
(gcov_exit_compute_summary): Ditto.
|
|
|
|
|
(gcov_exit_merge_gcda): Ditto.
|
|
|
|
|
(gcov_exit_merge_summary): Ditto.
|
|
|
|
|
(gcov_exit_dump_gcov): Ditto.
|
|
|
|
|
|
2015-04-28 11:23:40 +02:00
|
|
|
|
2014-01-08 Rong Xu <xur@google.com>
|
2014-01-08 17:37:08 +01:00
|
|
|
|
|
|
|
|
|
* libgcov-driver.c: Use libgcov.h.
|
|
|
|
|
(buffer_fn_data): Use xmalloc instead of malloc.
|
|
|
|
|
(gcov_exit_merge_gcda): Ditto.
|
|
|
|
|
* libgcov-driver-system.c (allocate_filename_struct): Ditto.
|
|
|
|
|
* libgcov.h: New common header files for libgcov-*.h.
|
|
|
|
|
* libgcov-interface.c: Use libgcov.h
|
|
|
|
|
* libgcov-merge.c: Ditto.
|
|
|
|
|
* libgcov-profiler.c: Ditto.
|
|
|
|
|
* Makefile.in: Add dependence to libgcov.h
|
|
|
|
|
|
2014-01-03 03:05:44 +01:00
|
|
|
|
2014-01-02 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
|
|
|
|
|
case of small numerator and finite nonzero result.
|
|
|
|
|
|
2014-01-02 23:25:22 +01:00
|
|
|
|
2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years
|
|
|
|
|
|
arc-common.c, [...]: Use the standard form for the copyright notice.
gcc/
* common/config/arc/arc-common.c, config/arc/arc-modes.def,
config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
config/arc/arc.md, config/arc/arc.opt, config/arm/arm_neon_builtins.def,
config/arm/crypto.def, config/i386/avx512cdintrin.h,
config/i386/avx512erintrin.h, config/i386/avx512fintrin.h,
config/i386/avx512pfintrin.h, config/i386/btver2.md,
config/i386/shaintrin.h, config/i386/slm.md, config/linux-protos.h,
config/linux.c, config/winnt-c.c, diagnostic-color.c,
diagnostic-color.h, gimple-ssa-isolate-paths.c, vtable-verify.c,
vtable-verify.h: Use the standard form for the copyright notice.
gcc/c-family/
* array-notation-common.c, c-cilkplus.c: Use the standard form for
the copyright notice.
gcc/c/
* c-array-notation.c: Use the standard form for the copyright notice.
gcc/cp/
* cp-array-notation.c, cp-cilkplus.c, vtable-class-hierarchy.c: Use
the standard form for the copyright notice.
gcc/testsuite/
* gcc.target/arc/arc.exp: Use the standard form for the copyright
notice.
libgcc/
* config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
config/arc/dp-hack.h, config/arc/fp-hack.h,
config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
config/arc/ieee-754/arc600-dsp/divdf3.S,
config/arc/ieee-754/arc600-dsp/divsf3.S,
config/arc/ieee-754/arc600-dsp/muldf3.S,
config/arc/ieee-754/arc600-dsp/mulsf3.S,
config/arc/ieee-754/arc600-mul64/divdf3.S,
config/arc/ieee-754/arc600-mul64/divsf3.S,
config/arc/ieee-754/arc600-mul64/muldf3.S,
config/arc/ieee-754/arc600-mul64/mulsf3.S,
config/arc/ieee-754/arc600/divsf3.S,
config/arc/ieee-754/arc600/mulsf3.S,
config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
vtv_start_preinit.c: Use the standard form for the copyright notice.
libgomp/
* hashtab.h: Use the standard form for the copyright notice.
libstdc++-v3/
* testsuite/18_support/new_handler.cc,
testsuite/18_support/terminate_handler.cc,
testsuite/18_support/unexpected_handler.cc: Use the standard form for
the copyright notice.
From-SVN: r206288
2014-01-02 23:09:02 +01:00
|
|
|
|
2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
|
|
|
|
|
config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
|
|
|
|
|
config/arc/dp-hack.h, config/arc/fp-hack.h,
|
|
|
|
|
config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600-dsp/divdf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600-dsp/divsf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600-dsp/muldf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600-dsp/mulsf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600-mul64/divdf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600-mul64/divsf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600-mul64/muldf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600-mul64/mulsf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600/divsf3.S,
|
|
|
|
|
config/arc/ieee-754/arc600/mulsf3.S,
|
|
|
|
|
config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
|
|
|
|
|
config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
|
|
|
|
|
config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
|
|
|
|
|
config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
|
|
|
|
|
config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
|
|
|
|
|
config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
|
|
|
|
|
config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
|
|
|
|
|
config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
|
|
|
|
|
config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
|
|
|
|
|
config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
|
|
|
|
|
config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
|
|
|
|
|
config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
|
|
|
|
|
config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
|
|
|
|
|
config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
|
|
|
|
|
config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
|
|
|
|
|
config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
|
|
|
|
|
config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
|
|
|
|
|
config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
|
|
|
|
|
config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
|
|
|
|
|
config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
|
|
|
|
|
config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
|
|
|
|
|
config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
|
|
|
|
|
vtv_start_preinit.c: Use the standard form for the copyright notice.
|
|
|
|
|
|
2013-12-31 08:05:35 +01:00
|
|
|
|
2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
Based on patches from Altera Corporation
|
|
|
|
|
|
|
|
|
|
* config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
|
|
|
|
|
* config/nios2/lib2-nios2.h: New file.
|
|
|
|
|
* config/nios2/lib2-divmod-hi.c: New file.
|
|
|
|
|
* config/nios2/linux-unwind.h: New file.
|
|
|
|
|
* config/nios2/lib2-divmod.c: New file.
|
|
|
|
|
* config/nios2/linux-atomic.c: New file.
|
|
|
|
|
* config/nios2/t-nios2: New file.
|
|
|
|
|
* config/nios2/crti.asm: New file.
|
|
|
|
|
* config/nios2/t-linux: New file.
|
|
|
|
|
* config/nios2/lib2-divtable.c: New file.
|
|
|
|
|
* config/nios2/lib2-mul.c: New file.
|
|
|
|
|
* config/nios2/tramp.c: New file.
|
|
|
|
|
* config/nios2/crtn.asm: New file.
|
|
|
|
|
|
2013-12-26 15:12:20 +01:00
|
|
|
|
2013-12-26 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (enum vendor_signatures): Remove.
|
|
|
|
|
(__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
|
|
|
|
|
from cpuid.h to check vendor signatures.
|
|
|
|
|
|
2013-12-26 09:54:49 +01:00
|
|
|
|
2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
|
|
|
|
|
|
2014-03-10 19:31:20 +01:00
|
|
|
|
* config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
|
2013-12-26 09:54:49 +01:00
|
|
|
|
AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
|
|
|
|
|
(get_amd_cpu): Likewise.
|
|
|
|
|
|
2013-12-26 02:48:24 +01:00
|
|
|
|
2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
|
|
|
|
|
Haswell.
|
|
|
|
|
|
re PR target/59422 (Support more targets for function multi versioning)
gcc/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
H.J. Lu <hongjiu.lu@intel.com>
PR target/59422
* config/i386/i386.c (get_builtin_code_for_version): Handle
PROCESSOR_HASWELL, PROCESSOR_SILVERMONT, PROCESSOR_BTVER1,
PROCESSOR_BTVER2, PROCESSOR_BDVER3 and PROCESSOR_BDVER4.
Change priority of PROCESSOR_BDVER1 to P_PROC_XOP.
(fold_builtin_cpu): Add "ivybridge", "haswell", "bonnell",
"silvermont", "bobcat" and "jaguar" CPU names. Add "sse4a",
"fma4", "xop" and "fma" ISA names.
libgcc/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
H.J. Lu <hongjiu.lu@intel.com>
PR target/59422
* config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
and AMD_JAGUAR.
(enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
(enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
FEATURE_XOP and FEATURE_FMA.
(get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
AMDFAM15H_BDVER3.
(get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
(get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
FEATURE_FMA4 and FEATURE_XOP.
testsuite/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
PR target/59422
* gcc.target/i386/funcspec-5.c (test_fma, test_xop, test_no_fma,
test_no_xop, test_arch_corei7, test_arch_corei7_avx,
test_arch_core_avx2, test_arch_bdver1, test_arch_bdver2,
test_arch_bdver3, test_tune_corei7, test_tune_corei7_avx,
test_tune_core_avx2, test_tune_bdver1, test_tune_bdver2 and
test_tune_bdver3): New function prototypes.
From-SVN: r206200
2013-12-25 23:22:24 +01:00
|
|
|
|
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
|
|
|
|
|
H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
2013-12-26 02:49:07 +01:00
|
|
|
|
PR target/59422
|
|
|
|
|
* config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
|
re PR target/59422 (Support more targets for function multi versioning)
gcc/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
H.J. Lu <hongjiu.lu@intel.com>
PR target/59422
* config/i386/i386.c (get_builtin_code_for_version): Handle
PROCESSOR_HASWELL, PROCESSOR_SILVERMONT, PROCESSOR_BTVER1,
PROCESSOR_BTVER2, PROCESSOR_BDVER3 and PROCESSOR_BDVER4.
Change priority of PROCESSOR_BDVER1 to P_PROC_XOP.
(fold_builtin_cpu): Add "ivybridge", "haswell", "bonnell",
"silvermont", "bobcat" and "jaguar" CPU names. Add "sse4a",
"fma4", "xop" and "fma" ISA names.
libgcc/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
H.J. Lu <hongjiu.lu@intel.com>
PR target/59422
* config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
and AMD_JAGUAR.
(enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
(enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
FEATURE_XOP and FEATURE_FMA.
(get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
AMDFAM15H_BDVER3.
(get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
(get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
FEATURE_FMA4 and FEATURE_XOP.
testsuite/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
PR target/59422
* gcc.target/i386/funcspec-5.c (test_fma, test_xop, test_no_fma,
test_no_xop, test_arch_corei7, test_arch_corei7_avx,
test_arch_core_avx2, test_arch_bdver1, test_arch_bdver2,
test_arch_bdver3, test_tune_corei7, test_tune_corei7_avx,
test_tune_core_avx2, test_tune_bdver1, test_tune_bdver2 and
test_tune_bdver3): New function prototypes.
From-SVN: r206200
2013-12-25 23:22:24 +01:00
|
|
|
|
and AMD_JAGUAR.
|
|
|
|
|
(enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
|
|
|
|
|
INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
|
|
|
|
|
(enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
|
|
|
|
|
FEATURE_XOP and FEATURE_FMA.
|
|
|
|
|
(get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
|
|
|
|
|
AMDFAM15H_BDVER3.
|
|
|
|
|
(get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
|
2013-12-26 02:49:07 +01:00
|
|
|
|
(get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
|
re PR target/59422 (Support more targets for function multi versioning)
gcc/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
H.J. Lu <hongjiu.lu@intel.com>
PR target/59422
* config/i386/i386.c (get_builtin_code_for_version): Handle
PROCESSOR_HASWELL, PROCESSOR_SILVERMONT, PROCESSOR_BTVER1,
PROCESSOR_BTVER2, PROCESSOR_BDVER3 and PROCESSOR_BDVER4.
Change priority of PROCESSOR_BDVER1 to P_PROC_XOP.
(fold_builtin_cpu): Add "ivybridge", "haswell", "bonnell",
"silvermont", "bobcat" and "jaguar" CPU names. Add "sse4a",
"fma4", "xop" and "fma" ISA names.
libgcc/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
H.J. Lu <hongjiu.lu@intel.com>
PR target/59422
* config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
and AMD_JAGUAR.
(enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
(enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
FEATURE_XOP and FEATURE_FMA.
(get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
AMDFAM15H_BDVER3.
(get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
(get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
FEATURE_FMA4 and FEATURE_XOP.
testsuite/
2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
PR target/59422
* gcc.target/i386/funcspec-5.c (test_fma, test_xop, test_no_fma,
test_no_xop, test_arch_corei7, test_arch_corei7_avx,
test_arch_core_avx2, test_arch_bdver1, test_arch_bdver2,
test_arch_bdver3, test_tune_corei7, test_tune_corei7_avx,
test_tune_core_avx2, test_tune_bdver1, test_tune_bdver2 and
test_tune_bdver3): New function prototypes.
From-SVN: r206200
2013-12-25 23:22:24 +01:00
|
|
|
|
FEATURE_FMA4 and FEATURE_XOP.
|
|
|
|
|
|
Use proper Intel processor names for -march=/-mtune=
gcc/
* config/i386/core2.md: Replace corei7 with nehalem.
* config/i386/driver-i386.c (host_detect_local_cpu): Use nehalem,
westmere, sandybridge, ivybridge, haswell, bonnell, silvermont
for cpu names.
* config/i386/i386-c.c (ix86_target_macros_internal): Replace
PROCESSOR_COREI7, PROCESSOR_COREI7_AVX, PROCESSOR_ATOM,
PROCESSOR_SLM with PROCESSOR_NEHALEM, PROCESSOR_SANDYBRIDGE,
PROCESSOR_BONNELL, PROCESSOR_SILVERMONT. Define
__nehalem/__nehalem__, __sandybridge/__sandybridge__,
__haswell/__haswell__, __tune_nehalem__, __tune_sandybridge__,
__tune_haswell__, __bonnell/__bonnell__,
__silvermont/__silvermont__, __tune_bonnell__,
__tune_silvermont__.
* config/i386/i386.c (m_COREI7): Renamed to ...
(m_NEHALEM): This.
(m_COREI7_AVX): Renamed to ...
(m_SANDYBRIDGE): This.
(m_ATOM): Renamed to ...
(m_BONNELL): This.
(m_SLM): Renamed to ...
(m_SILVERMONT): This.
(m_CORE_ALL): Updated.
(cpu_names): Add "nehalem", "westmere", "sandybridge",
"ivybridge", "haswell", "broadwell", "bonnell", "silvermont".
(PTA_CORE2): New.
(PTA_NEHALEM): Likewise.
(PTA_WESTMERE): Likewise.
(PTA_SANDYBRIDGE): Likewise.
(PTA_IVYBRIDGE): Likewise.
(PTA_HASWELL): Likewise.
(PTA_BROADWELL): Likewise.
(PTA_BONNELL): Likewise.
(PTA_SILVERMONT): Likewise.
(ix86_option_override_internal): Use new PTA_XXX. Add nehalem,
westmere, sandybridge, ivybridge, haswell, bonnell, silvermont.
(ix86_lea_outperforms): Updated.
(ix86_issue_rate): Likewise.
(ix86_adjust_cost): Likewise.
(ia32_multipass_dfa_lookahead): Likewise.
(do_reorder_for_imul): Likewise.
(swap_top_of_ready_list): Likewise.
(ix86_sched_reorder): Likewise.
(ix86_sched_init_global): Likewise.
(get_builtin_code_for_version): Likewise.
(processor_model): Replace M_INTEL_ATOM, M_INTEL_SLM with
M_INTEL_BONNELL, M_INTEL_SILVERMONT.
(arch_names_table): Updated.
* config/i386/i386.h (TARGET_COREI7): Removed.
(TARGET_COREI7_AVX): Likewise.
(TARGET_ATOM): Likewise.
(TARGET_SLM): Likewise.
(TARGET_NEHALEM): New.
(TARGET_SANDYBRIDGE): Likewise.
(TARGET_BONNELL): Likewise.
(TARGET_SILVERMONT): Likewise.
(target_cpu_default): Add TARGET_CPU_DEFAULT_core_avx2,
TARGET_CPU_DEFAULT_nehalem, TARGET_CPU_DEFAULT_westmere,
TARGET_CPU_DEFAULT_sandybridge, TARGET_CPU_DEFAULT_ivybridge,
TARGET_CPU_DEFAULT_broadwell, TARGET_CPU_DEFAULT_bonnell,
TARGET_CPU_DEFAULT_silvermont. Move TARGET_CPU_DEFAULT_haswell
before TARGET_CPU_DEFAULT_broadwell.
(processor_type): Replace PROCESSOR_COREI7, PROCESSOR_COREI7_AVX,
PROCESSOR_ATOM, PROCESSOR_SLM with PROCESSOR_NEHALEM,
PROCESSOR_SANDYBRIDGE, PROCESSOR_BONNELL, PROCESSOR_SILVERMONT.
* config/i386/i386.md (cpu): Replace corei7 with nehalem.
* config/i386/x86-tune.def: Updated.
* doc/invoke.texi: Replace corei7, corei7-avx, core-avx-i,
core-avx2, atom, slm with nehalem, sandybridge, ivybridge,
haswell, bonnel, silvermont. Add westmere.
libgcc/
* config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
(get_intel_cpu): Updated.
Co-Authored-By: Tocar Ilya <ilya.tocar@intel.com>
From-SVN: r206178
2013-12-23 14:05:09 +01:00
|
|
|
|
2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
|
|
|
|
|
INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
|
|
|
|
|
(get_intel_cpu): Updated.
|
|
|
|
|
|
2013-12-12 06:48:08 +01:00
|
|
|
|
2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
|
|
|
|
|
|
2013-12-09 18:37:43 +01:00
|
|
|
|
2013-12-09 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
|
2013-12-09 18:41:40 +01:00
|
|
|
|
instructions when __SSE_MATH__ is defined.
|
2013-12-09 18:37:43 +01:00
|
|
|
|
|
2013-12-06 18:09:57 +01:00
|
|
|
|
2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
|
|
|
|
|
|
|
|
|
|
* config.host (microblaze-*-rtems*): New.
|
|
|
|
|
|
2013-12-04 12:34:39 +01:00
|
|
|
|
2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
|
|
|
|
|
architectures that do not have hardware divide instruction.
|
|
|
|
|
i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
|
|
|
|
|
|
2013-12-04 11:49:14 +01:00
|
|
|
|
2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* longlong.h: Delete (moved to include/).
|
|
|
|
|
|
2013-12-03 19:57:37 +01:00
|
|
|
|
2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
|
|
|
|
|
of normal number and qNaN to not raise an inexact exception.
|
|
|
|
|
|
2013-11-28 16:31:23 +01:00
|
|
|
|
2013-11-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
|
|
|
|
|
|
|
|
|
|
2013-11-28 Matthew Leach <matthew.leach@arm.com>
|
2013-11-28 11:59:38 +01:00
|
|
|
|
|
|
|
|
|
* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
|
|
|
|
|
for correct opcodes on BE.
|
|
|
|
|
|
2013-11-27 22:57:52 +01:00
|
|
|
|
2013-11-27 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/op-4.h: Update from glibc.
|
|
|
|
|
|
2013-11-27 13:17:05 +01:00
|
|
|
|
2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
|
|
|
|
|
|
|
|
|
|
* libgcc2.c (__udivmoddi4): Define new implementation when
|
|
|
|
|
TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
|
|
|
|
|
divide instructions.
|
|
|
|
|
|
2013-11-25 18:11:50 +01:00
|
|
|
|
2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
|
|
|
|
|
|
2013-11-25 17:02:12 +01:00
|
|
|
|
2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/t-softfp (soft-fp-objects-base): New variable.
|
|
|
|
|
(soft-fp-objects): Use it.
|
|
|
|
|
|
2013-11-23 16:38:07 +01:00
|
|
|
|
2013-11-23 David Edelson <dje.gcc@gmail.com>
|
|
|
|
|
Andrew Dixie <andrewd@gentrack.com>
|
|
|
|
|
|
|
|
|
|
PR target/33704
|
|
|
|
|
* config/rs6000/aixinitfini.c: New file.
|
|
|
|
|
* config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
|
|
|
|
|
* config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
|
|
|
|
|
symbols.
|
|
|
|
|
|
2013-11-22 17:33:40 +01:00
|
|
|
|
2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
|
|
|
|
|
|
2013-11-27 22:57:52 +01:00
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
|
2013-11-22 17:33:40 +01:00
|
|
|
|
|
2013-11-18 23:04:48 +01:00
|
|
|
|
2013-11-18 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
2013-11-19 02:08:02 +01:00
|
|
|
|
* libgcov-driver.c (run_accounted): Make global level static.
|
|
|
|
|
(gcov_exit_merge_summary): Silence warning; do not clear
|
|
|
|
|
run_accounted here.
|
|
|
|
|
(gcov_exit): Clear it here.
|
|
|
|
|
|
2013-11-19 01:50:53 +01:00
|
|
|
|
* libgcov-driver.c (gcov_exit_merge_summary): Fix setting
|
|
|
|
|
run_accounted.
|
|
|
|
|
|
2013-11-18 23:04:48 +01:00
|
|
|
|
* libgcov-driver.c (get_gcov_dump_complete): Update comments.
|
|
|
|
|
(all_prg, crc32): Remove static vars.
|
|
|
|
|
(gcov_exit_compute_summary): Rewrite to return crc32; do not clear
|
|
|
|
|
all_prg.
|
|
|
|
|
(gcov_exit_merge_gcda): Add crc32 parameter.
|
|
|
|
|
(gcov_exit_merge_summary): Add crc32 and all_prg parameter;
|
|
|
|
|
do not account run if it was already accounted.
|
|
|
|
|
(gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
|
|
|
|
|
(gcov_exit): Initialize all_prg; update.
|
|
|
|
|
|
2013-11-15 18:49:36 +01:00
|
|
|
|
2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2013-11-14 19:50:48 +01:00
|
|
|
|
2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
|
|
|
Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
|
|
|
|
|
(frob_update_context): Use it.
|
|
|
|
|
|
|
|
|
|
2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
|
|
|
Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
|
|
|
|
|
(trampoline_initial): Provide ELFv2 variant.
|
|
|
|
|
(__trampoline_setup): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/linux-unwind.h (frob_update_context): Do not
|
|
|
|
|
check for AIX indirect function call sequence if _CALL_ELF == 2.
|
|
|
|
|
|
|
|
|
|
2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
|
|
|
Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/linux-unwind.h (get_regs): Do not support
|
|
|
|
|
old kernel versions if _CALL_ELF == 2.
|
|
|
|
|
(frob_update_context): Do not support PLT stub variants only
|
|
|
|
|
generated by old linkers if _CALL_ELF == 2.
|
|
|
|
|
|
2013-11-14 19:25:33 +01:00
|
|
|
|
2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
|
|
|
Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
|
|
|
|
|
location of CR save area for 64-bit little-endian systems.
|
|
|
|
|
|
2013-11-11 12:46:17 +01:00
|
|
|
|
2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
|
|
|
|
|
in tmake_file.
|
|
|
|
|
* config/arm/t-vxworks: Delete.
|
|
|
|
|
|
2013-11-10 12:47:18 +01:00
|
|
|
|
2013-11-10 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cygming-crtbegin.c (__gcc_register_frame):
|
|
|
|
|
Increment load-count on use of LIBGCC_SONAME DLL.
|
|
|
|
|
(hmod_libgcc): New static variable to hold handle of
|
|
|
|
|
LIBGCC_SONAME DLL.
|
|
|
|
|
(__gcc_deregister_frame): Decrement load-count of
|
|
|
|
|
LIBGCC_SONAME DLL.
|
|
|
|
|
|
2013-11-08 11:18:27 +01:00
|
|
|
|
2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
|
|
|
|
|
availability.
|
|
|
|
|
* configure: Regenerate
|
|
|
|
|
|
2013-11-07 20:45:28 +01:00
|
|
|
|
2013-11-07 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
|
|
|
|
|
FP_EX_DENORM. Store result to volatile location after SSE division
|
|
|
|
|
to close interrupt window. Remove unneeded fwait after x87
|
|
|
|
|
division since interrupt window will be closed by emitted fstp.
|
2013-11-07 22:53:54 +01:00
|
|
|
|
Rewrite FP_EX_INEXACT handling.
|
2013-11-07 20:45:28 +01:00
|
|
|
|
|
2013-11-06 23:46:39 +01:00
|
|
|
|
2013-11-06 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp/README: Update.
|
|
|
|
|
* soft-fp/adddf3.c: Update from glibc.
|
|
|
|
|
* soft-fp/addsf3.c: Likewise.
|
|
|
|
|
* soft-fp/addtf3.c: Likewise.
|
|
|
|
|
* soft-fp/divdf3.c: Likewise.
|
|
|
|
|
* soft-fp/divsf3.c: Likewise.
|
|
|
|
|
* soft-fp/divtf3.c: Likewise.
|
|
|
|
|
* soft-fp/double.h: Likewise.
|
|
|
|
|
* soft-fp/eqdf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqsf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqtf2.c: Likewise.
|
|
|
|
|
* soft-fp/extenddftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extended.h: Likewise.
|
|
|
|
|
* soft-fp/extendsfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendxftf2.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfti.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfti.c: Likewise.
|
|
|
|
|
* soft-fp/floatdidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatdisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floattidf.c: Likewise.
|
|
|
|
|
* soft-fp/floattisf.c: Likewise.
|
|
|
|
|
* soft-fp/floattitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatuntitf.c: Likewise.
|
|
|
|
|
* soft-fp/gedf2.c: Likewise.
|
|
|
|
|
* soft-fp/gesf2.c: Likewise.
|
|
|
|
|
* soft-fp/getf2.c: Likewise.
|
|
|
|
|
* soft-fp/ledf2.c: Likewise.
|
|
|
|
|
* soft-fp/lesf2.c: Likewise.
|
|
|
|
|
* soft-fp/letf2.c: Likewise.
|
|
|
|
|
* soft-fp/muldf3.c: Likewise.
|
|
|
|
|
* soft-fp/mulsf3.c: Likewise.
|
|
|
|
|
* soft-fp/multf3.c: Likewise.
|
|
|
|
|
* soft-fp/negdf2.c: Likewise.
|
|
|
|
|
* soft-fp/negsf2.c: Likewise.
|
|
|
|
|
* soft-fp/negtf2.c: Likewise.
|
|
|
|
|
* soft-fp/op-1.h: Likewise.
|
|
|
|
|
* soft-fp/op-2.h: Likewise.
|
|
|
|
|
* soft-fp/op-4.h: Likewise.
|
|
|
|
|
* soft-fp/op-8.h: Likewise.
|
|
|
|
|
* soft-fp/op-common.h: Likewise.
|
|
|
|
|
* soft-fp/quad.h: Likewise.
|
|
|
|
|
* soft-fp/single.h: Likewise.
|
|
|
|
|
* soft-fp/soft-fp.h: Likewise.
|
|
|
|
|
* soft-fp/subdf3.c: Likewise.
|
|
|
|
|
* soft-fp/subsf3.c: Likewise.
|
|
|
|
|
* soft-fp/subtf3.c: Likewise.
|
|
|
|
|
* soft-fp/truncdfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfxf2.c: Likewise.
|
|
|
|
|
* soft-fp/unorddf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordsf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordtf2.c: Likewise.
|
|
|
|
|
|
2013-11-05 17:08:30 +01:00
|
|
|
|
2013-11-05 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
|
|
|
|
|
(_FP_MUL_MEAT_D): Ditto.
|
|
|
|
|
(_FP_DIV_MEAT_S): Ditto.
|
|
|
|
|
(_FP_DIV_MEAT_D): Ditto.
|
|
|
|
|
* config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
|
|
|
|
|
t-softfp-sfdf and t-softfp to tmake_file.
|
|
|
|
|
|
2013-11-03 11:12:12 +01:00
|
|
|
|
2013-11-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
|
|
|
|
|
* config/i386/crtprec.c: Ditto.
|
|
|
|
|
|
2013-10-31 18:08:16 +01:00
|
|
|
|
2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
|
|
|
|
|
Shiva Chen <shiva0217@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (nds32*-elf*): Add nds32 target.
|
|
|
|
|
* config/nds32 : New directory and files.
|
|
|
|
|
|
2013-10-16 03:43:14 +02:00
|
|
|
|
2013-10-16 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
|
|
|
|
|
* config.host (cpu_type) <Setting default>: Add entry for
|
|
|
|
|
crisv32-*-*.
|
|
|
|
|
(tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
|
|
|
|
|
<crisv32-*-linux*>: Adjust.
|
|
|
|
|
* longlong.h: Wrap the whole CRIS section in a single
|
|
|
|
|
defined(__CRIS__) conditional. Add comment about add_ssaaaa
|
|
|
|
|
and sub_ddmmss.
|
|
|
|
|
(COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
|
|
|
|
|
defined.
|
|
|
|
|
[__CRIS__] (__umulsidi3): Define.
|
|
|
|
|
[__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
|
|
|
|
|
* config/cris/sfp-machine.h: New file.
|
|
|
|
|
* config/cris/umulsidi3.S: New file.
|
|
|
|
|
* config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
|
|
|
|
|
* config/cris/arit.c (SIGNMULT): New macro.
|
|
|
|
|
(__Div, __Mod): Use SIGNMULT instead of naked multiplication.
|
|
|
|
|
* config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
|
|
|
|
|
saving 3 out of originally 33 cycles from the fastest
|
|
|
|
|
path, 3 out of 54 from the medium path and one from the longest
|
|
|
|
|
path. Improve comments.
|
|
|
|
|
|
2013-10-15 20:24:30 +02:00
|
|
|
|
2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* sync.c: Remove static aliases and define each function directly
|
|
|
|
|
under its real name.
|
|
|
|
|
|
2013-10-03 03:11:41 +02:00
|
|
|
|
2013-10-02 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host (hppa*64*-*-linux*): Define extra_parts.
|
|
|
|
|
(hppa*-*-linux*): Likewise.
|
|
|
|
|
|
2013-10-02 13:18:24 +02:00
|
|
|
|
2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/crtgend.S: Add 2013 to Copyright years.
|
|
|
|
|
* config/arc/gmon/atomic.h: Likewise.
|
|
|
|
|
* config/arc/gmon/auxreg.h: Likewise.
|
|
|
|
|
* config/arc/gmon/sys/gmon_out.h: Likewise.
|
|
|
|
|
* config/arc/gmon/sys/gmon.h: Likewise.
|
|
|
|
|
* config/arc/gmon/prof-freq.c: Likewise.
|
|
|
|
|
* config/arc/gmon/mcount.c: Likewise.
|
|
|
|
|
* config/arc/gmon/prof-freq-stub.S: Likewise.
|
|
|
|
|
* config/arc/gmon/gmon.c: Likewise.
|
|
|
|
|
* config/arc/gmon/machine-gmon.h: Likewise.
|
|
|
|
|
* config/arc/gmon/profil.S: Likewise.
|
|
|
|
|
* config/arc/gmon/dcache_linesz.S: Likewise.
|
|
|
|
|
* config/arc/crtg.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/adddf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/truncdfsf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/fixsfsi.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/gtsf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/floatsisf.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/fixdfsi.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/addsf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/gesf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/floatsidf.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/extendsfdf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/divtab-arc-df.c: Likewise.
|
|
|
|
|
* config/arc/ieee-754/gtdf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/fixunsdfsi.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/uneqdf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/divsf3-stdmul.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/uneqsf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/arc-ieee-754.h: Likewise.
|
|
|
|
|
* config/arc/ieee-754/divtab-arc-sf.c: Likewise.
|
|
|
|
|
* config/arc/ieee-754/eqdf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/ordsf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/divsf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/divdf3.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/floatunsidf.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/orddf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/eqsf2.S: Likewise.
|
|
|
|
|
* config/arc/ieee-754/gedf2.S: Likewise.
|
|
|
|
|
* config/arc/crtn.S: Likewise.
|
|
|
|
|
* config/arc/crti.S: Likewise.
|
|
|
|
|
* config/arc/t-arc700-uClibc: Likewise.
|
|
|
|
|
* config/arc/asm.h: Likewise.
|
|
|
|
|
* config/arc/libgcc-excl.ver: Likewise.
|
|
|
|
|
* config/arc/t-arc-newlib: Likewise.
|
|
|
|
|
* config/arc/divtab-arc700.c: Likewise.
|
|
|
|
|
* config/arc/initfini.c: Likewise.
|
|
|
|
|
* config/arc/fp-hack.h: Likewise.
|
|
|
|
|
|
2013-10-01 21:21:40 +02:00
|
|
|
|
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
Diego Novillo <dnovillo@google.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
|
2013-10-01 21:44:23 +02:00
|
|
|
|
* config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
|
|
|
|
|
* config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
|
|
|
|
|
* config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
|
2013-10-01 21:21:40 +02:00
|
|
|
|
|
2013-10-01 19:12:59 +02:00
|
|
|
|
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
Brendan Kehoe <brendan@zen.org>
|
|
|
|
|
Simon Cook <simon.cook@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
|
|
|
|
|
* config/arc: New directory.
|
|
|
|
|
* longlong.h [__arc__] (umul_ppmm): Remove.
|
|
|
|
|
[__arc__] (__umulsidi3): Define.
|
|
|
|
|
[__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
|
|
|
|
|
[__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
|
|
|
|
|
|
2013-09-17 13:46:47 +02:00
|
|
|
|
2013-09-17 Jacek Caban <jacek@codeweavers.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/gthr-win32.c: CreateSemaphoreW instead of
|
|
|
|
|
CreateSemaphoreA.
|
|
|
|
|
* config/i386/gthr-win32.h: Likewise.
|
|
|
|
|
|
2013-09-16 23:15:46 +02:00
|
|
|
|
2013-09-16 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
2013-09-16 23:58:05 +02:00
|
|
|
|
* config/rl78/vregs.h: Add G10 register definitions.
|
2013-09-16 23:15:46 +02:00
|
|
|
|
* config/rl78/lib2mul.c: Enable for RL78/G10.
|
|
|
|
|
* config/rl78/lib2div.c: Likewise.
|
|
|
|
|
* config/rl78/lshrsi3.S: Use vregs.h.
|
|
|
|
|
* config/rl78/cmpsi2.S: Likewise.
|
|
|
|
|
* config/rl78/trampoline.S: Likewise.
|
|
|
|
|
* config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
|
|
|
|
|
|
2013-09-14 08:13:18 +02:00
|
|
|
|
2013-09-14 DJ Delorie <dj@redhat.com>
|
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
|
|
|
|
|
* config/rl78/vregs.h: New.
|
|
|
|
|
* config/rl78/signbit.S: New file. Implements signbit function.
|
|
|
|
|
* config/rl78/divmodsi.S: New.
|
|
|
|
|
* config/rl78/divmodhi.S: New.
|
|
|
|
|
* config/rl78/divmodqi.S: New.
|
|
|
|
|
* config/rl78/t-rl78: Build them here...
|
|
|
|
|
* config/rl78/lib2div.c: ...but not here.
|
|
|
|
|
|
2013-09-12 19:52:41 +02:00
|
|
|
|
2013-09-12 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.host (msp*-*-elf): New.
|
|
|
|
|
* config/msp430/: New port.
|
|
|
|
|
|
2013-08-18 17:50:17 +02:00
|
|
|
|
2013-08-18 Iain Sandoe <iain@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/58127
|
|
|
|
|
* libgcov.c (__gcov_indirect_call_callee): Don't make this a
|
|
|
|
|
__thread var for emulated TLS.
|
|
|
|
|
(__gcov_indirect_call_counters): Likewise.
|
|
|
|
|
|
2013-08-17 00:23:29 +02:00
|
|
|
|
2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
|
2013-11-03 11:12:12 +01:00
|
|
|
|
Catherine Moore <clm@codesourcery.com>
|
2016-01-25 22:37:08 +01:00
|
|
|
|
Richard Sandiford <rdsandiford@googlemail.com>
|
2013-08-17 00:23:29 +02:00
|
|
|
|
|
|
|
|
|
* config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
|
|
|
|
|
(RET_FUNCTION): Use them in place of STARTFN and ENDFN.
|
|
|
|
|
(CALL_STUB_NO_RET): Likewise.
|
|
|
|
|
(CALL_STUB_RET): Likewise.
|
|
|
|
|
* config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
|
|
|
|
|
__mips16_ret call/return stub symbols.
|
|
|
|
|
* config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
|
|
|
|
|
to tmake_file.
|
|
|
|
|
|
2013-08-13 16:26:49 +02:00
|
|
|
|
2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host <mips*-*-linux*>: Remove a stray comment.
|
|
|
|
|
|
2013-08-10 22:52:06 +02:00
|
|
|
|
2013-08-10 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
Work around binutils PR14342
|
|
|
|
|
* Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
|
|
|
|
|
* libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
|
|
|
|
|
(L_gcov_indirect_call_profiler_v2): New.
|
|
|
|
|
|
2013-08-09 20:23:23 +02:00
|
|
|
|
2013-08-06 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
* libgcov.c (__gcov_indirect_call_callee,
|
|
|
|
|
__gcov_indirect_call_counters): New global vars.
|
|
|
|
|
(__gcov_indirect_call_profiler): replace by ...
|
|
|
|
|
(__gcov_indirect_call_profiler_v2) ... this one.
|
|
|
|
|
|
Commit the vtable verification feature.
Commit the vtable verification feature. This feature is designed to
detect, at run time, if/when the vtable pointer in a C++ object has
been corrupted, before allowing virtual calls through that pointer.
If pointer corruption is detected, execution of the program is halted.
libstdc++-v3 ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* fragment.am: Add XTEMPLATE_FLAGS.
* configure.ac: Add definitions for --enable-vtable-verify.
* acinclude.m4: Add --enable-vtable-verify and
--disable-vtable-verify; define --enable-vtable-verify; define
VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
* config/abi/pre/gnu.ver: Export symbols for vtable verification.
* libsupc++/Makefile.am: Define vtv_sources and add it to
libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
* libsupc++/vtv_stubs.cc: New file.
* include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
* src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
VTV_CXXLINKFLAGS to CXXLINK.
* src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
* src/C++11/Makefile.am: Ditto.
* doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
* scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
* testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
cxxvtvflags to cxx_final.
* testsuite/18_support/bad_exception/23591_thread-1.c: Add
-fvtable-verify=none to compiler flags.
* testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
to compiler flags.
* configure: Regenerated.
* Makefile.in: Regenerated.
* python/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* config.h.in: Regenerated.
* po/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* src/c++98/Makefile.in: Regenerated.
* src/c++11/Makefile.in: Regenerated.
* doc/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
top level ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* configure.ac: Add target-libvtv to target_libraries; disable libvtv
on non-linux systems; add target-libvtv to noconfigdirs; add
libsupc++/.libs to C++ library search paths.
* configure: Regenerated.
* Makefile.def: Add libvtv to target_modules; make libvtv depend on
libstdc++ and libgcc.
* Makefile.in: Regenerated.
include/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* vtv-change-permission.h: New file.
contrib/ChangeLog:
2013-08-06 Caroline Tice4 <cmtice@google.com>
* gcc_update: Add libvtv files.
libgcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
config.host (extra_parts): Add vtv_start.o, vtv_end.o
vtv_start_preinit.o and vtv_end_preinit.o.
configure.ac: Add code to check/set enable_vtable_verify.
Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
true.
vtv_start_preinit.c: New file.
vtv_end_preinit.c: New file.
vtv_start.c: New file.
vtv_end.c: New file.
configure: Regenerated.
gcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* gcc.c (VTABLE_VERIFICATION_SPEC): New definition.
(LINK_COMMAND_SPEC): Add VTABLE_VERIFICATION_SPEC.
* tree-pass.h: Add pass_vtable_verify.
* varasm.c (assemble_variable): Add code to properly set the comdat
section and name for the .vtable_map_vars section.
(assemble_vtyv_preinit_initializer): New function.
(default_sectin_type_flags): Make sure .vtable_map_vars section has
LINK_ONCE flag.
* output.h: Add function decl for assemble_vtv_preinit_initializer.
* vtable-verify.c: New file.
* vtable-verify.h: New file.
* flag-types.h (enum vtv_priority): Defintions for flag_vtable_verify
initialiation levels.
* timevar.def (TV_VTABLE_VERIFICATION): New definition.
* passes.def: Insert pass_vtable_verify.
* aclocal.m4: Reorder includes.
* doc/invoke.texi: Add documentation for the flags -fvtable-verify=,
-fvtv-debug and -fvtv-counts.
* config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Add vtv_start*.o,
as appropriate, if -fvtable-verify=... is used.
(GNU_USER_TARGET_ENDFILE_SPEC): Add vtv_end*.o as appropriate, if
-fvtable-verify=... is used.
* Makefile.in (OBJS): Add vtable-verify.o to list.
(vtable-verify.o): Add new build rule.
(GTFILES): Add vtable-verify.c to list.
* common.opt (fvtable-verify=): New flag.
(vtv_priority): Values for fvtable-verify= flag.
(fvtv-counts): New flag.
(fvtv-debug): New flag.
* tree.h (save_vtable_map_decl): New extern function decl.
gcc/cp/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* Make-lang.in (*CXX_AND_OBJCXX_OBJS): Add vtable-class-hierarchy.o to
list.
(vtable-class-hierarchy.o): Add build rule.
* cp-tree.h (vtv_start_verification_constructor_init_function): New
extern function decl.
(vtv_finish_verification_constructor_init_function): New extern
function decl.
(build_vtbl_address): New extern function decl.
(get_mangled_vtable_map_var_name): New extern function decl.
(vtv_compute_class_hierarchy_transitive_closure): New extern function
decl.
(vtv_generate_init_routine): New extern function decl.
(vtv_save_class_info): New extern function decl.
(vtv_recover_class_info): New extern function decl.
(vtv_build_vtable_verify_fndecl): New extern function decl.
* class.c (finish_struct_1): Add call to vtv_save_class_info if
flag_vtable_verify is true.
* config-lang.in: Add vtable-class-hierarchy.c to gtfiles list.
* vtable-class-hierarchy.c: New file.
* mangle.c (get_mangled_vtable_map_var_name): New function.
* decl2.c (start_objects): Update function comment.
(cp_write_global_declarations): Call vtv_recover_class_info,
vtv_compute_class_hierarchy_transitive_closure and
vtv_build_vtable_verify_fndecl, before calling
finalize_compilation_unit, and call vtv_generate_init_rount after, IFF
flag_vtable_verify is true.
(vtv_start_verification_constructor_init_function): New function.
(vtv_finish_verification_constructor_init_function): New function.
* init.c (build_vtbl_address): Remove static qualifier from function.
libvtv/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
Initial check-in of new vtable verification feature.
* configure.ac : New file.
* acinclude.m4 : New file.
* Makefile.am : New file.
* aclocal.m4 : New file.
* configure.tgt : New file.
* configure: New file (generated).
* Makefile.in: New file (generated).
* vtv_set.h : New file.
* vtv_utils.cc : New file.
* vtv_utils.h : New file.
* vtv_malloc.cc : New file.
* vtv_rts.cc : New file.
* vtv_malloc.h : New file.
* vtv_rts.h : New file.
* vtv_fail.cc : New file.
* vtv_fail.h : New file.
* vtv_map.h : New file.
* scripts/run-testsuite.sh : New file.
* scripts/sum-vtv-counts.c : New file.
* testsuite/parts-test-main.h : New file.
* testusite/dataentry.cc : New file.
* testsuite/temp_deriv.cc : New file.
* testsuite/register_pair.cc : New file.
* testsuite/virtual_inheritance.cc : New file.
* testsuite/field-test.cc : New file.
* testsuite/nested_vcall_test.cc : New file.
* testsuite/template-list-iostream.cc : New file.
* testsuite/register_pair_inserts.cc : New file.
* testsuite/register_pair_inserts_mt.cc : New file.
* testsuite/event.list : New file.
* testsuite/parts-test-extra-parts-views.cc : New file.
* testsuite/parts-test-extra-parts-views.h : New file.
* testsuite/environment-fail-32.s : New file.
* testsuite/parts-test-extra-parts.h : New file.
* testsuite/temp_deriv2.cc : New file.
* testsuite/dlopen_mt.cc : New file.
* testsuite/event.h : New file.
* testsuite/template-list.cc : New file.
* testsuite/replace-fail.cc : New file.
* testsuite/Makefile.am : New file.
* testsuite/Makefile.in: New file (generated).
* testsuite/mempool_negative.c : New file.
* testsuite/parts-test-main.cc : New file.
* testsuite/event-private.cc : New file.
* testsuite/thunk.cc : New file.
* testsuite/event-defintiions.cc : New file.
* testsuite/event-private.h : New file.
* testsuite/parts-test.list : New file.
* testusite/register_pair_mt.cc : New file.
* testsuite/povray-derived.cc : New file.
* testsuite/event-main.cc : New file.
* testsuite/environment.cc : New file.
* testsuite/template-list2.cc : New file.
* testsuite/thunk_vtable_map_attack.cc : New file.
* testsuite/parts-test-extra-parts.cc : New file.
* testsuite/environment-fail-64.s : New file.
* testsuite/dlopen.cc : New file.
* testsuite/so.cc : New file.
* testsuite/temp_deriv3.cc : New file.
* testsuite/const_vtable.cc : New file.
* testsuite/mempool_positive.c : New file.
* testsuite/dup_name.cc : New file.
From-SVN: r201555
2013-08-07 05:38:59 +02:00
|
|
|
|
2013-08-06 Caroline Tice <cmtice@google.com>
|
|
|
|
|
|
2013-08-08 18:55:09 +02:00
|
|
|
|
* config.host (extra_parts): Add vtv_start.o, vtv_end.o
|
Commit the vtable verification feature.
Commit the vtable verification feature. This feature is designed to
detect, at run time, if/when the vtable pointer in a C++ object has
been corrupted, before allowing virtual calls through that pointer.
If pointer corruption is detected, execution of the program is halted.
libstdc++-v3 ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* fragment.am: Add XTEMPLATE_FLAGS.
* configure.ac: Add definitions for --enable-vtable-verify.
* acinclude.m4: Add --enable-vtable-verify and
--disable-vtable-verify; define --enable-vtable-verify; define
VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
* config/abi/pre/gnu.ver: Export symbols for vtable verification.
* libsupc++/Makefile.am: Define vtv_sources and add it to
libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
* libsupc++/vtv_stubs.cc: New file.
* include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
* src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
VTV_CXXLINKFLAGS to CXXLINK.
* src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
* src/C++11/Makefile.am: Ditto.
* doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
* scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
* testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
cxxvtvflags to cxx_final.
* testsuite/18_support/bad_exception/23591_thread-1.c: Add
-fvtable-verify=none to compiler flags.
* testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
to compiler flags.
* configure: Regenerated.
* Makefile.in: Regenerated.
* python/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* config.h.in: Regenerated.
* po/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* src/c++98/Makefile.in: Regenerated.
* src/c++11/Makefile.in: Regenerated.
* doc/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
top level ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* configure.ac: Add target-libvtv to target_libraries; disable libvtv
on non-linux systems; add target-libvtv to noconfigdirs; add
libsupc++/.libs to C++ library search paths.
* configure: Regenerated.
* Makefile.def: Add libvtv to target_modules; make libvtv depend on
libstdc++ and libgcc.
* Makefile.in: Regenerated.
include/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* vtv-change-permission.h: New file.
contrib/ChangeLog:
2013-08-06 Caroline Tice4 <cmtice@google.com>
* gcc_update: Add libvtv files.
libgcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
config.host (extra_parts): Add vtv_start.o, vtv_end.o
vtv_start_preinit.o and vtv_end_preinit.o.
configure.ac: Add code to check/set enable_vtable_verify.
Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
true.
vtv_start_preinit.c: New file.
vtv_end_preinit.c: New file.
vtv_start.c: New file.
vtv_end.c: New file.
configure: Regenerated.
gcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* gcc.c (VTABLE_VERIFICATION_SPEC): New definition.
(LINK_COMMAND_SPEC): Add VTABLE_VERIFICATION_SPEC.
* tree-pass.h: Add pass_vtable_verify.
* varasm.c (assemble_variable): Add code to properly set the comdat
section and name for the .vtable_map_vars section.
(assemble_vtyv_preinit_initializer): New function.
(default_sectin_type_flags): Make sure .vtable_map_vars section has
LINK_ONCE flag.
* output.h: Add function decl for assemble_vtv_preinit_initializer.
* vtable-verify.c: New file.
* vtable-verify.h: New file.
* flag-types.h (enum vtv_priority): Defintions for flag_vtable_verify
initialiation levels.
* timevar.def (TV_VTABLE_VERIFICATION): New definition.
* passes.def: Insert pass_vtable_verify.
* aclocal.m4: Reorder includes.
* doc/invoke.texi: Add documentation for the flags -fvtable-verify=,
-fvtv-debug and -fvtv-counts.
* config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Add vtv_start*.o,
as appropriate, if -fvtable-verify=... is used.
(GNU_USER_TARGET_ENDFILE_SPEC): Add vtv_end*.o as appropriate, if
-fvtable-verify=... is used.
* Makefile.in (OBJS): Add vtable-verify.o to list.
(vtable-verify.o): Add new build rule.
(GTFILES): Add vtable-verify.c to list.
* common.opt (fvtable-verify=): New flag.
(vtv_priority): Values for fvtable-verify= flag.
(fvtv-counts): New flag.
(fvtv-debug): New flag.
* tree.h (save_vtable_map_decl): New extern function decl.
gcc/cp/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* Make-lang.in (*CXX_AND_OBJCXX_OBJS): Add vtable-class-hierarchy.o to
list.
(vtable-class-hierarchy.o): Add build rule.
* cp-tree.h (vtv_start_verification_constructor_init_function): New
extern function decl.
(vtv_finish_verification_constructor_init_function): New extern
function decl.
(build_vtbl_address): New extern function decl.
(get_mangled_vtable_map_var_name): New extern function decl.
(vtv_compute_class_hierarchy_transitive_closure): New extern function
decl.
(vtv_generate_init_routine): New extern function decl.
(vtv_save_class_info): New extern function decl.
(vtv_recover_class_info): New extern function decl.
(vtv_build_vtable_verify_fndecl): New extern function decl.
* class.c (finish_struct_1): Add call to vtv_save_class_info if
flag_vtable_verify is true.
* config-lang.in: Add vtable-class-hierarchy.c to gtfiles list.
* vtable-class-hierarchy.c: New file.
* mangle.c (get_mangled_vtable_map_var_name): New function.
* decl2.c (start_objects): Update function comment.
(cp_write_global_declarations): Call vtv_recover_class_info,
vtv_compute_class_hierarchy_transitive_closure and
vtv_build_vtable_verify_fndecl, before calling
finalize_compilation_unit, and call vtv_generate_init_rount after, IFF
flag_vtable_verify is true.
(vtv_start_verification_constructor_init_function): New function.
(vtv_finish_verification_constructor_init_function): New function.
* init.c (build_vtbl_address): Remove static qualifier from function.
libvtv/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
Initial check-in of new vtable verification feature.
* configure.ac : New file.
* acinclude.m4 : New file.
* Makefile.am : New file.
* aclocal.m4 : New file.
* configure.tgt : New file.
* configure: New file (generated).
* Makefile.in: New file (generated).
* vtv_set.h : New file.
* vtv_utils.cc : New file.
* vtv_utils.h : New file.
* vtv_malloc.cc : New file.
* vtv_rts.cc : New file.
* vtv_malloc.h : New file.
* vtv_rts.h : New file.
* vtv_fail.cc : New file.
* vtv_fail.h : New file.
* vtv_map.h : New file.
* scripts/run-testsuite.sh : New file.
* scripts/sum-vtv-counts.c : New file.
* testsuite/parts-test-main.h : New file.
* testusite/dataentry.cc : New file.
* testsuite/temp_deriv.cc : New file.
* testsuite/register_pair.cc : New file.
* testsuite/virtual_inheritance.cc : New file.
* testsuite/field-test.cc : New file.
* testsuite/nested_vcall_test.cc : New file.
* testsuite/template-list-iostream.cc : New file.
* testsuite/register_pair_inserts.cc : New file.
* testsuite/register_pair_inserts_mt.cc : New file.
* testsuite/event.list : New file.
* testsuite/parts-test-extra-parts-views.cc : New file.
* testsuite/parts-test-extra-parts-views.h : New file.
* testsuite/environment-fail-32.s : New file.
* testsuite/parts-test-extra-parts.h : New file.
* testsuite/temp_deriv2.cc : New file.
* testsuite/dlopen_mt.cc : New file.
* testsuite/event.h : New file.
* testsuite/template-list.cc : New file.
* testsuite/replace-fail.cc : New file.
* testsuite/Makefile.am : New file.
* testsuite/Makefile.in: New file (generated).
* testsuite/mempool_negative.c : New file.
* testsuite/parts-test-main.cc : New file.
* testsuite/event-private.cc : New file.
* testsuite/thunk.cc : New file.
* testsuite/event-defintiions.cc : New file.
* testsuite/event-private.h : New file.
* testsuite/parts-test.list : New file.
* testusite/register_pair_mt.cc : New file.
* testsuite/povray-derived.cc : New file.
* testsuite/event-main.cc : New file.
* testsuite/environment.cc : New file.
* testsuite/template-list2.cc : New file.
* testsuite/thunk_vtable_map_attack.cc : New file.
* testsuite/parts-test-extra-parts.cc : New file.
* testsuite/environment-fail-64.s : New file.
* testsuite/dlopen.cc : New file.
* testsuite/so.cc : New file.
* testsuite/temp_deriv3.cc : New file.
* testsuite/const_vtable.cc : New file.
* testsuite/mempool_positive.c : New file.
* testsuite/dup_name.cc : New file.
From-SVN: r201555
2013-08-07 05:38:59 +02:00
|
|
|
|
vtv_start_preinit.o and vtv_end_preinit.o.
|
2013-08-08 18:55:09 +02:00
|
|
|
|
* configure.ac: Add code to check/set enable_vtable_verify.
|
|
|
|
|
* Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
|
Commit the vtable verification feature.
Commit the vtable verification feature. This feature is designed to
detect, at run time, if/when the vtable pointer in a C++ object has
been corrupted, before allowing virtual calls through that pointer.
If pointer corruption is detected, execution of the program is halted.
libstdc++-v3 ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* fragment.am: Add XTEMPLATE_FLAGS.
* configure.ac: Add definitions for --enable-vtable-verify.
* acinclude.m4: Add --enable-vtable-verify and
--disable-vtable-verify; define --enable-vtable-verify; define
VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
* config/abi/pre/gnu.ver: Export symbols for vtable verification.
* libsupc++/Makefile.am: Define vtv_sources and add it to
libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
* libsupc++/vtv_stubs.cc: New file.
* include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
* src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
VTV_CXXLINKFLAGS to CXXLINK.
* src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
* src/C++11/Makefile.am: Ditto.
* doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
* scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
* testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
cxxvtvflags to cxx_final.
* testsuite/18_support/bad_exception/23591_thread-1.c: Add
-fvtable-verify=none to compiler flags.
* testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
to compiler flags.
* configure: Regenerated.
* Makefile.in: Regenerated.
* python/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* config.h.in: Regenerated.
* po/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* src/c++98/Makefile.in: Regenerated.
* src/c++11/Makefile.in: Regenerated.
* doc/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
top level ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* configure.ac: Add target-libvtv to target_libraries; disable libvtv
on non-linux systems; add target-libvtv to noconfigdirs; add
libsupc++/.libs to C++ library search paths.
* configure: Regenerated.
* Makefile.def: Add libvtv to target_modules; make libvtv depend on
libstdc++ and libgcc.
* Makefile.in: Regenerated.
include/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* vtv-change-permission.h: New file.
contrib/ChangeLog:
2013-08-06 Caroline Tice4 <cmtice@google.com>
* gcc_update: Add libvtv files.
libgcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
config.host (extra_parts): Add vtv_start.o, vtv_end.o
vtv_start_preinit.o and vtv_end_preinit.o.
configure.ac: Add code to check/set enable_vtable_verify.
Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
true.
vtv_start_preinit.c: New file.
vtv_end_preinit.c: New file.
vtv_start.c: New file.
vtv_end.c: New file.
configure: Regenerated.
gcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* gcc.c (VTABLE_VERIFICATION_SPEC): New definition.
(LINK_COMMAND_SPEC): Add VTABLE_VERIFICATION_SPEC.
* tree-pass.h: Add pass_vtable_verify.
* varasm.c (assemble_variable): Add code to properly set the comdat
section and name for the .vtable_map_vars section.
(assemble_vtyv_preinit_initializer): New function.
(default_sectin_type_flags): Make sure .vtable_map_vars section has
LINK_ONCE flag.
* output.h: Add function decl for assemble_vtv_preinit_initializer.
* vtable-verify.c: New file.
* vtable-verify.h: New file.
* flag-types.h (enum vtv_priority): Defintions for flag_vtable_verify
initialiation levels.
* timevar.def (TV_VTABLE_VERIFICATION): New definition.
* passes.def: Insert pass_vtable_verify.
* aclocal.m4: Reorder includes.
* doc/invoke.texi: Add documentation for the flags -fvtable-verify=,
-fvtv-debug and -fvtv-counts.
* config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Add vtv_start*.o,
as appropriate, if -fvtable-verify=... is used.
(GNU_USER_TARGET_ENDFILE_SPEC): Add vtv_end*.o as appropriate, if
-fvtable-verify=... is used.
* Makefile.in (OBJS): Add vtable-verify.o to list.
(vtable-verify.o): Add new build rule.
(GTFILES): Add vtable-verify.c to list.
* common.opt (fvtable-verify=): New flag.
(vtv_priority): Values for fvtable-verify= flag.
(fvtv-counts): New flag.
(fvtv-debug): New flag.
* tree.h (save_vtable_map_decl): New extern function decl.
gcc/cp/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* Make-lang.in (*CXX_AND_OBJCXX_OBJS): Add vtable-class-hierarchy.o to
list.
(vtable-class-hierarchy.o): Add build rule.
* cp-tree.h (vtv_start_verification_constructor_init_function): New
extern function decl.
(vtv_finish_verification_constructor_init_function): New extern
function decl.
(build_vtbl_address): New extern function decl.
(get_mangled_vtable_map_var_name): New extern function decl.
(vtv_compute_class_hierarchy_transitive_closure): New extern function
decl.
(vtv_generate_init_routine): New extern function decl.
(vtv_save_class_info): New extern function decl.
(vtv_recover_class_info): New extern function decl.
(vtv_build_vtable_verify_fndecl): New extern function decl.
* class.c (finish_struct_1): Add call to vtv_save_class_info if
flag_vtable_verify is true.
* config-lang.in: Add vtable-class-hierarchy.c to gtfiles list.
* vtable-class-hierarchy.c: New file.
* mangle.c (get_mangled_vtable_map_var_name): New function.
* decl2.c (start_objects): Update function comment.
(cp_write_global_declarations): Call vtv_recover_class_info,
vtv_compute_class_hierarchy_transitive_closure and
vtv_build_vtable_verify_fndecl, before calling
finalize_compilation_unit, and call vtv_generate_init_rount after, IFF
flag_vtable_verify is true.
(vtv_start_verification_constructor_init_function): New function.
(vtv_finish_verification_constructor_init_function): New function.
* init.c (build_vtbl_address): Remove static qualifier from function.
libvtv/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
Initial check-in of new vtable verification feature.
* configure.ac : New file.
* acinclude.m4 : New file.
* Makefile.am : New file.
* aclocal.m4 : New file.
* configure.tgt : New file.
* configure: New file (generated).
* Makefile.in: New file (generated).
* vtv_set.h : New file.
* vtv_utils.cc : New file.
* vtv_utils.h : New file.
* vtv_malloc.cc : New file.
* vtv_rts.cc : New file.
* vtv_malloc.h : New file.
* vtv_rts.h : New file.
* vtv_fail.cc : New file.
* vtv_fail.h : New file.
* vtv_map.h : New file.
* scripts/run-testsuite.sh : New file.
* scripts/sum-vtv-counts.c : New file.
* testsuite/parts-test-main.h : New file.
* testusite/dataentry.cc : New file.
* testsuite/temp_deriv.cc : New file.
* testsuite/register_pair.cc : New file.
* testsuite/virtual_inheritance.cc : New file.
* testsuite/field-test.cc : New file.
* testsuite/nested_vcall_test.cc : New file.
* testsuite/template-list-iostream.cc : New file.
* testsuite/register_pair_inserts.cc : New file.
* testsuite/register_pair_inserts_mt.cc : New file.
* testsuite/event.list : New file.
* testsuite/parts-test-extra-parts-views.cc : New file.
* testsuite/parts-test-extra-parts-views.h : New file.
* testsuite/environment-fail-32.s : New file.
* testsuite/parts-test-extra-parts.h : New file.
* testsuite/temp_deriv2.cc : New file.
* testsuite/dlopen_mt.cc : New file.
* testsuite/event.h : New file.
* testsuite/template-list.cc : New file.
* testsuite/replace-fail.cc : New file.
* testsuite/Makefile.am : New file.
* testsuite/Makefile.in: New file (generated).
* testsuite/mempool_negative.c : New file.
* testsuite/parts-test-main.cc : New file.
* testsuite/event-private.cc : New file.
* testsuite/thunk.cc : New file.
* testsuite/event-defintiions.cc : New file.
* testsuite/event-private.h : New file.
* testsuite/parts-test.list : New file.
* testusite/register_pair_mt.cc : New file.
* testsuite/povray-derived.cc : New file.
* testsuite/event-main.cc : New file.
* testsuite/environment.cc : New file.
* testsuite/template-list2.cc : New file.
* testsuite/thunk_vtable_map_attack.cc : New file.
* testsuite/parts-test-extra-parts.cc : New file.
* testsuite/environment-fail-64.s : New file.
* testsuite/dlopen.cc : New file.
* testsuite/so.cc : New file.
* testsuite/temp_deriv3.cc : New file.
* testsuite/const_vtable.cc : New file.
* testsuite/mempool_positive.c : New file.
* testsuite/dup_name.cc : New file.
From-SVN: r201555
2013-08-07 05:38:59 +02:00
|
|
|
|
true.
|
2013-08-08 18:55:09 +02:00
|
|
|
|
* vtv_start_preinit.c: New file.
|
|
|
|
|
* vtv_end_preinit.c: New file.
|
|
|
|
|
* vtv_start.c: New file.
|
|
|
|
|
* vtv_end.c: New file.
|
|
|
|
|
* configure: Regenerated.
|
Commit the vtable verification feature.
Commit the vtable verification feature. This feature is designed to
detect, at run time, if/when the vtable pointer in a C++ object has
been corrupted, before allowing virtual calls through that pointer.
If pointer corruption is detected, execution of the program is halted.
libstdc++-v3 ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* fragment.am: Add XTEMPLATE_FLAGS.
* configure.ac: Add definitions for --enable-vtable-verify.
* acinclude.m4: Add --enable-vtable-verify and
--disable-vtable-verify; define --enable-vtable-verify; define
VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
* config/abi/pre/gnu.ver: Export symbols for vtable verification.
* libsupc++/Makefile.am: Define vtv_sources and add it to
libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
* libsupc++/vtv_stubs.cc: New file.
* include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
* src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
VTV_CXXLINKFLAGS to CXXLINK.
* src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
* src/C++11/Makefile.am: Ditto.
* doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
* scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
* testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
cxxvtvflags to cxx_final.
* testsuite/18_support/bad_exception/23591_thread-1.c: Add
-fvtable-verify=none to compiler flags.
* testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
to compiler flags.
* configure: Regenerated.
* Makefile.in: Regenerated.
* python/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* config.h.in: Regenerated.
* po/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* src/c++98/Makefile.in: Regenerated.
* src/c++11/Makefile.in: Regenerated.
* doc/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
top level ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* configure.ac: Add target-libvtv to target_libraries; disable libvtv
on non-linux systems; add target-libvtv to noconfigdirs; add
libsupc++/.libs to C++ library search paths.
* configure: Regenerated.
* Makefile.def: Add libvtv to target_modules; make libvtv depend on
libstdc++ and libgcc.
* Makefile.in: Regenerated.
include/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* vtv-change-permission.h: New file.
contrib/ChangeLog:
2013-08-06 Caroline Tice4 <cmtice@google.com>
* gcc_update: Add libvtv files.
libgcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
config.host (extra_parts): Add vtv_start.o, vtv_end.o
vtv_start_preinit.o and vtv_end_preinit.o.
configure.ac: Add code to check/set enable_vtable_verify.
Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
true.
vtv_start_preinit.c: New file.
vtv_end_preinit.c: New file.
vtv_start.c: New file.
vtv_end.c: New file.
configure: Regenerated.
gcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* gcc.c (VTABLE_VERIFICATION_SPEC): New definition.
(LINK_COMMAND_SPEC): Add VTABLE_VERIFICATION_SPEC.
* tree-pass.h: Add pass_vtable_verify.
* varasm.c (assemble_variable): Add code to properly set the comdat
section and name for the .vtable_map_vars section.
(assemble_vtyv_preinit_initializer): New function.
(default_sectin_type_flags): Make sure .vtable_map_vars section has
LINK_ONCE flag.
* output.h: Add function decl for assemble_vtv_preinit_initializer.
* vtable-verify.c: New file.
* vtable-verify.h: New file.
* flag-types.h (enum vtv_priority): Defintions for flag_vtable_verify
initialiation levels.
* timevar.def (TV_VTABLE_VERIFICATION): New definition.
* passes.def: Insert pass_vtable_verify.
* aclocal.m4: Reorder includes.
* doc/invoke.texi: Add documentation for the flags -fvtable-verify=,
-fvtv-debug and -fvtv-counts.
* config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Add vtv_start*.o,
as appropriate, if -fvtable-verify=... is used.
(GNU_USER_TARGET_ENDFILE_SPEC): Add vtv_end*.o as appropriate, if
-fvtable-verify=... is used.
* Makefile.in (OBJS): Add vtable-verify.o to list.
(vtable-verify.o): Add new build rule.
(GTFILES): Add vtable-verify.c to list.
* common.opt (fvtable-verify=): New flag.
(vtv_priority): Values for fvtable-verify= flag.
(fvtv-counts): New flag.
(fvtv-debug): New flag.
* tree.h (save_vtable_map_decl): New extern function decl.
gcc/cp/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* Make-lang.in (*CXX_AND_OBJCXX_OBJS): Add vtable-class-hierarchy.o to
list.
(vtable-class-hierarchy.o): Add build rule.
* cp-tree.h (vtv_start_verification_constructor_init_function): New
extern function decl.
(vtv_finish_verification_constructor_init_function): New extern
function decl.
(build_vtbl_address): New extern function decl.
(get_mangled_vtable_map_var_name): New extern function decl.
(vtv_compute_class_hierarchy_transitive_closure): New extern function
decl.
(vtv_generate_init_routine): New extern function decl.
(vtv_save_class_info): New extern function decl.
(vtv_recover_class_info): New extern function decl.
(vtv_build_vtable_verify_fndecl): New extern function decl.
* class.c (finish_struct_1): Add call to vtv_save_class_info if
flag_vtable_verify is true.
* config-lang.in: Add vtable-class-hierarchy.c to gtfiles list.
* vtable-class-hierarchy.c: New file.
* mangle.c (get_mangled_vtable_map_var_name): New function.
* decl2.c (start_objects): Update function comment.
(cp_write_global_declarations): Call vtv_recover_class_info,
vtv_compute_class_hierarchy_transitive_closure and
vtv_build_vtable_verify_fndecl, before calling
finalize_compilation_unit, and call vtv_generate_init_rount after, IFF
flag_vtable_verify is true.
(vtv_start_verification_constructor_init_function): New function.
(vtv_finish_verification_constructor_init_function): New function.
* init.c (build_vtbl_address): Remove static qualifier from function.
libvtv/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
Initial check-in of new vtable verification feature.
* configure.ac : New file.
* acinclude.m4 : New file.
* Makefile.am : New file.
* aclocal.m4 : New file.
* configure.tgt : New file.
* configure: New file (generated).
* Makefile.in: New file (generated).
* vtv_set.h : New file.
* vtv_utils.cc : New file.
* vtv_utils.h : New file.
* vtv_malloc.cc : New file.
* vtv_rts.cc : New file.
* vtv_malloc.h : New file.
* vtv_rts.h : New file.
* vtv_fail.cc : New file.
* vtv_fail.h : New file.
* vtv_map.h : New file.
* scripts/run-testsuite.sh : New file.
* scripts/sum-vtv-counts.c : New file.
* testsuite/parts-test-main.h : New file.
* testusite/dataentry.cc : New file.
* testsuite/temp_deriv.cc : New file.
* testsuite/register_pair.cc : New file.
* testsuite/virtual_inheritance.cc : New file.
* testsuite/field-test.cc : New file.
* testsuite/nested_vcall_test.cc : New file.
* testsuite/template-list-iostream.cc : New file.
* testsuite/register_pair_inserts.cc : New file.
* testsuite/register_pair_inserts_mt.cc : New file.
* testsuite/event.list : New file.
* testsuite/parts-test-extra-parts-views.cc : New file.
* testsuite/parts-test-extra-parts-views.h : New file.
* testsuite/environment-fail-32.s : New file.
* testsuite/parts-test-extra-parts.h : New file.
* testsuite/temp_deriv2.cc : New file.
* testsuite/dlopen_mt.cc : New file.
* testsuite/event.h : New file.
* testsuite/template-list.cc : New file.
* testsuite/replace-fail.cc : New file.
* testsuite/Makefile.am : New file.
* testsuite/Makefile.in: New file (generated).
* testsuite/mempool_negative.c : New file.
* testsuite/parts-test-main.cc : New file.
* testsuite/event-private.cc : New file.
* testsuite/thunk.cc : New file.
* testsuite/event-defintiions.cc : New file.
* testsuite/event-private.h : New file.
* testsuite/parts-test.list : New file.
* testusite/register_pair_mt.cc : New file.
* testsuite/povray-derived.cc : New file.
* testsuite/event-main.cc : New file.
* testsuite/environment.cc : New file.
* testsuite/template-list2.cc : New file.
* testsuite/thunk_vtable_map_attack.cc : New file.
* testsuite/parts-test-extra-parts.cc : New file.
* testsuite/environment-fail-64.s : New file.
* testsuite/dlopen.cc : New file.
* testsuite/so.cc : New file.
* testsuite/temp_deriv3.cc : New file.
* testsuite/const_vtable.cc : New file.
* testsuite/mempool_positive.c : New file.
* testsuite/dup_name.cc : New file.
From-SVN: r201555
2013-08-07 05:38:59 +02:00
|
|
|
|
|
2013-08-01 23:09:10 +02:00
|
|
|
|
2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
|
|
|
|
|
* config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
|
|
|
|
|
* config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
|
|
|
|
|
GPL-3.0-with-GCC-exception.
|
|
|
|
|
|
2013-07-30 20:34:43 +02:00
|
|
|
|
2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
|
|
|
|
|
ISA and up.
|
|
|
|
|
|
2013-07-23 09:20:52 +02:00
|
|
|
|
2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/linux-unwind.h: Use the proper dwarf to hard reg
|
|
|
|
|
mapping for FPRs when creating the fallback framestate.
|
|
|
|
|
|
2013-07-19 13:10:08 +02:00
|
|
|
|
2013-07-19 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/57516
|
|
|
|
|
* config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
|
|
|
|
|
(__round_s2_const, __round_u2_const)
|
|
|
|
|
(__round_s4_const, __round_u4_const, __round_x8):
|
|
|
|
|
Saturate result if addition result cannot be represented.
|
|
|
|
|
|
2013-07-15 20:33:06 +02:00
|
|
|
|
2013-07-15 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
* libgcc2.c: Don't include <limits.h>.
|
|
|
|
|
|
2013-07-09 23:31:09 +02:00
|
|
|
|
2013-07-09 Janis Johnson <janisjo@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
|
|
|
|
|
|
2013-07-06 11:34:17 +02:00
|
|
|
|
2013-07-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/29776
|
|
|
|
|
* libgcc2.c (__floattisf): Avoid undefined signed overflow.
|
|
|
|
|
|
2013-06-28 11:28:40 +02:00
|
|
|
|
2013-06-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/36041
|
|
|
|
|
* libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
|
|
|
|
|
Define.
|
|
|
|
|
(__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
|
|
|
|
|
instead of table lookups.
|
|
|
|
|
(__popcountDI2): Likewise.
|
|
|
|
|
|
2013-06-25 10:02:11 +02:00
|
|
|
|
2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
|
|
|
|
|
correctly.
|
|
|
|
|
|
2013-06-21 21:08:01 +02:00
|
|
|
|
2013-06-21 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/53317
|
|
|
|
|
* soft-fp/adddf3.c: Update from glibc.
|
|
|
|
|
* soft-fp/addsf3.c: Likewise.
|
|
|
|
|
* soft-fp/addtf3.c: Likewise.
|
|
|
|
|
* soft-fp/divdf3.c: Likewise.
|
|
|
|
|
* soft-fp/divsf3.c: Likewise.
|
|
|
|
|
* soft-fp/divtf3.c: Likewise.
|
|
|
|
|
* soft-fp/double.h: Likewise.
|
|
|
|
|
* soft-fp/eqdf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqsf2.c: Likewise.
|
|
|
|
|
* soft-fp/eqtf2.c: Likewise.
|
|
|
|
|
* soft-fp/extenddftf2.c: Likewise.
|
|
|
|
|
* soft-fp/extended.h: Likewise.
|
|
|
|
|
* soft-fp/extendsfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/extendsftf2.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixsfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixtfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunsdfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunssfsi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfdi.c: Likewise.
|
|
|
|
|
* soft-fp/fixunstfsi.c: Likewise.
|
|
|
|
|
* soft-fp/floatdidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatdisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatsitf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatundisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunditf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsidf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsisf.c: Likewise.
|
|
|
|
|
* soft-fp/floatunsitf.c: Likewise.
|
|
|
|
|
* soft-fp/gedf2.c: Likewise.
|
|
|
|
|
* soft-fp/gesf2.c: Likewise.
|
|
|
|
|
* soft-fp/getf2.c: Likewise.
|
|
|
|
|
* soft-fp/ledf2.c: Likewise.
|
|
|
|
|
* soft-fp/lesf2.c: Likewise.
|
|
|
|
|
* soft-fp/letf2.c: Likewise.
|
|
|
|
|
* soft-fp/muldf3.c: Likewise.
|
|
|
|
|
* soft-fp/mulsf3.c: Likewise.
|
|
|
|
|
* soft-fp/multf3.c: Likewise.
|
|
|
|
|
* soft-fp/negdf2.c: Likewise.
|
|
|
|
|
* soft-fp/negsf2.c: Likewise.
|
|
|
|
|
* soft-fp/negtf2.c: Likewise.
|
|
|
|
|
* soft-fp/op-1.h: Likewise.
|
|
|
|
|
* soft-fp/op-2.h: Likewise.
|
|
|
|
|
* soft-fp/op-4.h: Likewise.
|
|
|
|
|
* soft-fp/op-8.h: Likewise.
|
|
|
|
|
* soft-fp/op-common.h: Likewise.
|
|
|
|
|
* soft-fp/quad.h: Likewise.
|
|
|
|
|
* soft-fp/single.h: Likewise.
|
|
|
|
|
* soft-fp/soft-fp.h: Likewise.
|
|
|
|
|
* soft-fp/subdf3.c: Likewise.
|
|
|
|
|
* soft-fp/subsf3.c: Likewise.
|
|
|
|
|
* soft-fp/subtf3.c: Likewise.
|
|
|
|
|
* soft-fp/truncdfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfdf2.c: Likewise.
|
|
|
|
|
* soft-fp/trunctfsf2.c: Likewise.
|
|
|
|
|
* soft-fp/unorddf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordsf2.c: Likewise.
|
|
|
|
|
* soft-fp/unordtf2.c: Likewise.
|
|
|
|
|
* config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
|
|
|
|
|
* config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
* config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
|
|
|
|
|
|
2013-06-16 21:31:24 +02:00
|
|
|
|
2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
|
|
|
|
|
|
|
|
|
|
* config/mips/lib2funcs.c: New file.
|
|
|
|
|
* config/mips/t-mips (LIB2ADD_ST): Add it.
|
|
|
|
|
|
2013-06-09 23:32:37 +02:00
|
|
|
|
2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/6526
|
|
|
|
|
* config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
|
|
|
|
|
other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
|
|
|
|
|
|
2013-06-08 18:26:32 +02:00
|
|
|
|
2013-06-08 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config/tilepro/atomic.h: Don't include stdint.h or features.h.
|
|
|
|
|
Replace int64_t with long long. Add __extension__ where
|
|
|
|
|
appropriate.
|
|
|
|
|
* config/tilepro/atomic.c: Include config.h.
|
|
|
|
|
|
2013-06-06 19:43:41 +02:00
|
|
|
|
2013-06-06 Douglas B Rupp <rupp@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arm-wrs-vxworks): Configure with other soft float.
|
|
|
|
|
|
2013-06-04 20:05:55 +02:00
|
|
|
|
2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
|
|
|
|
|
|
|
|
|
|
* config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
|
|
|
|
|
(mips64r5900el-*-elf*): New configurations.
|
|
|
|
|
|
2013-06-04 16:11:28 +02:00
|
|
|
|
2013-06-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/ibm-ldouble.c: Enable for little-endian.
|
|
|
|
|
|
2013-06-03 19:20:02 +02:00
|
|
|
|
2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (INTEL_SLM): New enum value.
|
|
|
|
|
|
2013-05-28 15:52:50 +02:00
|
|
|
|
2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
|
|
|
|
|
fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
|
|
|
|
|
* config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
|
|
|
|
|
|
2013-05-22 22:44:16 +02:00
|
|
|
|
2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
|
|
|
|
|
(powerpc-wrs-vxworks): Likewise.
|
|
|
|
|
|
2013-05-22 12:39:03 +02:00
|
|
|
|
2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
|
|
|
|
|
signal frames as well.
|
|
|
|
|
(MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
|
|
|
|
|
STACK_BIAS to the CFA offset.
|
|
|
|
|
|
2013-05-17 17:27:37 +02:00
|
|
|
|
2013-05-17 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/49146
|
|
|
|
|
* unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
|
|
|
|
|
(execute_cfa_program): Use it when storing to fs->regs.
|
|
|
|
|
|
2013-05-08 20:33:52 +02:00
|
|
|
|
2013-05-08 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
|
|
|
|
|
(__deregister_frame_info): Likewise.
|
|
|
|
|
|
2013-05-06 10:22:48 +02:00
|
|
|
|
2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
2013-05-06 10:23:02 +02:00
|
|
|
|
* fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
|
|
|
|
|
NaN's payload.
|
|
|
|
|
|
2013-05-06 10:22:48 +02:00
|
|
|
|
* fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
|
|
|
|
|
|
2013-04-25 02:57:16 +02:00
|
|
|
|
2013-04-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Match little-endian powerpc-linux.
|
|
|
|
|
|
2013-04-19 14:17:26 +02:00
|
|
|
|
2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
|
|
|
|
|
as 'unsigned long long' instead of 'unsigned long'.
|
|
|
|
|
(_FP_WS_TYPE): Change to define as 'signed long long' instead of
|
|
|
|
|
'signed long'.
|
|
|
|
|
|
2013-04-11 16:22:54 +02:00
|
|
|
|
2013-04-10 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
|
|
|
|
|
(SUBWORD_TEST_AND_SET): Use signed char/short types instead of
|
|
|
|
|
unsigned char/unsigned short.
|
|
|
|
|
(__sync_val_compare_and_swap_{1,2}): Handle signed argument.
|
|
|
|
|
|
2013-04-06 20:22:09 +02:00
|
|
|
|
2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
PR other/55274
|
|
|
|
|
* config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
|
|
|
|
|
|
2013-04-04 20:42:19 +02:00
|
|
|
|
2013-04-04 Meador Inge <meadori@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
|
|
|
|
|
computing the location of the link register.
|
|
|
|
|
(aeabi_uldivmod): Ditto.
|
|
|
|
|
|
2013-03-27 22:59:10 +01:00
|
|
|
|
2013-03-27 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add support for cygwin x64 target.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2013-03-26 05:34:45 +01:00
|
|
|
|
2013-03-26 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
|
|
|
|
|
-mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
|
|
|
|
|
|
2013-03-25 15:54:30 +01:00
|
|
|
|
2013-03-25 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
|
|
|
|
|
|
2013-03-20 23:01:25 +01:00
|
|
|
|
2013-03-20 Robert Mason <rbmj@verizon.net>
|
|
|
|
|
|
|
|
|
|
* config/vxlib-tls.c (__gthread_get_tsd_data,)
|
|
|
|
|
(__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
|
|
|
|
|
(__gthread_leave_tsd_dtor_context): Add prototypes.
|
|
|
|
|
(tls_delete_hook): Update.
|
|
|
|
|
|
extend.texi: (micromips, nomicromips, nocompression): Document new function attributes.
gcc/
2013-03-20 Catherine Moore <clm@codesourcery.com>
Maciej W. Rozycki <macro@codesourcery.com>
Tom de Vries <tom@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Iain Sandoe <iain@codesourcery.com>
Nathan Froyd <froydnj@codesourcery.com>
Chao-ying Fu <fu@mips.com>
* doc/extend.texi: (micromips, nomicromips, nocompression):
Document new function attributes.
* doc/invoke.texi (minterlink-compressed, mmicromips,
m14k, m14ke, m14kec): Document new options.
(minterlink-mips16): Update documentation.
* doc/md.texi (ZC, ZD): Document new constraints.
* configure.ac (gcc_cv_as_micromips): Check if linker
supports the .set micromips directive.
* configure: Regenerate.
* config.in: Regenerate.
* config/mips/mips-tables.opt: Regenerate.
* config/mips/micromips.md: New file.
* constraints.md (ZC, ZD): New constraints.
* config/mips/predicates.md (movep_src_register): New predicate.
(movep_src_operand): New predicate.
(non_volatile_mem_operand): New predicate.
* config/mips/mips.md (multimem): New type.
(length): Differentiate between 17-bit and 18-bit branch offsets.
(MOVEP1, MOVEP2): New mode iterator.
(mov_<load>l): Use ZC constraint.
(mov_<load>r): Likewise.
(mov_<store>l): Likewise.
(mov_<store>r): Likewise.
(*branch_equality<mode>_inverted): Add microMIPS support.
(*branch_equality<mode>): Likewise.
(*jump_absolute): Likewise.
(indirect_jump_<mode>): Likewise.
(tablejump_<mode>): Likewise.
(<optab>_internal): Likewise.
(sibcall_internal): Likewise.
(sibcall_value_internal): Likewise.
(prefetch): Use constraint ZD.
* config/mips/mips.opt (minterlink-compressed): New option.
(minterlink-mips16): Now an alias for minterlink-compressed.
(mmicromips): New option.
* config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
(compare_and_swap_12): Likewise.
(sync_add<mode>): Likewise.
(sync_<optab>_12): Likewise.
(sync_old_<optab>_12): Likewise.
(sync_new_<optab>_12): Likewise.
(sync_nand_12): Likewise.
(sync_old_nand_12): Likewise.
(sync_new_nand_12): Likewise.
(sync_sub<mode>): Likewise.
(sync_old_add<mode>): Likewise.
(sync_old_sub<mode>): Likewise.
(sync_new_add<mode>): Likewise.
(sync_new_sub<mode>): Likewise.
(sync_<optab><mode>): Likewise.
(sync_old_<optab><mode>): Likewise.
(sync_new_<optab><mode>): Likewise.
(sync_nand<mode>): Likewise.
(sync_old_nand<mode>): Likewise.
(sync_new_nand<mode>): Likewise.
(sync_lock_test_and_set<mode>): Likewise.
(test_and_set_12): Likewise.
(atomic_compare_and_swap<mode>): Likewise.
(atomic_exchange<mode>_llsc): Likewise.
(atomic_fetch_add<mode>_llsc): Likewise.
* config/mips/mips-cpus.def (m14kc, m14k): New processors.
* config/mips/mips-protos.h (umips_output_save_restore): New prototype.
(umips_save_restore_pattern_p): Likewise.
(umips_load_store_pair_p): Likewise.
(umips_output_load_store_pair): Likewise.
(umips_movep_target_p): Likewise.
(umips_12bit_offset_address_p): Likewise.
* config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
(mips_base_mips16): Rename this...
(mips_base_compression_flags): ...to this. Update all uses.
(mips_attribute_table): Add micromips, nomicromips and nocompression.
(mips_mips16_decl_p): Delete.
(mips_nomips16_decl_p): Delete.
(mips_get_compress_on_flags): New function.
(mips_get_compress_off_flags): New function.
(mips_get_compress_mode): New function.
(mips_get_compress_on_name): New function.
(mips_get_compress_off_name): New function.
(mips_insert_attributes): Support multiple compression types.
(mips_merge_decl_attributes): Likewise.
(umips_12bit_offset_address_p): New function.
(mips_start_function_definition): Emit .set micromips directive.
(mips_call_may_need_jalx_p): New function.
(mips_function_ok_for_sibcall): Add microMIPS support.
(mips_print_operand_punctuation): Support short delay slots and
compact jumps.
(umips_swm_mask, umips_swm_encoding): New.
(umips_build_save_restore): New function.
(mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
(was_mips16_p): Remove.
(old_compression_mode): New.
(mips_set_compression_mode): New function.
(mips_set_current_function): Add microMIPS support.
(mips_option_override): Likewise.
(umips_save_restore_pattern_p): New function.
(umips_output_save_restore): New function.
(umips_load_store_pair_p_1): New function.
(umips_load_store_pair_p): New function.
(umips_output_load_store_pair_1): New function.
(umips_output_load_store_pair): New function.
(umips_movep_target_p) New function.
(mips_prepare_pch_save): Add microMIPS support.
* config/mips/mips.h (TARGET_COMPRESSION): New.
(TARGET_CPU_CPP_BUILTINS): Update macro
to use new compression flags and to support microMIPS.
(MIPS_ISA_LEVEL_SPEC): Add m14k processors.
(MIPS_ARCH_FLOAT_SPEC): Likewise.
(ISA_HAS_LWXS): Include TARGET_MICROMIPS.
(ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
(ASM_SPEC): Support mmicromips and mno-micromips.
(M16STORE_REG_P): New macro.
(MIPS_CALL): Support TARGET_MICROMIPS.
(MICROMIPS_J): New macro.
(mips_base_mips16): Rename this...
(mips_base_compression_flags): ...to this.
(UMIPS_12BIT_OFFSET_P): New macro.
* config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
(MULTILIB_DIRNAMES): Likewise.
libgcc/
2013-03-20 Catherine Moore <clm@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Chao-ying Fu <fu@mips.com>
* config/mips/mips16.S: Don't build for microMIPS.
* config/mips/linux-unwind.h: Handle microMIPS frame.
* config/mips/crtn.S (fini, init): New labels.
gcc/testsuite/
2013-03-20 Catherine Moore <clm@codesourcery.com>
Richard Sandiford <rdsandiford@googlemail.com>
* gcc.target/mips/mips.exp: Add microMIPS support.
* gcc.target/mips/umips-movep-2.c: New test.
* gcc.target/mips/umips-lwp-2.c: New test.
* gcc.target/mips/umips-swp-5.c: New test.
* gcc.target/mips/umips-constraints-1.c: New test.
* gcc.target/mips/umips-lwp-3.c: New test.
* gcc.target/mips/umips-swp-6.c: New test.
* gcc.target/mips/umips-constraints-2.c: New test.
* gcc.target/mips/umips-save-restore-1.c: New test.
* gcc.target/mips/umips-lwp-4.c: New test.
* gcc.target/mips/umips-swp-7.c: New test.
* gcc.target/mips/umips-save-restore-2.c: New test.
* gcc.target/mips/umips-lwp-swp-volatile.c: New test.
* gcc.target/mips/umips-lwp-5.c: New test.
* gcc.target/mips/umips-save-restore-3.c: New test.
* gcc.target/mips/umips-lwp-6.c: New test.
* gcc.target/mips/umips-swp-1.c: New test.
* gcc.target/mips/umips-lwp-7.c: New test.
* gcc.target/mips/umips-swp-2.c: New test.
* gcc.target/mips/umips-lwp-8.c: New test.
* gcc.target/mips/umips-swp-3.c: New test.
* gcc.target/mips/umips-movep-1.c: New test.
* gcc.target/mips/umips-lwp-1.c: New test.
* gcc.target/mips/umips-swp-4.c: New test.
Co-Authored-By: Chao-ying Fu <fu@mips.com>
Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Maciej W. Rozycki <macro@codesourcery.com>
Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r196828
2013-03-20 15:37:52 +01:00
|
|
|
|
2013-03-20 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
Chao-ying Fu <fu@mips.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips16.S: Don't build for microMIPS.
|
|
|
|
|
* config/mips/linux-unwind.h: Handle microMIPS frame.
|
|
|
|
|
* config/mips/crtn.S (fini, init): New labels.
|
|
|
|
|
|
2013-03-14 10:13:36 +01:00
|
|
|
|
2013-03-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/53265
|
|
|
|
|
* unwind-dw2.c (execute_cfa_program): Avoid
|
|
|
|
|
-Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
|
|
|
|
|
on targets with DWARF_FRAME_REGISTERS < 32.
|
|
|
|
|
|
2013-03-13 19:09:10 +01:00
|
|
|
|
2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/49880
|
|
|
|
|
* config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
|
|
|
|
|
(sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
|
|
|
|
|
|
2013-03-08 02:02:29 +01:00
|
|
|
|
2013-03-07 Sriraman Tallam <tmsriram@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
|
|
|
|
|
sandybridge processors.
|
|
|
|
|
|
2013-03-06 01:41:25 +01:00
|
|
|
|
2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/56529
|
|
|
|
|
* config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
|
|
|
|
|
inclusion list.
|
|
|
|
|
|
2013-10-23 23:30:54 +02:00
|
|
|
|
2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
|
2013-03-04 16:23:05 +01:00
|
|
|
|
|
|
|
|
|
* config/microblaze/crti.S: Setup stack protection at entry
|
|
|
|
|
|
2013-03-04 15:01:24 +01:00
|
|
|
|
2013-03-04 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
|
|
|
|
|
(__rotldi3): Shift bytewise if applicable.
|
|
|
|
|
|
2013-03-01 15:01:58 +01:00
|
|
|
|
2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/sync-cache.c
|
|
|
|
|
(__aarch64_sync_cache_range): Silence warnings.
|
|
|
|
|
|
2013-02-25 14:53:16 +01:00
|
|
|
|
2013-02-25 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Revert:
|
|
|
|
|
2013-02-24 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
Chao-ying Fu <fu@mips.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips16.S: Don't build for microMIPS.
|
|
|
|
|
* config/mips/linux-unwind.h: Handle microMIPS frame.
|
|
|
|
|
* config/mips/crtn.S (fini, init): New labels.
|
|
|
|
|
|
mips16.S: Don't build for microMIPS.
libgcc/
2013-02-24 Catherine Moore <clm@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Chao-ying Fu <fu@mips.com>
* config/mips/mips16.S: Don't build for microMIPS.
* config/mips/linux-unwind.h: Handle microMIPS frame.
* config/mips/crtn.S (fini, init): New labels.
gcc/
2013-02-24 Catherine Moore <clm@codesourcery.com>
Maciej W. Rozycki <macro@codesourcery.com>
Tom de Vries <tom@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Iain Sandoe <iain@codesourcery.com>
Nathan Froyd <froydnj@codesourcery.com>
Chao-ying Fu <fu@mips.com>
* doc/extend.texi: (micromips, nomicromips, nocompression):
Document new function attributes.
* doc/invoke.texi (minterlink-compressed, mmicromips,
m14k, m14ke, m14kec): Document new options.
(minterlink-mips16): Update documentation.
* doc/md.texi (ZC, ZD): Document new constraints.
* configure.ac (gcc_cv_as_micromips): Check if linker
supports the .set micromips directive.
* configure: Regenerate.
* config.in: Regenerate.
* config/mips/mips-tables.opt: Regenerate.
* config/mips/micromips.md: New file.
* constraints.md (ZC, AD): New constraints.
* config/mips/predicates.md (movep_src_register): New predicate.
(movep_src_operand): New predicate.
(non_volatile_mem_operand): New predicate.
* config/mips/mips.md (multimem): New type.
(length): Differentiate between 17-bit and 18-bit branch offsets.
(MOVEP1, MOVEP2): New mode iterator.
(mov_<load>l): Use ZC constraint.
(mov_<load>r): Likewise.
(mov_<store>l): Likewise.
(mov_<store>r): Likewise.
(*branch_equality<mode>_inverted): Add microMIPS support.
(*branch_equality<mode>): Likewise.
(*jump_absolute): Likewise.
(indirect_jump_<mode>): Likewise.
(tablejump_<mode>): Likewise.
(<optab>_internal): Likewise.
(sibcall_internal): Likewise.
(sibcall_value_internal): Likewise.
(prefetch): Use constraint ZD.
* config/mips/mips.opt (minterlink-compressed): New option.
(minterlink-mips16): Now an alias for minterlink-compressed.
(mmicromips): New option.
* config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
(compare_and_swap_12): Likewise.
(sync_add<mode>): Likewise.
(sync_<optab>_12): Likewise.
(sync_old_<optab>_12): Likewise.
(sync_new_<optab>_12): Likewise.
(sync_nand_12): Likewise.
(sync_old_nand_12): Likewise.
(sync_new_nand_12): Likewise.
(sync_sub<mode>): Likewise.
(sync_old_add<mode>): Likewise.
(sync_old_sub<mode>): Likewise.
(sync_new_add<mode>): Likewise.
(sync_new_sub<mode>): Likewise.
(sync_<optab><mode>): Likewise.
(sync_old_<optab><mode>): Likewise.
(sync_new_<optab><mode>): Likewise.
(sync_nand<mode>): Likewise.
(sync_old_nand<mode>): Likewise.
(sync_new_nand<mode>): Likewise.
(sync_lock_test_and_set<mode>): Likewise.
(test_and_set_12): Likewise.
(atomic_compare_and_swap<mode>): Likewise.
(atomic_exchange<mode>_llsc): Likewise.
(atomic_fetch_add<mode>_llsc): Likewise.
* config/mips/mips-cpus.def (m14kc, m14k): New processors.
* config/mips/mips-protos.h (umips_output_save_restore): New prototype.
(umips_save_restore_pattern_p): Likewise.
(umips_load_store_pair_p): Likewise.
(umips_output_load_store_pair): Likewise.
(umips_movep_target_p): Likewise.
(umips_12bit_offset_address_p): Likewise.
* config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
(mips_base_mips16): Rename this...
(mips_base_compression_flags): ...to this. Update all uses.
(mips_attribute_table): Add micromips, nomicromips and nocompression.
(mips_mips16_decl_p): Delete.
(mips_nomips16_decl_p): Delete.
(mips_get_compress_on_flags): New function.
(mips_get_compress_off_flags): New function.
(mips_get_compress_mode): New function.
(mips_get_compress_on_name): New function.
(mips_get_compress_off_name): New function.
(mips_insert_attributes): Support multiple compression types.
(mips_merge_decl_attributes): Likewise.
(umips_12bit_offset_address_p): New function.
(mips_start_function_definition): Emit .set micromips directive.
(mips_call_may_need_jalx_p): New function.
(mips_function_ok_for_sibcall): Add microMIPS support.
(mips_print_operand_punctuation): Support short delay slots and
compact jumps.
(umips_swm_mask, umips_swm_encoding): New.
(umips_build_save_restore): New function.
(mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
(was_mips16_p): Remove.
(old_compression_mode): New.
(mips_set_compression_mode): New function.
(mips_set_current_function): Add microMIPS support.
(mips_option_override): Likewise.
(umips_save_restore_pattern_p): New function.
(umips_output_save_restore): New function.
(umips_load_store_pair_p_1): New function.
(umips_load_store_pair_p): New function.
(umips_output_load_store_pair_1): New function.
(umips_output_load_store_pair): New function.
(umips_movep_target_p) New function.
(mips_prepare_pch_save): Add microMIPS support.
* config/mips/mips.h (TARGET_COMPRESSION): New.
(TARGET_CPU_CPP_BUILTINS): Update macro
to use new compression flags and to support microMIPS.
(MIPS_ISA_LEVEL_SPEC): Add m14k processors.
(MIPS_ARCH_FLOAT_SPEC): Likewise.
(ISA_HAS_LWXS): Include TARGET_MICROMIPS.
(ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
(ASM_SPEC): Support mmicromips and mno-micromips.
(M16STORE_REG_P): New macro.
(MIPS_CALL): Support TARGET_MICROMIPS.
(MICROMIPS_J): New macro.
(mips_base_mips16): Rename this...
(mips_base_compression_flags): ...to this.
(UMIPS_12BIT_OFFSET_P): New macro.
* config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
(MULTILIB_DIRNAMES): Likewise.
gcc/testsuite/
2013-02-24 Catherine Moore <clm@codesourcery.com>
Richard Sandiford <rdsandiford@googlemail.com>
* gcc.target/mips/mips.exp: Add microMIPS support.
* gcc.target/mips/umips-movep-2.c: New test.
* gcc.target/mips/umips-lwp-2.c: New test.
* gcc.target/mips/umips-swp-5.c: New test.
* gcc.target/mips/umips-constraints-1.c: New test.
* gcc.target/mips/umips-lwp-3.c: New test.
* gcc.target/mips/umips-swp-6.c: New test.
* gcc.target/mips/umips-constraints-2.c: New test.
* gcc.target/mips/umips-save-restore-1.c: New test.
* gcc.target/mips/umips-lwp-4.c: New test.
* gcc.target/mips/umips-swp-7.c: New test.
* gcc.target/mips/umips-save-restore-2.c: New test.
* gcc.target/mips/umips-lwp-swp-volatile.c: New test.
* gcc.target/mips/umips-lwp-5.c: New test.
* gcc.target/mips/umips-save-restore-3.c: New test.
* gcc.target/mips/umips-lwp-6.c: New test.
* gcc.target/mips/umips-swp-1.c: New test.
* gcc.target/mips/umips-lwp-7.c: New test.
* gcc.target/mips/umips-swp-2.c: New test.
* gcc.target/mips/umips-lwp-8.c: New test.
* gcc.target/mips/umips-swp-3.c: New test.
* gcc.target/mips/umips-movep-1.c: New test.
* gcc.target/mips/umips-lwp-1.c: New test.
* gcc.target/mips/umips-swp-4.c: New test.
Co-Authored-By: Chao-ying Fu <fu@mips.com>
Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Maciej W. Rozycki <macro@codesourcery.com>
Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r196246
2013-02-25 00:46:44 +01:00
|
|
|
|
2013-02-24 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
Chao-ying Fu <fu@mips.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips16.S: Don't build for microMIPS.
|
|
|
|
|
* config/mips/linux-unwind.h: Handle microMIPS frame.
|
|
|
|
|
* config/mips/crtn.S (fini, init): New labels.
|
|
|
|
|
|
2013-02-20 00:00:50 +01:00
|
|
|
|
2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
|
2015-04-28 11:23:40 +02:00
|
|
|
|
* config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
|
2013-02-20 00:00:50 +01:00
|
|
|
|
as dividend.
|
|
|
|
|
|
2013-02-15 14:53:40 +01:00
|
|
|
|
2013-02-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/55431
|
|
|
|
|
* config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
|
|
|
|
|
(ppc_fallback_frame_state): Always set up save locations for fp
|
|
|
|
|
and altivec. Don't bother with non-callee-saved regs, r0-r13
|
|
|
|
|
except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
|
|
|
|
|
|
re PR target/54222 ([avr] Implement fixed-point support)
gcc/
PR target/54222
* config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders.
(umulsidi3_insn, mulsidi3_insn): New insns.
libgcc/
PR target/54222
* config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
_ssmulHA, _ssmulSA.
(LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
_ssmulha3, _usmulusa3, _ssmulsa3.
* config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
(__muldi3): XCALL __muldi3_6 instead of rcall.
(__umulsidi3, __mulsidi3): New functions.
(do_prologue_saves, do_epilogue_restores): New .macros.
(__divdi3_moddi3): Use them.
* config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
(__usmulusa3, __ssmulsa3): New functions.
From-SVN: r195978
2013-02-12 15:55:16 +01:00
|
|
|
|
2013-02-12 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/54222
|
|
|
|
|
* config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
|
|
|
|
|
_ssmulHA, _ssmulSA.
|
|
|
|
|
(LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
|
|
|
|
|
_ssmulha3, _usmulusa3, _ssmulsa3.
|
|
|
|
|
* config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
|
|
|
|
|
(__muldi3): XCALL __muldi3_6 instead of rcall.
|
|
|
|
|
(__umulsidi3, __mulsidi3): New functions.
|
|
|
|
|
(do_prologue_saves, do_epilogue_restores): New .macros.
|
|
|
|
|
(__divdi3_moddi3): Use them.
|
|
|
|
|
* config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
|
|
|
|
|
(__usmulusa3, __ssmulsa3): New functions.
|
|
|
|
|
|
2013-02-12 00:30:10 +01:00
|
|
|
|
2013-02-11 Iain Sandoe <iain@codesourcery.com>
|
|
|
|
|
Jack Howarth <howarth@bromo.med.uc.edu>
|
|
|
|
|
Patrick Marlier <patrick.marlier@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libitm/55693
|
|
|
|
|
* config/darwin-crt-tm.c: Remove dummy functions hack.
|
|
|
|
|
|
re PR target/54222 ([avr] Implement fixed-point support)
gcc/
PR target/54222
* config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add.
* config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators.
(round<mode>3, round<mode>3_const): New expanders for fixed-mode.
(*round<mode>3.libgcc): New insns for fixed-modes.
* config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME.
(ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs.
(ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs.
* config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline
implementations. Define to __builtin_avr_absFX,
__builtin_avr_bitsFX, __builtin_avr_FXbits, respectively.
(roundFX, countlsFX): Define to __builtin_avr_roundFX,
__builtin_avr_countlsFX, respectively.
* config/avr/avr-c.c (target.h): Include it.
(enum avr_builtin_id): New enum.
(avr_resolve_overloaded_builtin): New static function.
(avr_register_target_pragmas): Use it to set
targetm.resolve_overloaded_builtin.
* config/avr/avr.c (avr_init_builtins): Supply myriads of local
tree nodes used by DEF_BUILTIN.
(avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them.
(avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR.
<AVR_BUILTIN_xxBITS>: Same.
libgcc/
PR target/54222
* config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
* config/avr/lib2-object.mk: New iterator to build objects from it.
* config/avr/t-avr: Iterate lib2-object.mk to build objects from
lib2funcs.c.
(LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
(LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
_round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
_round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
_roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
* config/avr/lib1funcs-fixed.S: Implement them.
gcc/testsuite/
PR target/54222
* gcc.target/avr/torture/builtins-4-roundfx.c: New test.
* gcc.target/avr/torture/builtins-5-countlsfx.c: New test.
From-SVN: r195878
2013-02-08 11:13:37 +01:00
|
|
|
|
2013-02-08 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/54222
|
|
|
|
|
* config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
|
|
|
|
|
* config/avr/lib2-object.mk: New iterator to build objects from it.
|
|
|
|
|
* config/avr/t-avr: Iterate lib2-object.mk to build objects from
|
|
|
|
|
lib2funcs.c.
|
|
|
|
|
(LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
|
|
|
|
|
(LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
|
|
|
|
|
_round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
|
|
|
|
|
_round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
|
|
|
|
|
_roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
|
|
|
|
|
* config/avr/lib1funcs-fixed.S: Implement them.
|
|
|
|
|
|
2013-02-04 20:06:20 +01:00
|
|
|
|
2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2013-02-01 21:26:24 +01:00
|
|
|
|
2013-02-01 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/54601
|
|
|
|
|
* config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
|
|
|
|
|
Add crtcxa to extra_parts.
|
|
|
|
|
* config/rs6000/exit.h: New file.
|
|
|
|
|
* config/rs6000/cxa_atexit.c: New file.
|
|
|
|
|
* config/rs6000/cxa_finalize.c: New file.
|
|
|
|
|
* config/rs6000/crtcxa.c: New file.
|
|
|
|
|
* config/rs6000/t-aix-cxa: New file.
|
|
|
|
|
* config/rs6000/libgcc-aix-cxa.ver: New file.
|
|
|
|
|
|
2013-01-31 19:36:02 +01:00
|
|
|
|
2013-01-31 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/v850/lib1funcs.S: Add support for e3v5 architecture
|
|
|
|
|
variant.
|
|
|
|
|
|
re PR target/54222 ([avr] Implement fixed-point support)
PR target/54222
* config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
_mulQQ, _mulHQ, _mulHA, _mulSA,
_mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
_divQQ, _divHQ, _divHA, _divSA,
_divUQQ, _divUHQ, _divUHA, _divUSA.
From-SVN: r195532
2013-01-29 11:33:18 +01:00
|
|
|
|
2013-01-29 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/54222
|
|
|
|
|
* config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
|
|
|
|
|
_mulQQ, _mulHQ, _mulHA, _mulSA,
|
|
|
|
|
_mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
|
|
|
|
|
_divQQ, _divHQ, _divHA, _divSA,
|
|
|
|
|
_divUQQ, _divUHQ, _divUHA, _divUSA.
|
|
|
|
|
|
2013-10-23 23:30:54 +02:00
|
|
|
|
2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
|
2013-01-26 17:53:45 +01:00
|
|
|
|
|
2013-01-31 19:36:02 +01:00
|
|
|
|
* config.host(microblaze*-linux*): tmake_file: Remove
|
2013-01-26 17:53:45 +01:00
|
|
|
|
t-slibgcc-nolc-override, add t-slibgcc-libgcc.
|
|
|
|
|
* config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
|
|
|
|
|
to exclude functions from being built with libgcc.c and use
|
|
|
|
|
the microblaze assembly.
|
|
|
|
|
|
2013-10-23 23:30:54 +02:00
|
|
|
|
2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
|
2013-01-26 17:39:10 +01:00
|
|
|
|
|
|
|
|
|
* config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
|
|
|
|
|
extra_parts.
|
|
|
|
|
|
2013-01-17 15:27:36 +01:00
|
|
|
|
2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
|
|
|
|
|
results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
|
|
|
|
|
__UINTPTR_TYPE__; also cast 'base' to the same type before the
|
|
|
|
|
alignment operation.
|
|
|
|
|
|
2013-01-15 16:49:13 +01:00
|
|
|
|
2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
|
|
|
|
|
loop start address for cache clearing.
|
|
|
|
|
|
2013-01-14 16:08:45 +01:00
|
|
|
|
2013-01-14 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/lib1funcs.S: Remove trailing blanks.
|
|
|
|
|
* config/avr/lib1funcs-fixed.S: Ditto.
|
|
|
|
|
|
2013-01-14 15:01:32 +01:00
|
|
|
|
2013-01-14 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/avr-lib.h: Add GPL copyright notice.
|
|
|
|
|
|
2013-01-14 11:19:00 +01:00
|
|
|
|
2013-01-14 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
|
|
|
|
|
declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
|
|
|
|
|
(SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
|
|
|
|
|
min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
|
|
|
|
|
|
2013-01-07 23:49:56 +01:00
|
|
|
|
2013-01-07 Mark Kettenis <kettenis@openbsd.org>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
|
|
|
|
|
Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
|
2013-01-14 20:33:02 +01:00
|
|
|
|
|
2013-01-04 11:21:55 +01:00
|
|
|
|
2013-01-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/v850/lib1funcs.S: Only provide CALLT support functions if
|
|
|
|
|
the CALLT instruction is supported.
|
|
|
|
|
|
2012-12-20 23:19:57 +01:00
|
|
|
|
2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gthr.h (__gthread_cond_timedwait_recursive): Do not require.
|
|
|
|
|
* gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
|
|
|
|
|
|
2012-12-13 13:05:30 +01:00
|
|
|
|
2012-12-13 John Tytgat <John@bass-software.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
|
|
|
|
|
is 25.
|
|
|
|
|
|
2012-12-12 10:38:56 +01:00
|
|
|
|
2012-12-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/55451
|
|
|
|
|
* fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
|
|
|
|
|
undefined signed overflows.
|
|
|
|
|
|
2012-12-09 19:15:59 +01:00
|
|
|
|
2012-12-09 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/55344
|
|
|
|
|
* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
|
|
|
|
|
|
2012-12-06 10:49:43 +01:00
|
|
|
|
2012-12-06 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-machine.h (FP_EX_ALL): Define.
|
|
|
|
|
(FP_TRAPPING_EXCEPTIONS): Define.
|
|
|
|
|
* config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
|
|
|
|
|
* config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
|
|
|
|
|
|
2012-12-04 20:08:18 +01:00
|
|
|
|
2012-12-04 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/55571
|
|
|
|
|
* Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
2012-12-04 16:51:55 +01:00
|
|
|
|
|
2012-12-06 10:49:43 +01:00
|
|
|
|
* config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
|
2012-12-04 16:51:55 +01:00
|
|
|
|
(FP_EX_SHIFT): Define.
|
|
|
|
|
(FP_TRAPPING_EXCEPTIONS): Define.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
2012-12-04 15:16:17 +01:00
|
|
|
|
|
|
|
|
|
* config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
|
|
|
|
|
(FP_ROUNDMODE): Use FP_RND_MASK.
|
|
|
|
|
* config/aarch64/sfp-exceptions.c: New.
|
|
|
|
|
* config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
|
|
|
|
|
Use __sfp_handle_exceptions.
|
|
|
|
|
|
2012-12-04 14:49:09 +01:00
|
|
|
|
2012-12-04 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* config.host: (arm*-*-freebsd*): Remove.
|
|
|
|
|
(arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
|
|
|
|
|
(arm*-*-elf*): Remove.
|
|
|
|
|
(arm*-*-wince-pe*): Remove.
|
|
|
|
|
* arm/unwind-arm.c (struct fpa_reg): Delete.
|
|
|
|
|
(struct fpa_regs): Delete.
|
|
|
|
|
(phase1_vrs): Remove fpa element.
|
|
|
|
|
(_Unwind_VRS_Get): Remove _UVRSC_FPA.
|
|
|
|
|
(_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
|
|
|
|
|
* arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
|
|
|
|
|
* ieee754-sf.S (floatundisf): Remove FPA support.
|
|
|
|
|
(floatdisf): Likewise.
|
|
|
|
|
* ieee75f-df.S (floatundidf): Likewise.
|
|
|
|
|
(floatdidf): Likewise.
|
|
|
|
|
|
2012-11-29 10:36:41 +01:00
|
|
|
|
2012-11-29 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/55445
|
|
|
|
|
* unwind-c.c (__SEH__): Make sure SjLj isn't active.
|
|
|
|
|
* unwind-generic.h: Likewise.
|
|
|
|
|
* unwind-seh.c: Likewise.
|
|
|
|
|
|
2012-11-28 22:01:26 +01:00
|
|
|
|
2012-11-28 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgcc/48076
|
|
|
|
|
* emutls.c (__emutls_get_address): Avoid race condition between
|
|
|
|
|
obj->loc.offset read and emutls_key initialization.
|
2012-12-06 10:49:43 +01:00
|
|
|
|
|
Adjust decimal point of signed accum mode to GCC default.
libgcc/
Adjust decimal point of signed accum mode to GCC default.
PR target/54222
* config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
_divqq_helper.
* config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
(__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
(__mulha3, __mulsa3)
(__divqq3, __divha3, __divsa3): Adjust to new position of
decimal point of signed accum types.
(__mulusa3_round): New function.
(__mulusa3): Use it.
(__divqq_helper): New function.
(__udivuqq3): Use it.
gcc/
Adjust decimal point of signed accum mode to GCC default.
PR target/54222
* config/avr/avr-modes.def (HA, SA, DA): Remove mode adjustments.
(TA): Move decimal point one bit to the right.
* config/avr/avr.c (avr_out_fract): Rewrite.
From-SVN: r193721
2012-11-22 11:00:13 +01:00
|
|
|
|
2012-11-22 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
Adjust decimal point of signed accum mode to GCC default.
|
|
|
|
|
|
|
|
|
|
PR target/54222
|
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
|
|
|
|
|
_divqq_helper.
|
|
|
|
|
* config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
|
|
|
|
|
(__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
|
|
|
|
|
(__mulha3, __mulsa3)
|
|
|
|
|
(__divqq3, __divha3, __divsa3): Adjust to new position of
|
2012-12-06 10:49:43 +01:00
|
|
|
|
decimal point of signed accum types.
|
|
|
|
|
|
Adjust decimal point of signed accum mode to GCC default.
libgcc/
Adjust decimal point of signed accum mode to GCC default.
PR target/54222
* config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
_divqq_helper.
* config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
(__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
(__mulha3, __mulsa3)
(__divqq3, __divha3, __divsa3): Adjust to new position of
decimal point of signed accum types.
(__mulusa3_round): New function.
(__mulusa3): Use it.
(__divqq_helper): New function.
(__udivuqq3): Use it.
gcc/
Adjust decimal point of signed accum mode to GCC default.
PR target/54222
* config/avr/avr-modes.def (HA, SA, DA): Remove mode adjustments.
(TA): Move decimal point one bit to the right.
* config/avr/avr.c (avr_out_fract): Rewrite.
From-SVN: r193721
2012-11-22 11:00:13 +01:00
|
|
|
|
(__mulusa3_round): New function.
|
|
|
|
|
(__mulusa3): Use it.
|
|
|
|
|
(__divqq_helper): New function.
|
|
|
|
|
(__udivuqq3): Use it.
|
|
|
|
|
|
2012-11-20 09:36:31 +01:00
|
|
|
|
2012-11-20 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/55370
|
|
|
|
|
* libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
|
|
|
|
|
|
2012-11-19 06:20:59 +01:00
|
|
|
|
2012-11-18 Teresa Johnson <tejohnson@google.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/55051
|
|
|
|
|
* libgcov.c (gcov_exit): Remove merged program summary
|
|
|
|
|
comparison unless !GCOV_LOCKED.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
2012-11-15 19:39:47 +01:00
|
|
|
|
|
|
|
|
|
* soft-fp: Updated from glibc upstream.
|
|
|
|
|
|
2012-11-07 00:04:28 +01:00
|
|
|
|
2012-11-06 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.c (__generic_morestack): Align the returned
|
|
|
|
|
stack pointer to a 32 byte boundary.
|
|
|
|
|
* config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
|
|
|
|
|
increment the return address until we have decided that we don't
|
|
|
|
|
have a varargs function.
|
|
|
|
|
(__morestack) [32-bit]: Align stack correctly when calling C
|
|
|
|
|
functions.
|
|
|
|
|
(__morestack) [64-bit]: Likewise.
|
|
|
|
|
|
2012-11-05 00:08:42 +01:00
|
|
|
|
2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-11-02 15:09:02 +01:00
|
|
|
|
2012-11-02 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/55175
|
|
|
|
|
* config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
|
|
|
|
|
* config/i386/sfp-machine.h: Guard exception handling
|
|
|
|
|
code with _SOFT_FLOAT.
|
|
|
|
|
* config/i386/32/sfp-machine.h: Guard rounding handling
|
|
|
|
|
code with _SOFT_FLOAT.
|
|
|
|
|
* config/i386/64/sfp-machine.h: Ditto.
|
|
|
|
|
|
2012-10-31 03:17:37 +01:00
|
|
|
|
2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
|
|
|
|
|
|
|
|
|
* config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
|
|
|
|
|
as extra_parts.
|
|
|
|
|
|
2012-10-26 19:54:50 +02:00
|
|
|
|
2012-10-26 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
|
|
|
|
|
Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
|
|
|
|
|
when appropriate. Correct structure element types.
|
|
|
|
|
* config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
|
|
|
|
|
-minline-all-stringops from compile flags.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2012-10-25 14:06:06 +02:00
|
|
|
|
|
|
|
|
|
* config.host (sparc64-*-rtems*): Remove sparc/t-elf.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2012-10-25 10:08:04 +02:00
|
|
|
|
|
2012-10-26 19:54:50 +02:00
|
|
|
|
* config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
|
2012-10-25 10:08:04 +02:00
|
|
|
|
|
2012-10-25 05:30:23 +02:00
|
|
|
|
2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
|
|
|
|
|
tmake_file.
|
|
|
|
|
|
2012-10-23 19:27:13 +02:00
|
|
|
|
2012-10-23 Ian Bolton <ian.bolton@arm.com>
|
|
|
|
|
Jim MacArthur <jim.macarthur@arm.com>
|
|
|
|
|
Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
Nigel Stephens <nigel.stephens@arm.com>
|
|
|
|
|
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
Sofiane Naci <sofiane.naci@arm.com>
|
|
|
|
|
Stephen Thomas <stephen.thomas@arm.com>
|
|
|
|
|
Tejas Belagod <tejas.belagod@arm.com>
|
|
|
|
|
Yufeng Zhang <yufeng.zhang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
|
|
|
|
|
* config/aarch64/crti.S: New file.
|
|
|
|
|
* config/aarch64/crtn.S: New file.
|
|
|
|
|
* config/aarch64/linux-unwind.h: New file.
|
|
|
|
|
* config/aarch64/sfp-machine.h: New file.
|
|
|
|
|
* config/aarch64/sync-cache.c: New file.
|
|
|
|
|
* config/aarch64/t-aarch64: New file.
|
|
|
|
|
* config/aarch64/t-softfp: New file.
|
|
|
|
|
|
2012-10-21 05:16:47 +02:00
|
|
|
|
2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
|
|
|
|
|
|
|
|
|
|
* config/mmix/crti.S: Mark program and data addresses using PRELD.
|
|
|
|
|
Remove typo'd and unnecessary alignment-LOC for .data. Remove
|
|
|
|
|
no-longer-needed LDBU insns.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
2012-10-19 03:17:53 +02:00
|
|
|
|
|
|
|
|
|
* config.host
|
|
|
|
|
(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
|
|
|
|
|
"arm*-*-rtemseabi*" to "arm*-*-rtems*".
|
|
|
|
|
|
2012-10-18 12:49:23 +02:00
|
|
|
|
2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
|
|
|
|
|
|
2012-10-15 23:12:23 +02:00
|
|
|
|
2012-10-15 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Match arm*-*-linux-* for ARM Linux/GNU.
|
|
|
|
|
|
2012-10-15 15:10:30 +02:00
|
|
|
|
2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
|
|
|
|
|
|
2012-10-11 13:44:51 +02:00
|
|
|
|
2012-10-10 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
|
|
|
|
|
instructions for 64bit targets only.
|
|
|
|
|
|
sfp-machine.h (FP_RND_NEAREST, [...]): Move to ...
* config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
* config/i386/32/sfp-machine.h: ... here.
* config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
New defines.
From-SVN: r192324
2012-10-10 20:35:32 +02:00
|
|
|
|
2012-10-10 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
|
|
|
|
|
FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
|
|
|
|
|
* config/i386/32/sfp-machine.h: ... here.
|
|
|
|
|
* config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
|
|
|
|
|
FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
|
|
|
|
|
New defines.
|
|
|
|
|
|
2012-10-07 12:06:30 +02:00
|
|
|
|
2012-10-07 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
|
|
|
|
|
as unused.
|
|
|
|
|
(_Unwind_decode_typeinfo_ptr): Mark base as unused.
|
|
|
|
|
|
2012-10-06 01:35:55 +02:00
|
|
|
|
2012-10-06 Mark Kettenis <kettenis@openbsd.org>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
|
|
|
|
|
* unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
|
|
|
|
|
(USE_PT_GNU_EH_FRAME): Define for OpenBSD.
|
|
|
|
|
(ElfW): Likewise.
|
|
|
|
|
|
2012-10-05 09:35:12 +02:00
|
|
|
|
2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR other/53889
|
|
|
|
|
* config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
|
|
|
|
|
Fix parameter names.
|
|
|
|
|
|
2012-10-04 20:32:20 +02:00
|
|
|
|
2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/33135
|
|
|
|
|
* config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
|
|
|
|
|
* config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
|
|
|
|
|
* config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
|
|
|
|
|
|
2012-10-03 23:36:14 +02:00
|
|
|
|
2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/50457
|
|
|
|
|
* config/sh/linux-atomic.S: Delete.
|
|
|
|
|
* config/sh/linux-atomic.c: New.
|
|
|
|
|
* config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
|
|
|
|
|
linux-atomic.c. Add cflags to disable warnings.
|
|
|
|
|
|
2012-10-02 22:22:32 +02:00
|
|
|
|
2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR other/53889
|
|
|
|
|
* gthr.h (__gthread_recursive_mutex_destroy): Document new required
|
|
|
|
|
function.
|
|
|
|
|
* gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
|
|
|
|
|
* gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
|
|
|
|
|
* config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
|
|
|
|
|
* config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
|
2012-10-05 09:35:12 +02:00
|
|
|
|
* config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
|
|
|
|
|
Likewise.
|
2012-10-02 22:22:32 +02:00
|
|
|
|
* config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
|
|
|
|
|
* config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
|
|
|
|
|
|
2012-09-20 03:20:34 +02:00
|
|
|
|
2012-09-19 Mark Kettenis <kettenis@openbsd.org>
|
|
|
|
|
|
2012-10-03 23:36:14 +02:00
|
|
|
|
* config.host (hppa-*-openbsd*): New target.
|
|
|
|
|
* config/pa/t-openbsd: New file.
|
2012-09-20 03:20:34 +02:00
|
|
|
|
|
re PR target/54222 ([avr] Implement fixed-point support)
gcc/
PR target/54222
* config/avr/avr-fixed.md (ALL2S, ALL4S, ALL24S, ALL124S,
ALL124U): New mode iterators.
(<code_stdname><mode>3): New insns for SS_PLUS, SS_MINUS.
(<code_stdname><mode>3): New insns for US_PLUS, US_MINUS.
(usneg<mode>2): New insns.
(<code_stdname><mode>2): New expanders for SS_NEG, SS_ABS.
(*<code_stdname><mode>2): New insns for SS_NEG, SS_ABS.
* config/avr/avr-dimode.md (ALL8U, ALL8S): New mode iterators.
(avr_out_plus64, avr_out_minus64): Use avr_out_plus instead.
(<code_stdname><mode>3): New expanders for SS_PLUS, SS_MINUS.
(<code_stdname><mode>3): New expanders for US_PLUS, US_MINUS.
(<code_stdname><mode>3_insn): New insns.
(<code_stdname><mode>3_const_insn): New insns.
* config/avr/avr.md (cc): Add: plus. Remove: out_plus,
out_plus_noclobber, minus.
(length): Add: plus. Remove: out_plus, out_plus_noclobber,
plus64, minus, minus64.
(abelian): New code_attr.
(code_stdname): Handle: ss_plus, ss_minus, ss_neg, ss_abs,
us_plus, us_minus, us_neg.
(*add<mode>3, add<mode>3_clobber, add<mode>3, addpsi3, sub<mode>3):
Use avr_out_plus to output.
* config/avr/avr-protos.h (avr_out_plus): Change prototype.
(avr_out_plus_noclobber, avr_out_minus): Remove.
(avr_out_plus64, avr_out_minus64): Remove.
* config/avr/avr.c (avr_out_plus_1): Add new default arguments
code_sat, sign. Saturate after operation if code_sat != UNKNOWN.
(avr_out_plus_symbol): New static function.
(avr_out_plus): Rewrite.
(adjust_insn_length): Handle: ADJUST_LEN_PLUS. Remove handling
of: ADJUST_LEN_OUT_PLUS, ADJUST_LEN_PLUS64, ADJUST_LEN_MINUS,
ADJUST_LEN_MINUS64, ADJUST_LEN_OUT_PLUS_NOCLOBBER.
(notice_update_cc): Handle: CC_PLUS. Remove handling of: CC_MINUS,
CC_OUT_PLUS, CC_OUT_PLUS_NOCLOBBER
(avr_out_plus_noclobber, avr_out_minus): Remove.
(avr_out_plus64, avr_out_minus64): Remove.
(avr_print_operand): Print raw REGNO if 'r' is used with REG.
libgcc/
PR target/54222
* config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
__ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
__usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
(__divsa3): Use __negsi2 to negate r_quoL.
* config/avr/lib1funcs.S (FALIAS): New macro.
(__divmodsi4): Break out and use __divmodsi4_neg1 as...
(__negsi2): ...this new function.
* config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
_ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
_ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
(LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
gcc/testsuite/
PR target/54222
* gcc.target/avr/torture/fix-types.h: New.
* gcc.target/avr/torture/vals-hr.def: New.
* gcc.target/avr/torture/vals-r.def: New.
* gcc.target/avr/torture/vals-k.def: New.
* gcc.target/avr/torture/vals-ur.def: New.
* gcc.target/avr/torture/vals-uk.def: New.
* gcc.target/avr/torture/vals-uhr.def: New.
* gcc.target/avr/torture/vals-llk.def: New.
* gcc.target/avr/torture/vals-ullk.def: New.
* gcc.target/avr/torture/sat-hr-plus-minus.c: New.
* gcc.target/avr/torture/sat-r-plus-minus.c: New.
* gcc.target/avr/torture/sat-k-plus-minus.c: New.
* gcc.target/avr/torture/sat-ur-plus-minus.c: New.
* gcc.target/avr/torture/sat-uk-plus-minus.c: New.
* gcc.target/avr/torture/sat-uhr-plus-minus.c: New.
* gcc.target/avr/torture/sat-llk-plus-minus.c: New.
* gcc.target/avr/torture/sat-ullk-plus-minus.c: New.
From-SVN: r191345
2012-09-15 17:52:28 +02:00
|
|
|
|
2012-09-15 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/54222
|
|
|
|
|
* config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
|
|
|
|
|
__ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
|
|
|
|
|
__usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
|
|
|
|
|
(__divsa3): Use __negsi2 to negate r_quoL.
|
|
|
|
|
* config/avr/lib1funcs.S (FALIAS): New macro.
|
|
|
|
|
(__divmodsi4): Break out and use __divmodsi4_neg1 as...
|
|
|
|
|
(__negsi2): ...this new function.
|
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
|
|
|
|
|
_ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
|
|
|
|
|
_ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
|
|
|
|
|
(LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
|
|
|
|
|
Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
|
|
|
|
|
Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
|
|
|
|
|
|
2012-09-10 22:35:25 +02:00
|
|
|
|
2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/54089
|
|
|
|
|
* config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
|
|
|
|
|
(lshrsi3): Reimplement as lshrsi3_r0.
|
|
|
|
|
|
2012-09-10 22:14:47 +02:00
|
|
|
|
2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
PR target/46191
|
|
|
|
|
* config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
|
|
|
|
|
of libgcc.a.
|
|
|
|
|
|
2012-09-07 15:49:47 +02:00
|
|
|
|
2012-09-07 Teresa Johnson <tejohnson@google.com>
|
|
|
|
|
|
2012-10-03 23:36:14 +02:00
|
|
|
|
PR gcov-profile/54487
|
2012-09-07 15:49:47 +02:00
|
|
|
|
* libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
|
2012-10-03 23:36:14 +02:00
|
|
|
|
differences.
|
2012-09-07 15:49:47 +02:00
|
|
|
|
|
2012-09-05 10:47:50 +02:00
|
|
|
|
2012-09-05 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/54461
|
|
|
|
|
* config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
|
|
|
|
|
not configured --with-avrlibc=no.
|
|
|
|
|
* config/avr/t-avrlibc: New file.
|
|
|
|
|
* Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
|
|
|
|
|
(DPBIT_FUNCS): Ditto.
|
|
|
|
|
(TPBIT_FUNCS): Ditto.
|
|
|
|
|
|
2012-09-04 23:20:30 +02:00
|
|
|
|
2012-09-04 Teresa Johnson <tejohnson@google.com>
|
|
|
|
|
|
|
|
|
|
* libgcov.c (struct gcov_summary_buffer): New structure.
|
|
|
|
|
(gcov_histogram_insert): New function.
|
|
|
|
|
(gcov_compute_histogram): Ditto.
|
|
|
|
|
(gcov_exit): Invoke gcov_compute_histogram, and perform merging of
|
|
|
|
|
histograms during summary merging.
|
|
|
|
|
|
2012-09-02 16:13:21 +02:00
|
|
|
|
2012-09-01 Mark Kettenis <kettenis@openbsd.org>
|
|
|
|
|
|
|
|
|
|
* config.host (x86_64-*-openbsd*): New target.
|
2012-11-02 15:09:02 +01:00
|
|
|
|
|
2012-08-29 11:31:52 +02:00
|
|
|
|
2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
|
|
|
|
|
attribute.
|
|
|
|
|
|
2012-08-24 15:01:54 +02:00
|
|
|
|
2012-08-24 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/54222
|
|
|
|
|
* config/avr/t-avr (conv_X): Rename to func_X.
|
|
|
|
|
|
re PR target/54222 ([avr] Implement fixed-point support)
libgcc/
PR target/54222
* config/avr/lib1funcs-fixed.S: New file.
* config/avr/lib1funcs.S: Include it. Undefine some divmodsi
after they are used.
(neg2, neg4): New macros.
(__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
(__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
(__umulhisi3): Speed up MUL variant if there is enough flash.
* config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
avr-modes.def.
* config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
_fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
_fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
_fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
_mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
_udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
(LIB2FUNCS_EXCLUDE): Add supported functions.
gcc/
PR target/54222
* avr-modes.def (HA, SA, DA, TA, UTA): Adjust modes.
* avr/avr-fixed.md: New file.
* avr/avr.md: Include it.
(cc): Add: minus.
(adjust_len): Add: minus, minus64, ufract, sfract.
(ALL1, ALL2, ALL4, ORDERED234): New mode iterators.
(MOVMODE): Add: QQ, UQQ, HQ, UHQ, HA, UHA, SQ, USQ, SA, USA.
(MPUSH): Add: HQ, UHQ, HA, UHA, SQ, USQ, SA, USA.
(pushqi1, xload8_A, xload_8, movqi_insn, *reload_inqi, addqi3,
subqi3, ashlqi3, *ashlqi3, ashrqi3, lshrqi3, *lshrqi3, *cmpqi,
cbranchqi4, *cpse.eq): Generalize to handle all 8-bit modes in ALL1.
(*movhi, reload_inhi, addhi3, *addhi3, addhi3_clobber, subhi3,
ashlhi3, *ashlhi3_const, ashrhi3, *ashirhi3_const, lshrhi3,
*lshrhi3_const, *cmphi, cbranchhi4): Generalize to handle all
16-bit modes in ALL2.
(subhi3, casesi, strlenhi): Add clobber when expanding minus:HI.
(*movsi, *reload_insi, addsi3, subsi3, ashlsi3, *ashlsi3_const,
ashrsi3, *ashrhi3_const, *ashrsi3_const, lshrsi3, *lshrsi3_const,
*reversed_tstsi, *cmpsi, cbranchsi4): Generalize to handle all
32-bit modes in ALL4.
* avr-dimode.md (ALL8): New mode iterator.
(adddi3, adddi3_insn, adddi3_const_insn, subdi3, subdi3_insn,
subdi3_const_insn, cbranchdi4, compare_di2,
compare_const_di2, ashrdi3, lshrdi3, rotldi3, ashldi3_insn,
ashrdi3_insn, lshrdi3_insn, rotldi3_insn): Generalize to handle
all 64-bit modes in ALL8.
* config/avr/avr-protos.h (avr_to_int_mode): New prototype.
(avr_out_fract, avr_out_minus, avr_out_minus64): New prototypes.
* config/avr/avr.c (TARGET_FIXED_POINT_SUPPORTED_P): Define to...
(avr_fixed_point_supported_p): ...this new static function.
(TARGET_BUILD_BUILTIN_VA_LIST): Define to...
(avr_build_builtin_va_list): ...this new static function.
(avr_adjust_type_node): New static function.
(avr_scalar_mode_supported_p): Allow if ALL_FIXED_POINT_MODE_P.
(avr_builtin_setjmp_frame_value): Use gen_subhi3 and return new
pseudo instead of gen_rtx_MINUS.
(avr_print_operand, avr_operand_rtx_cost): Handle: CONST_FIXED.
(notice_update_cc): Handle: CC_MINUS.
(output_movqi): Generalize to handle respective fixed-point modes.
(output_movhi, output_movsisf, avr_2word_insn_p): Ditto.
(avr_out_compare, avr_out_plus_1): Also handle fixed-point modes.
(avr_assemble_integer): Ditto.
(output_reload_in_const, output_reload_insisf): Ditto.
(avr_compare_pattern): Skip all modes > 4 bytes.
(avr_2word_insn_p): Skip movuqq_insn, movqq_insn.
(avr_out_fract, avr_out_minus, avr_out_minus64): New functions.
(avr_to_int_mode): New function.
(adjust_insn_length): Handle: ADJUST_LEN_SFRACT,
ADJUST_LEN_UFRACT, ADJUST_LEN_MINUS, ADJUST_LEN_MINUS64.
* config/avr/predicates.md (const0_operand): Allow const_fixed.
(const_operand, const_or_immediate_operand): New.
(nonmemory_or_const_operand): New.
* config/avr/constraints.md (Ynn, Y00, Y01, Y02, Ym1, Ym2, YIJ):
New constraints.
* config/avr/avr.h (LONG_LONG_ACCUM_TYPE_SIZE): Define.
From-SVN: r190644
2012-08-24 14:42:48 +02:00
|
|
|
|
2012-08-24 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/54222
|
|
|
|
|
* config/avr/lib1funcs-fixed.S: New file.
|
|
|
|
|
* config/avr/lib1funcs.S: Include it. Undefine some divmodsi
|
|
|
|
|
after they are used.
|
|
|
|
|
(neg2, neg4): New macros.
|
|
|
|
|
(__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
|
|
|
|
|
(__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
|
|
|
|
|
(__umulhisi3): Speed up MUL variant if there is enough flash.
|
|
|
|
|
* config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
|
|
|
|
|
avr-modes.def.
|
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
|
|
|
|
|
_fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
|
|
|
|
|
_fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
|
|
|
|
|
_fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
|
|
|
|
|
_mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
|
|
|
|
|
_udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
|
|
|
|
|
(LIB2FUNCS_EXCLUDE): Add supported functions.
|
|
|
|
|
|
2012-08-23 17:41:03 +02:00
|
|
|
|
2012-08-22 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
|
|
|
|
|
LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
|
|
|
|
|
libgcc-s-objects.
|
|
|
|
|
* fixed-obj.mk: Only expand dependency if $o is not in
|
|
|
|
|
LIB2FUNCS_EXCLUDE.
|
|
|
|
|
|
2012-08-22 21:46:28 +02:00
|
|
|
|
2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
|
|
|
|
|
|
2012-08-22 10:36:23 +02:00
|
|
|
|
2012-08-22 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (vis_hide, gen-hide-list): Do not make definitions
|
|
|
|
|
depend on --enable-shared.
|
|
|
|
|
($(lib1asmfuncs-o)): Use %.vis files independent of
|
|
|
|
|
--enable-shared.
|
|
|
|
|
* static-object.mk ($(base)$(objext), $(base).vis)
|
|
|
|
|
($(base)_s$(objext)): Use same rules for visibility handling as in
|
|
|
|
|
shared-object.mk.
|
|
|
|
|
|
2012-08-21 22:51:42 +02:00
|
|
|
|
2012-08-21 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/morestack.S (__morestack_non_split): Increase amount
|
|
|
|
|
of space allocated for non-split code stack.
|
|
|
|
|
|
2012-08-19 17:11:40 +02:00
|
|
|
|
2012-08-19 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
|
|
|
|
|
even if inhibit_libc.
|
|
|
|
|
|
2012-08-17 17:06:06 +02:00
|
|
|
|
2012-08-17 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
|
|
|
|
|
-fexceptions -fnon-call-exceptions if not defined.
|
|
|
|
|
($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
|
|
|
|
|
* config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
|
|
|
|
|
|
2012-08-17 14:33:09 +02:00
|
|
|
|
2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
* config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
|
|
|
|
|
type.
|
|
|
|
|
|
2012-08-17 04:19:04 +02:00
|
|
|
|
2012-08-16 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
|
|
|
|
|
rs6000/t-slibgcc-aix.
|
|
|
|
|
|
2012-08-16 03:49:57 +02:00
|
|
|
|
2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
|
|
|
|
|
|
2012-08-16 03:34:27 +02:00
|
|
|
|
2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
|
|
|
|
|
|
2012-08-04 07:33:27 +02:00
|
|
|
|
2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR driver/54171
|
|
|
|
|
* Makefile.in (version): Replace top_srcdir with srcdir.
|
|
|
|
|
|
2012-08-04 01:42:20 +02:00
|
|
|
|
2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (version): set to BASE-VER file from gcc directory.
|
|
|
|
|
|
2012-08-01 11:36:01 +02:00
|
|
|
|
2012-08-01 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/m32c/lib2funcs.c (__clrsbhi2): New function.
|
|
|
|
|
Implements __clrsb for an HImode argument.
|
|
|
|
|
|
2012-07-31 11:09:29 +02:00
|
|
|
|
2012-07-31 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/stormy16/lib2funcs.c (__clrsbhi2): New function.
|
|
|
|
|
Implements __clrsb for an HImode argument.
|
|
|
|
|
* config/stormy16/clrsbhi2.c: New file:
|
|
|
|
|
* config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
|
|
|
|
|
|
2012-07-23 13:59:15 +02:00
|
|
|
|
2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* libgcov.c (__gcov_ior_profiler): Benign comment fix.
|
|
|
|
|
|
2012-07-19 09:29:24 +02:00
|
|
|
|
2012-07-19 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* unwind-seh.c: New file.
|
|
|
|
|
* unwind-generic.h: Include windows.h for SEH.
|
|
|
|
|
(_Unwind_Exception): Use 6 private fields for SEH.
|
|
|
|
|
(_GCC_specific_handler): Declare.
|
|
|
|
|
* unwind-c.c (__gcc_personality_seh0): New function.
|
|
|
|
|
Adjust for SEH.
|
|
|
|
|
* config/i386/libgcc-cygming.ver: New file.
|
|
|
|
|
* config/i386/t-seh-eh: New file.
|
|
|
|
|
* config.host (x86_64-*-mingw*): Default to seh.
|
|
|
|
|
|
2012-07-14 15:50:59 +02:00
|
|
|
|
2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
|
|
|
|
|
|
2012-06-17 15:54:53 +02:00
|
|
|
|
2012-06-17 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
|
|
|
|
|
__builtin_expect when checking for exceptions.
|
|
|
|
|
* config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
|
|
|
|
|
|
2012-06-13 17:56:55 +02:00
|
|
|
|
2012-06-13 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
2012-06-13 17:59:15 +02:00
|
|
|
|
* config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
|
|
|
|
|
function declaration.
|
|
|
|
|
(FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
|
|
|
|
|
(FP_RND_MASK): New.
|
|
|
|
|
* config/ia64/sfp-exceptions.c: New.
|
|
|
|
|
* config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
|
2012-06-13 17:56:55 +02:00
|
|
|
|
|
2012-06-13 17:23:12 +02:00
|
|
|
|
2012-06-13 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
|
|
|
|
|
_FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
|
|
|
|
|
* config/i386/64/sfp-machine: ... (delete here) ...
|
|
|
|
|
* config/i386/sfp-machine.h: ... to here.
|
|
|
|
|
(FP_EX_MASK): Remove.
|
|
|
|
|
(FP_RND_MASK): New.
|
|
|
|
|
(FP_INIT_ROUNDMODE): Declare asm as volatile.
|
|
|
|
|
|
2012-06-12 04:55:20 +02:00
|
|
|
|
2012-06-11 Sriraman Tallam <tmsriram@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
|
|
|
|
|
* config/i386/libgcc-sol2.ver: Ditto.
|
|
|
|
|
* config/i386/libgcc-glibc.ver: Ditto.
|
|
|
|
|
|
2012-06-11 23:15:38 +02:00
|
|
|
|
2012-06-11 Roland McGrath <mcgrathr@google.com>
|
|
|
|
|
|
|
|
|
|
* gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
|
|
|
|
|
If __GLIBC__ is defined, refer to __pthread_key_create instead of
|
|
|
|
|
pthread_cancel.
|
|
|
|
|
|
sfp-machine.h (__gcc_CMPtype, [...]): Move ...
* config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
_FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
__LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
* config/i386/64/sfp-machine: ... (delete here) ...
* config/i386/sfp-machine.h: ... to here.
(FP_EX_MASK): New.
(__sfp_handle_exceptions): New function declaration.
(FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
* config/i386/sfp-exceptions.c: New.
* config/i386/t-softfp: New.
* config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
i386/t-softfp to tmake_file.
From-SVN: r188361
2012-06-09 19:32:27 +02:00
|
|
|
|
2012-06-09 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
|
|
|
|
|
_FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
|
|
|
|
|
FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
|
|
|
|
|
FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
|
|
|
|
|
FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
|
|
|
|
|
__LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
|
|
|
|
|
* config/i386/64/sfp-machine: ... (delete here) ...
|
|
|
|
|
* config/i386/sfp-machine.h: ... to here.
|
|
|
|
|
(FP_EX_MASK): New.
|
|
|
|
|
(__sfp_handle_exceptions): New function declaration.
|
|
|
|
|
(FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
|
|
|
|
|
* config/i386/sfp-exceptions.c: New.
|
|
|
|
|
* config/i386/t-softfp: New.
|
|
|
|
|
* config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
|
|
|
|
|
i386/t-softfp to tmake_file.
|
|
|
|
|
|
2012-06-04 03:54:59 +02:00
|
|
|
|
2012-06-03 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
|
|
|
|
|
change.
|
|
|
|
|
|
2012-06-01 02:12:22 +02:00
|
|
|
|
2012-05-31 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
|
|
|
|
|
multiply and divide instructions on 32-bit when V9.
|
|
|
|
|
(add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
|
|
|
|
|
|
2012-05-29 16:54:22 +02:00
|
|
|
|
2012-05-29 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/ieee754-df.S: Fix typos.
|
|
|
|
|
* config/arm/ieee754-sf.S: Fix typos.
|
|
|
|
|
* config/c6x/libunwind.S: Fix typos.
|
|
|
|
|
* config/epiphany/udivsi3-float.c: Fix typos.
|
|
|
|
|
* config/microblaze/muldi3_hard.S: Fix typos.
|
|
|
|
|
* config/picochip/adddi3.S: Fix typos.
|
|
|
|
|
* config/picochip/ashlsi3.S: Fix typos.
|
|
|
|
|
* config/picochip/ashrsi3.S: Fix typos.
|
|
|
|
|
* config/picochip/clzsi2.S: Fix typos.
|
|
|
|
|
* config/picochip/cmpsi2.S: Fix typos.
|
|
|
|
|
* config/picochip/divmod15.S: Fix typos.
|
|
|
|
|
* config/picochip/divmodhi4.S: Fix typos.
|
|
|
|
|
* config/picochip/divmodsi4.S: Fix typos.
|
|
|
|
|
* config/picochip/longjmp.S: Fix typos.
|
|
|
|
|
* config/picochip/lshrsi3.S: Fix typos.
|
|
|
|
|
* config/picochip/parityhi2.S: Fix typos.
|
|
|
|
|
* config/picochip/popcounthi2.S: Fix typos.
|
|
|
|
|
* config/picochip/setjmp.S: Fix typos.
|
|
|
|
|
* config/picochip/subdi3.S: Fix typos.
|
|
|
|
|
* config/picochip/ucmpsi2.S: Fix typos.
|
|
|
|
|
* config/picochip/udivmodhi4.S: Fix typos.
|
|
|
|
|
* config/picochip/udivmodsi4.S: Fix typos.
|
|
|
|
|
* config/spu/divv2df3.c: Fix typos.
|
|
|
|
|
* config/spu/mfc_multi_tag_release.c: Fix typos.
|
|
|
|
|
* config/spu/mfc_tag_release.c: Fix typos.
|
|
|
|
|
* configure.ac: Fix typos.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-05-25 22:48:19 +02:00
|
|
|
|
2012-05-25 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/morestack.S (__morestack_non_split): Check whether
|
|
|
|
|
caller is varargs and needs %bp to hold the stack frame on return.
|
|
|
|
|
|
2012-05-25 10:20:03 +02:00
|
|
|
|
2012-05-25 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
|
|
|
|
|
sequence in the non pic case on VxWorks.
|
|
|
|
|
|
2012-05-24 16:57:11 +02:00
|
|
|
|
2012-05-24 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
2012-05-24 16:58:49 +02:00
|
|
|
|
* Makefile.in: Move dependency on install-unwind_h from
|
2012-05-24 16:57:11 +02:00
|
|
|
|
"install-leaf" to "install".
|
|
|
|
|
|
2012-05-24 16:51:33 +02:00
|
|
|
|
2012-05-24 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (clean): Remove libgcc_tm.stamp as well.
|
|
|
|
|
Use a separate command for stamp removals.
|
|
|
|
|
|
2012-05-21 20:56:35 +02:00
|
|
|
|
2012-05-21 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/53183
|
|
|
|
|
* configure.ac: Define the default includes to being none.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-05-16 17:36:08 +02:00
|
|
|
|
2012-05-16 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (install-unwind_h): Rename into ...
|
|
|
|
|
(install-unwind_h-forbuild): New target.
|
|
|
|
|
(all): Use it instead of the former install-unwind_h.
|
|
|
|
|
(install-unwind_h): Reinstate, copy to user install destination
|
|
|
|
|
for include files, not to the internal gcc object directory one.
|
|
|
|
|
(install-leaf): Depend on it.
|
|
|
|
|
|
2012-05-15 16:03:04 +02:00
|
|
|
|
2012-05-15 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
|
|
|
|
|
register numbers. LR_REGNO replaces R_LR.
|
|
|
|
|
(ucontext_for): New, helper for ...
|
|
|
|
|
(ppc_aix_fallback_frame_state): New, implementation for aix 5.2
|
|
|
|
|
and 5.3 of ...
|
|
|
|
|
(MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
|
|
|
|
|
|
2012-05-10 10:51:39 +02:00
|
|
|
|
2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-linux*, x86_64-*-linux*)
|
|
|
|
|
(i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
|
|
|
|
|
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
|
|
|
|
|
i386/t-cpuinfo ...
|
|
|
|
|
(i[34567]86-*-*, x86_64-*-*): ... here.
|
|
|
|
|
|
|
|
|
|
* config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
|
|
|
|
|
* config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
|
|
|
|
|
|
|
|
|
|
* config/i386/i386-cpuinfo.c: Rename to ...
|
|
|
|
|
* config/i386/cpuinfo.c: ... this.
|
|
|
|
|
* config/i386/t-cpuinfo (LIB2ADD): Reflect this.
|
|
|
|
|
|
|
|
|
|
* configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
|
|
|
|
|
(libgcc_cv_init_priority): New test.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: New file.
|
|
|
|
|
* Makefile.in (clean): Rename config.h to auto-target.h.
|
|
|
|
|
(config.h): Likewise.
|
|
|
|
|
(stamp-h): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/i386/cpuinfo.c (auto-target.h): Include.
|
|
|
|
|
(CONSTRUCTOR_PRIORITY): Define.
|
|
|
|
|
(__cpu_indicator_init): Use it.
|
|
|
|
|
|
2012-05-09 15:36:19 +02:00
|
|
|
|
2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* longlong.h: Use a URL instead of an FSF postal address.
|
|
|
|
|
Replace spaces with tab.
|
|
|
|
|
|
2012-06-13 17:59:15 +02:00
|
|
|
|
2012-05-08 Teresa Johnson <tejohnson@google.com>
|
2012-05-08 23:22:28 +02:00
|
|
|
|
|
|
|
|
|
* libgcov.c (gcov_clear, __gcov_reset): New functions.
|
|
|
|
|
(__gcov_dump): Ditto.
|
|
|
|
|
(gcov_dump_complete): New global variable.
|
|
|
|
|
(gcov_exit): Export hidden to enable use in L_gcov_dump.
|
|
|
|
|
(__gcov_flush): Outline functionality now in gcov_clear.
|
|
|
|
|
* Makefile.in (L_gcov_reset, L_gcov_dump): Define.
|
|
|
|
|
|
2012-04-28 10:03:54 +02:00
|
|
|
|
2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
|
|
|
|
|
|
2012-05-25 22:48:19 +02:00
|
|
|
|
* config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
|
|
|
|
|
(mips*-*-linux*): Include mips/t-tpbit when long double is
|
|
|
|
|
16 bytes long.
|
2012-04-28 10:03:54 +02:00
|
|
|
|
|
2012-04-26 02:52:09 +02:00
|
|
|
|
2012-04-25 Sriraman Tallam <tmsriram@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
|
|
|
|
|
(get_available_features): New argument. Check for AVX2.
|
|
|
|
|
(__cpu_indicator_init): Modify call to get_available_features.
|
|
|
|
|
|
rs6000 (SAVE_INLINE_VRS, [...]): Define.
gcc/
* config/rs6000/rs6000 (SAVE_INLINE_VRS, REST_INLINE_VRS,
V_SAVE_INLINE, SAVRES_LR, SAVRES_SAVE, SAVRES_REG,
SAVRES_GPR, SAVRES_FPR, SAVRES_VR): Define.
(no_global_regs_above): Delete.
(no_global_regs): New function.
(rs6000_savres_strategy): Handle vector regs. Use proper lr_save_p
value for load multiple test.
(savres_routine_syms): Increase size.
(rs6000_savres_routine_name, rs6000_savres_routine_sym,
ptr_regno_for_savres, rs6000_emit_savres_rtx): Pass in int selector
rather than a number of boolean flags. Update all callers.
(rs6000_savres_routine_name): Generate vector save/restore names.
(rs6000_savres_routine_sym): Handle vector regs. Delete forward decl.
(ptr_regno_for_savres, rs6000_emit_savres_rtx): Likewise.
(rs6000_emit_prologue): Delete saving_FPRs_inline, saving_GPRs_inline
and using_store_multiple. Expand uses. Don't always use r11 as
frame reg when needed for out-of-line saves. Set up initial offset
for out-of-line vector saves when buying stack frame. Handle pointer
reg setup for out-of-line fp save. Emit call to out-of-line vector
save function. Choose r11 or r12 for vrsave reg when available for
better scheduling.
(rs6000_output_function_prologue): Don't emit .extern for ELF.
(rs6000_emit_epilogue): Choose a better frame reg when restoring
from back-chain to suit out-of-line vector restore functions. Emit
call to out-of-line vector restore function. Adjust register used
for cr restore. Tweak pointer register setup for gpr restore.
* config/rs6000/rs6000.h (FIRST_SAVED_GP_REGNO): Take into account
FIXED_R13.
* config/rs6000/sysv4.h (FP_SAVE_INLINE, GP_SAVE_INLINE): Simplify.
(V_SAVE_INLINE): Define.
* config/rs6000/altivec.md (save_vregs_*, restore_vregs_*): New insns.
libgcc/
* config/rs6000/crtsavevr.S: New file.
* config/rs6000/crtrestvr.S: New file.
* config/rs6000/t-savresfgpr: Build the above.
* config/rs6000/t-netbsd: Likewise.
From-SVN: r186800
2012-04-25 04:32:56 +02:00
|
|
|
|
2012-04-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/crtsavevr.S: New file.
|
|
|
|
|
* config/rs6000/crtrestvr.S: New file.
|
|
|
|
|
* config/rs6000/t-savresfgpr: Build the above.
|
|
|
|
|
* config/rs6000/t-netbsd: Likewise.
|
|
|
|
|
|
2012-04-25 04:04:22 +02:00
|
|
|
|
2012-04-24 Sriraman Tallam <tmsriram@google.com>
|
|
|
|
|
|
|
|
|
|
* libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
|
|
|
|
|
|
2012-04-25 02:08:37 +02:00
|
|
|
|
2012-04-24 Sriraman Tallam <tmsriram@google.com>
|
|
|
|
|
|
|
|
|
|
* libgcc/config/i386/i386-cpuinfo.c: New file.
|
|
|
|
|
* libgcc/config/i386/t-cpuinfo: New file.
|
|
|
|
|
* libgcc/config.host: Include t-cpuinfo.
|
|
|
|
|
* libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
|
|
|
|
|
|
2012-04-25 00:41:33 +02:00
|
|
|
|
2012-04-24 Chao-ying Fu <fu@mips.com>
|
|
|
|
|
|
|
|
|
|
* unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
|
|
|
|
|
|
2012-04-20 09:44:50 +02:00
|
|
|
|
2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
struct siginfo vs. siginfo_t
|
|
|
|
|
|
|
|
|
|
* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
|
|
|
|
|
siginfo_t instead of struct siginfo.
|
|
|
|
|
* config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
|
|
|
|
|
* config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
|
|
|
|
|
* config/ia64/linux-unwind.h (ia64_fallback_frame_state)
|
|
|
|
|
(ia64_handle_unwabi): Likewise.
|
|
|
|
|
* config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
|
|
|
|
|
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
|
|
|
|
|
* config/sh/linux-unwind.h (shmedia_fallback_frame_state)
|
|
|
|
|
(sh_fallback_frame_state): Likewise.
|
|
|
|
|
* config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
|
|
|
|
|
* config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
|
|
|
|
|
|
2012-04-02 18:17:21 +02:00
|
|
|
|
2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
|
|
|
|
|
system call number.
|
|
|
|
|
|
2012-03-31 18:24:04 +02:00
|
|
|
|
2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
|
|
|
|
|
if it hasn't been previously saved.
|
|
|
|
|
|
2012-03-29 14:48:08 +02:00
|
|
|
|
2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
|
|
|
|
|
only for glibc.
|
|
|
|
|
|
2012-03-28 10:31:26 +02:00
|
|
|
|
2012-03-28 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/52737
|
|
|
|
|
* config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
|
|
|
|
|
instead of __AVR_HAVE_8BIT_SP__.
|
|
|
|
|
|
unwind-ia64.h: Declare unw_word and unw_sword.
2012-03-26 Tristan Gingold <gingold@adacore.com>
* config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
(unw_table_entry): Use unw_word instead of unsigned long.
(_Unwind_FindTableEntry): Likewise.
* config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
* config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
(_Unwind_FindTableEntry): Likewise.
* config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
(unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
(set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
(ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
(ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
(uw_frame_state_for, uw_update_reg_address, uw_update_context)
(uw_init_context_1, uw_install_context): Likewise.
(unw_word): Move to unwind-ia64.h
From-SVN: r185852
2012-03-27 11:50:10 +02:00
|
|
|
|
2012-03-26 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
|
|
|
|
|
(unw_table_entry): Use unw_word instead of unsigned long.
|
|
|
|
|
(_Unwind_FindTableEntry): Likewise.
|
|
|
|
|
* config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
|
|
|
|
|
* config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
|
|
|
|
|
(_Unwind_FindTableEntry): Likewise.
|
|
|
|
|
* config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
|
|
|
|
|
(unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
|
|
|
|
|
(set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
|
|
|
|
|
(ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
|
|
|
|
|
(ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
|
|
|
|
|
(uw_frame_state_for, uw_update_reg_address, uw_update_context)
|
|
|
|
|
(uw_init_context_1, uw_install_context): Likewise.
|
|
|
|
|
(unw_word): Move to unwind-ia64.h
|
|
|
|
|
|
2012-03-26 11:35:18 +02:00
|
|
|
|
2012-03-26 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/vms/vms-ucrt0.c: Update copyright years.
|
|
|
|
|
Add a sanity check.
|
|
|
|
|
(___gcc_main_flags): Declare.
|
|
|
|
|
(__main): Check flags to remap argv and exit code.
|
|
|
|
|
* config.host (*-*-*vms*): Adjust extra_parts.
|
|
|
|
|
* config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
|
|
|
|
|
(crt0.o): Add.
|
|
|
|
|
|
2012-03-22 16:14:46 +01:00
|
|
|
|
2012-03-22 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm/lib1funcs.asm (ctzsi2): New function.
|
|
|
|
|
* arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
|
|
|
|
|
* arm/t-linux (LIB1ASMFUNCS): Likewise.
|
|
|
|
|
* arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
|
|
|
|
|
* arm/t-symbian (LIB1ASMFUNCS): Likewise.
|
|
|
|
|
* arm/t-vxworks (LIB1ASMFUNCS): Likewise.
|
|
|
|
|
* arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
|
|
|
|
|
|
2012-03-21 21:12:16 +01:00
|
|
|
|
2012-03-21 Andreas Tobler <andreast@fgznet.ch>
|
|
|
|
|
|
|
|
|
|
* config.host: Add bits to support powerpc64-*-freebsd*.
|
|
|
|
|
* config/rs6000/freebsd-unwind.h: New file.
|
|
|
|
|
* config/rs6000/t-freebsd64: New file.
|
|
|
|
|
|
2012-03-20 12:18:57 +01:00
|
|
|
|
2012-03-20 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/52627
|
|
|
|
|
* libgcov.c (init_mx): Fix mutex name.
|
|
|
|
|
|
2012-03-16 11:58:28 +01:00
|
|
|
|
2012-03-16 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/vms-unwind.h: Remove ulong (and replace
|
|
|
|
|
it by unw_reg where used). Define unw_reg with __int64.
|
|
|
|
|
|
2012-03-14 18:08:03 +01:00
|
|
|
|
2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
|
|
|
|
|
Solaris 8 handling.
|
|
|
|
|
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
|
|
|
|
|
Solaris 8 handling.
|
|
|
|
|
(sparc_is_sighandler): Likewise.
|
|
|
|
|
|
2012-03-13 18:07:50 +01:00
|
|
|
|
2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
|
|
|
|
|
<= saved reg size.
|
|
|
|
|
|
2012-03-13 11:22:56 +01:00
|
|
|
|
2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/arm/crtn.S: Fix typo.
|
|
|
|
|
|
2012-03-13 11:18:38 +01:00
|
|
|
|
2012-03-13 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* libgcov.c: Remove stdio.h include and NULL un-define.
|
|
|
|
|
|
2012-03-13 11:00:48 +01:00
|
|
|
|
2012-03-13 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR target/52569
|
|
|
|
|
* unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
|
|
|
|
|
|
2012-03-13 10:39:01 +01:00
|
|
|
|
2012-03-13 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
|
|
|
|
|
|
2012-03-13 10:33:43 +01:00
|
|
|
|
2012-03-13 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
|
|
|
|
|
and __gthread_mutex_init_function definitions.
|
|
|
|
|
|
2012-03-12 16:48:55 +01:00
|
|
|
|
2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (mips*-*-openbsd*): Remove.
|
|
|
|
|
|
Remove obsolete Tru64 UNIX V5.1B support
libstdc++-v3:
* configure.host: Remove osf* handling.
* config/os/osf: Remove.
* doc/xml/manual/using.xml: Remove OSF reference.
* testsuite/18_support/pthread_guard.cc: Remove alpha*-*-osf*
handling.
* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
Likewise.
* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
Likewise.
* testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
* testsuite/21_strings/basic_string/pthread4.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
* testsuite/23_containers/list/pthread1.cc: Likewise.
* testsuite/23_containers/list/pthread5.cc: Likewise.
* testsuite/23_containers/map/pthread6.cc: Likewise.
* testsuite/23_containers/vector/debug/multithreaded_swap.cc:
Likewise.
* testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
* testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
* testsuite/30_threads/async/42819.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/49668.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/any.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/async.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/launch.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/sync.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/call_once/39909.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/call_once/49668.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/call_once/call_once1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable/cons/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable/members/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable_any/members/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/future/cons/move.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/45133.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/get.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/get2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/share.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/valid.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/wait.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/wait_for.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/wait_until.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/lock/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/lock/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/lock/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/dest/destructor_locked.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/unlock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/49668.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/move.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/move_assign.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke3.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke4.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke5.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/reset2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/swap.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/valid.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/promise/cons/alloc.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/promise/cons/move.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/promise/cons/move_assign.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/get_future.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/get_future2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_exception.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_exception2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_value.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_value2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/swap.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/cons/move.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/get.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/get2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/valid.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/wait.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/wait_for.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/wait_until.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/this_thread/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/this_thread/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/this_thread/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/this_thread/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/49668.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/5.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/6.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/7.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/8.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/9.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/moveable.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/5.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/hardware_concurrency.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/thread/swap/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/3.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/try_lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/try_lock/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/try_lock/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/try_lock/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/2.cc:
Likewise.
* libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc: Likewise.
* libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
Likewise.
* libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
libobjc:
* configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
* configure: Regenerate.
* thr.c (_XOPEN_SOURCE): Define unconditionally.
libjava:
* configure.ac (alpha*-dec-osf*): Remove.
* configure: Regenerate.
* configure.host (alpha*-dec-osf*): Remove.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (setOption): Use
IPV6_MULTICAST_IF unconditionally.
* gnu/java/net/natPlainDatagramSocketImplWin32.cc (setOption):
Likewise.
* gnu/java/net/natPlainSocketImplPosix.cc
(gnu::java::net::PlainSocketImpl::accept): Use ::accept instead of
_Jv_accept.
* include/posix-signal.h [__alpha__ && __osf__]: Remove.
* include/posix.h (_POSIX_PII_SOCKET): Don't define.
(_Jv_accept): Remove.
* java/io/File.java (File._access): Rename to access.
Change callers.
(File._stat): Likewise.
* java/io/File.h: Regenerate.
* classpath/lib/java/io/File.class: Regenerate.
* java/io/natFilePosix.cc (java::io::File::_access): Rename to
access.
(java::io::File::_stat): Rename to stat.
* java/io/natFileWin32.cc: Likewise.
* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
Remove alpha*-dec-osf* handling.
* testsuite/libjava.jvmti/jvmti-interp.exp
(gcj_jni_compile_c_to_so): Likewise.
* testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o):
Likewise.
libitm:
* configure.tgt (*-*-osf*): Remove.
* configure: Regenerate.
libgomp:
* configure.tgt (alpha*-dec-osf*): Remove.
* config/osf/sem.h: Remove.
* config/posix/lock.c (_XOPEN_SOURCE): Define unconditionally.
libgfortran:
* configure.ac: Remove Tru64 reference.
* acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Remove alpha*-dec-osf*
handling.
* configure: Regenerate.
* intrinsics/c99_functions.c [__osf__]: Remove.
libgcc:
* config.host: Remove alpha*-dec-osf5.1* handling.
* config/alpha/gthr-posix.c: Remove.
* config/alpha/libgcc-osf5.ver: Remove.
* config/alpha/osf5-unwind.h: Remove.
* config/alpha/t-osf-pthread: Remove.
* config/alpha/t-slibgcc-osf: Remove.
* config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
* gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
[__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
* mkmap-flat.awk: Remove osf_export handling.
gnattools:
* configure.ac: Remove alpha*-dec-osf* handling.
* configure: Regenerate.
gcc/testsuite:
* g++.dg/abi/rtti3.C: Remove alpha*-dec-osf* handling.
* g++.dg/abi/thunk4.C: Likewise.
* g++.dg/cdce3.C: Don't skip on*-dec-osf5*.
Adapt line numbers.
* g++.dg/compat/struct-layout-1_generate.c: Remove alpha*-dec-osf*
handling.
* g++.dg/cpp0x/constexpr-rom.C: Likewise.
* g++.dg/eh/spbp.C: Likewise.
* g++.dg/ext/label13.C: Likewise.
* g++.dg/guality/guality.exp: Likewise.
* g++.dg/other/anon5.C: Likewise.
* g++.dg/other/pragma-ep-1.C: Remove.
* g++.dg/warn/miss-format-1.C: Remove alpha*-dec-osf* handling.
* g++.dg/warn/pr31246.C: Likewise.
* g++.dg/warn/weak1.C: Likewise.
* g++.old-deja/g++.eh/badalloc1.C: Likewise.
* g++.old-deja/g++.ext/attrib5.C: Likewise.
* gcc.c-torture/compile/limits-declparen.c: Likewise.
* gcc.c-torture/compile/limits-pointer.c: Likewise.
* gcc.c-torture/execute/20001229-1.c: Remove __osf__ handling.
* gcc.dg/attr-weakref-1.c: Remove alpha*-dec-osf* handling.
* gcc.dg/c99-stdint-6.c: Remove alpha*-dec-osf5* handling.
* gcc.dg/c99-tgmath-1.c: Likewise.
* gcc.dg/c99-tgmath-2.c: Likewise.
* gcc.dg/c99-tgmath-3.c: Likewise.
* gcc.dg/c99-tgmath-4.c: Likewise.
* gcc.dg/compat/struct-layout-1_generate.c: Remove alpha*-dec-osf*
handling.
* gcc.dg/debug/pr49032.c: Likewise.
* gcc.dg/guality/guality.exp: Likewise.
* gcc.dg/intmax_t-1.c: Likewise.
* gcc.dg/pr48616.c: Likewise.
* gcc.dg/pragma-ep-1.c: Remove.
* gcc.dg/pragma-ep-2.c: Remove.
* gcc.dg/pragma-ep-3.c: Remove.
* gcc.dg/torture/pr47917.c: Remove alpha*-dec-osf5* handling.
* gcc.dg/tree-ssa/pr42585.c: Remove alpha*-dec-osf* handling.
* gcc.misc-tests/gcov-14.c: Likewise.
* gfortran.dg/guality/guality.exp: Likewise.
* lib/target-supports.exp (check_weak_available): Likewise.
(add_options_for_tls): Likewise.
(check_ascii_locale_available): Likewise.
* obj-c++.dg/dwarf-2.mm: Likewise.
* objc.dg/dwarf-1.m: Likewise.
* objc.dg/dwarf-2.m: Likewise.
gcc/c-family:
* c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix
handling.
* c-pragma.c (handle_pragma_extern_prefix): Remove.
(init_pragma): Don't register extern_prefix.
gcc/po:
* EXCLUDES (mips-tdump.c, mips-tfile.c): Remove.
gcc:
* config.gcc (alpha*-dec-osf5.1*): Remove.
* config.host (alpha*-dec-osf*): Remove.
* configure.ac (*-*-osf*): Remove.
(alpha*-dec-osf*): Remove.
* configure: Regenerate.
* config/alpha/host-osf.c, config/alpha/osf5.h,
config/alpha/osf5.opt, config/alpha/va_list.h, config/alpha/x-osf:
Remove.
* config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Remove.
* config/alpha/alpha.c (struct machine_function): Update comment.
(alpha_start_function): Remove Tru64 UNIX as handling for
max_frame_size.
* config/alpha/alpha.md ("exception_receiver"): Remove
TARGET_LD_BUGGY_LDGP.
("*exception_receiver_2"): Likewise.
* except.c (finish_eh_generation): Remove Tru64 reference.
* ginclude/stdarg.h [_HIDDEN_VA_LIST]: Don't undef _VA_LIST.
* system.h (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Poison.
* target.def (handle_pragma_extern_prefix): Remove.
* Makefile.in (mips-tfile.o-warn): Remove.
(ALL_HOST_BACKEND_OBJS): Remove mips-tfile.o, mips-tdump.o.
(mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): Remove.
* mips-tdump.c, mips-tfile.c: Remove.
* doc/extend.texi (Symbol-Renaming Pragmas): Remove #pragma
extern_prefix.
* doc/install.texi (Binaries): Remove Tru64 UNIX reference.
(Specific, alpha*-dec-osf5.1): Note removal.
* doc/tm.texi.in (Misc, TARGET_HANDLE_PRAGMA_EXTERN_PREFIX):
Remove.
* doc/tm.texi: Regenerate.
* doc/trouble.texi (Cross-Compiler Problems): Remove.
gcc/ada:
* gcc-interface/Makefile.in (alpha*-dec-osf*): Remove.
* a-intnam-tru64.ads, mlib-tgt-specific-tru64.adb,
s-mastop-tru64.adb, s-osinte-tru64.adb, s-osinte-tru64.ads,
s-taprop-tru64.adb, s-tasinf-tru64.ads, s-taspri-tru64.ads,
system-tru64.ads: Remove.
* adaint.c (__gnat_number_of_cpus) [__alpha__ && __osf__]:
Remove.
[IS_CROSS] [!(__alpha__ && __osf__)]: Remove.
* env.c [__alpha__ && __osf__]: Remove.
* gsocket.h (_OSF_SOURCE): Remove.
(HAVE_THREAD_SAFE_GETxxxBYyyy) [__osf__]: Remove.
* init.c [__alpha__ && __osf__]: Remove.
* link.c [__osf__]: Remove.
* s-oscons-tmplt.c [__alpha__ && __osf__]: Remove.
[__osf__ && !_SS_MAXSIZE]: Remove.
* sysdep.c [__osf__]: Remove.
* terminals.c [__alpha__ && __osf__]: Remove.
[OSF1]: Remove.
* g-traceb.ads: Remove Tru64 reference.
* g-trasym.ads: Likewise.
* gnat_ugn.texi (Linking a Mixed C++ & Ada Program): Likewise.
(Summary of Run-Time Configurations): Likewise.
* memtrack.adb: Likewise.
fixincludes:
* inclhack.def (alpha___extern_prefix): Remove.
(alpha___extern_prefix_standards): Remove.
(alpha___extern_prefix_sys_stat): Remove.
(alpha_bad_lval): Remove.
(alpha_pthread): Remove.
(alpha_pthread_gcc): Remove.
(alpha_pthread_init): Remove.
* fixincl.x: Regenerate.
* tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
[ALPHA_PTHREAD_GCC_CHECK]: Remove.
[ALPHA_PTHREAD_INIT_CHECK]: Remove.
* tests/base/standards.h: Remove.
* tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
Remove.
* tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
[ALPHA_BAD_LVAL_CHECK]: Remove.
contrib:
* config-list.mk (LIST): Remove alpha-dec-osf5.1.
config:
* weakref.m4 (GCC_CHECK_ELF_STYLE_WEAKREF): Remove
alpha*-dec-osf*.
toplevel:
* MAINTAINERS (OS Port Maintainers): Remove osf.
* configure.ac (enable_libgomp): Remove *-*-osf*.
(with_stabs): Remove alpha*-*-osf*.
* configure: Regenerate.
From-SVN: r185240
2012-03-12 16:35:56 +01:00
|
|
|
|
2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host: Remove alpha*-dec-osf5.1* handling.
|
|
|
|
|
* config/alpha/gthr-posix.c: Remove.
|
|
|
|
|
* config/alpha/libgcc-osf5.ver: Remove.
|
|
|
|
|
* config/alpha/osf5-unwind.h: Remove.
|
|
|
|
|
* config/alpha/t-osf-pthread: Remove.
|
|
|
|
|
* config/alpha/t-slibgcc-osf: Remove.
|
|
|
|
|
* config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
|
|
|
|
|
* gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
|
|
|
|
|
[__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
|
|
|
|
|
* mkmap-flat.awk: Remove osf_export handling.
|
|
|
|
|
|
2012-03-12 15:23:27 +01:00
|
|
|
|
2012-03-12 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
|
|
|
|
|
* gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
|
|
|
|
|
(__gthread_mutex_init_function): New function.
|
|
|
|
|
* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
|
|
|
|
|
|
|
|
|
|
PR gcov/49484
|
|
|
|
|
* libgcov.c: Include gthr.h.
|
|
|
|
|
(__gcov_flush_mx): New global variable.
|
|
|
|
|
(init_mx, init_mx_once): New functions.
|
|
|
|
|
(__gcov_flush): Protect self with a mutex.
|
|
|
|
|
(__gcov_fork): Re-initialize mutex after forking.
|
|
|
|
|
* unwind-dw2-fde.c: Change condition under which to use
|
|
|
|
|
__GTHREAD_MUTEX_INIT_FUNCTION.
|
|
|
|
|
|
2012-03-12 12:58:16 +01:00
|
|
|
|
2012-03-12 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
|
|
|
|
|
* config/ia64/t-vms: Likewise.
|
|
|
|
|
|
2012-03-12 00:58:54 +01:00
|
|
|
|
2012-03-11 Michael Hope <michael.hope@linaro.org>
|
|
|
|
|
|
2012-06-13 17:59:15 +02:00
|
|
|
|
* longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
|
|
|
|
|
for Thumb-2.
|
2012-03-12 00:58:54 +01:00
|
|
|
|
|
2012-03-07 21:05:52 +01:00
|
|
|
|
2012-03-07 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config/tilepro/atomic.c: Rename "atomic_" prefix to
|
|
|
|
|
"arch_atomic_".
|
|
|
|
|
(atomic_xor): Rename and move definition to
|
|
|
|
|
config/tilepro/atomic.h.
|
|
|
|
|
(atomic_nand): Ditto.
|
|
|
|
|
* config/tilepro/atomic.h: Rename "atomic_" prefix to
|
|
|
|
|
"arch_atomic_".
|
|
|
|
|
(arch_atomic_xor): Move from config/tilepro/atomic.c.
|
|
|
|
|
(arch_atomic_nand): Ditto.
|
|
|
|
|
|
2012-03-07 11:39:42 +01:00
|
|
|
|
2012-03-07 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/52507
|
|
|
|
|
* config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
|
|
|
|
|
|
2012-03-07 11:36:30 +01:00
|
|
|
|
2012-03-07 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/52505
|
|
|
|
|
* config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
|
|
|
|
|
from RAM.
|
|
|
|
|
|
2012-03-07 11:33:19 +01:00
|
|
|
|
2012-03-07 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/52461
|
|
|
|
|
PR target/52508
|
|
|
|
|
* config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
|
|
|
|
|
if RAMPZ affects reading from RAM.
|
|
|
|
|
(__tablejump_elpm__): Ditto.
|
|
|
|
|
(.xload): Ditto.
|
|
|
|
|
(__movmemx_hi): Ditto.
|
|
|
|
|
(__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
|
|
|
|
|
(__do_global_dtors): Ditto.
|
|
|
|
|
(__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
|
|
|
|
|
(__movmemx_hi): Ditto.
|
|
|
|
|
|
2012-03-05 21:12:14 +01:00
|
|
|
|
2012-03-05 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
|
|
|
|
|
[ARM] (count_trailing_zeros): Use the builtin.
|
|
|
|
|
|
2012-03-01 21:50:26 +01:00
|
|
|
|
2012-03-01 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
* soft-fp: Imported from glibc upstream.
|
|
|
|
|
|
2012-02-28 21:53:35 +01:00
|
|
|
|
2012-02-28 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
|
|
|
|
|
for mingw-targets as attribute gcc_struct.
|
|
|
|
|
|
2012-02-28 18:43:43 +01:00
|
|
|
|
2012-02-28 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.c (__splitstack_releasecontext): Correct call
|
|
|
|
|
to __morestack_release_segments.
|
|
|
|
|
|
2012-02-27 19:50:45 +01:00
|
|
|
|
2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
|
|
|
|
|
|
|
|
|
PR target/52390
|
|
|
|
|
* generic-morestack.c (__generic_morestack_set_initial_sp): Test
|
|
|
|
|
for __linux__ when removing signals from __morestack_fullmask.
|
|
|
|
|
|
2012-02-23 20:26:00 +01:00
|
|
|
|
2012-02-23 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/52261
|
|
|
|
|
* config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
|
|
|
|
|
|
2012-02-23 11:16:39 +01:00
|
|
|
|
2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
|
|
|
|
|
instead of HAVE_INITFINI_ARRAY.
|
|
|
|
|
* config/ia64/crtend.S: Likewise.
|
|
|
|
|
|
2012-02-20 22:19:55 +01:00
|
|
|
|
2012-02-20 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
2012-02-20 22:22:07 +01:00
|
|
|
|
PR libstdc++/52300
|
|
|
|
|
* gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
|
|
|
|
|
|
2012-02-20 22:19:55 +01:00
|
|
|
|
* config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
|
|
|
|
|
to w32-unwind.h header.
|
|
|
|
|
|
2012-02-19 17:47:19 +01:00
|
|
|
|
2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
|
|
|
|
|
(mips*-*-linux*): Remove t-slibgcc-libgcc.
|
|
|
|
|
* config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
|
|
|
|
|
* config/mips/mips16.S (__mips16_rdhwr): Delete.
|
|
|
|
|
|
2012-02-19 17:44:54 +01:00
|
|
|
|
2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
|
|
|
|
|
|
2012-02-16 10:46:31 +01:00
|
|
|
|
2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libitm/52220
|
|
|
|
|
* config/darwin-crt-tm.c: Correct typo.
|
2012-02-28 18:43:43 +01:00
|
|
|
|
|
2012-02-16 00:39:28 +01:00
|
|
|
|
2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
Patrick Marlier <patrick.marlier@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libitm/52220
|
|
|
|
|
* config/darwin-crt-tm.c: Generate dummy functions.
|
|
|
|
|
|
2012-02-15 20:17:42 +01:00
|
|
|
|
2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
Patrick Marlier <patrick.marlier@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libitm/52042
|
|
|
|
|
* config/darwin-crt-tm.c (getTMCloneTable): New function.
|
|
|
|
|
(__doTMRegistrations): Call it.
|
2012-02-28 18:43:43 +01:00
|
|
|
|
(__doTMdeRegistrations): Likewise.
|
2012-02-15 20:17:42 +01:00
|
|
|
|
|
re PR target/52261 ([avr] Add support for AVR Xmega cores)
libgcc/
PR target/52261
* config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
(__epilogue_restores__): Ditto.
gcc/
PR target/52261
* config/avr/avr-devices.c (avr_arch_types): Add avrxmega2,
avrxmega4, avrxmega5, avrxmega6, avrxmega7.
Rewrite initializers for .macro.
* config/avr/avr-mcus.def (AVR_MCU): Add known MCUs:
avrxmega2: atxmega16a4, atxmega16d4, atxmega16x1, atxmega32a4
atxmega32d4, atxmega32x1.
avrxmega4: atxmega64a3, atxmega64d3.
avrxmega5: atxmega64a1, atxmega64a1u.
avrxmega6: atxmega128a3, atxmega128d3, atxmega192a3, atxmega192d3,
atxmega256a3, atxmega256a3b, atxmega256a3bu, atxmega256d3.
avrxmega7: atxmega128a1, atxmega128a1u.
* config/avr/multilib.h: Regenerate.
* config/avr/t-multilib: Regenerate.
* config/avr/avr-tables.opt: Regenerate.
* config/avr/avr.h (enum avr_arch): Add: ARCH_AVRXMEGA2,
ARCH_AVRXMEGA4, ARCH_AVRXMEGA5, ARCH_AVRXMEGA6, ARCH_AVRXMEGA7.
(struct base_arch_s): Rename reserved to xmega_p.
Rename reserved2 to have_rampd.
(AVR_XMEGA): New define.
(AVR_HAVE_RAMPD, AVR_HAVE_RAMPX, AVR_HAVE_RAMPY): New defines.
(AVR_HAVE_RAMPZ): Change definition to fit xmega.
* config/avr/predicates.md (io_address_operand): Take into
account SFR offset.
(low_io_address_operand): Ditto.
(high_io_address_operand): Ditto.
* config/avr/avr.md (isa): Add alternatives no_xmega, xmega.
(enabled, movhi_sp_r): Use them.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Use
cpp_define_formatted to built-in define __AVR_ARCH__.
(__AVR_XMEGA__): New built-in define.
(__AVR_HAVE_RAMPD__): New built-in define.
(__AVR_HAVE_RAMPX__): New built-in define.
(__AVR_HAVE_RAMPY__): New built-in define.
(__AVR_HAVE_RAMPZ__): Change condition when to built-in define it.
* config/avr/avr.c (avr_addr_t): Add ccp, rampd, rampx, rampy.
(avr_option_override): Initialize them.
(sreg_rtx, rampd_rtx, rampx_rtx, rampy_rtx): New GTY rtx.
(avr_init_expanders): Initialize them. No more block several calls.
(emit_push_sfr): New static function.
(avr_prologue_setup_frame): Use it to push SREG, RAMPD/X/Y/Z as needed.
Handle AVR_XMEGA.
(expand_epilogue): Handle AVR_XMEGA. Pop RAMPD/X/Y/Z as needed.
(avr_print_operand): Print addreeses as symbols for
RAMPX, RAMPY, RAMPD, CCP.
(output_movhi): Handle AVR_XMEGA when writing to SP.
(avr_out_movhi_mr_r_xmega): New static function.
(out_movhi_mr_r): Forward to avr_out_movhi_mr_r_xmega for AVR_XMEGA.
(avr_file_start): Print symbol defines for __RAMPX__, __RAMPY__,
__RAMPD__, __CCP__ as needed.
Co-Authored-By: Anatoly Sokolov <aesok@post.ru>
Co-Authored-By: Eric Weddington <eric.weddington@atmel.com>
From-SVN: r184269
2012-02-15 14:15:56 +01:00
|
|
|
|
2012-01-15 Georg-Johann Lay <avr@gjlay.de>
|
2016-01-25 22:37:08 +01:00
|
|
|
|
Anatoly Sokolov <aesok@post.ru>
|
|
|
|
|
Eric Weddington <eric.weddington@atmel.com>
|
re PR target/52261 ([avr] Add support for AVR Xmega cores)
libgcc/
PR target/52261
* config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
(__epilogue_restores__): Ditto.
gcc/
PR target/52261
* config/avr/avr-devices.c (avr_arch_types): Add avrxmega2,
avrxmega4, avrxmega5, avrxmega6, avrxmega7.
Rewrite initializers for .macro.
* config/avr/avr-mcus.def (AVR_MCU): Add known MCUs:
avrxmega2: atxmega16a4, atxmega16d4, atxmega16x1, atxmega32a4
atxmega32d4, atxmega32x1.
avrxmega4: atxmega64a3, atxmega64d3.
avrxmega5: atxmega64a1, atxmega64a1u.
avrxmega6: atxmega128a3, atxmega128d3, atxmega192a3, atxmega192d3,
atxmega256a3, atxmega256a3b, atxmega256a3bu, atxmega256d3.
avrxmega7: atxmega128a1, atxmega128a1u.
* config/avr/multilib.h: Regenerate.
* config/avr/t-multilib: Regenerate.
* config/avr/avr-tables.opt: Regenerate.
* config/avr/avr.h (enum avr_arch): Add: ARCH_AVRXMEGA2,
ARCH_AVRXMEGA4, ARCH_AVRXMEGA5, ARCH_AVRXMEGA6, ARCH_AVRXMEGA7.
(struct base_arch_s): Rename reserved to xmega_p.
Rename reserved2 to have_rampd.
(AVR_XMEGA): New define.
(AVR_HAVE_RAMPD, AVR_HAVE_RAMPX, AVR_HAVE_RAMPY): New defines.
(AVR_HAVE_RAMPZ): Change definition to fit xmega.
* config/avr/predicates.md (io_address_operand): Take into
account SFR offset.
(low_io_address_operand): Ditto.
(high_io_address_operand): Ditto.
* config/avr/avr.md (isa): Add alternatives no_xmega, xmega.
(enabled, movhi_sp_r): Use them.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Use
cpp_define_formatted to built-in define __AVR_ARCH__.
(__AVR_XMEGA__): New built-in define.
(__AVR_HAVE_RAMPD__): New built-in define.
(__AVR_HAVE_RAMPX__): New built-in define.
(__AVR_HAVE_RAMPY__): New built-in define.
(__AVR_HAVE_RAMPZ__): Change condition when to built-in define it.
* config/avr/avr.c (avr_addr_t): Add ccp, rampd, rampx, rampy.
(avr_option_override): Initialize them.
(sreg_rtx, rampd_rtx, rampx_rtx, rampy_rtx): New GTY rtx.
(avr_init_expanders): Initialize them. No more block several calls.
(emit_push_sfr): New static function.
(avr_prologue_setup_frame): Use it to push SREG, RAMPD/X/Y/Z as needed.
Handle AVR_XMEGA.
(expand_epilogue): Handle AVR_XMEGA. Pop RAMPD/X/Y/Z as needed.
(avr_print_operand): Print addreeses as symbols for
RAMPX, RAMPY, RAMPD, CCP.
(output_movhi): Handle AVR_XMEGA when writing to SP.
(avr_out_movhi_mr_r_xmega): New static function.
(out_movhi_mr_r): Forward to avr_out_movhi_mr_r_xmega for AVR_XMEGA.
(avr_file_start): Print symbol defines for __RAMPX__, __RAMPY__,
__RAMPD__, __CCP__ as needed.
Co-Authored-By: Anatoly Sokolov <aesok@post.ru>
Co-Authored-By: Eric Weddington <eric.weddington@atmel.com>
From-SVN: r184269
2012-02-15 14:15:56 +01:00
|
|
|
|
|
|
|
|
|
PR target/52261
|
|
|
|
|
* config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
|
|
|
|
|
(__epilogue_restores__): Ditto.
|
|
|
|
|
|
2012-02-15 09:13:09 +01:00
|
|
|
|
2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/51921
|
|
|
|
|
PR target/52205
|
|
|
|
|
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
|
|
|
|
|
Solaris 11 and slightly reformat.
|
|
|
|
|
(sparc_is_sighandler): Likewise.
|
|
|
|
|
|
2012-02-14 11:02:21 +01:00
|
|
|
|
2012-02-14 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Handle tilegx and tilepro.
|
|
|
|
|
* config/tilegx/sfp-machine.h: New file.
|
|
|
|
|
* config/tilegx/sfp-machine32.h: New file.
|
|
|
|
|
* config/tilegx/sfp-machine64.h: New file.
|
|
|
|
|
* config/tilegx/t-crtstuff: New file.
|
|
|
|
|
* config/tilegx/t-softfp: New file.
|
|
|
|
|
* config/tilegx/t-tilegx: New file.
|
|
|
|
|
* config/tilepro/atomic.c: New file.
|
|
|
|
|
* config/tilepro/atomic.h: New file.
|
|
|
|
|
* config/tilepro/linux-unwind.h: New file.
|
|
|
|
|
* config/tilepro/sfp-machine.h: New file.
|
|
|
|
|
* config/tilepro/softdivide.c: New file.
|
|
|
|
|
* config/tilepro/softmpy.S: New file.
|
|
|
|
|
* config/tilepro/t-crtstuff: New file.
|
|
|
|
|
* config/tilepro/t-tilepro: New file.
|
|
|
|
|
|
2012-02-07 10:19:27 +01:00
|
|
|
|
2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/51296
|
|
|
|
|
PR libstdc++/51906
|
|
|
|
|
* gthr-posix.h: Allow static initializer macros to be disabled.
|
|
|
|
|
(__gthrw_pthread_cond_init): Define weak reference unconditionally.
|
|
|
|
|
|
2012-02-05 16:03:15 +01:00
|
|
|
|
2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
|
|
|
|
|
Add t-slibgcc-libgcc to tmake_file.
|
|
|
|
|
* config/mips/libgcc-mips16.ver: Revert previous patch.
|
|
|
|
|
* config/mips/mips16.S (__mips16_rdhwr): Hide.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
|
|
|
|
|
Jayant R Sonar <jayant.sonar@kpitcummins.com>
|
2012-02-02 11:20:32 +01:00
|
|
|
|
|
|
|
|
|
* config.host: Add National Semiconductor CR16 target (cr16-*-*).
|
|
|
|
|
* config/cr16/crti.S: New file.
|
|
|
|
|
* config/cr16/crtlibid.S: New file.
|
|
|
|
|
* config/cr16/crtn.S: New file.
|
|
|
|
|
* config/cr16/lib1funcs.S: New file.
|
|
|
|
|
* config/cr16/t-cr16: New file.
|
|
|
|
|
* config/cr16/t-crtlibid: New file.
|
|
|
|
|
* config/cr16/unwind-dw2.h: New file.
|
|
|
|
|
* config/cr16/unwind-cr16.c: New file.
|
|
|
|
|
* config/cr16/divmodhi3.c: New file.
|
|
|
|
|
|
2012-01-24 20:35:22 +01:00
|
|
|
|
2012-01-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-linux64: Delete. Move..
|
|
|
|
|
* config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
|
|
|
|
|
* config/rs6000/t-linux: ..and libgcc flags to here.
|
|
|
|
|
|
2012-01-23 07:25:28 +01:00
|
|
|
|
2012-01-22 Douglas B Rupp <rupp@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-interix3*):
|
2012-01-24 20:35:22 +01:00
|
|
|
|
Change triplet to i[34567]86-*-interix[3-9]*.
|
2012-01-23 07:25:28 +01:00
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-01-15 19:22:55 +01:00
|
|
|
|
2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
|
|
|
|
|
* config/mips/mips16.S (__mips16_rdhwr): New function.
|
|
|
|
|
* config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
|
|
|
|
|
|
2012-01-11 19:50:21 +01:00
|
|
|
|
2012-01-11 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov.c (__gcov_init): Ignore objects with no functions.
|
|
|
|
|
|
2012-01-10 10:42:10 +01:00
|
|
|
|
2012-01-10 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/49868
|
|
|
|
|
Extend __pgmx semantics to linearize memory.
|
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
|
|
|
|
|
* config/avr/lib1funcs.S (__xload_1): New function.
|
|
|
|
|
(__movmemx_qi, __movmemx_hi): New functions.
|
|
|
|
|
(__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
|
|
|
|
|
semantics.
|
2012-01-18 20:11:34 +01:00
|
|
|
|
|
2012-01-09 19:20:55 +01:00
|
|
|
|
2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
|
|
|
|
|
purported sigacthandler address isn't null before dereferencing it.
|
|
|
|
|
(sparc_is_sighandler): Likewise.
|
|
|
|
|
|
2012-01-09 10:50:19 +01:00
|
|
|
|
2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR ada/41929
|
|
|
|
|
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
|
|
|
|
|
add CFA. Revert back to old code for Solaris 8+ multi-threaded.
|
|
|
|
|
(sparc_is_sighandler): Likewise.
|
|
|
|
|
(MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
|
|
|
|
|
|
2012-01-06 14:43:03 +01:00
|
|
|
|
2012-01-06 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
|
|
|
|
|
compatibility thunks...
|
|
|
|
|
(CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
|
|
|
|
|
(crtbeginS.o, crtendS.o): ... and these to ...
|
|
|
|
|
* config/ia64/t-ia64-elf: ... this new file.
|
|
|
|
|
* config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
|
|
|
|
|
(ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
|
|
|
|
|
|
2012-01-04 12:41:06 +01:00
|
|
|
|
2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config/s390/t-crtstuff: Remove -fPIC.
|
|
|
|
|
|
2012-01-03 22:39:46 +01:00
|
|
|
|
2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/51006
|
|
|
|
|
* enable-execute-stack-mprotect.c (getpagesize): Do not define
|
|
|
|
|
for NetBSD.
|
|
|
|
|
|
2012-01-02 13:51:57 +01:00
|
|
|
|
2012-01-02 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/51345
|
|
|
|
|
* config/avr/lib1funcs.S: Remove FIXME comments.
|
|
|
|
|
(SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
|
|
|
|
|
|
Implement light-weight DImode support.
gcc/
Implement light-weight DImode support.
* config/avr/avr-dimode.md: New file.
* config/avr/avr.md: Include it.
(adjust_len): Add plus64, compare64.
(HIDI): Remove code iterator.
(code_stdname): New code attribute.
(rotx, rotsmode): Remove DI.
(rotl<mode>3, *rotw<mode>, *rotb<mode>): Use HISI instead of HIDI
as code iterator.
* config/avr/avr-protos.h (avr_have_dimode): New.
(avr_out_plus64, avr_out_compare64): New.
* config/avr/avr.c (avr_out_compare): Handle DImode.
(avr_have_dimode): New variable definition and initialization.
(avr_out_compare64, avr_out_plus64): New functions.
(avr_out_plus_1): Use simplify_unary_operation to negate xval.
(adjust_insn_length): Handle ADJUST_LEN_COMPARE64, ADJUST_LEN_PLUS64.
(avr_compare_pattern): Skip DImode comparisons.
libgcc/
Implement light-weight DImode support.
* config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
_subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
* config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
__cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
From-SVN: r182794
2012-01-02 13:30:56 +01:00
|
|
|
|
2012-01-02 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
Implement light-weight DImode support.
|
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
|
|
|
|
|
_subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
|
|
|
|
|
* config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
|
|
|
|
|
__cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
|
|
|
|
|
|
2011-12-30 19:08:56 +01:00
|
|
|
|
2011-12-30 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov.c (gcov_crc32): Remove global var.
|
|
|
|
|
(free_fn_data): New function.
|
|
|
|
|
(buffer_fn_data): Pass in filename, more robust error recovery.
|
|
|
|
|
(crc32_unsigned): New function.
|
|
|
|
|
(gcov_exit): More robust detection of new program. More robust
|
|
|
|
|
error recovery.
|
|
|
|
|
(__gcov_init): Do not update program's crc here.
|
|
|
|
|
|
2011-12-21 09:52:47 +01:00
|
|
|
|
2011-12-21 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
|
|
|
|
|
|
2012-01-18 20:11:34 +01:00
|
|
|
|
2011-12-21 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/morestack.S: Simplify CFI opcodes throughout.
|
|
|
|
|
|
2011-12-20 23:34:30 +01:00
|
|
|
|
2011-12-20 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/morestack.S (__morestack_non_split): If there is
|
|
|
|
|
enough stack space already, don't split. Ask for more stack space
|
|
|
|
|
than we required.
|
|
|
|
|
|
2011-12-20 21:54:25 +01:00
|
|
|
|
2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
|
|
|
|
|
`sys/sdt.h'.
|
|
|
|
|
(_Unwind_DebugHook): New function.
|
|
|
|
|
(uw_restore_core_regs): New define.
|
|
|
|
|
(unwind_phase2): Use uw_restore_core_regs instead of
|
|
|
|
|
restore_core_regs.
|
|
|
|
|
(unwind_phase2_forced): Likewise.
|
|
|
|
|
(__gnu_Unwind_Resume): Likewise.
|
|
|
|
|
|
2011-12-20 09:46:38 +01:00
|
|
|
|
2011-12-20 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/alpha/linux-unwind.h: Update copyright years.
|
|
|
|
|
(MD_FROB_UPDATE_CONTEXT): New define.
|
|
|
|
|
(alpha_frob_update_context): New function.
|
|
|
|
|
|
2011-12-17 12:32:20 +01:00
|
|
|
|
2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
|
|
|
|
|
tmake_file rather replacing it.
|
|
|
|
|
|
2011-12-15 16:52:08 +01:00
|
|
|
|
2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/darwin-world.S (toplevel): Make it clear that this
|
2011-12-20 09:46:38 +01:00
|
|
|
|
function is not used for PPC64.
|
2011-12-15 16:52:08 +01:00
|
|
|
|
(save_world): Amend comments. Update the VRsave mask to reflect the
|
|
|
|
|
saved regs.
|
|
|
|
|
(rest_world): Update comments, do not clobber r10, do not use r8.
|
|
|
|
|
(eh_rest_world_r10): Amend comments, do not use r8.
|
|
|
|
|
(rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
|
|
|
|
|
no longer used, move restore of CR and target address to the end of
|
|
|
|
|
the routine.
|
|
|
|
|
|
2011-12-14 19:49:16 +01:00
|
|
|
|
2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.c (__generic_morestack_set_initial_sp): Check
|
|
|
|
|
__GLIBC__ instead of __linux__ when using __SIGRTMIN.
|
|
|
|
|
|
2011-12-14 11:00:56 +01:00
|
|
|
|
2011-12-14 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/49313
|
|
|
|
|
* config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
|
|
|
|
|
* config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
|
|
|
|
|
|
2011-12-11 12:23:15 +01:00
|
|
|
|
2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
|
|
|
|
|
|
2011-12-09 13:02:06 +01:00
|
|
|
|
2011-12-09 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/49313
|
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
|
|
|
|
|
* config/avr/lib1funcs.S (__muldi3): New function.
|
|
|
|
|
|
2011-12-06 22:35:41 +01:00
|
|
|
|
2011-12-06 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
|
|
|
|
|
size of func_ptr.
|
|
|
|
|
(__frame_dummy_init_array_entry): Likewise.
|
|
|
|
|
|
2011-12-06 16:04:09 +01:00
|
|
|
|
2011-12-06 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
Forward-port from gcc-4_6-branch r181936 2011-12-02.
|
|
|
|
|
|
|
|
|
|
PR target/51345
|
|
|
|
|
PR target/51002
|
|
|
|
|
* config/avr/lib1funcs.S (__prologue_saves__,
|
|
|
|
|
__epilogue_restores__, __divdi3_moddi3): Enclose parts using
|
|
|
|
|
__SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
|
|
|
|
|
|
2011-12-04 16:46:28 +01:00
|
|
|
|
2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
|
|
|
|
|
|
2011-12-01 03:37:06 +01:00
|
|
|
|
2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
PR other/51272
|
|
|
|
|
* config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
|
|
|
|
|
(_ITM_deregisterTMCloneTable): Likewise.
|
|
|
|
|
(__register_frame_info): Fix unused warning.
|
|
|
|
|
(__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
|
|
|
|
|
pthread_default_stacksize_np): Likewise.
|
|
|
|
|
* config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
|
2011-12-20 09:46:38 +01:00
|
|
|
|
|
2011-11-29 22:36:43 +01:00
|
|
|
|
2011-11-29 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.host (rl78-*-elf): New case.
|
|
|
|
|
* config/rl78: New directory for the Renesas RL78.
|
|
|
|
|
|
2011-11-29 16:55:38 +01:00
|
|
|
|
2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (tic6x-*-uclinux): Append to extra_parts. Fix
|
|
|
|
|
formatting.
|
|
|
|
|
|
2011-11-28 17:02:10 +01:00
|
|
|
|
2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR other/51022
|
|
|
|
|
* config/rs6000/t-savresfgpr: New file.
|
|
|
|
|
* config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
|
|
|
|
|
$(srcdir)/config/rs6000/eabi.S.
|
|
|
|
|
* config/rs6000/t-ppccomm-ldbl: Remove.
|
|
|
|
|
* config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(powerpc-*-eabispe*): Likewise.
|
|
|
|
|
(powerpc-*-eabi*): Likewise.
|
|
|
|
|
(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
|
|
|
|
|
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
|
|
|
|
|
to tmake_file, remove rs6000/t-ppccomm-ldbl.
|
|
|
|
|
(powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
|
|
|
|
|
tmake_file.
|
|
|
|
|
(powerpc-*-eabisim*): Likewise.
|
|
|
|
|
(powerpc-*-elf*): Likewise.
|
|
|
|
|
(powerpc-*-eabialtivec*): Likewise.
|
|
|
|
|
(powerpc-xilinx-eabi*): Likewise.
|
|
|
|
|
(powerpc-*-rtems*): Likewise.
|
|
|
|
|
(powerpcle-*-elf*): Likewise.
|
|
|
|
|
(powerpcle-*-eabisim*): Likewise.
|
|
|
|
|
(powerpcle-*-eabi*): Likewise.
|
|
|
|
|
|
2011-11-28 06:44:31 +01:00
|
|
|
|
2011-11-27 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.c (__splitstack_find): Check for NULL old
|
|
|
|
|
stack value.
|
|
|
|
|
(__splitstack_resetcontext): New function.
|
|
|
|
|
(__splitstack_releasecontext): New function.
|
|
|
|
|
* libgcc-std.ver.in: Add new functions to GCC_4.7.0.
|
|
|
|
|
|
2011-11-27 14:57:01 +01:00
|
|
|
|
2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/darwin-crt-tm.c: Correct comments, use correct licence.
|
|
|
|
|
|
2011-11-27 14:52:49 +01:00
|
|
|
|
2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
|
|
|
|
|
|
2011-11-27 00:57:37 +01:00
|
|
|
|
2011-11-26 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/m68k/linux-atomic.c: New file.
|
|
|
|
|
* config/m68k/t-linux: New file.
|
|
|
|
|
* config.host (m68k-uclinux, m68k-linux): Use it.
|
|
|
|
|
|
2011-11-26 22:16:49 +01:00
|
|
|
|
2011-11-26 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c (__TMC_LIST__): Mark used not unused.
|
|
|
|
|
(__TMC_END__): Only declare if hidden is available; in the definition,
|
|
|
|
|
if hidden is unavailable add a null record.
|
|
|
|
|
(deregister_tm_clones, register_tm_clones): New.
|
|
|
|
|
(__do_global_dtors_aux, frame_dummy): Use them.
|
|
|
|
|
(__do_global_dtors, __do_global_ctors_1): Likewise.
|
|
|
|
|
|
2011-11-22 14:51:07 +01:00
|
|
|
|
2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/darwin-crt-tm.c: New file.
|
|
|
|
|
* config.host (darwin): Build crttms.o crttme.o to provide
|
|
|
|
|
startup and shutdown for tm clones.
|
|
|
|
|
* config/t-darwin (crttms.o): New build rule.
|
|
|
|
|
(crttme.o): Likewise.
|
|
|
|
|
|
2011-11-22 04:01:02 +01:00
|
|
|
|
2011-11-21 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
|
|
|
|
|
et al.
|
|
|
|
|
|
2011-11-21 23:10:06 +01:00
|
|
|
|
2011-11-21 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
|
|
|
|
|
(__TMC_LIST__, __TMC_END__): New.
|
|
|
|
|
(__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
|
|
|
|
|
(__do_global_dtors): Likewise.
|
|
|
|
|
(frame_dummy): Call _ITM_registerTMCloneTable.
|
|
|
|
|
(__do_global_ctors_1): Likewise.
|
|
|
|
|
|
2011-11-21 17:13:13 +01:00
|
|
|
|
2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
|
|
|
|
|
(powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
|
|
|
|
|
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
|
|
|
|
|
(powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
|
|
|
|
|
* config/i386/t-darwin64: Remove.
|
|
|
|
|
* config/sh/t-netbsd (LIB2ADD): Remove.
|
|
|
|
|
|
2011-11-21 09:56:44 +01:00
|
|
|
|
2011-11-21 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/49313
|
|
|
|
|
* config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
|
|
|
|
|
(LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
|
|
|
|
|
* config/avr/lib1funcs.S (wmov): New assembler macro.
|
|
|
|
|
(__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
|
|
|
|
|
(__moddi3, __divdi3, __divdi3_moddi3): New functions.
|
|
|
|
|
(__udivmod64): New function.
|
|
|
|
|
(__negdi2): New function.
|
|
|
|
|
|
2011-11-21 03:29:09 +01:00
|
|
|
|
2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-freebsd[12], *-*-freebsd[12].*,
|
|
|
|
|
*-*-freebsd*aout*): Remove.
|
|
|
|
|
|
2011-11-21 01:41:12 +01:00
|
|
|
|
2011-11-20 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* static-object.mk (c_flags-$o): Save c_flags.
|
|
|
|
|
($(base)$(objext)): Use it.
|
|
|
|
|
|
2011-11-18 23:26:44 +01:00
|
|
|
|
2011-11-18 Steve Ellcey <sje@cup.hp.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
|
|
|
|
|
|
re PR target/49868 (Implement named address space to place/access data in flash memory)
gcc/
PR target/49868
* config/avr/avr.h (base_arch_s): Add field n_segments.
(ADDR_SPACE_PGM1, ADDR_SPACE_PGM2, ADDR_SPACE_PGM3,
ADDR_SPACE_PGM4, ADDR_SPACE_PGM5, ADDR_SPACE_PGMX): New address spaces.
(AVR_HAVE_ELPM, AVR_HAVE_ELPMX): New defines.
(INIT_EXPANDERS): New define.
* config/avr/avr-protos.h (avr_mem_pgmx_p): New.
(avr_init_expanders): New.
(avr_emit_movmemhi, avr_out_movmem): New.
(avr_xload_libgcc_p): New.
* config/avr/avr-c.c (avr_register_target_pragmas): Register
address spaces __pgm1, __pgm2, __pgm3, __pgm4 __pgm5, __pgmx.
(avr_cpu_cpp_builtins): Add built-in defines __PGM1,
__PGM2, __PGM3, __PGM4, __PGM5, __PGMX.
* config/avr/avr-devices.c (avr_arch_types): Set field n_segments.
* config/avr/avr.c (AVR_SECTION_PROGMEM): Change define to cover
3 bits instead of just 1.
(xstring_empty, xstring_e, rampz_rtx): New static GTYed variables.
(progmem_section): Change from section to array of sections.
(progmem_section_prefix): New static variable.
(avr_file_start): Print set for __RAMPZ__
(avr_option_override): Move initialization of RTXes from here...
(avr_init_expanders): ...to this new function.
(avr_pgm_segment): New static function.
(avr_decl_pgm_p): Handle error_mark_node.
(avr_mem_pgmx_p, avr_decl_pgmx_p): New static functions.
(avr_out_xload, avr_find_unused_d_reg): New static functions.
(expand_prologue, expand_epilogue): Use rampz_rtx.
(print_operand): Hande CONST_STRING.
(avr_xload_libgcc_p): New static function.
(avr_out_lpm_no_lpmx, avr_out_lpm): Handle ELPM.
(avr_progmem_p): Return 2 for 24-bit flash address space.
(avr_out_sbxx_branch): Clean-up code from ASn macros.
(out_movqi_r_mr, out_movqi_mr_r): Ditto. And recognize RAMPZ's
address and print symbolically.
(avr_asm_named_section, avr_section_type_flags,
avr_encode_section_info, avr_asm_select_section,
avr_addr_space_address_mode, avr_addr_space_pointer_mode,
avr_addr_space_legitimate_address_p, avr_addr_space_convert,
avr_addr_space_legitimize_address): Handle new address spaces.
(avr_output_progmem_section_asm_op): New static function.
(avr_asm_init_sections): Initialize progmem_section[].
(adjust_insn_length): Handle ADJUST_LEN_XLOAD, ADJUST_LEN_MOVMEM.
(avr_const_address_lo16): New static function.
(avr_assemble_integer): Use it to handle 3-byte integers.
(avr_emit_movmemhi, avr_out_movmem): New functions.
* config/avr/predicates.md (nox_general_operand): Handle new
address spaces.
* config/avr/avr.md (unspec): Add UNSPEC_MOVMEM.
(adjust_len): Add xload, movmem.
(SP_ADDR): New define_constants.
(isa): Add "lpm", "lpmx", "elpm", "elpmx".
(enabled): Handle them.
(load<mode>_libgcc): New expander.
(*load.<mode>.libgcc): Rename to load_<mode>_libgcc.
(xload8_A, xload<mode>_A): New insn-and-splits.
(xload_8, xload_<mode>_libgcc, xload_<mode>, loadmem_elpm): New insns.
(mov<mode>): Handle new address spaces.
(movmemhi): Rewrite using avr_emit_movmemhi.
(MOVMEM_r_d): New mode attribute.
(movmem_<mode>, movmem_qi_elpm): New insns.
(setmemhi, *clrmemqi, *clrmemhi, strlenhi, *strlenhi): Unquote
C-code. Use label instead of hard-coded instrunction lengths.
libgcc/
PR target/49868
* config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
* config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
New functions.
From-SVN: r181482
2011-11-18 17:44:00 +01:00
|
|
|
|
2011-11-18 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/49868
|
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
|
|
|
|
|
* config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
|
|
|
|
|
New functions.
|
|
|
|
|
|
2011-11-16 19:02:12 +01:00
|
|
|
|
2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/lib1funcs.asm (udivsi3): Add support for divide
|
|
|
|
|
functions.
|
2011-12-20 09:46:38 +01:00
|
|
|
|
(aeabi_uidivmod): Likewise.
|
2011-11-16 19:02:12 +01:00
|
|
|
|
(umodsi3): Likewise.
|
|
|
|
|
(divsi3): Likewise.
|
|
|
|
|
(aeabi_idivmod): Likewise.
|
|
|
|
|
(modsi3): Likewise.
|
|
|
|
|
|
2011-11-16 09:36:46 +01:00
|
|
|
|
2011-11-16 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/alpha/qrnnd.S: Use specific pseudos for VMS.
|
|
|
|
|
|
re PR target/49868 (Implement named address space to place/access data in flash memory)
gcc/
PR target/49868
* config/avr/avr.h (ADDR_SPACE_PGM): New address spaces.
(REGISTER_TARGET_PRAGMAS): New define.
* config/avr/avr-protos.h (avr_mem_pgm_p): New.
(avr_load_libgcc_p): New.
(asm_output_external_libcall): Remove.
(avr_register_target_pragmas): New.
(avr_log_t): Add field "progmem". Order alphabetically.
* config/avr/avr-log.c (avr_log_set_avr_log): Set avr_log.progmem.
* config/avr/avr-c.c (langhooks.h): New include.
(avr_register_target_pragmas): New function. Register address
space __pgm.
(avr_cpu_cpp_builtins): Add built-in define __PGM.
* config/avr/avr.c: Include "c-family/c-common.h".
(TARGET_LEGITIMATE_ADDRESS_P): Remove define.
(TARGET_LEGITIMIZE_ADDRESS): Remove define.
(TARGET_ADDR_SPACE_SUBSET_P): Define to...
(avr_addr_space_subset_p): ...this new static function.
(TARGET_ADDR_SPACE_CONVERT): Define to...
(avr_addr_space_convert): ...this new static function.
(TARGET_ADDR_SPACE_ADDRESS_MODE): Define to...
(avr_addr_space_address_mode): ...this new static function.
(TARGET_ADDR_SPACE_POINTER_MODE): Define to...
(avr_addr_space_pointer_mode): ...this new static function.
(TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Define to...
(avr_addr_space_legitimate_address_p): ...this new static function.
(TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Define to...
(avr_addr_space_legitimize_address): ...this new static function.
(avr_mode_code_base_reg_class): Handle address spaces.
(avr_regno_mode_code_ok_for_base_p): Ditto.
(lpm_addr_reg_rtx, lpm_reg_rtx, all_regs_rtx): New static variables.
(avr_option_override): Initialize them.
(output_reload_in_const): Use all_regs_rtx. Fix signedness of loop
variables.
(avr_pgm_segment): New static function.
(avr_decl_pgm_p, avr_mem_pgm_p): New static functions.
(avr_out_lpm, avr_out_lpm_no_lpmx): New static functions.
(output_movqi, output_movhi, output_movsisf, avr_out_movpsi): Call
avr_out_lpm to handle loads from progmem.
(avr_load_libgcc_p): New static function.
(avr_progmem_p): Test if decl is in flash.
(avr_pgm_pointer_const_p): New static function.
(avr_nonconst_pointer_addrspace): New static function.
(avr_pgm_check_var_decl): New static function.
(avr_insert_attributes): Use it. Change error message to report
cause (progmem or address space) when code wants to write to flash.
(avr_section_type_flags): Unset section flag SECTION_BSS for
data in progmem.
* config/avr/predicates.md (nop_general_operand): New predicate.
(nox_general_operand): New predicate.
* config/avr/avr.md (LPM_REGNO): New define_constant.
(load<mode>_libgcc): New expander.
(*load.<mode>.libgcc): New insn.
(mov<mode>): Handle loads from non-generic AS.
(movmemhi): Ditto. Propagate address space information to newly
created MEM.
(movqi_insn, *movhi, *movpsi, *movsi, *movsf): Change predicate #1
to nox_general_operand.
(ashrqi3, ashrhi3, ashrsi3): Change predicate #1 to nop_general_operand.
(ashlqi3, *ashlqi3, ashlhi3, ashlsi3): Ditto.
(lshrqi3, *lshrqi3, lshrhi3, lshrsi3): Ditto.
(split-lpmx): New split.
(*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
*lshrhi3_const, *lshrsi3_const): Indent, unquote C.
libgcc/
PR target/49868
* config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
* config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
From-SVN: r181378
2011-11-15 10:01:46 +01:00
|
|
|
|
2011-11-15 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/49868
|
|
|
|
|
* config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
|
|
|
|
|
* config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
|
|
|
|
|
|
2011-11-13 21:17:01 +01:00
|
|
|
|
2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
* config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
|
|
|
|
|
tmake_file list.
|
|
|
|
|
* config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
|
|
|
|
|
* config/pa/t-stublib64: Delete.
|
|
|
|
|
|
2011-11-12 18:20:58 +01:00
|
|
|
|
2011-11-12 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/linux-unwind.h (frob_update_context): Properly
|
|
|
|
|
cast the pointer argument to _Unwind_SetGRPtr.
|
|
|
|
|
|
2011-11-11 17:49:22 +01:00
|
|
|
|
2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
|
|
|
|
|
|
2011-11-09 21:06:31 +01:00
|
|
|
|
2011-11-09 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.c: Include <string.h>.
|
|
|
|
|
(uintptr_type): Define.
|
|
|
|
|
(struct initial_sp): Add dont_block_signals field. Reduce size of
|
|
|
|
|
extra array by 1.
|
|
|
|
|
(allocate_segment): Set prev field to NULL. Don't set
|
|
|
|
|
__morestack_current_segment or __morestack_segments.
|
|
|
|
|
(__generic_morestack): Update current->prev and *pp after calling
|
|
|
|
|
allocate_segment.
|
|
|
|
|
(__morestack_block_signals): Don't do anything if
|
|
|
|
|
dont_block_signals is set.
|
|
|
|
|
(__morestack_unblock_signals): Likewise.
|
|
|
|
|
(__generic_findstack): Check for initial_sp == NULL. Add casts to
|
|
|
|
|
uintptr_type.
|
|
|
|
|
(__splitstack_block_signals): New function.
|
|
|
|
|
(enum __splitstack_content_offsets): Define.
|
|
|
|
|
(__splitstack_getcontext, __splitstack_setcontext): New functions.
|
|
|
|
|
(__splitstack_makecontext): New function.
|
|
|
|
|
(__splitstack_block_signals_context): New function.
|
|
|
|
|
(__splitstack_find_context): New function.
|
|
|
|
|
* config/i386/morestack.S (__morestack_get_guard): New function.
|
|
|
|
|
(__morestack_set_guard, __morestack_make_guard): New functions.
|
|
|
|
|
* libgcc-std.ver.in: Add new functions to GCC_4.7.0.
|
|
|
|
|
|
2011-11-09 14:11:47 +01:00
|
|
|
|
2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
|
|
|
|
|
(i[34567]86-*-mingw*): ... here.
|
|
|
|
|
(x86_64-*-mingw*): ... here.
|
|
|
|
|
|
2011-11-08 17:50:37 +01:00
|
|
|
|
2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/c6x/t-elf (LIB2ADD): Add instead of assigning.
|
|
|
|
|
|
2011-11-07 19:14:46 +01:00
|
|
|
|
2011-11-07 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* libgcov.c (struct gcov_fn_buffer): New struct.
|
|
|
|
|
(buffer_fn_data): New helper.
|
|
|
|
|
(gcov_exit): Rework for new gcov data structures.
|
|
|
|
|
|
2011-11-07 19:08:35 +01:00
|
|
|
|
2011-11-07 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/49313
|
|
|
|
|
* config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
|
|
|
|
|
|
2011-11-07 18:14:32 +01:00
|
|
|
|
2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (tmake_file): Correct comment.
|
|
|
|
|
(bfin*-elf*): Remove bfin/t-elf from tmake_file, add
|
|
|
|
|
t-libgcc-pic.
|
|
|
|
|
(bfin*-uclinux*): Likewise.
|
|
|
|
|
(bfin*-linux-uclibc*): Likewise.
|
|
|
|
|
(xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
|
|
|
|
|
|
|
|
|
|
* config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
|
|
|
|
|
assigning.
|
|
|
|
|
* config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
* config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/bfin/t-elf: Remove.
|
|
|
|
|
* config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
|
|
|
|
|
|
2011-11-07 18:12:33 +01:00
|
|
|
|
2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-rtems*): Add t-rtems to tmake_file.
|
|
|
|
|
(i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
|
|
|
|
|
(lm32-*-elf*, lm32-*-rtems*): Split into ...
|
|
|
|
|
(lm32-*-elf*): ... this.
|
|
|
|
|
(lm32-*-rtems*): ... and this.
|
|
|
|
|
Add to tmake_file.
|
|
|
|
|
(m32r-*-rtems*): Add to tmake_file.
|
|
|
|
|
(moxie-*-rtems*): Likewise.
|
|
|
|
|
(sparc-*-rtems*): Likewise.
|
|
|
|
|
Remove t-rtems from tmake_file.
|
|
|
|
|
(sparc64-*-rtems*): Likewise.
|
|
|
|
|
* config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
|
|
|
|
|
instead.
|
|
|
|
|
|
2011-11-07 17:34:31 +01:00
|
|
|
|
2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/50982
|
|
|
|
|
* config/gthr-posix.h: Move ...
|
|
|
|
|
* gthr-posix.h: ... here.
|
|
|
|
|
* config/gthr-lynx.h: Reflect this.
|
|
|
|
|
* config/gthr-vxworks.h: Likewise.
|
|
|
|
|
* config/rs6000/gthr-aix.h: Likewise.
|
|
|
|
|
* configure.ac (target_thread_file): Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-11-07 04:22:39 +01:00
|
|
|
|
2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* config.host (arm*-*-rtemseabi*): New target.
|
|
|
|
|
|
2011-11-06 20:24:19 +01:00
|
|
|
|
2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
PR other/50991
|
|
|
|
|
* Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
|
|
|
|
|
extra-parts.
|
|
|
|
|
|
2011-11-05 21:48:23 +01:00
|
|
|
|
2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config.host (epiphany-*-elf*): New configuration.
|
|
|
|
|
* config/epiphany: New Directory.
|
|
|
|
|
|
2011-11-05 05:45:12 +01:00
|
|
|
|
2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
|
|
|
|
|
|
|
|
|
|
* config.host (avr-*-rtems*): Add config/avr/t-rtems.
|
|
|
|
|
* config/avr/t-rtems: New.
|
|
|
|
|
Filter out _exit from LIB1ASMFUNCS.
|
|
|
|
|
|
2011-11-05 03:46:21 +01:00
|
|
|
|
2011-11-04 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
|
|
|
|
|
* configure: Rebuild.
|
|
|
|
|
|
2011-11-04 20:05:36 +01:00
|
|
|
|
2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
|
|
|
|
|
variable.
|
|
|
|
|
|
re PR target/50931 ([avr] Support a 24-bit scalar integer mode)
gcc/
PR target/50931
* config/avr/avr-modes.def: New file defining PSImode.
* config/avr/avr-c.c (__INT24_MAX__, __INT24_MIN__,
__UINT24_MAX__): New built-in defines.
* config/avr/avr.md (adjust_len): Add tstpsi, mov24, reload_in24,
ashlpsi, ashrpsi, lshrpsi.
(QISO, QIDI, HISI, HIDI, MPUSH, rotx, rotsmode): Add PSI.
(MOVMODE): New mode iterator.
(movpsi): New expander.
(movqi, movhi, movsi, movsf, movpsi): Write as one using MOVMODE.
(*reload_inpsi, *movpsi): New insns.
(*reload_inpsi): New RTL peephole.
(addpsi3, *addpsi3_zero_extend.qi, *addpsi3_zero_extend.hi,
*addpsi3_sign_extend.hi): New insns.
(subpsi3, *subpsi3_zero_extend.qi, *subpsi3_zero_extend.hi,
*subpsi3_sign_extend.hi): New insns.
(divmodpsi4, udivmodpsi4): New define insn-and-split.
(*divmodpsi4_call, *udivmodpsi4_call): New insns.
(andpsi3, iorpsi3, xorpsi3): New insns.
(*rotlpsi2.1, *rotlpsi2.23): New insns.
(*rotw<mode>): Insn condition only allow even-sized modes.
(*rotb<mode>): Insn condition allows odd-sized modes.
(ashlpsi3, ashrpsi3, lshrpsi3, *addpsi3.lt0): New insns.
(negpsi2, one_cmplpsi2): New insns.
(extendqipsi2, extendhipsi2, extendpsisi2): New insns.
(zero_extendqipsi2, zero_extendhipsi2, zero_extendpsisi2): New
insn-and-splits.
(*cmppsi, *negated_tstpsi, *reversed_tstpsi): New insns.
(cbranchpsi4): New expander.
* config/avr/constraints.md (Ca3, Co3, Cx3): New constraints.
* config/avr/avr-protos.h (avr_out_tstpsi, avr_out_movpsi,
avr_out_ashlpsi3, avr_out_ashrpsi3, avr_out_lshrpsi3,
avr_out_reload_inpsi): New prototypes.
* config/avr/avr.c (TARGET_SCALAR_MODE_SUPPORTED_P): Define to...
(avr_scalar_mode_supported_p): ...this new static function.
(avr_asm_len): Always return "".
(avr_out_load_psi, avr_out_store_psi): New static functions.
(avr_out_movpsi, avr_out_reload_inpsi): New functions.
(avr_out_tstpsi): New function.
(avr_out_ashlpsi3, avr_out_ashrpsi3, avr_out_lshrpsi3): New functions.
(avr_out_plus_1, output_reload_in_const): Handle 3-byte types.
(avr_simplify_comparison_p): Ditto.
(adjust_insn_length): Handle ADJUST_LEN_RELOAD_IN24,
ADJUST_LEN_MOV24, ADJUST_LEN_TSTPSI, ADJUST_LEN_ASHLPSI,
ADJUST_LEN_ASHRPSI, ADJUST_LEN_LSHRPSI.
(avr_rtx_costs_1): Report PSI costs.
(avr_libcall_value): Handle odd-sized parameters.
(avr_init_builtin_int24): New static function to define built-in
24-bit types __int24 and __uint24.
(avr_init_builtins): Use it.
libgcc/
PR target/50931
* config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
* config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
From-SVN: r180962
2011-11-04 17:20:18 +01:00
|
|
|
|
2011-11-04 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
PR target/50931
|
|
|
|
|
* config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
|
|
|
|
|
* config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
|
|
|
|
|
|
2011-11-04 13:57:40 +01:00
|
|
|
|
2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
|
|
|
|
|
|
|
|
|
PR target/50989
|
|
|
|
|
* config.host (sparc-*-rtems*): Add sparc/t-softmul.
|
|
|
|
|
|
2011-11-04 12:55:52 +01:00
|
|
|
|
2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/c6x/t-elf (LIB2ADDEH): Set.
|
|
|
|
|
* config/c6x/t-c6x-elf: Remove.
|
|
|
|
|
|
2011-11-04 12:54:17 +01:00
|
|
|
|
2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/i386/sol2-ci.S: Rename to ...
|
|
|
|
|
* config/i386/crti.S: ... this.
|
|
|
|
|
* config/i386/sol2-cn.S: Rename to ...
|
|
|
|
|
* config/i386/crtn.S: ... this.
|
|
|
|
|
* config/sparc/sol2-ci.S: Rename to ...
|
|
|
|
|
* config/sparc/crti.S: ... this.
|
|
|
|
|
* config/sparc/sol2-cn.S: Rename to ...
|
|
|
|
|
* config/sparc/crtn.S: ... this.
|
|
|
|
|
* config/t-sol2 (CUSTOM_CRTIN): Remove.
|
|
|
|
|
(crti.o, crtn.o): Remove.
|
|
|
|
|
|
2011-11-04 10:25:41 +01:00
|
|
|
|
2011-11-04 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/fde-vms.c: Do not include md-unwind-support.h
|
|
|
|
|
|
2011-11-04 01:41:58 +01:00
|
|
|
|
2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
|
|
|
|
|
|
2011-11-03 22:16:07 +01:00
|
|
|
|
2011-11-03 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* config.host (crisv32-*-none, cris-*-none): Remove.
|
|
|
|
|
(crisv32-*-elf): Append to tmake_file, don't just set it.
|
|
|
|
|
(cris-*-elf): Add missing t-fdpbit to tmake_file.
|
|
|
|
|
|
2011-11-03 16:42:27 +01:00
|
|
|
|
2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
|
|
|
|
|
(ecrtn$(objext)): Likewise.
|
|
|
|
|
(ncrti$(objext)): Likewise.
|
|
|
|
|
(ncrtn$(objext)): Likewise.
|
|
|
|
|
|
2011-11-03 10:57:54 +01:00
|
|
|
|
2011-11-03 Andreas Schwab <schwab@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
|
|
|
|
|
|
2011-11-03 07:07:39 +01:00
|
|
|
|
2011-11-02 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Set host_address on sparc too.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
|
|
|
|
|
based upon host_address.
|
|
|
|
|
* config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
|
|
|
|
|
|
2011-11-02 21:52:10 +01:00
|
|
|
|
2011-11-02 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-ppccomm: Add missing \.
|
|
|
|
|
|
Move gthr to toplevel libgcc
gcc:
* gthr-single.h, gthr.h: Move to ../libgcc.
* gthr-aix.h: Move to ../libgcc/config/rs6000.
* gthr-dce.h: Move to ../libgcc/config/pa.
* gthr-lynx.h: Move to ../libgcc/config.
* gthr-mipssde.h: Move to ../libgcc/config/mips.
* gthr-posix.h: Move to ../libgcc/config.
* gthr-rtems.h: Likewise.
* gthr-tpf.h: Move to ../libgcc/config/s390.
* gthr-vxworks.h: Move to ../libgcc/config.
* gthr-win32.h: Move to ../libgcc/config/i386.
* configure.ac (gthread_flags): Remove
(gthr-default.h): Don't create.
(thread_file): Don't substitute.
* configure: Regenerate.
* Makefile.in (GCC_THREAD_FILE): Remove.
(GTHREAD_FLAGS): Remove.
(libgcc.mvars): Remove GTHREAD_FLAGS.
* config/t-vxworks (EXTRA_HEADERS): Remove.
gcc/po:
* EXCLUDES (gthr-aix.h, gthr-dce.h, gthr-posix.c, gthr-posix.h)
(gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h)
(gthr-win32.h, gthr.h): Remove.
libgcc:
* gthr-single.h, gthr.h: New files.
* config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
config/gthr-vxworks.h, config/i386/gthr-win32.h,
config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
* config/i386/gthr-win32.c: Include "gthr-win32.h".
* configure.ac (thread_header): New variable.
Set it depending on target_thread_file.
(gthr-default.h): Link from $thread_header.
* configure: Regenerate.
* Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
libgfortran:
* Makefile.am (AM_CPPFLAGS): Add
-I$(srcdir)/$(MULTISRCTOP)../libgcc, -I$(MULTIBUILDTOP)../libgcc.
* Makefile.in: Regenerate.
* acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Remove.
* configure.ac (LIBGFOR_CHECK_GTHR_DEFAULT): Likewise.
* configure: Regenerate.
* config.h.in: Regenerate.
libobjc:
* Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
* configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
* configure: Regenerate.
* config.h.in: Regenerate.
libstdc++-v3:
* acinclude.m4 (GLIBCXX_CONFIGURE): Determine and substitute
toplevel_builddir.
(GLIBCXX_ENABLE_THREADS): Remove glibcxx_thread_h,
HAVE_GTHR_DEFAULT, enable_thread.
(GLIBCXX_CHECK_GTHREADS): Reflect gthr move to libgcc.
* include/Makefile.am (thread_host_headers): Remove
${host_builddir}/gthr-tpf.h.
(${host_builddir}/gthr.h): Reflect gthr move to libgcc.
Use $<.
(${host_builddir}/gthr-single.h): Likewise.
(${host_builddir}/gthr-posix.h): Likewise.
(${host_builddir}/gthr-tpf.h): Remove.
(${host_builddir}/gthr-default.h): Likewise.
* configure, config.h.in: Regenerate.
* Makefile.in, doc/Makefile.in, include/Makefile.in,
libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
src/Makefile.intestsuite/Makefile.in: Regenerate.
From-SVN: r180776
2011-11-02 16:28:43 +01:00
|
|
|
|
2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* gthr-single.h, gthr.h: New files.
|
|
|
|
|
* config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
|
|
|
|
|
config/gthr-vxworks.h, config/i386/gthr-win32.h,
|
|
|
|
|
config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
|
|
|
|
|
config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
|
|
|
|
|
* config/i386/gthr-win32.c: Include "gthr-win32.h".
|
|
|
|
|
* configure.ac (thread_header): New variable.
|
|
|
|
|
Set it depending on target_thread_file.
|
|
|
|
|
(gthr-default.h): Link from $thread_header.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
|
|
|
|
|
|
Move libgcc_tm_file to toplevel libgcc
gcc:
* configure.ac (libgcc_tm_file_list, libgcc_tm_include_list):
Remove.
* configure: Regenerate.
* Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list): Remove.
(TM_H): Remove libgcc_tm.h, $(libgcc_tm_file_list).
(libgcc_tm.h, cs-libgcc_tm.h): Remove.
(clean): Remove libgcc_tm.h
* mkconfig.sh: Don't include libgcc_tm.h in tm.h.
* config.gcc (libgcc_tm_file): Remove.
(arm*-*-linux*): Remove libgcc_tm_file for arm*-*-linux-*eabi.
(arm*-*-uclinux*): Remove libgcc_tm_file for arm*-*-uclinux*eabi.
(arm*-*-eabi*, arm*-*-symbianelf*): Remove libgcc_tm_file.
(avr-*-rtems*): Likewise.
(avr-*-*): Likewise.
(frv-*-elf): Likewise.
(frv-*-*linux*): Likewise.
(h8300-*-rtems*): Likewise.
(h8300-*-elf*): Likewise.
(i[34567]86-*-darwin*): Likewise.
(x86_64-*-darwin*): Likewise.
(rx-*-elf*): Likewise.
(tic6x-*-elf): Likewise.
(tic6x-*-uclinux): Likewise.
(i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
libgcc:
* configure.ac (tm_file_): New variable.
Determine from tm_file.
(tm_file, tm_defines): Substitute.
* configure: Regenerate.
* mkheader.sh: New file.
* Makefile.in (clean): Remove libgcc_tm.h.
($(objects)): Depend on libgcc_tm.h.
(libgcc_tm_defines, libgcc_tm_file): New variables.
(libgcc_tm.h, libgcc_tm.stamp): New targets.
($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
($(extra-parts)): Depend on libgcc_tm.h.
* config.host (tm_defines, tm_file): New variable.
(arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
(arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
(arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
(avr-*-rtems*): Likewise.
(avr-*-*): Likewise.
(frv-*-elf): Likewise.
(frv-*-*linux*): Likewise.
(h8300-*-rtems*): Likewise.
(h8300-*-elf*): Likewise.
(i[34567]86-*-darwin*): Likewise.
(x86_64-*-darwin*): Likewise.
(rx-*-elf): Likewise.
(tic6x-*-uclinux): Likewise.
(tic6x-*-elf): Likewise.
(i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
* config/alpha/gthr-posix.c: Include libgcc_tm.h.
* config/i386/cygming-crtbegin.c: Likewise.
* config/i386/cygming-crtend.c: Likewise.
* config/ia64/fde-vms.c: Likewise.
* config/ia64/unwind-ia64.c: Likewise.
* config/libbid/bid_gcc_intrinsics.h: Likewise.
* config/rs6000/darwin-fallback.c: Likewise.
* config/stormy16/lib2funcs.c: Likewise.
* config/xtensa/unwind-dw2-xtensa.c: Likewise.
* crtstuff.c: Likewise.
* dfp-bit.h: Likewise.
* emutls.c: Likewise.
* fixed-bit.c: Likewise.
* fp-bit.c: Likewise.
* generic-morestack-thread.c: Likewise.
* generic-morestack.c: Likewise.
* libgcc2.c: Likewise.
* libgcov.c: Likewise.
* unwind-dw2-fde-dip.c: Likewise.
* unwind-dw2-fde.c: Likewise.
* unwind-dw2.c: Likewise.
* unwind-sjlj.c: Likewise.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r180775
2011-11-02 16:26:35 +01:00
|
|
|
|
2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac (tm_file_): New variable.
|
|
|
|
|
Determine from tm_file.
|
|
|
|
|
(tm_file, tm_defines): Substitute.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* mkheader.sh: New file.
|
|
|
|
|
* Makefile.in (clean): Remove libgcc_tm.h.
|
|
|
|
|
($(objects)): Depend on libgcc_tm.h.
|
|
|
|
|
(libgcc_tm_defines, libgcc_tm_file): New variables.
|
|
|
|
|
(libgcc_tm.h, libgcc_tm.stamp): New targets.
|
|
|
|
|
($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
|
|
|
|
|
($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
|
|
|
|
|
($(extra-parts)): Depend on libgcc_tm.h.
|
|
|
|
|
* config.host (tm_defines, tm_file): New variable.
|
|
|
|
|
(arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
|
|
|
|
|
(arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
|
|
|
|
|
(arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
|
|
|
|
|
(avr-*-rtems*): Likewise.
|
|
|
|
|
(avr-*-*): Likewise.
|
|
|
|
|
(frv-*-elf): Likewise.
|
|
|
|
|
(frv-*-*linux*): Likewise.
|
|
|
|
|
(h8300-*-rtems*): Likewise.
|
|
|
|
|
(h8300-*-elf*): Likewise.
|
|
|
|
|
(i[34567]86-*-darwin*): Likewise.
|
|
|
|
|
(x86_64-*-darwin*): Likewise.
|
|
|
|
|
(rx-*-elf): Likewise.
|
|
|
|
|
(tic6x-*-uclinux): Likewise.
|
|
|
|
|
(tic6x-*-elf): Likewise.
|
|
|
|
|
(i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
|
|
|
|
|
* config/alpha/gthr-posix.c: Include libgcc_tm.h.
|
|
|
|
|
* config/i386/cygming-crtbegin.c: Likewise.
|
|
|
|
|
* config/i386/cygming-crtend.c: Likewise.
|
|
|
|
|
* config/ia64/fde-vms.c: Likewise.
|
|
|
|
|
* config/ia64/unwind-ia64.c: Likewise.
|
|
|
|
|
* config/libbid/bid_gcc_intrinsics.h: Likewise.
|
|
|
|
|
* config/rs6000/darwin-fallback.c: Likewise.
|
|
|
|
|
* config/stormy16/lib2funcs.c: Likewise.
|
|
|
|
|
* config/xtensa/unwind-dw2-xtensa.c: Likewise.
|
|
|
|
|
* crtstuff.c: Likewise.
|
|
|
|
|
* dfp-bit.h: Likewise.
|
|
|
|
|
* emutls.c: Likewise.
|
|
|
|
|
* fixed-bit.c: Likewise.
|
|
|
|
|
* fp-bit.c: Likewise.
|
|
|
|
|
* generic-morestack-thread.c: Likewise.
|
|
|
|
|
* generic-morestack.c: Likewise.
|
|
|
|
|
* libgcc2.c: Likewise.
|
|
|
|
|
* libgcov.c: Likewise.
|
|
|
|
|
* unwind-dw2-fde-dip.c: Likewise.
|
|
|
|
|
* unwind-dw2-fde.c: Likewise.
|
|
|
|
|
* unwind-dw2.c: Likewise.
|
|
|
|
|
* unwind-sjlj.c: Likewise.
|
|
|
|
|
|
Move libgcc2 to toplevel libgcc
toplevel:
* Makefile.tpl (EXTRA_GCC_FLAGS): Remove LIBGCC2_CFLAGS,
LIBGCC2_DEBUG_CFLAGS, LIBGCC2_INCLUDES.
* Makefile.in: Regenerate.
config:
* mh-interix (LIBGCC2_DEBUG_CFLAGS): Remove.
gcc:
* Makefile.in (LIBGCC2_DEBUG_CFLAGS LIBGCC2_CFLAGS)
(LIBGCC2_INCLUDES, TARGET_LIBGCC2_CFLAGS, LIB2FUNCS_EXTRA)
(LIB2FUNCS_STATIC_EXTRA, LIB2FUNCS_EXCLUDE, T, T_TARGET)
(INCLUDES_FOR_TARGET): Remove.
(LIBGCC2_CFLAGS): Don't export.
(LIB2FUNCS_ST, LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST, srcdirify):
Remove.
(libgcc-support): Remove $(LIB2ADD), $(LIB2ADD_ST) dependencies.
(libgcc.mvars): Likewise.
Don't emit LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE, LIB2ADD, LIB2ADD_ST,
LIB2_SIDITI_CONV_FUNCS, LIB2_DIVMOD_FUNCS, LIBGCC2_CFLAGS,
TARGET_LIBGCC2_CFLAGS.
Emit GTHREAD_FLAGS.
* libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: Move to ../libgcc.
* config/darwin-64.c: Move to ../libgcc/config.
* config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
config/udivmodsi4.c: Move to ../libgcc/config.
* config/gthr-posix.c: Move to ../libgcc/config/alpha.
* config/memcmp.c, config/memcpy.c, config/memmove.c,
config/memset.c: Move to ../libgcc/config.
* config/t-darwin (TARGET_LIBGCC2_CFLAGS): Remove.
* config/t-freebsd: Remove.
* config/t-freebsd-thread: Move to ../libgcc/config.
* config/t-libgcc-pic: Move to ../libgcc/config.
* config/t-libunwind (TARGET_LIBGCC2_CFLAGS): Remove.
* config/t-linux: Remove.
* config/t-lynx (TARGET_LIBGCC2_CFLAGS, LIBGCC, INSTALL_LIBGCC):
Remove
* config/t-openbsd-thread: Move to ../libgcc/config.
* config/t-rtems (LIBGCC2_INCLUDES): Remove.
* config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Remove.
* config/t-svr4: Remove.
* config/t-vxworks (LIBGCC, INSTALL_LIBGCC, TARGET_LIBGCC2_CFLAGS)
(LIBGCC2_DEBUG_CFLAGS, LIB2FUNCS_EXTRA, LIBGCC2_INCLUDES): Remove.
* config/vxlib.c, config/vxlib-tls.c: Move to ../libgcc/config.
* config/alpha/qrnnd.asm: Move to ../libgcc/config/alpha/qrnnd.S.
* config/alpha/t-alpha, config/alpha/t-ieee: Remove.
* config/alpha/t-vms (LIB2FUNCS_EXTRA, LIBGCC, INSTALL_LIBGCC):
Remove.
* config/alpha/vms-gcc_shell_handler.c: Move to ../libgcc/config/alpha.
* config/arm/bpabi.c, config/arm/unaligned-funcs.c,
config/arm/fp16.c, config/arm/linux-atomic.c,
config/arm/linux-atomic-64bit.c: Move to ../libgcc/config/arm.
* config/arm/t-arm-elf (LIBGCC, INSTALL_LIBGCC)
(TARGET_LIBGCC2_CFLAGS): Remove.
* config/arm/t-bpabi, config/arm/t-linux: Remove.
* config/arm/t-linux-eabi (TARGET_LIBGCC2_CFLAGS)
(LIB2FUNCS_STATIC_EXTRA): Remove.
* config/arm/t-netbsd: Remove.
* config/arm/t-strongarm-elf (LIBGCC, INSTALL_LIBGCC)
(TARGET_LIBGCC2_CFLAGS): Remove.
* config/arm/t-symbian (LIB2FUNCS_STATIC_EXTRA): Remove.
* config/arm/t-wince-pe (LIBGCC, INSTALL_LIBGCC)
(TARGET_LIBGCC2_CFLAGS): Remove.
* config/avr/t-avr (LIB2FUNCS_EXCLUDE, TARGET_LIBGCC2_CFLAGS)
(LIBGCC, INSTALL_LIBGCC): Remove.
* config/bfin/t-bfin-elf (TARGET_LIBGCC2_CFLAGS): Remove.
* config/bfin/t-bfin-linux: Likewise.
* config/bfin/t-bfin-uclinux: Likewise.
* config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
config/c6x/ltf.c: Move to ../libgcc/config/c6x.
* config/c6x/t-c6x-elf (LIB2FUNCS_EXCLUDE, LIB2FUNCS_EXTRA):
Remove.
* config/c6x/t-c6x-uclinux (TARGET_LIBGCC2_CFLAGS): Remove.
* config/cris/arit.c: Move to ../libgcc/config/cris.
* config/cris/cris_abi_symbol.c: Remove.
* config/cris/cris.h: Remove obsolete comment.
* config/cris/mulsi3.asm: Move to ../libgcc/config/cris/mulsi3.S.
* config/cris/t-cris (LIB2FUNCS_EXTRA, CRIS_LIB1CSRC)
($(LIB2FUNCS_EXTRA)): Remove.
* config/cris/t-elfmulti (LIB2FUNCS_STATIC_EXTRA, INSTALL_LIBGCC)
(LIBGCC): Remove.
* config/cris/t-linux (TARGET_LIBGCC2_CFLAGS): Remove.
* config/fr30/t-fr30: Remove.
* config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: Move
to ../libgcc/config/frv.
* config/frv/t-frv (LIB2FUNCS_EXTRA, TARGET_LIBGCC2_CFLAGS)
(cmovh.c, cmovw.c, cmovd.c, modi.c, umodi.c, uitof.c, uitod.c)
(ulltof.c, LIBGCC, INSTALL_LIBGCC): Remove.
* config/frv/t-linux (TARGET_LIBGCC2_CFLAGS): Remove.
* config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
config/h8300/popcounthi2.c: Move to ../libgcc/config/h8300.
* config/h8300/t-h8300 (LIB2FUNCS_EXTRA, TARGET_LIBGCC2_CFLAGS)
(LIBGCC, INSTALL_LIBGCC): Remove.
* config/i386/gthr-win32.c: Move to ../libgcc/config/i386.
* config/i386/t-cygming (LIBGCC2_INCLUDES): Remove.
* config/i386/t-cygwin: Remove.
* config/i386/t-darwin (LIB2_SIDITI_CONV_FUNCS, LIB2FUNCS_EXTRA)
(LIB2FUNCS_EXCLUDE): Remove.
* config/i386/t-darwin64 (LIB2_SIDITI_CONV_FUNCS, LIB2FUNCS_EXTRA)
(LIBGCC, INSTALL_LIBGCC): Remove.
* config/i386/t-gthr-win32: Move to ../libgcc/config/i386.
* config/i386/t-linux64 (LIBGCC, INSTALL_LIBGCC): Remove.
* config/i386/t-mingw-w32: Likewise.
* config/i386/t-mingw-w64: Likewise.
* config/i386/t-openbsd: Likewise.
* config/i386/t-nto: Remove.
* config/ia64/quadlib.c: Move to ../libgcc/config/ia64.
* config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, LIB2FUNCS_EXTRA)
(quadlib.c): Remove.
* config/ia64/t-ia64: Remove comment.
* config/iq2000/lib2extra-funcs.c: Move to
../libgcc/config/iq2000/lib2funcs.c.
* config/iq2000/t-iq2000: Remove.
* config/m32c/m32c-lib2.c: Move to ../libgcc/config/m32c/lib2funcs.c.
* config/m32c/m32c-lib2-trapv.c: Move to ../libgcc/config/m32c/trapv.c.
* config/m32r/t-linux (TARGET_LIBGCC2_CFLAGS): Remove.
* config/m32c/t-m32c (LIB2FUNCS_EXTRA): Remove.
* config/m32r/t-m32r (TARGET_LIBGCC2_CFLAGS, LIBGCC)
(INSTALL_LIBGCC): Remove.
* config/m68k/fpgnulib.c: Move to ../libgcc/config/m68k.
* config/m68k/t-floatlib: Remove.
* config/m68k/t-mlibs (LIBGCC, INSTALL_LIBGCC): Remove.
* config/mcore/t-mcore (TARGET_LIBGCC2_CFLAGS): Remove.
Fix typo.
(LIBGCC, INSTALL_LIBGCC): Remove.
* config/mep/mep-lib2.c: Move to ../libgcc/config/mep/lib2funcs.c.
* config/mep/mep-tramp.c: Move to ../libgcc/config/mep/tramp.c.
* config/mep/t-mep (LIB2FUNCS_EXTRA): Remove.
* config/mips/t-elf (TARGET_LIBGCC2_CFLAGS, LIBGCC)
(INSTALL_LIBGCC): Remove.
* config/mips/t-isa3264: Likewise.
* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Remove.
* config/mips/t-r3900 (TARGET_LIBGCC2_CFLAGS, LIBGCC)
(INSTALL_LIBGCC): Remove.
* config/mips/t-sde (LIBGCC, INSTALL_LIBGCC): Remove.
* config/mips/t-sr71k (TARGET_LIBGCC2_CFLAGS, LIBGCC)
(INSTALL_LIBGCC): Remove.
* config/mips/t-vr (TARGET_LIBGCC2_CFLAGS)
(LIB2FUNCS_STATIC_EXTRA): Remove.
* config/mips/vr4120-div.S: Move to ../libgcc/config/mips.
* config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Remove.
* config/mn10300/t-mn10300 (LIBGCC, INSTALL_LIBGCC): Remove.
* config/pa/fptr.c, config/pa/linux-atomic.c: Move to
../libgcc/config/pa.
* config/pa/lib2funcs.asm: Move to ../libgcc/config/pa/lib2funcs.S.
* config/pa/quadlib.c: Move to ../libgcc/config/pa.
* config/pa/t-dce-thr (LIBGCC, INSTALL_LIBGCC): Remove.
* config/pa/t-linux, config/pa/t-linux64: Remove.
* config/pa/t-pa-hpux, config/pa/t-pa-hpux10,
config/pa/t-pa-hpux11, config/pa/t-pa64: Remove.
* config/pdp11/t-pdp11 (TARGET_LIBGCC2_CFLAGS, LIB2FUNCS_EXTRA):
Remove.
* config/picochip/libgccExtras: Move to ../libgcc/config/picochip.
* config/picochip/t-picochip (LIB2FUNCS_EXTRA, RANLIB_FOR_TARGET)
(TARGET_LIBGCC2_CFLAGS, LIBGCC2_DEBUG_CFLAGS): Remove.
* config/rs6000/crtresfpr.asm: Move to
../libgcc/config/rs6000/crtresfpr.S.
* config/rs6000/crtresgpr.asm: Move to
../libgcc/config/rs6000/crtresgpr.S.
* config/rs6000/crtresxfpr.asm: Move to
../libgcc/config/rs6000/crtresxfpr.S.
* config/rs6000/crtresxgpr.asm: Move to
../libgcc/config/rs6000/crtresxgpr.S.
* config/rs6000/crtsavfpr.asm: Move to
../libgcc/config/rs6000/crtsavfpr.S.
* config/rs6000/crtsavgpr.asm: Move to
../libgcc/config/rs6000/crtsavgpr.S.
* config/rs6000/darwin-asm.h: Move to ../libgcc/config/rs6000.
* config/rs6000/darwin-fpsave.asm: Move to
../libgcc/config/rs6000/darwin-fpsave.S.
* config/rs6000/darwin-gpsave.asm: Move to
../libgcc/config/rs6000/darwin-gpsave.S.
* config/rs6000/darwin-tramp.asm: Move to
../libgcc/config/rs6000/darwin-tramp.S.
* config/rs6000/darwin-vecsave.asm: Move to
../libgcc/config/rs6000/darwin-vecsave.S.
* config/rs6000/darwin-world.asm: Move to
../libgcc/config/rs6000/darwin-world.S.
* config/rs6000/e500crtres32gpr.asm: Move to
../libgcc/config/rs6000/e500crtres32gpr.S.
* config/rs6000/e500crtres64gpr.asm: Move to
../libgcc/config/rs6000/e500crtres64gpr.S.
* config/rs6000/e500crtres64gprctr.asm: Move to
../libgcc/config/rs6000/e500crtres64gprctr.S.
* config/rs6000/e500crtrest32gpr.asm: Move to
../libgcc/config/rs6000/e500crtrest32gpr.S.
* config/rs6000/e500crtrest64gpr.asm: Move to
../libgcc/config/rs6000/e500crtrest64gpr.S.
* config/rs6000/e500crtresx32gpr.asm: Move to
../libgcc/config/rs6000/e500crtresx32gpr.S.
* config/rs6000/e500crtresx64gpr.asm: Move to
../libgcc/config/rs6000/e500crtresx64gpr.S.
* config/rs6000/e500crtsav32gpr.asm: Move to
../libgcc/config/rs6000/e500crtsav32gpr.S.
* config/rs6000/e500crtsav64gpr.asm: Move to
../libgcc/config/rs6000/e500crtsav64gpr.S.
* config/rs6000/e500crtsav64gprctr.asm: Move to
../libgcc/config/rs6000/e500crtsav64gprctr.S.
* config/rs6000/e500crtsavg32gpr.asm: Move to
../libgcc/config/rs6000/e500crtsavg32gpr.S.
* config/rs6000/e500crtsavg64gpr.asm: Move to
../libgcc/config/rs6000/e500crtsavg64gpr.S.
* config/rs6000/e500crtsavg64gprctr.asm: Move to
../libgcc/config/rs6000/e500crtsavg64gprctr.S.
* config/rs6000/eabi.asm: Move to ../libgcc/config/rs6000/eabi.S.
* config/rs6000/t-aix43 (LIBGCC, INSTALL_LIBGCC, LIB2FUNCS_EXTRA)
(TARGET_LIBGCC2_CFLAGS): Remove.
* config/rs6000/t-aix52: Likewise.
* config/rs6000/t-darwin: Remove.
* config/rs6000/t-darwin64 (LIB2_SIDITI_CONV_FUNCS)
(LIB2FUNCS_EXTRA): Remove.
* config/rs6000/t-fprules (LIBGCC, INSTALL_LIBGCC): Remove.
* config/rs6000/t-linux64 (TARGET_LIBGCC2_CFLAGS): Remove.
* config/rs6000/t-lynx (LIB2FUNCS_EXTRA, tramp.S, LIBGCC)
(INSTALL_LIBGCC): Remove.
* config/rs6000/t-netbsd (LIB2FUNCS_EXTRA)
(LIB2FUNCS_STATIC_EXTRA, tramp.S, crtsavfpr.S, crtresfpr.S)
(crtsavgpr.S, crtresgpr.S, crtresxfpr.S, crtresxgpr.S, LIBGCC)
(INSTALL_LIBGCC, $(T)crtsavfpr$(objext), $(T)crtresfpr$(objext))
(($(T)crtsavgpr$(objext), $(T)crtresgpr$(objext),
$(T)crtresxfpr$(objext), $(T)crtresxgpr$(objext)): Remove.
* config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA)
(LIB2FUNCS_STATIC_EXTRA, eabi.S, tramp.S): Remove.
* config/rs6000/t-spe (LIBGCC, INSTALL_LIBGCC): Remove.
* config/rs6000/t-vxworks: Remove comment.
* config/rs6000/tramp.asm: Move to ../libgcc/config/rs6000/tramp.S.
* config/rx/t-rx (LIBGCC, INSTALL_LIBGCC): Remove.
* config/sh/linux-atomic.asm: Move to
../libgcc/config/sh/linux-atomic.S.
* config/sh/t-linux (LIB2FUNCS_EXTRA): Remove.
* config/sh/t-netbsd: Remove.
* config/sh/t-sh (TARGET_LIBGCC2_CFLAGS, LIBGCC, INSTALL_LIBGCC):
Remove.
* config/sparc/t-elf (LIBGCC, INSTALL_LIBGCC): Remove.
* config/sparc/t-leon: Likewise.
* config/sparc/t-leon3: Likewise.
* config/sparc/t-linux64: Likewise.
* config/sparc/t-netbsd64: Fix typo.
Remove comment.
* config/spu/divmodti4.c, config/spu/divv2df3.c,
config/spu/float_disf.c, config/spu/float_unsdidf.c,
config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
config/spu/mfc_multi_tag_release.c,
config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
config/spu/multi3.c: Move to ../libgcc/config/spu.
* config/spu/t-spu-elf (TARGET_LIBGCC2_CFLAGS, LIB2FUNCS_EXCLUDE)
(LIB2FUNCS_STATIC_EXTRA, LIB2_SIDITI_CONV_FUNCS, LIBGCC)
(INSTALL_LIBGCC): Remove.
* config/stormy16/stormy16-lib2.c: Move to
../libgcc/config/stormy16/lib2.c.
* config/stormy16/stormy16-lib2-ashlsi3.c: Move to
../libgcc/config/stormy16/ashlsi3.c.
* config/stormy16/stormy16-lib2-ashrsi3.c: Move to
../libgcc/config/stormy16/ashrsi3.c.
* config/stormy16/stormy16-lib2-clzhi2.c: Move to
../libgcc/config/stormy16/clzhi2.c.
* config/stormy16/stormy16-lib2-cmpsi2.c: Move to
../libgcc/config/stormy16/cmpsi2.c.
* config/stormy16/stormy16-lib2-ctzhi2.c: Move to
../libgcc/config/stormy16/ctzhi2.c.
* config/stormy16/stormy16-lib2-divsi3.c: Move to
../libgcc/config/stormy16/divsi3.c.
* config/stormy16/stormy16-lib2-ffshi2.c: Move to
../libgcc/config/stormy16/ffshi2.c.
* config/stormy16/stormy16-lib2-lshrsi3.c: Move to
../libgcc/config/stormy16/lshrsi3.c.
* config/stormy16/stormy16-lib2-modsi3.c: Move to
../libgcc/config/stormy16/modsi3.c.
* config/stormy16/stormy16-lib2-parityhi2.c: Move to
../libgcc/config/stormy16/parityhi2.c.
* config/stormy16/stormy16-lib2-popcounthi2.c: Move to
../libgcc/config/stormy16/popcounthi2.c.
* config/stormy16/stormy16-lib2-ucmpsi2.c: Move to
../libgcc/config/stormy16/ucmpsi2.c.
* config/stormy16/stormy16-lib2-udivmodsi4.c: Move to
../libgcc/config/stormy16/udivmodsi4.c.
* config/stormy16/stormy16-lib2-udivsi3.c: Move to
../libgcc/config/stormy16/udivsi3.c.
* config/stormy16/stormy16-lib2-umodsi3.c: Move to
../libgcc/config/stormy16/umodsi3.c.
* config/stormy16/t-stormy16: Move to ../libgcc/config/t-stormy16.
* config/v850/t-v850 (INSTALL_LIBGCC): Remove.
* config/xtensa/lib2funcs.S: Move to ../libgcc/config/xtensa.
* config/xtensa/t-elf: Remove.
* config/xtensa/t-xtensa (LIB2FUNCS_EXTRA): Remove.
* config.gcc (*-*-freebsd*): Remove t-freebsd, t-freebsd-thread
from tmake_file.
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
*-*-gnu*, *-*-kopensolaris*-gnu): Remove t-linux from tmake_file.
(*-*-netbsd*): Remove t-libgcc-pic from tmake_file.
(*-*-openbsd*): Likewise.
Remove t-openbsd-thread for posix threads.
(alpha*-*-linux*): Remove alpha/t-alpha, alpha/t-ieee
from tmake_file.
(alpha*-*-freebsd*): Likewise.
(alpha*-*-netbsd*): Likewise.
(alpha*-*-openbsd*): Likewise.
(alpha64-dec-*vms*): Likewise.
(alpha*-dec-*vms*): Likewise.
(arm*-*-netbsdelf*): Remove arm/t-netbsd from tmake_file.
(arm*-*-linux*): Remove t-linux from tmake_file.
Remove arm/t-bpabi from tmake_file for arm*-*-linux-*eabi.
(arm*-*-uclinux*): Remove arm/t-bpabi from tmake_file for
arm*-*-uclinux*eabi.
(arm*-*-eabi*, arm*-*-symbianelf* ): Remove arm/t-bpabi from
tmake_file for arm*-*-eabi*.
(fr30-*-elf): Remove tmake_file.
(hppa*64*-*-linux*): Remove tmake_file.
(hppa*-*-linux*): Likewise.
(hppa[12]*-*-hpux10*): Remove pa/t-pa-hpux10, pa/t-pa-hpux from
tmake_file.
(hppa*64*-*-hpux11*): Remove pa/t-pa64, pa/t-pa-hpux from tmake_file.
(hppa[12]*-*-hpux11*): Remove pa/t-pa-hpux11, pa/t-pa-hpux from
tmake_file.
(i[34567]86-*-elf*): Remove tmake_file.
(x86_64-*-elf*): Likewise.
(i[34567]86-*-nto-qnx*): Likewise.
(i[34567]86-*-cygwin*): Remove i386/t-cygwin from tmake_file.
(i[34567]86-*-mingw*, x86_64-*-mingw*): Remove i386/t-gthr-win32
from tmake_file if using win32 threads.
(iq2000*-*-elf*): Remove tmake-file.
(microblaze*-linux*): Likewise.
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
(sh64l*-*-netbsd*): Remove sh/t-netbsd from tmake_file for
sh5*-*-netbsd*, sh64*-netbsd*, *-*-netbsd.
(xtensa*-*-elf*): Remove tmake_file.
gcc/po:
* EXCLUDES (config/vxlib.c, gbl-ctors.h, libgcc2.c, libgcc2.h)
(longlong.h): Remove.
libgcc:
* configure.ac: Include ../config/picflag.m4.
(GCC_PICFLAG): Call it.
Substitute.
* configure: Regenerate.
* Makefile.in (gcc_srcdir): Remove.
(LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
(HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
(LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
Use $<.
Remove comment.
* libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
* siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
to refer to libgcc2.c.
Use $<.
* config/darwin-64.c: New file.
* config/darwin-crt3.c: Remove comment.
* config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
config/udivmodsi4.c: New files.
* config/memcmp.c, config/memcpy.c, config/memmove.c,
config/memset.c: New files.
* config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
* config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
* config/t-freebsd-thread, config/t-libgcc-pic: New files.
* config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
* config/t-openbsd-thread: New file.
* config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
* config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
* config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
* config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
qrnnd.S.
Adapt filename.
* config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
to refer to gthr-posix.c.
* config/alpha/t-vms (LIB2ADD): Set.
* config/alpha/vms-gcc_shell_handler.c: New file.
* config/arm/bpabi.c, config/arm/fp16.c,
config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
config/arm/unaligned-funcs.c: New files.
* config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
* config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
* config/arm/t-linux: Likewise.
* config/arm/t-linux-eabi (LIB2ADD_ST): Add.
* config/arm/t-netbsd: New file.
* config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
* config/arm/t-symbian (LIB2ADD_ST): Set.
* config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
* config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
* config/bfin/t-elf: New file.
* config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
config/c6x/ltf.c: New files.
* config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
(HOST_LIBGCC2_CFLAGS): Set.
* config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
(CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
* config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
New files.
* config/cris/t-elfmulti (LIB2ADD_ST): Set.
* config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
* config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
files.
* config/frv/t-frv (LIB2ADD): Set.
* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
* config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
config/h8300/popcounthi2.c: New files.
* config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
* config/i386/gthr-win32.c: New file.
* config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
* config/i386/t-cygwin: Likewise.
* config/i386/t-darwin, config/i386/t-darwin64,
config/i386/t-gthr-win32, config/i386/t-interix: New files.
* config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
(CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
* config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
* config/ia64/quadlib.c: New file.
* config/ia64/t-hpux (LIB2ADD): Set.
* config/ia64/t-ia64: Add comment.
* config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
* config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
(HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
* config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
* config/m32c/t-m32c (LIB2ADD): Set.
* config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
* config/m32r/t-m32r: Likewise.
* config/m68k/fpgnulib.c: New file.
* config/m68k/t-floatlib (LIB2ADD): Set.
(xfgnulib.c): New target.
* config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
* config/mep/lib2funcs.c, config/mep/tramp.c: New files.
* config/mep/t-mep (LIB2ADD): Set.
* config/microblaze/divsi3.asm: Rename to divsi3.S.
* config/microblaze/moddi3.asm: Rename to moddi3.S.
* config/microblaze/modsi3.asm: Rename to modsi3.S.
* config/microblaze/muldi3_hard.asm: Rename to hard.S.
* config/microblaze/mulsi3.asm: Rename to mulsi3.S.
* config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
* config/microblaze/udivsi3.asm: Rename to udivsi3.S.
* config/microblaze/umodsi3.asm: Rename to umodsi3.S.
* config/microblaze/t-microblaze (LIB2ADD): Reflect this.
* config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
New files.
* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
* config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
* config/pa/fptr.c, config/pa/lib2funcs.S,
config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
* config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
(LIB2ADD, LIB2ADD_ST): Set.
* config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
* config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
Set.
* config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
* config/pdp11/t-pdp11: New file.
* config/picochip/libgccExtras/adddi3.S,
config/picochip/libgccExtras/ashlsi3.S,
config/picochip/libgccExtras/ashrsi3.S,
config/picochip/libgccExtras/clzsi2.S,
config/picochip/libgccExtras/cmpsi2.S,
config/picochip/libgccExtras/divmod15.S,
config/picochip/libgccExtras/divmodhi4.S,
config/picochip/libgccExtras/divmodsi4.S,
config/picochip/libgccExtras/lshrsi3.S,
config/picochip/libgccExtras/parityhi2.S,
config/picochip/libgccExtras/popcounthi2.S,
config/picochip/libgccExtras/subdi3.S,
config/picochip/libgccExtras/ucmpsi2.S,
config/picochip/libgccExtras/udivmodhi4.S,
config/picochip/libgccExtras/udivmodsi4.S: New files.
* config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
(LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
* config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
files.
* config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
(HOST_LIBGCC2_CFLAGS): Set.
* config/rs6000/t-darwin64: New file.
* config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
* config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
* config/rs6000/t-ppccomm (LIB2ADD): Add
$(srcdir)/config/rs6000/tramp.S.
(LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
Add $(srcdir)/config/rs6000/eabi.S.
(crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
(crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
(e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
(e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
(e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
(e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
* config/rs6000/tramp.S: New file.
* config/s390/t-tpf: Remove.
* config/sh/linux-atomic.S: New file.
* config/sh/t-linux (LIB2ADD): Set.
(HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
* config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
* config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
to unwind-dw2.c.
(HOST_LIBGCC2_CFLAGS): Set.
* config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
* config/spu/divmodti4.c, config/spu/divv2df3.c,
config/spu/float_disf.c, config/spu/float_unsdidf.c,
config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
config/spu/mfc_multi_tag_release.c,
config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
config/spu/multi3.c: New files.
* config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
(HOST_LIBGCC2_CFLAGS): Set.
* config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
config/stormy16/ffshi2.c, config/stormy16/lib2.c,
config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
config/stormy16/umodsi3.c: New files.
* config/xtensa/lib2funcs.S: New file.
* config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
* config/xtensa/t-xtensa (LIB2ADD): Set.
* config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
(*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
Add t-freebsd-thread to tmake_file for posix threads.
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
(*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
(*-*-lynxos*): Likewise.
(*-*-netbsd*): Likewise.
(*-*-openbsd*): Likewise.
Add t-openbsd-thread to tmake_file for posix threads.
(*-*-solaris2*): Add t-libgcc-pic to tmake_file.
(*-*-vxworks*): Set tmake_file.
(alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
(alpha*-*-freebsd*): Likewise.
(alpha*-*-netbsd*): Likewise.
(alpha*-*-openbsd*): Likewise.
(alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
(alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
(alpha*-dec-*vms*): Likewise.
(arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
(bfin*-elf*): Add bfin/t-elf to tmake_file.
(bfin*-uclinux*): Likewise.
(bfin*-linux-uclibc*): Likewise.
(crisv32-*-elf): Add cris/t-cris to tmake_file.
(crisv32-*-none): Likewise.
(cris-*-elf): Likewise.
(cris-*-none): Likewise.
(cris-*-linux*, crisv32-*-linux*): Likewise.
(hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
tmake_file.
(hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
tmake_file.
(hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
(i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
(x86_64-*-elf*): Likewise.
(i[34567]86-*-nto-qnx*): Likewise.
(i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
win32 threads.
(x86_64-*-mingw*): Likewise.
(i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
(lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
tmake_file.
(mipsisa64sr71k-*-elf*): Likewise.
(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
(mips-*-elf*, mipsel-*-elf*): Likewise.
(mips64-*-elf*, mips64el-*-elf*): Likewise.
(mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
(mips*-*-rtems*): Likewise.
(mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
to tmake_file.
(pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
(powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
(s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
(spu-*-elf*): Likewise.
(tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
libquadmath:
* printf/gmp-impl.h: Adapt path to longlong.h.
From-SVN: r180774
2011-11-02 16:23:48 +01:00
|
|
|
|
2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Include ../config/picflag.m4.
|
|
|
|
|
(GCC_PICFLAG): Call it.
|
|
|
|
|
Substitute.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in (gcc_srcdir): Remove.
|
|
|
|
|
(LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
|
|
|
|
|
(HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
|
|
|
|
|
(LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
|
|
|
|
|
($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
|
|
|
|
|
($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
|
|
|
|
|
Use $<.
|
|
|
|
|
Remove comment.
|
|
|
|
|
* libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
|
|
|
|
|
* siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
|
|
|
|
|
to refer to libgcc2.c.
|
|
|
|
|
Use $<.
|
|
|
|
|
* config/darwin-64.c: New file.
|
|
|
|
|
* config/darwin-crt3.c: Remove comment.
|
|
|
|
|
* config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
|
|
|
|
|
config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
|
|
|
|
|
config/udivmodsi4.c: New files.
|
|
|
|
|
* config/memcmp.c, config/memcpy.c, config/memmove.c,
|
|
|
|
|
config/memset.c: New files.
|
|
|
|
|
* config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
|
|
|
|
|
* config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/t-freebsd-thread, config/t-libgcc-pic: New files.
|
|
|
|
|
* config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/t-openbsd-thread: New file.
|
|
|
|
|
* config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
|
|
|
|
|
* config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
|
|
|
|
|
* config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
|
|
|
|
|
* config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
|
|
|
|
|
qrnnd.S.
|
|
|
|
|
Adapt filename.
|
|
|
|
|
* config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
|
|
|
|
|
to refer to gthr-posix.c.
|
|
|
|
|
* config/alpha/t-vms (LIB2ADD): Set.
|
|
|
|
|
* config/alpha/vms-gcc_shell_handler.c: New file.
|
|
|
|
|
* config/arm/bpabi.c, config/arm/fp16.c,
|
|
|
|
|
config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
|
|
|
|
|
config/arm/unaligned-funcs.c: New files.
|
|
|
|
|
* config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
|
|
|
|
|
* config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/arm/t-linux: Likewise.
|
|
|
|
|
* config/arm/t-linux-eabi (LIB2ADD_ST): Add.
|
|
|
|
|
* config/arm/t-netbsd: New file.
|
|
|
|
|
* config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/arm/t-symbian (LIB2ADD_ST): Set.
|
|
|
|
|
* config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
|
|
|
|
|
* config/bfin/t-elf: New file.
|
|
|
|
|
* config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
|
|
|
|
|
config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
|
|
|
|
|
config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
|
|
|
|
|
config/c6x/ltf.c: New files.
|
|
|
|
|
* config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
|
|
|
|
|
(HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
(CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
|
|
|
|
|
* config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
|
|
|
|
|
New files.
|
|
|
|
|
* config/cris/t-elfmulti (LIB2ADD_ST): Set.
|
|
|
|
|
* config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
|
|
|
|
|
* config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
|
|
|
|
|
config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
|
|
|
|
|
config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
|
|
|
|
|
files.
|
|
|
|
|
* config/frv/t-frv (LIB2ADD): Set.
|
|
|
|
|
* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
|
|
|
|
|
* config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
|
|
|
|
|
config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
|
|
|
|
|
config/h8300/popcounthi2.c: New files.
|
|
|
|
|
* config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/i386/gthr-win32.c: New file.
|
|
|
|
|
* config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
|
|
|
|
|
* config/i386/t-cygwin: Likewise.
|
|
|
|
|
* config/i386/t-darwin, config/i386/t-darwin64,
|
|
|
|
|
config/i386/t-gthr-win32, config/i386/t-interix: New files.
|
|
|
|
|
* config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
(CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
|
|
|
|
|
* config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
|
|
|
|
|
* config/ia64/quadlib.c: New file.
|
|
|
|
|
* config/ia64/t-hpux (LIB2ADD): Set.
|
|
|
|
|
* config/ia64/t-ia64: Add comment.
|
|
|
|
|
* config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
|
|
|
|
|
* config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
|
|
|
|
|
(HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
|
|
|
|
|
* config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
|
|
|
|
|
* config/m32c/t-m32c (LIB2ADD): Set.
|
|
|
|
|
* config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/m32r/t-m32r: Likewise.
|
|
|
|
|
* config/m68k/fpgnulib.c: New file.
|
|
|
|
|
* config/m68k/t-floatlib (LIB2ADD): Set.
|
|
|
|
|
(xfgnulib.c): New target.
|
|
|
|
|
* config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/mep/lib2funcs.c, config/mep/tramp.c: New files.
|
|
|
|
|
* config/mep/t-mep (LIB2ADD): Set.
|
|
|
|
|
* config/microblaze/divsi3.asm: Rename to divsi3.S.
|
|
|
|
|
* config/microblaze/moddi3.asm: Rename to moddi3.S.
|
|
|
|
|
* config/microblaze/modsi3.asm: Rename to modsi3.S.
|
|
|
|
|
* config/microblaze/muldi3_hard.asm: Rename to hard.S.
|
|
|
|
|
* config/microblaze/mulsi3.asm: Rename to mulsi3.S.
|
|
|
|
|
* config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
|
|
|
|
|
* config/microblaze/udivsi3.asm: Rename to udivsi3.S.
|
|
|
|
|
* config/microblaze/umodsi3.asm: Rename to umodsi3.S.
|
|
|
|
|
* config/microblaze/t-microblaze (LIB2ADD): Reflect this.
|
|
|
|
|
* config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
|
|
|
|
|
New files.
|
|
|
|
|
* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
|
|
|
|
|
* config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/pa/fptr.c, config/pa/lib2funcs.S,
|
|
|
|
|
config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
|
|
|
|
|
* config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
(LIB2ADD, LIB2ADD_ST): Set.
|
|
|
|
|
* config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
|
|
|
|
|
* config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
|
|
|
|
|
Set.
|
|
|
|
|
* config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/pdp11/t-pdp11: New file.
|
|
|
|
|
* config/picochip/libgccExtras/adddi3.S,
|
|
|
|
|
config/picochip/libgccExtras/ashlsi3.S,
|
|
|
|
|
config/picochip/libgccExtras/ashrsi3.S,
|
|
|
|
|
config/picochip/libgccExtras/clzsi2.S,
|
|
|
|
|
config/picochip/libgccExtras/cmpsi2.S,
|
|
|
|
|
config/picochip/libgccExtras/divmod15.S,
|
|
|
|
|
config/picochip/libgccExtras/divmodhi4.S,
|
|
|
|
|
config/picochip/libgccExtras/divmodsi4.S,
|
|
|
|
|
config/picochip/libgccExtras/lshrsi3.S,
|
|
|
|
|
config/picochip/libgccExtras/parityhi2.S,
|
|
|
|
|
config/picochip/libgccExtras/popcounthi2.S,
|
|
|
|
|
config/picochip/libgccExtras/subdi3.S,
|
|
|
|
|
config/picochip/libgccExtras/ucmpsi2.S,
|
|
|
|
|
config/picochip/libgccExtras/udivmodhi4.S,
|
|
|
|
|
config/picochip/libgccExtras/udivmodsi4.S: New files.
|
|
|
|
|
* config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
|
|
|
|
|
(LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
|
|
|
|
|
* config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
|
|
|
|
|
config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
|
|
|
|
|
config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
|
|
|
|
|
config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
|
|
|
|
|
config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
|
|
|
|
|
config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
|
|
|
|
|
files.
|
|
|
|
|
* config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
|
|
|
|
|
(HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/rs6000/t-darwin64: New file.
|
|
|
|
|
* config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
|
|
|
|
|
* config/rs6000/t-ppccomm (LIB2ADD): Add
|
|
|
|
|
$(srcdir)/config/rs6000/tramp.S.
|
|
|
|
|
(LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
|
|
|
|
|
Add $(srcdir)/config/rs6000/eabi.S.
|
|
|
|
|
(crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
|
|
|
|
|
(crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
|
|
|
|
|
(e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
|
|
|
|
|
(e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
|
|
|
|
|
(e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
|
|
|
|
|
(e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
|
|
|
|
|
* config/rs6000/tramp.S: New file.
|
|
|
|
|
* config/s390/t-tpf: Remove.
|
|
|
|
|
* config/sh/linux-atomic.S: New file.
|
|
|
|
|
* config/sh/t-linux (LIB2ADD): Set.
|
|
|
|
|
(HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
|
|
|
|
|
* config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
|
|
|
|
|
to unwind-dw2.c.
|
|
|
|
|
(HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
|
|
|
|
|
* config/spu/divmodti4.c, config/spu/divv2df3.c,
|
|
|
|
|
config/spu/float_disf.c, config/spu/float_unsdidf.c,
|
|
|
|
|
config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
|
|
|
|
|
config/spu/mfc_multi_tag_release.c,
|
|
|
|
|
config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
|
|
|
|
|
config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
|
|
|
|
|
config/spu/multi3.c: New files.
|
|
|
|
|
* config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
|
|
|
|
|
(HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
|
|
|
|
|
config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
|
|
|
|
|
config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
|
|
|
|
|
config/stormy16/ffshi2.c, config/stormy16/lib2.c,
|
|
|
|
|
config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
|
|
|
|
|
config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
|
|
|
|
|
config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
|
|
|
|
|
config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
|
|
|
|
|
config/stormy16/umodsi3.c: New files.
|
|
|
|
|
* config/xtensa/lib2funcs.S: New file.
|
|
|
|
|
* config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
|
|
|
|
|
* config/xtensa/t-xtensa (LIB2ADD): Set.
|
|
|
|
|
* config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
|
|
|
|
|
(*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
|
|
|
|
|
Add t-freebsd-thread to tmake_file for posix threads.
|
|
|
|
|
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
|
|
|
|
|
(*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
|
|
|
|
|
(*-*-lynxos*): Likewise.
|
|
|
|
|
(*-*-netbsd*): Likewise.
|
|
|
|
|
(*-*-openbsd*): Likewise.
|
|
|
|
|
Add t-openbsd-thread to tmake_file for posix threads.
|
|
|
|
|
(*-*-solaris2*): Add t-libgcc-pic to tmake_file.
|
|
|
|
|
(*-*-vxworks*): Set tmake_file.
|
|
|
|
|
(alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
|
|
|
|
|
(alpha*-*-freebsd*): Likewise.
|
|
|
|
|
(alpha*-*-netbsd*): Likewise.
|
|
|
|
|
(alpha*-*-openbsd*): Likewise.
|
|
|
|
|
(alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
|
|
|
|
|
(alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
|
|
|
|
|
(alpha*-dec-*vms*): Likewise.
|
|
|
|
|
(arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
|
|
|
|
|
(bfin*-elf*): Add bfin/t-elf to tmake_file.
|
|
|
|
|
(bfin*-uclinux*): Likewise.
|
|
|
|
|
(bfin*-linux-uclibc*): Likewise.
|
|
|
|
|
(crisv32-*-elf): Add cris/t-cris to tmake_file.
|
|
|
|
|
(crisv32-*-none): Likewise.
|
|
|
|
|
(cris-*-elf): Likewise.
|
|
|
|
|
(cris-*-none): Likewise.
|
|
|
|
|
(cris-*-linux*, crisv32-*-linux*): Likewise.
|
|
|
|
|
(hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
|
|
|
|
|
(i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
|
|
|
|
|
(x86_64-*-elf*): Likewise.
|
|
|
|
|
(i[34567]86-*-nto-qnx*): Likewise.
|
|
|
|
|
(i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
|
|
|
|
|
win32 threads.
|
|
|
|
|
(x86_64-*-mingw*): Likewise.
|
|
|
|
|
(i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
|
|
|
|
|
(lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
|
|
|
|
|
(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
|
|
|
|
|
(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
|
|
|
|
|
(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(mipsisa64sr71k-*-elf*): Likewise.
|
|
|
|
|
(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
|
|
|
|
|
(mips-*-elf*, mipsel-*-elf*): Likewise.
|
|
|
|
|
(mips64-*-elf*, mips64el-*-elf*): Likewise.
|
|
|
|
|
(mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
|
|
|
|
|
(mips*-*-rtems*): Likewise.
|
|
|
|
|
(mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
|
|
|
|
|
to tmake_file.
|
|
|
|
|
(pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
|
|
|
|
|
(powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
|
|
|
|
|
(s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
|
|
|
|
|
(spu-*-elf*): Likewise.
|
|
|
|
|
(tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
|
|
|
|
|
|
Move libgcc1 to toplevel libgcc
gcc:
* Makefile.in (LIB1ASMSRC): Don't export.
(libgcc.mvars): Don't emit LIB1ASMFUNCS, LIB1ASMSRC.
* config/arm/arm.c: Update lib1funcs.asm filename.
* config/arm/linux-eabi.h: Likewise.
* config/arm/bpabi-v6m.S, config/arm/bpabi.S,
config/arm/ieee754-df.S, config/arm/ieee754-sf.S: Move to
../libgcc/config/arm.
* config/arm/lib1funcs.asm: Move to ../libgcc/config/arm/lib1funcs.S.
* config/arm/t-arm (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/arm/t-arm-elf (LIB1ASMFUNCS): Remove.
* config/arm/t-bpabi: Likewise.
* config/arm/t-linux (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/arm/t-linux-eabi (LIB1ASMFUNCS): Remove.
* config/arm/t-strongarm-elf: Likewise.
* config/arm/t-symbian: Likewise.
* config/arm/t-vxworks: Likewise.
* config/arm/t-wince-pe: Likewise.
* config/avr/libgcc.S: Move to ../libgcc/config/avr.
* config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/bfin/lib1funcs.asm: Move to
../libgcc/config/bfin/lib1funcs.S.
* config/bfin/t-bfin: Remove.
* config/bfin/t-bfin-elf (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/bfin/t-bfin-linux: Likewise.
* config/bfin/t-bfin-uclinux: Likewise.
* config/c6x/lib1funcs.asm: Move to
../libgcc/config/c6x/lib1funcs.S.
* config/c6x/t-c6x-elf (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/fr30/lib1funcs.asm: Move to
../libgcc/config/fr30/lib1funcs.S.
* config/fr30/t-fr30 (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/frv/lib1funcs.asm: Move to
../libgcc/config/frv/lib1funcs.S.
* config/frv/t-frv (CROSS_LIBGCC1, LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/h8300/fixunssfsi.c: Update lib1funcs.asm filename.
* config/h8300/lib1funcs.asm: Move to
../libgcc/config/h8300/lib1funcs.S.
* config/h8300/t-h8300 (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/i386/cygwin.asm: Move to ../libgcc/config/i386/cygwin.S.
* config/i386/t-cygming (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/i386/t-interix: Likewise.
* config/ia64/lib1funcs.asm: Move to
../libgcc/config/ia64/lib1funcs.S.
* config/ia64/t-hpux (LIB1ASMFUNCS, LIBGCC1_TEST): Remove.
* config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/iq2000/t-iq2000 (LIBGCC1, CROSS_LIBGCC1): Remove.
* config/m32c/m32c.c: Update m32c-lib1.S filename.
* config/m32c/m32c-lib1.S: Move to ../libgcc/config/m32c/lib1funcs.S.
* config/m32c/t-m32c (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/m32r/t-linux (CROSS_LIBGCC1, LIBGCC1, LIBGCC1_TEST): Remove.
* config/m68k/lb1sf68.asm: Move to ../libgcc/config/m68k/lb1sf68.S.
* config/m68k/t-floatlib (LIB1ASMSRC, LIB1ASMFUNCS): New file.
* config/mcore/lib1.asm: Move to ../libgcc/config/mcore/lib1funcs.S.
* config/mcore/t-mcore (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/mep/mep-lib1.asm: Move to ../libgcc/config/mep/lib1funcs.S.
* config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/mips/mips16.S: Move to ../libgcc/config/mips.
* config/mips/t-libgcc-mips16: Remove.
* config/mips/t-sr71k (LIBGCC1, CROSS_LIBGCC1): Remove.
* config/pa/milli64.S: Move to ../libgcc/config/pa.
* config/pa/t-linux (LIB1ASMFUNCS, LIB1ASMSRC): Remove.
* config/pa/t-linux64: Likewise.
* config/picochip/libgccExtras/fake_libgcc.asm: Move to
../libgcc/config/picochip/lib1funcs.S.
* config/picochip/t-picochip (LIB1ASMFUNCS, LIB1ASMSRC): Remove.
* config/sh/lib1funcs.asm: Move to ../libgcc/config/sh/lib1funcs.S.
* config/sh/lib1funcs.h: Move to ../libgcc/config/sh.
* config/sh/sh.h: Update lib1funcs.asm filename.
* config/sh/t-linux (LIB1ASMFUNCS_CACHE): Remove.
* config/sh/t-netbsd: Likewise.
* config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE):
Remove.
* config/sh/t-sh64 (LIB1ASMFUNCS): Remove.
* config/sparc/lb1spc.asm: Move to ../libgcc/config/sparc/lb1spc.S.
* config/sparc/lb1spl.asm: Remove.
* config/sparc/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config/sparc/t-leon: Likewise.
* config/spu/t-spu-elf (LIBGCC1, CROSS_LIBGCC1): Remove.
* config/v850/lib1funcs.asm: Move to ../libgcc/config/v850/lib1funcs.S.
* config/v850/t-v850 (LIB1ASMSRC, LIB1ASMFUNCS): Remove
* config/vax/lib1funcs.asm: Move to ../libgcc/config/vax/lib1funcs.S.
* config/vax/t-linux: Remove.
* config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S: Move to
../libgcc/config/xtensa.
* config/xtensa/lib1funcs.asm: Move to
../libgcc/config/xtensa/lib1funcs.S.
* config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
* config.gcc (bfin*-rtems*): Remove bfin/t-bfin from tmake_file.
(bfin*-*): Likewise.
(mips64*-*-linux*, mipsisa64*-*-linux*): Remove
mips/t-libgcc-mips16 from tmake_file.
(mips*-*-linux*): Likewise.
(mips*-sde-elf*): Likewise.
(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Likewise.
(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
(mips-*-elf*, mipsel-*-elf*): Likewise.
(mips64-*-elf*, mips64el-*-elf*): Likewise.
(mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
(mips*-*-rtems*): Likewise.
(mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
(vax-*-linux*): Remove vax/t-linux from tmake_file.
libgcc:
* Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
$(srcdir) to refer to $(LIB1ASMSRC).
Use $<.
* config/arm/bpabi-v6m.S, config/arm/bpabi.S,
config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
config/arm/lib1funcs.S: New files.
* config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
* config/arm/t-arm: New file.
* config/arm/t-bpabi (LIB1ASMFUNCS): Set.
* config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
config/arm/t-strongarm-elf: New files.
* config/arm/t-symbian (LIB1ASMFUNCS): Set.
* config/arm/t-vxworks, config/arm/t-wince-pe: New files.
* config/avr/lib1funcs.S: New file.
* config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
* config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
* config/c6x/lib1funcs.S: New file.
* config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
* config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
* config/frv/lib1funcs.S: New file.
* config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
* config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
* config/i386/cygwin.S, config/i386/t-chkstk: New files.
* config/ia64/__divxf3.asm: Rename to ...
* config/ia64/__divxf3.S: ... this.
Adapt lib1funcs.asm filename.
* config/ia64/_fixtfdi.asm: Rename to ...
* config/ia64/_fixtfdi.S: ... this.
Adapt lib1funcs.asm filename.
* config/ia64/_fixunstfdi.asm: Rename to ...
* config/ia64/_fixunstfdi.S: ... this.
Adapt lib1funcs.asm filename.
* config/ia64/_floatditf.asm: Rename to ...
* config/ia64/_floatditf.S: ... this.
Adapt lib1funcs.asm filename.
* config/ia64/lib1funcs.S: New file.
* config/ia64/t-hpux (LIB1ASMFUNCS): Set.
* config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
* config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
* config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
* config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
* config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
* config/mep/lib1funcs.S: New file.
* config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
* config/mips/mips16.S: New file.
* config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
* config/pa/milli64.S: New file.
* config/pa/t-linux, config/pa/t-linux64: New files.
* config/picochip/lib1funcs.S: New file.
* config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
* config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
* config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
* config/sh/t-netbsd: New file.
* config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
Use $(srcdir) to refer to lib1funcs.S, adapt filename.
* config/sh/t-sh64: New file.
* config/sparc/lb1spc.S: New file.
* config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
filename.
* config/v850/lib1funcs.S, config/v850/t-v850: New files.
* config/vax/lib1funcs.S, config/vax/t-linux: New files.
* config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
config/xtensa/lib1funcs.S: New files.
* config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
* config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
tmake_file.
(arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
(arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
(arm*-*-linux*): Likewise.
Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
arm*-*-linux-*eabi, add arm/t-linux otherwise.
(arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
(arm*-*-ecos-elf): Likewise.
(arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
(arm*-*-rtems*): Likewise.
(arm*-*-elf): Likewise.
(arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
(avr-*-rtems*): Add to tmake_file, add avr/t-avr.
(bfin*-elf*): Add bfin/t-bfin to tmake_file.
(bfin*-uclinux*): Likewise.
(bfin*-linux-uclibc*): Likewise.
(bfin*-rtems*): Likewise.
(bfin*-*): Likewise.
(fido-*-elf): Merge into m68k-*-elf*.
(fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
(frv-*-*linux*): Add frv/t-frv to tmake_file.
(h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
(h8300-*-elf*): Likewise.
(hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
(hppa*-*-linux*): Add pa/t-linux to tmake_file.
(i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
(i[34567]86-*-mingw*): Likewise.
(x86_64-*-mingw*): Likewise.
(i[34567]86-*-interix3*): Likewise.
(ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
(ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
(m68k-*-elf*): Also handle fido-*-elf.
Add m68k/t-floatlib to tmake_file.
(m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
(m68k-*-linux*): Likewise.
(m68k-*-rtems*): Likewise.
(mcore-*-elf): Add mcore/t-mcore to tmake_file.
(sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
sh64*-*-*.
(sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
(sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
(sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
sh/t-netbsd to tmake_file.
Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
(sh-*-rtems*): Add sh/t-sh to tmake_file.
(sh-wrs-vxworks): Likewise.
(sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
*-leon[3-9]*.
(v850*-*-*): Add v850/t-v850 to tmake_file.
(vax-*-linux*): Add vax/t-linux to tmake_file.
(m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
From-SVN: r180773
2011-11-02 16:03:19 +01:00
|
|
|
|
2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
|
|
|
|
|
$(srcdir) to refer to $(LIB1ASMSRC).
|
|
|
|
|
Use $<.
|
|
|
|
|
* config/arm/bpabi-v6m.S, config/arm/bpabi.S,
|
|
|
|
|
config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
|
|
|
|
|
config/arm/lib1funcs.S: New files.
|
|
|
|
|
* config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
|
|
|
|
|
* config/arm/t-arm: New file.
|
|
|
|
|
* config/arm/t-bpabi (LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
|
|
|
|
|
config/arm/t-strongarm-elf: New files.
|
|
|
|
|
* config/arm/t-symbian (LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/arm/t-vxworks, config/arm/t-wince-pe: New files.
|
|
|
|
|
* config/avr/lib1funcs.S: New file.
|
|
|
|
|
* config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
|
|
|
|
|
* config/c6x/lib1funcs.S: New file.
|
|
|
|
|
* config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
|
|
|
|
|
* config/frv/lib1funcs.S: New file.
|
|
|
|
|
* config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
|
|
|
|
|
* config/i386/cygwin.S, config/i386/t-chkstk: New files.
|
|
|
|
|
* config/ia64/__divxf3.asm: Rename to ...
|
|
|
|
|
* config/ia64/__divxf3.S: ... this.
|
|
|
|
|
Adapt lib1funcs.asm filename.
|
|
|
|
|
* config/ia64/_fixtfdi.asm: Rename to ...
|
|
|
|
|
* config/ia64/_fixtfdi.S: ... this.
|
|
|
|
|
Adapt lib1funcs.asm filename.
|
|
|
|
|
* config/ia64/_fixunstfdi.asm: Rename to ...
|
|
|
|
|
* config/ia64/_fixunstfdi.S: ... this.
|
|
|
|
|
Adapt lib1funcs.asm filename.
|
|
|
|
|
* config/ia64/_floatditf.asm: Rename to ...
|
|
|
|
|
* config/ia64/_floatditf.S: ... this.
|
|
|
|
|
Adapt lib1funcs.asm filename.
|
|
|
|
|
* config/ia64/lib1funcs.S: New file.
|
|
|
|
|
* config/ia64/t-hpux (LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
|
|
|
|
|
* config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
|
|
|
|
|
* config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
|
|
|
|
|
* config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
|
|
|
|
|
* config/mep/lib1funcs.S: New file.
|
|
|
|
|
* config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/mips/mips16.S: New file.
|
|
|
|
|
* config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/pa/milli64.S: New file.
|
|
|
|
|
* config/pa/t-linux, config/pa/t-linux64: New files.
|
|
|
|
|
* config/picochip/lib1funcs.S: New file.
|
|
|
|
|
* config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
|
|
|
|
|
* config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
|
|
|
|
|
* config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
|
|
|
|
|
* config/sh/t-netbsd: New file.
|
|
|
|
|
* config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
|
|
|
|
|
Use $(srcdir) to refer to lib1funcs.S, adapt filename.
|
|
|
|
|
* config/sh/t-sh64: New file.
|
|
|
|
|
* config/sparc/lb1spc.S: New file.
|
|
|
|
|
* config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
|
|
|
|
|
filename.
|
|
|
|
|
* config/v850/lib1funcs.S, config/v850/t-v850: New files.
|
|
|
|
|
* config/vax/lib1funcs.S, config/vax/t-linux: New files.
|
|
|
|
|
* config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
|
|
|
|
|
config/xtensa/lib1funcs.S: New files.
|
|
|
|
|
* config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
|
|
|
|
|
* config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
|
|
|
|
|
(arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
|
|
|
|
|
(arm*-*-linux*): Likewise.
|
|
|
|
|
Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
|
|
|
|
|
arm*-*-linux-*eabi, add arm/t-linux otherwise.
|
|
|
|
|
(arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
|
|
|
|
|
(arm*-*-ecos-elf): Likewise.
|
|
|
|
|
(arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
|
|
|
|
|
(arm*-*-rtems*): Likewise.
|
|
|
|
|
(arm*-*-elf): Likewise.
|
|
|
|
|
(arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
|
|
|
|
|
(avr-*-rtems*): Add to tmake_file, add avr/t-avr.
|
|
|
|
|
(bfin*-elf*): Add bfin/t-bfin to tmake_file.
|
|
|
|
|
(bfin*-uclinux*): Likewise.
|
|
|
|
|
(bfin*-linux-uclibc*): Likewise.
|
|
|
|
|
(bfin*-rtems*): Likewise.
|
|
|
|
|
(bfin*-*): Likewise.
|
|
|
|
|
(fido-*-elf): Merge into m68k-*-elf*.
|
|
|
|
|
(fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
|
|
|
|
|
(frv-*-*linux*): Add frv/t-frv to tmake_file.
|
|
|
|
|
(h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
|
|
|
|
|
(h8300-*-elf*): Likewise.
|
|
|
|
|
(hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
|
|
|
|
|
(hppa*-*-linux*): Add pa/t-linux to tmake_file.
|
|
|
|
|
(i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
|
|
|
|
|
(i[34567]86-*-mingw*): Likewise.
|
|
|
|
|
(x86_64-*-mingw*): Likewise.
|
|
|
|
|
(i[34567]86-*-interix3*): Likewise.
|
|
|
|
|
(ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
|
|
|
|
|
(ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
|
|
|
|
|
(m68k-*-elf*): Also handle fido-*-elf.
|
|
|
|
|
Add m68k/t-floatlib to tmake_file.
|
|
|
|
|
(m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
|
|
|
|
|
(m68k-*-linux*): Likewise.
|
|
|
|
|
(m68k-*-rtems*): Likewise.
|
|
|
|
|
(mcore-*-elf): Add mcore/t-mcore to tmake_file.
|
|
|
|
|
(sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
|
|
|
|
|
sh64*-*-*.
|
|
|
|
|
(sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
|
|
|
|
|
Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
|
|
|
|
|
(sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
|
|
|
|
|
(sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
|
|
|
|
|
sh/t-netbsd to tmake_file.
|
|
|
|
|
Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
|
|
|
|
|
(sh-*-rtems*): Add sh/t-sh to tmake_file.
|
|
|
|
|
(sh-wrs-vxworks): Likewise.
|
|
|
|
|
(sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
|
|
|
|
|
*-leon[3-9]*.
|
|
|
|
|
(v850*-*-*): Add v850/t-v850 to tmake_file.
|
|
|
|
|
(vax-*-linux*): Add vax/t-linux to tmake_file.
|
|
|
|
|
(m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
|
|
|
|
|
|
Move crtstuff support to toplevel libgcc
gcc:
* config.gcc (extra_parts): Remove.
(*-*-freebsd*): Remove extra_parts.
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
*-*-gnu*, *-*-kopensolaris*-gnu): Likewise.
(*-*-netbsd*): Remove t-libc-ok, t-netbsd from tmake_file.
Remove extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
*-*-netbsdelf[2-9]*.
(*-*-openbsd*): Remove t-libc-ok from tmake_file.
(alpha*-*-linux*): Remove extra_parts.
(alpha*-*-freebsd*): Likewise.
(bfin*-linux-uclibc*): Likewise.
(fr30-*-elf): Likewise.
(moxie-*-elf): Likewise.
(moxie-*-uclinux*): Likewise.
(h8300-*-rtems*): Remove h8300/t-elf from tmake_file.
(h8300-*-elf*): Likewise.
(hppa*64*-*-hpux11*): Remove extra_parts.
(i[34567]86-*-elf*): Remove i386/t-i386elf, i386/t-crtstuff from
tmake_file.
(x86_64-*-elf*): Likewise.
(i[34567]86-*-freebsd*): Remove tmake_file.
(x86_64-*-freebsd*): Likewise.
(x86_64-*-netbsd*): Likewise.
(i[34567]86-*-openbsd2.*, i[34567]86-*openbsd3.[0123]): Remove
t-libc-ok from tmake_file.
(i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu,
i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*,
i[34567]86-*-kopensolaris*-gnu): Remove i386/t-crtstuff from tmake_file.
Remove extra_parts.
(x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
Remove i386/t-crtstuff from tmake_file.
(i[34567]86-*-lynxos*): Likewise.
Remove extra_parts.
(ia64*-*-elf*): Remove extra_parts.
(ia64*-*-freebsd*): Likewise.
(ia64*-*-linux*): Likewise.
(ia64-hp-*vms*): Remove ia64/t-vms from tmake_file.
(m32r-*-elf*): Remove extra_parts.
(m32rle-*-elf*): Likewise.
(m32r-*-rtems*): Likewise.
(m68k-*-elf*, fido-*-elf*): Likewise.
(m68k*-*-openbsd*): Remove t-libc-ok from tmake_file.
(m68k-*-rtems*): Remove extra_parts.
(mep-*-*): Likewise.
(microblaze*-linux*): Likewise.
(mips64*-*-linux*, mipsisa64*-*-linux*): Likewise.
(mips*-*-linux*): Likewise.
(powerpc-*-lynxos*): Likewise.
(s390x-ibm-tpf*): Likewise.
(score-*-elf): Likewise.
Remove tmake_file.
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*, sh[2346lbe]*-*-linux*,
sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*, sh5l*-*-netbsd*,
sh64-*-netbsd*, sh64l*-*-netbsd*): Remove sh/t-elf from tmake_file.
Remove sh/t-superh from tmake_file for sh*-superh-elf.
Remove sh/t-linux64 from tmake_file for sh64*-*-linux*.
(sh-*-rtems*): Remove sh/t-elf from tmake_file.
(sh-wrs-vxworks): Likewise.
(sparc-*-linux*): Remove extra_parts.
(sparc64-*-linux*): Likewise.
(sparc64-*-freebsd*, ultrasparc-*-freebsd*): Likewise.
(xstormy16-*-elf): Likewise.
(xtensa*-*-linux*): Remove xtensa/t-linux from tmake_file.
(am33_2.0-*-linux*): Remove extra_parts.
* configure.ac (extra_parts): Don't substitute.
* configure: Regenerate.
* crtstuff.c: Move to ../libgcc.
* Makefile.in (CRTSTUFF_CFLAGS): Remove.
(EXTRA_PARTS): Remove.
(CRTSTUFF_T_CFLAGS): Remove.
(MOSTLYCLEANFILES): Remove $(EXTRA_PARTS).
(GCC_EXTRA_PARTS): Remove.
(libgcc.mvars): Remove GCC_EXTRA_PARTS, CRTSTUFF_CFLAGS,
CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S.
Emit GCC_CFLAGS, INHIBIT_LIBC_CFLAGS.
($(T)crtbegin.o, $(T)crtend.o, $(T)crtbeginS.o, $(T)crtendS.o)
($(T)crtbeginT.o): Remove.
* config/alpha/t-vms (EXTRA_PARTS): Remove.
($(T)vms-dwarf2.o, $(T)vms-dwarf2eh.o): Remove.
* config/alpha/vms-dwarf2.asm: Move to
../libgcc/config/alpha/vms-dwarf2.S.
* config/alpha/vms-dwarf2eh.asm: Move to
../libgcc/config/alpha/vms-dwarf2eh.S.
* config/arm/crti.asm: Move to ../libgcc/config/arm/crti.S.
* config/arm/crtn.asm: Move to ../libgcc/config/arm/crtn.S.
* config/arm/t-arm-elf (EXTRA_MULTILIB_PARTS): Remove.
($(T)crti.o, $(T)crtn.o): Remove.
* config/arm/t-linux: Remove comment.
* config/arm/t-linux-eabi (EXTRA_MULTILIB_PARTS): Remove.
* config/arm/t-strongarm-elf (EXTRA_MULTILIB_PARTS): Remove.
($(T)crti.o, $(T)crtn.o): Remove.
* config/arm/t-symbian (EXTRA_MULTILIB_PARTS): Remove.
* config/bfin/crti.s: Move to ../libgcc/config/bfin/crti.S.
* config/bfin/crtn.s: Move to ../libgcc/config/bfin/crtn.S.
* config/bfin/crtlibid.s: Move to ../libgcc/config/bfin/crtlibid.S.
* config/bfin/t-bfin (EXTRA_PARTS): Remove.
($(T)crti.o, $(T)crtn.o): Remove.
* config/bfin/t-bfin-elf (CRTSTUFF_T_CFLAGS): Remove.
($(T)crti.o, $(T)crtn.o, $(T)crtlibid.o): Remove
(EXTRA_MULTILIB_PARTS): Remove.
* config/bfin/t-bfin-linux (CRTSTUFF_T_CFLAGS,
EXTRA_MULTILIB_PARTS): Remove.
* config/bfin/t-bfin-uclinux (CRTSTUFF_T_CFLAGS): Remove.
($(T)crtlibid.o): Remove.
(EXTRA_MULTILIB_PARTS): Remove.
* config/c6x/crti.s: Move to ../libgcc/config/c6x/crti.S.
* config/c6x/crtn.s: Move to ../libgcc/config/c6x/crtn.S.
* config/c6x/t-c6x-elf ($(T)crti.o, $(T)crtn.o): Remove.
(EXTRA_MULTILIB_PARTS): Remove.
(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
* config/c6x/t-c6x-uclinux (CRTSTUFF_T_CFLAGS,
CRTSTUFF_T_CFLAGS_S): Remove.
* config/cris/t-elfmulti (CRTSTUFF_T_CFLAGS): Remove.
* config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
* config/fr30/crti.asm: Move to ../libgcc/config/fr30/crti.S.
* config/fr30/crtn.asm: Move to ../libgcc/config/fr30/crtn.S.
* config/fr30/t-fr30 ($(T)crti.o, $(T)crtn.o): Remove.
* config/frv/frvbegin.c, config/frv/frvend.c: Move to
../libgcc/config/frv.
* config/frv/t-frv (EXTRA_MULTILIB_PARTS): Remove.
(FRVSTUFF_CFLAGS, $(T)frvbegin$(objext), $(T)frvend$(objext)): Remove.
* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove.
(CRTSTUFF_T_CFLAGS): Remove.
* config/h8300/crti.asm: Move to ../libgcc/config/h8300/crti.S.
* config/h8300/crtn.asm: Move to ../libgcc/config/h8300/crtn.S.
* config/h8300/t-elf: Remove.
* config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
Move to ../libgcc/config/i386.
* config/i386/t-crtstuff: Remove.
* config/i386/t-i386elf: Remove.
* config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Remove.
* config/i386/t-nto (CRTSTUFF_T_CFLAGS, EXTRA_PARTS): Remove.
* config/ia64/crtbegin.asm: Move to
../libgcc/config/ia64/crtbegin.S.
* config/ia64/crtend.asm: Move to
../libgcc/config/ia64/crtend.S.
* config/ia64/crti.asm: Move to ../libgcc/config/ia64/crti.S.
* config/ia64/crtn.asm: Move to ../libgcc/config/ia64/crtn.S.
* config/ia64/t-vms: Remove.
* config/ia64/vms-crtinit.asm: Move to
../libgcc/config/ia64/vms-crtinit.S.
* config/m32c/t-m32c (EXTRA_MULTILIB_PARTS): Remove.
* config/m32r/initfini.c: Move to ../libgcc/config/m32r.
* config/m32r/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
* config/m32r/t-m32r (CRTSTUFF_T_CFLAGS): Remove.
($(T)crtinit.o, $(T)crtfini.o): Remove.
(m32rx, m32r2): Remove.
(EXTRA_MULTILIB_PARTS): Remove.
* config/m68k/crti.s: Move to ../libgcc/config/m68k/crti.S.
* config/m68k/crtn.s: Move to ../libgcc/config/m68k/crtn.S.
* config/m68k/t-crtstuff: Remove.
* config/m68k/t-linux (EXTRA_MULTILIB_PARTS): Remove.
* config/m68k/t-m68kelf: Remove.
* config/m68k/t-uclinux (EXTRA_MULTILIB_PARTS): Remove.
* config/mcore/crti.asm: Move to ../libgcc/config/mcore/crti.S.
* config/mcore/crtn.asm: Move to ../libgcc/config/mcore/crtn.S.
* config/mcore/t-mcore ($(T)crti.o, $(T)crtn.o): Remove.
(EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Remove.
* config/mep/t-mep (CRTSTUFF_CFLAGS): Remove.
(EXTRA_MULTILIB_PARTS): Remove.
* config/microblaze/crti.s: Move to ../libgcc/config/microblaze/crti.S.
* config/microblaze/crtn.s: Move to ../libgcc/config/microblaze/crtn.S.
* config/microblaze/t-microblaze (EXTRA_MULTILIB_PARTS,
EXTRA_PARTS): Remove.
($(T)crti$(objext), $(T)crtn$(objext)): Remove.
* config/mips/crti.asm: Move to ../libgcc/config/mips/crti.S.
* config/mips/crtn.asm: Move to ../libgcc/config/mips/crtn.S.
* config/mips/t-elf (CRTSTUFF_T_CFLAGS): Remove.
($(T)crti.o, $(T)crtn.o): Remove.
(EXTRA_MULTILIB_PARTS): Remove.
* config/mips/t-isa3264: Likewise.
* config/mips/t-linux64 (EXTRA_MULTILIB_PARTS): Remove.
* config/mips/t-r3900 (EXTRA_MULTILIB_PARTS): Remove.
(CRTSTUFF_T_CFLAGS): Remove.
* config/mips/t-sde (CRTSTUFF_T_CFLAGS): Remove.
($(T)crti.o, $(T)crtn.o): Remove.
(EXTRA_MULTILIB_PARTS): Remove.
* config/mips/t-sr71k (EXTRA_MULTILIB_PARTS, CRTSTUFF_T_CFLAGS):
Remove.
($(T)crti.o, $(T)crtn.o): Remove.
* config/mips/t-st (EXTRA_MULTILIB_PARTS): Remove.
* config/mips/t-vr (CRTSTUFF_T_CFLAGS): Remove.
(EXTRA_MULTILIB_PARTS): Remove.
($(T)crti.o, $(T)crtn.o): Remove.
* config/mmix/crti.asm: Move to ../libgcc/config/crti.S.
* config/mmix/crtn.asm: Move to ../libgcc/config/crtn.S.
* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Remove.
* config/moxie/crti.asm, config/moxie/crtn.asm: Remove.
* config/pa/stublib.c: Move to libgcc/config/pa.
* config/pa/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
* config/pa/t-linux64 (CRTSTUFF_T_CFLAGS_S): Remove.
* config/pa/t-pa-hpux11 (LIBGCCSTUB_OBJS, stublib.c): Remove.
(pthread_default_stacksize_np-stub.o, pthread_mutex_lock-stub.o)
(pthread_mutex_unlock-stub.o, pthread_once-stub.o)
($(T)libgcc_stub.a): Remove.
* config/pa/t-pa64 (LIBGCCSTUB_OBJS, stublib.c): Remove.
(rfi-stub.o, dfi-stub.o, cxaf-stub.o, jvrc-stub.o)
(pthread_default_stacksize_np-stub.o, pthread_mutex_lock-stub.o)
(pthread_mutex_unlock-stub.o, pthread_once-stub.o)
($(T)libgcc_stub.a): Remove.
* config/rs6000/eabi-cn.asm: Move to
../../../libgcc/config/rs6000/eabi-cn.S.
* config/rs6000/eabi-ci.asm: Move to
../../../libgcc/config/rs6000/eabi-ci.S.
* config/rs6000/sol-ci.asm: Move to
../../../libgcc/config/rs6000/sol-ci.S.
* config/rs6000/sol-cn.asm: Move to
../../../libgcc/config/rs6000/sol-cn.S.
* config/rs6000/t-lynx (EXTRA_MULTILIB_PARTS): Remove.
(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
* config/rs6000/t-netbsd (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S):
Remove.
(EXTRA_MULTILIB_PARTS): Remove.
* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Remove.
(ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
($(T)ecrti$(objext), $(T)ecrtn$(objext), $(T)ncrti$(objext),
$(T)ncrtn$(objext)): Remove.
(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
* config/rs6000/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
* config/rx/t-rx (EXTRA_MULTILIB_PARTS): Remove.
* config/score/crti.asm: Move to ../libgcc/config/score/crti.S.
* config/score/crtn.asm: Move to ../libgcc/config/score/crtn.S.
* config/score/t-score-elf: Remove.
* config/sh/crt1.asm: Move to ../libgcc/config/sh/crt1.S.
* config/sh/crti.asm: Move to ../libgcc/config/sh/crti.S.
* config/sh/crtn.asm: Move to ../libgcc/config/sh/crtn.S.
* config/sh/lib1funcs-4-300.asm: Move to
../../../libgcc/config/sh/lib1funcs-4-300.S.
* config/sh/lib1funcs-Os-4-200.asm: Move to
../libgcc/config/sh/lib1funcs-Os-4-200.S.
* config/sh/t-elf: Remove.
* config/sh/t-linux (EXTRA_MULTILIB_PARTS): Remove.
* config/sh/t-linux64: Remove.
* config/sh/t-netbsd (EXTRA_MULTILIB_PARTS): Remove.
* config/sh/t-sh ($(T)crt1.o, $(T)crti.o, $(T)crtn.o): Remove.
(IC_EXTRA_PARTS, OPT_EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Remove.
($(T)ic_invalidate_array_4-100.o)
($(T)libic_invalidate_array_4-100.a)
($(T)ic_invalidate_array_4-200.o)
($(T)libic_invalidate_array_4-200.a, $(T)ic_invalidate_array_4a.o)
($(T)libic_invalidate_array_4a.a, $(T)sdivsi3_i4i-Os-4-200.o)
($(T)udivsi3_i4i-Os-4-200.o, $(T)unwind-dw2-Os-4-200.o)
($(T)libgcc-Os-4-200.a, $(T)div_table-4-300.o)
($(T)libgcc-4-300.a): Remove.
* config/sh/t-superh: Remove.
* config/sh/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
* config/sparc/t-linux64 (CRTSTUFF_T_CFLAGS): Remove.
* config/spu/cache.S: Move to ../libgcc/config/spu.
* config/spu/cachemgr.c: Move to ../libgcc/config/spu.
* config/spu/t-spu-elf (CRTSTUFF_T_CFLAGS): Remove.
(EXTRA_MULTILIB_PARTS): Remove.
($(T)cachemgr.o, $(T)cachemgr_nonatomic.o, $(T)libgcc_%.a): Remove.
($(T)cache8k.o, $(T)cache16k.o, $(T)cache32k.o, $(T)cache32k.o)
($(T)cache64k.o, $(T)cache128k.o): Remove.
* config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Remove.
* config/t-libc-ok: Remove.
* config/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
* config/t-lynx (CRTSTUFF_T_CFLAGS_S): Remove.
* config/t-netbsd: Remove.
* config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Remove.
* config/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
* config/vms/t-vms (VMS_EXTRA_PARTS): Remove.
($(T)vcrt0.o, $(T)pcrt0.o): Remove.
* config/vms/vms-ucrt0.c: Move to ../libgcc/config/vms.
* config/xtensa/crti.asm: Move to ../libgcc/config/xtensa/crti.S.
* config/xtensa/crtn.asm: Move to ../libgcc/config/xtensa/crtn.S.
* config/xtensa/t-elf (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S):
Remove.
(EXTRA_MULTILIB_PARTS): Remove.
* config/xtensa/t-linux: Remove.
* config/xtensa/t-xtensa ($(T)crti.o, $(T)crtn.o): Remove.
gcc/po:
* EXCLUDES (crtstuff.c): Remove.
libgcc:
* crtstuff.c: New file.
* Makefile.in (CRTSTUFF_CFLAGS): Define.
(CRTSTUFF_T_CFLAGS): Define.
(extra-parts, INSTALL_PARTS): Remove conditional assignments.
(crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
(crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
crtstuff.c.
Use $<.
(crtbeginT.o): Use $(objext).
[!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
(libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
(gcc-extra-parts): Remove.
* config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
Set extra_parts.
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
*-*-gnu*): Also handle *-*-kopensolaris*-gnu.
Add t-crtstuff-pic to tmake_file.
(*-*-lynxos*): New case.
Set tmake_file, extra_parts.
(*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
*-*-netbsdelf[2-9]*.
(*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
(*-*-rtems*): Set extra_parts.
(*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
(*-*-uclinux*): New case.
Set extra_parts.
(*-*-vms*): New case.
Set tmake_file, extra_parts.
(*-*-elf): Set extra_parts.
(alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
(alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
vms/t-vms64.
Set extra_parts.
(alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
Set extra_parts.
(arm*-*-freebsd*): Add t-crtin to tmake_file.
Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
(arm-wrs-vxworks): Append to tmake_file.
Set extra_parts.
(arm*-*-uclinux*): Set extra_parts.
(arm*-*-ecos-elf): Likewise.
(arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
arm*-*-eabi*.
(arm*-*-rtems*): Set extra_parts.
(arm*-*-elf): Likewise.
(avr-*-rtems*): Clear extra_parts.
(bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
Set extra_parts.
(bfin*-uclinux*): Likewise.
(bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
(bfin*-rtems*): Append to tmake_file.
Set extra_parts.
(bfin*-*): Likewise.
(crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
(crisv32-*-elf): ... this.
(crisv32-*-none): ... this.
(cris-*-elf, cris-*-none): New cases.
Add cris/t-elfmulti to tmake_file.
(fr30-*-elf): Append to tmake_file.
Set extra_parts.
(frv-*-elf): Append to tmake_file, add frv/t-frv.
Set extra_parts.
(h8300-*-rtems*): Append to tmake_file.
Set extra_parts.
(h8300-*-elf*): Likewise.
(hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
Set extra_parts.
(hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
Set extra_parts.
(i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
(x86_64-*-elf*): Likewise.
(i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
(x86_64-*-freebsd*): Likewise.
(x86_64-*-netbsd*): Likewise.
(i[34567]86-*-linux*): Likewise.
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
(i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
(x86_64-*-linux*): Likewise.
(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
(i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
tmake_file.
Set extra_parts.
(i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
(i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
Append to extra_parts, remove crtbegin.o, crtend.o.
(ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
(ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
crtend.o, crtbeginS.o, crtendS.o.
(ia64*-*-linux*): Comment extra_parts.
(ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
Set extra_parts.
(iq2000*-*-elf*): Clear extra_parts.
(lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
(lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
(m32r-*-elf*, m32r-*-rtems*): Split off ...
(m32r-*-rtems*): ... this.
Add m32r/t-m32r to tmake_file.
(m68k-*-elf*): Add t-crtin to tmake_file.
(m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
(mcore-*-elf): Likewise.
(microblaze*-*-*): Set extra_parts.
(mips*-sde-elf*): New case.
Set tmake_file, extra_parts.
(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
tmake_file.
Set extra_parts.
(mipsisa64sr71k-*-elf*): Likewise.
(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
(mips-*-elf*, mipsel-*-elf*): Likewise.
(mips64-*-elf*, mips64el-*-elf*): Likewise.
(mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
(mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
(mips*-*-rtems*): Likewise.
(mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
(moxie-*-*): Split into ...
(moxie-*-elf, moxie-*-uclinux*): ... this.
Add to extra_parts, remove crtbegin.o, crtend.o.
(moxie-*-rtems*): New case.
Set tmake_file.
Clear extra_parts.
(powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
Set extra_parts.
(powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
(powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
tmake_file.
Set extra_parts.
(powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
Set extra_parts.
(powerpc-*-eabisim*): Likewise.
(powerpc-*-elf*): Likewise.
(powerpc-*-eabialtivec*): Likewise.
(powerpc-xilinx-eabi*): Likewise.
(powerpc-*-eabi*): Likewise.
(powerpc-*-rtems*): Likewise.
(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
tmake_file.
Set extra_parts.
(powerpc-*-lynxos*): Add to tmake_file.
(powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
rs6000/t-crtstuff, t-crtstuff-pic.
Set extra_parts.
(powerpcle-*-eabisim*): Likewise.
(powerpcle-*-eabi*): Likewise.
(rx-*-elf): Remove extra_parts.
(s390x-ibm-tpf*): Set extra_parts.
(score-*-elf): Set extra_parts.
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
(sh64l*-*-netbsd*): Split into ...
(sh-*-elf*, sh[12346l]*-*-elf*): ... this.
Add t-crtstuff-pic to tmake_file.
Set extra_parts.
(sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
Set extra_parts.
(sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
(sparc-*-elf*): Remove t-crtin from tmake_file.
Add to extra_parts, remove crtbegin.o, crtend.o.
(sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
(sparc64-*-linux*): Likewise.
(sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
Add to extra_parts, remove crtbegin.o, crtend.o.
(sparc64-*-elf*): Remove t-crtin from tmake_file.
Add to extra_parts, remove crtbegin.o, crtend.o.
(sparc64-*-rtems*): Remove t-crtin from tmake_file.
Add to extra_parts, remove crtbegin.o, crtend.o.
(sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
(sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
(spu-*-elf*): Add to tmake_file, add spu/t-elf.
Set extra_parts.
(tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
Set extra_parts.
(tic6x-*-*): Change to ...
(tic6x-*-elf): ... this.
Set extra_parts.
(xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
Set extra_parts.
(am33_2.0-*-linux*): Add comment.
(mep*-*-*): Add mep/t-mep to tmake_file.
Set extra_parts.
* config/alpha/t-vms: New file.
* config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
* config/arm/crti.S, config/arm/crtn.S: New files.
* config/bfin/crti.S, config/bfin/crtn.S: New files.
* config/bfin/crtlibid.S: New file.
* config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
* config/c6x/crti.S, config/c6x/crtn.S: New files.
* config/c6x/t-elf (CUSTOM_CRTIN): Set.
(crti.o, crtin.o): New rules.
(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
* config/c6x/t-uclinux: New file.
* config/cris/t-elfmulti: New file.
* config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
* config/fr30/crti.S, config/fr30/crtn.S: New files.
* config/frv/frvbegin.c, config/frv/frvend.c: New files.
* config/frv/t-frv: New file.
* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
* config/h8300/crti.S, config/h8300/crtn.S: New files.
* config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
New files.
* config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
refer to cygming-crtbegin.c, cygming-crtend.c.
Use $<.
* config/i386/t-nto: New file.
* config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
* config/ia64/crti.S, config/ia64/crtn.S: New files.
* config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
Use .S extension.
Use $<.
* config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
(crtinitS.o): New rule.
* config/ia64/vms-crtinit.S: New file.
* config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
* config/m32r/initfini.c: New file.
* config/m32r/t-linux, config/m32r/t-m32r: New files.
* config/m68k/crti.S, config/m68k/crtn.S: New files.
* config/mcore/crti.S, config/mcore/crtn.S: New files.
* config/mep/t-mep: New file.
* config/microblaze/crti.S, config/microblaze/crtn.S: New files.
* config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
* config/mips/crti.S, config/mips/crtn.S: New files.
* config/mips/t-crtstuff: New file.
* config/mmix/crti.S, config/mmix/crtn.S: New files.
* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
(CUSTOM_CRTIN): Set.
($(T)crti.o, $(T)crtn.o): Remove $(T),
dependencies.
Use $(srcdir) to refer to crti.S, crtn.S.
Use .S extension, $<.
* config/moxie/crti.asm: Rename to ...
* config/moxie/crti.S: ... this.
* config/moxie/crtn.asm: Rename to ...
* config/moxie/crtn.S: ... this.
* config/moxie/t-moxie: Remove.
* config/pa/stublib.c: New file.
* config/pa/t-stublib, config/pa/t-stublib64: New files.
* config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
* config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
* config/rs6000/t-crtstuff: New file.
* config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
(ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
(ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
Make output file explicit.
(ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
Make output file explicit.
(ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
Make output file explicit.
(ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
Make output file explicit.
* config/score/crti.S, config/score/crtn.S: New files.
* config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
* config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
files.
* config/sh/t-sh, config/sh/t-superh: New files.
* config/sparc/t-linux64: New file.
* config/spu/cache.S, config/spu/cachemgr.c: New files.
* config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
(cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
(cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
* config/t-crtin: Remove.
* config/t-crtstuff-pic: New file.
* config/t-sol2 (CUSTOM_CRTIN): Set.
(crti.o, crtn.o): New rules.
* config/vms/t-vms: New file.
* config/vms/vms-ucrt0.c: New file.
* config/xtensa/t-elf: New file.
From-SVN: r180771
2011-11-02 15:33:56 +01:00
|
|
|
|
2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* crtstuff.c: New file.
|
|
|
|
|
* Makefile.in (CRTSTUFF_CFLAGS): Define.
|
|
|
|
|
(CRTSTUFF_T_CFLAGS): Define.
|
|
|
|
|
(extra-parts, INSTALL_PARTS): Remove conditional assignments.
|
|
|
|
|
(crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
|
|
|
|
|
(crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
|
|
|
|
|
crtstuff.c.
|
|
|
|
|
Use $<.
|
|
|
|
|
(crtbeginT.o): Use $(objext).
|
|
|
|
|
[!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
|
|
|
|
|
(libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
|
|
|
|
|
(gcc-extra-parts): Remove.
|
|
|
|
|
* config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
|
|
|
|
|
*-*-gnu*): Also handle *-*-kopensolaris*-gnu.
|
|
|
|
|
Add t-crtstuff-pic to tmake_file.
|
|
|
|
|
(*-*-lynxos*): New case.
|
|
|
|
|
Set tmake_file, extra_parts.
|
|
|
|
|
(*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
|
|
|
|
|
Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
|
|
|
|
|
*-*-netbsdelf[2-9]*.
|
|
|
|
|
(*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
|
|
|
|
|
(*-*-rtems*): Set extra_parts.
|
|
|
|
|
(*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
|
|
|
|
|
(*-*-uclinux*): New case.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(*-*-vms*): New case.
|
|
|
|
|
Set tmake_file, extra_parts.
|
|
|
|
|
(*-*-elf): Set extra_parts.
|
|
|
|
|
(alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
|
|
|
|
|
(alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
|
|
|
|
|
vms/t-vms64.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(arm*-*-freebsd*): Add t-crtin to tmake_file.
|
|
|
|
|
Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
|
|
|
|
|
(arm-wrs-vxworks): Append to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(arm*-*-uclinux*): Set extra_parts.
|
|
|
|
|
(arm*-*-ecos-elf): Likewise.
|
|
|
|
|
(arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
|
|
|
|
|
arm*-*-eabi*.
|
|
|
|
|
(arm*-*-rtems*): Set extra_parts.
|
|
|
|
|
(arm*-*-elf): Likewise.
|
|
|
|
|
(avr-*-rtems*): Clear extra_parts.
|
|
|
|
|
(bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(bfin*-uclinux*): Likewise.
|
|
|
|
|
(bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
|
|
|
|
|
(bfin*-rtems*): Append to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(bfin*-*): Likewise.
|
|
|
|
|
(crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
|
|
|
|
|
(crisv32-*-elf): ... this.
|
|
|
|
|
(crisv32-*-none): ... this.
|
|
|
|
|
(cris-*-elf, cris-*-none): New cases.
|
|
|
|
|
Add cris/t-elfmulti to tmake_file.
|
|
|
|
|
(fr30-*-elf): Append to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(frv-*-elf): Append to tmake_file, add frv/t-frv.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(h8300-*-rtems*): Append to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(h8300-*-elf*): Likewise.
|
|
|
|
|
(hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
|
|
|
|
|
(x86_64-*-elf*): Likewise.
|
|
|
|
|
(i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
|
|
|
|
|
(x86_64-*-freebsd*): Likewise.
|
|
|
|
|
(x86_64-*-netbsd*): Likewise.
|
|
|
|
|
(i[34567]86-*-linux*): Likewise.
|
|
|
|
|
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
|
|
|
|
|
(i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
|
|
|
|
|
(x86_64-*-linux*): Likewise.
|
|
|
|
|
(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
|
|
|
|
|
(i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
|
|
|
|
|
tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
|
|
|
|
|
(i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
|
|
|
|
|
Append to extra_parts, remove crtbegin.o, crtend.o.
|
|
|
|
|
(ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
|
|
|
|
|
(ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
|
|
|
|
|
crtend.o, crtbeginS.o, crtendS.o.
|
|
|
|
|
(ia64*-*-linux*): Comment extra_parts.
|
|
|
|
|
(ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(iq2000*-*-elf*): Clear extra_parts.
|
|
|
|
|
(lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
|
|
|
|
|
(lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
|
|
|
|
|
(m32r-*-elf*, m32r-*-rtems*): Split off ...
|
|
|
|
|
(m32r-*-rtems*): ... this.
|
|
|
|
|
Add m32r/t-m32r to tmake_file.
|
|
|
|
|
(m68k-*-elf*): Add t-crtin to tmake_file.
|
|
|
|
|
(m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
|
|
|
|
|
(mcore-*-elf): Likewise.
|
|
|
|
|
(microblaze*-*-*): Set extra_parts.
|
|
|
|
|
(mips*-sde-elf*): New case.
|
|
|
|
|
Set tmake_file, extra_parts.
|
|
|
|
|
(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
|
|
|
|
|
(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
|
|
|
|
|
(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
|
|
|
|
|
tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(mipsisa64sr71k-*-elf*): Likewise.
|
|
|
|
|
(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
|
|
|
|
|
(mips-*-elf*, mipsel-*-elf*): Likewise.
|
|
|
|
|
(mips64-*-elf*, mips64el-*-elf*): Likewise.
|
|
|
|
|
(mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
|
|
|
|
|
(mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
|
|
|
|
|
(mips*-*-rtems*): Likewise.
|
|
|
|
|
(mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
|
|
|
|
|
(moxie-*-*): Split into ...
|
|
|
|
|
(moxie-*-elf, moxie-*-uclinux*): ... this.
|
|
|
|
|
Add to extra_parts, remove crtbegin.o, crtend.o.
|
|
|
|
|
(moxie-*-rtems*): New case.
|
|
|
|
|
Set tmake_file.
|
|
|
|
|
Clear extra_parts.
|
|
|
|
|
(powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
|
|
|
|
|
(powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
|
|
|
|
|
tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
|
|
|
|
|
rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(powerpc-*-eabisim*): Likewise.
|
|
|
|
|
(powerpc-*-elf*): Likewise.
|
|
|
|
|
(powerpc-*-eabialtivec*): Likewise.
|
|
|
|
|
(powerpc-xilinx-eabi*): Likewise.
|
|
|
|
|
(powerpc-*-eabi*): Likewise.
|
|
|
|
|
(powerpc-*-rtems*): Likewise.
|
|
|
|
|
(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
|
|
|
|
|
tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(powerpc-*-lynxos*): Add to tmake_file.
|
|
|
|
|
(powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
|
|
|
|
|
rs6000/t-crtstuff, t-crtstuff-pic.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(powerpcle-*-eabisim*): Likewise.
|
|
|
|
|
(powerpcle-*-eabi*): Likewise.
|
|
|
|
|
(rx-*-elf): Remove extra_parts.
|
|
|
|
|
(s390x-ibm-tpf*): Set extra_parts.
|
|
|
|
|
(score-*-elf): Set extra_parts.
|
|
|
|
|
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
|
|
|
|
|
(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
|
|
|
|
|
(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
|
|
|
|
|
(sh64l*-*-netbsd*): Split into ...
|
|
|
|
|
(sh-*-elf*, sh[12346l]*-*-elf*): ... this.
|
|
|
|
|
Add t-crtstuff-pic to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
|
|
|
|
|
(sparc-*-elf*): Remove t-crtin from tmake_file.
|
|
|
|
|
Add to extra_parts, remove crtbegin.o, crtend.o.
|
|
|
|
|
(sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
|
|
|
|
|
(sparc64-*-linux*): Likewise.
|
|
|
|
|
(sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
|
|
|
|
|
Add to extra_parts, remove crtbegin.o, crtend.o.
|
|
|
|
|
(sparc64-*-elf*): Remove t-crtin from tmake_file.
|
|
|
|
|
Add to extra_parts, remove crtbegin.o, crtend.o.
|
|
|
|
|
(sparc64-*-rtems*): Remove t-crtin from tmake_file.
|
|
|
|
|
Add to extra_parts, remove crtbegin.o, crtend.o.
|
|
|
|
|
(sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
|
|
|
|
|
(sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
|
|
|
|
|
(spu-*-elf*): Add to tmake_file, add spu/t-elf.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(tic6x-*-*): Change to ...
|
|
|
|
|
(tic6x-*-elf): ... this.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
(am33_2.0-*-linux*): Add comment.
|
|
|
|
|
(mep*-*-*): Add mep/t-mep to tmake_file.
|
|
|
|
|
Set extra_parts.
|
|
|
|
|
* config/alpha/t-vms: New file.
|
|
|
|
|
* config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
|
|
|
|
|
* config/arm/crti.S, config/arm/crtn.S: New files.
|
|
|
|
|
* config/bfin/crti.S, config/bfin/crtn.S: New files.
|
|
|
|
|
* config/bfin/crtlibid.S: New file.
|
|
|
|
|
* config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
|
|
|
|
|
* config/c6x/crti.S, config/c6x/crtn.S: New files.
|
|
|
|
|
* config/c6x/t-elf (CUSTOM_CRTIN): Set.
|
|
|
|
|
(crti.o, crtin.o): New rules.
|
|
|
|
|
(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
|
|
|
|
|
* config/c6x/t-uclinux: New file.
|
|
|
|
|
* config/cris/t-elfmulti: New file.
|
|
|
|
|
* config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
|
|
|
|
|
* config/fr30/crti.S, config/fr30/crtn.S: New files.
|
|
|
|
|
* config/frv/frvbegin.c, config/frv/frvend.c: New files.
|
|
|
|
|
* config/frv/t-frv: New file.
|
|
|
|
|
* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
|
|
|
|
|
* config/h8300/crti.S, config/h8300/crtn.S: New files.
|
|
|
|
|
* config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
|
|
|
|
|
New files.
|
|
|
|
|
* config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
|
|
|
|
|
refer to cygming-crtbegin.c, cygming-crtend.c.
|
|
|
|
|
Use $<.
|
|
|
|
|
* config/i386/t-nto: New file.
|
|
|
|
|
* config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
|
|
|
|
|
* config/ia64/crti.S, config/ia64/crtn.S: New files.
|
|
|
|
|
* config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
|
|
|
|
|
crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
|
|
|
|
|
Use .S extension.
|
|
|
|
|
Use $<.
|
|
|
|
|
* config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
|
|
|
|
|
(crtinitS.o): New rule.
|
|
|
|
|
* config/ia64/vms-crtinit.S: New file.
|
|
|
|
|
* config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
|
|
|
|
|
* config/m32r/initfini.c: New file.
|
|
|
|
|
* config/m32r/t-linux, config/m32r/t-m32r: New files.
|
|
|
|
|
* config/m68k/crti.S, config/m68k/crtn.S: New files.
|
|
|
|
|
* config/mcore/crti.S, config/mcore/crtn.S: New files.
|
|
|
|
|
* config/mep/t-mep: New file.
|
|
|
|
|
* config/microblaze/crti.S, config/microblaze/crtn.S: New files.
|
|
|
|
|
* config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
|
|
|
|
|
* config/mips/crti.S, config/mips/crtn.S: New files.
|
|
|
|
|
* config/mips/t-crtstuff: New file.
|
|
|
|
|
* config/mmix/crti.S, config/mmix/crtn.S: New files.
|
|
|
|
|
* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
|
|
|
|
|
(CUSTOM_CRTIN): Set.
|
|
|
|
|
($(T)crti.o, $(T)crtn.o): Remove $(T),
|
|
|
|
|
dependencies.
|
|
|
|
|
Use $(srcdir) to refer to crti.S, crtn.S.
|
|
|
|
|
Use .S extension, $<.
|
|
|
|
|
* config/moxie/crti.asm: Rename to ...
|
|
|
|
|
* config/moxie/crti.S: ... this.
|
|
|
|
|
* config/moxie/crtn.asm: Rename to ...
|
|
|
|
|
* config/moxie/crtn.S: ... this.
|
|
|
|
|
* config/moxie/t-moxie: Remove.
|
|
|
|
|
* config/pa/stublib.c: New file.
|
|
|
|
|
* config/pa/t-stublib, config/pa/t-stublib64: New files.
|
|
|
|
|
* config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
|
|
|
|
|
* config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
|
|
|
|
|
* config/rs6000/t-crtstuff: New file.
|
|
|
|
|
* config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
|
|
|
|
|
(ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
|
|
|
|
|
(ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
|
|
|
|
|
Make output file explicit.
|
|
|
|
|
(ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
|
|
|
|
|
Make output file explicit.
|
|
|
|
|
(ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
|
|
|
|
|
Make output file explicit.
|
|
|
|
|
(ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
|
|
|
|
|
Make output file explicit.
|
|
|
|
|
* config/score/crti.S, config/score/crtn.S: New files.
|
|
|
|
|
* config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
|
|
|
|
|
* config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
|
|
|
|
|
files.
|
|
|
|
|
* config/sh/t-sh, config/sh/t-superh: New files.
|
|
|
|
|
* config/sparc/t-linux64: New file.
|
|
|
|
|
* config/spu/cache.S, config/spu/cachemgr.c: New files.
|
|
|
|
|
* config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
|
|
|
|
|
(cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
|
|
|
|
|
(cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
|
|
|
|
|
* config/t-crtin: Remove.
|
|
|
|
|
* config/t-crtstuff-pic: New file.
|
|
|
|
|
* config/t-sol2 (CUSTOM_CRTIN): Set.
|
|
|
|
|
(crti.o, crtn.o): New rules.
|
|
|
|
|
* config/vms/t-vms: New file.
|
|
|
|
|
* config/vms/vms-ucrt0.c: New file.
|
|
|
|
|
* config/xtensa/t-elf: New file.
|
|
|
|
|
|
Move shlib support to toplevel libgcc
gcc:
PR translation/45116
* Makefile.in (slibdir): Remove, don't export.
(SHLIB_NM_FLAGS): Remove.
(libgcc.mvars): Don't emit SHLIB_LINK, SHLIB_INSTALL,
SHLIB_DLLDIR, SHLIB_EXT, SHLIB_MKMAP, SHLIB_MKMAP_OPTS,
SHLIB_MAPFILES, SHLIB_NM_FLAGS.
(DRIVER_DEFINES): Test SHLIB instead of SHLIB_LINK.
(gcc.o): Pass SHLIB instead of SHLIB_LINK.
(gccspec.o): Likewise.
(installdirs): Don't create $(DESTDIR)$(slibdir).
* configure.ac (slibdir): Remove.
* configure: Regenerate.
* libgcc-libsystem.ver: Move to ../libgcc/config.
* mkmap-flat.awk, mkmap-symver.awk: Move to ../libgcc.
* config/libgcc-glibc.ver: Move to ../libgcc/config.
* config/t-libunwind (SHLIB_LC): Remove.
* config/t-linux (SHLIB_MAPFILES): Remove.
* config/t-slibgcc-dummy: Rename to config/t-slibgcc.
* config/t-slibgcc-elf-ver: Remove.
* config/t-slibgcc-libgcc, config/t-slibgcc-nolc-override: Move to
../libgcc/config.
* config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: Move
to ../libgcc/config/alpha.
* config/alpha/t-vms (shlib_version, SHLIB_EXT, SHLIB_OBJS,
SHLIB_NAME, SHLIB_MULTILIB, SHLIB_INSTALL, SHLIB_SYMVEC,
SHLIB_SYMVECX2, SHLIB_LINK): Remove.
* config/arm/libgcc-bpabi.ver: Move to ../libgcc/config/arm.
* config/arm/t-bpabi (SHLIB_MAPFILES): Remove.
* config/arm/t-netbsd (SHLIB_EXT, SHLIB_NAME, SHLIB_SONAME,
SHLIB_OBJS, SHLIB_LINK, SHLIB_INSTALL): Remove.
* config/arm/t-symbian (SHLIB_LC): Remove.
* config/bfin/libgcc-bfin.ver: Move to
../libgcc/config/bfin/libgcc-glibc.ver.
* config/bfin/t-bfin-linux (SHLIB_MAPFILES): Remove.
* config/c6x/libgcc-c6xeabi.ver: Move to
../libgcc/config/c6x/libgcc-eabi.ver.
* config/c6x/t-c6x-elf (SHLIB_MAPFILES): Remove.
* config/cris/libgcc.ver: Move to
../libgcc/config/cris/libgcc-glibc.ver.
* config/cris/t-linux (SHLIB_MAPFILES): Remove.
* config/frv/libgcc-frv.ver: Move to ../libgcc/config/frv.
* config/frv/t-linux (SHLIB_MAPFILES): Remove.
* config/i386/darwin-libgcc.10.4.ver: Move to
../libgcc/config/i386/libgcc-darwin.10.4.ver.
* config/i386/darwin-libgcc.10.5.ver: Move to
../libgcc/config/i386/libgcc-darwin.10.5.ver.
* config/i386/libgcc-glibc.ver: Move to ../libgcc/config/i386.
* config/i386/t-cygming (SHLIB_EXT, SHLIB_IMPLIB, SHLIB_SOVERSION,
SHLIB_SONAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_DIR, SHLIB_SLIBDIR_QUAL)
SHLIB_PTHREAD_CFLAG, SHLIB_PTHREAD_LDFLAG, SHLIB_LINK,
SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MKMAP_OPTS, SHLIB_MAPFILES):
Remove.
* config/i386/t-cygwin (SHLIB_LC, SHLIB_EH_EXTENSION,
SHLIB_IMPLIB, SHLIB_SONAME, SHLIB_MKMAP_OPTS): Remove.
* config/i386/t-dlldir, config/i386/t-dlldir-x: Move to
../libgcc/config/i386.
* config/i386/t-dw2-eh, config/i386/t-sjlj-eh: Move to
../libgcc/config/i386.
* config/i386/t-linux: Move to ../libgcc/config/i386.
* config/i386/t-mingw-pthread: Move to ../libgcc/config/i386.
* config/i386/t-mingw-w32 (SHLIB_LC): Remove.
* config/i386/t-mingw-w64: Likewise.
* config/i386/t-mingw32: Remove.
* config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: Move
to ../libgcc/config/ia64.
* config/ia64/t-glibc: Remove.
* config/ia64/t-hpux (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL): Remove.
* config/ia64/t-ia64 (SHLIB_MAPFILES): Remove.
* config/ia64/t-vms (shlib_version, SHLIB_EXT, SHLIB_OBJS,
SHLIB_NAME, SHLIB_MULTILIB, SHLIB_INSTALL, SHLIB_LINK): Remove.
* config/ia64/vms_symvec_libgcc_s.opt: Remove.
* config/m32r/libgcc-glibc.ver: Move to ../libgcc/config/m32r.
* config/m32r/t-linux (SHLIB_MAPFILES): Remove.
* config/m68k/t-slibgcc-elf-ver: Move to ../libgcc/config/m68k.
* config/mips/t-libgcc-mips16 (SHLIB_MAPFILES): Remove.
* config/pa/t-hpux-shlib: Move to ../libgcc/config/pa/t-slibgcc-hpux.
* config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver:
Move to ../libgcc/config/pa.
* config/rs6000/darwin-libgcc.10.4.ver: Move to
../libgcc/config/rs6000/libgcc-darwin.10.4.ver.
* config/rs6000/darwin-libgcc.10.5.ver: Move to
../libgcc/config/rs6000/libgcc-darwin.10.5.ver.
* config/rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL,
SHLIB_LIBS, SHLIB_MKMAP, SHLIB_NM_FLAGS, AR_FLAGS_FOR_TARGET): Remove.
* config/rs6000/t-aix52: Likewise.
* config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: Move to
../libgcc/config/sh.
* config/sparc/libgcc-sparc-glibc.ver: Move to
../libgcc/config/sparc/libgcc-glibc.ver.
* config/sparc/t-linux: Move to ../libgcc/config/sparc.
* config/xtensa/t-linux (SHLIB_MAPFILES): Remove.
* config/xtensa/libgcc-xtensa.ver: Move to
../libgcc/config/xtensa/libgcc-glibc.ver.
* config.gcc (*-*-freebsd*): Replace t-slibgcc-elf-ver with
t-slibgcc in tmake_file.
Remove t-slibgcc-nolc-override for *-*-freebsd[34],
*-*-freebsd[34].* with pthreads.
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu,
*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Replace
t-slibgcc-elf-ver with t-slibgcc in tmake_file.
(*-*-netbsd*): Likewise.
(*-*-solaris2*): Replace t-slibgcc-dummy with t-slibgcc in tmake_file.
(*-*-*vms*): Add t-slibgcc to tmake_file.
(alpha*-*-linux*): Remove alpha/t-linux from tmake_file.
(alpha*-dec-osf5.1*): Replace t-slibgcc-dummy with t-slibgcc in
tmake_file.
(arm*-*-linux*): Remove t-slibgcc-libgcc from tmake_file for
arm*-*-linux-*eabi.
(bfin*-linux-uclibc*): Replace t-slibgcc-dummy with t-slibgcc in
tmake_file.
(crisv32-*-linux*, cris-*-linux*): Likewise.
(hppa*-*-linux*): Remove t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
pa/t-slibgcc-dwarf-ver from tmake_file.
(hppa[12]*-*-hpux10*): Replace pa/t-hpux-shlib with t-slibgcc in
tmake_file.
Remove pa/t-slibgcc-sjlj-ver, pa/t-slibgcc-dwarf-ver from tmake_file.
(hppa*64*-*-hpux11*): Likewise.
(hppa[12]*-*-hpux11*): Likewise.
(i[34567]86-*-darwin*): Replace t-slibgcc-dummy in t-slibgcc in
tmake_file.
(x86_64-*-darwin*): Likewise.
(i[34567]86-*-cygwin*): Remove tmake_eh_file, tmake_dlldir_file.
Add t-slibgcc to tmake_file.
(i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
Remove i386/t-mingw32 from tmake_file unless x86_64-w64-*,
i[34567]86-w64-*.
Remove i386/t-mingw-pthread from tmake_file.
(ia64*-*-linux*): Remove ia64/t-glibc from tmake_file.
(ia64*-*-hpux*): Add t-slibgcc to tmake_file.
(ia64-hp-*vms*): Likewise.
(m32r-*-linux*): Replace t-slibgcc-elf-ver with t-slibgcc in
tmake_file.
(m32rle-*-linux*): Likewise.
(m68k-*-linux*): Remove m68k/t-slibgcc-elf-ver from tmake_file.
(microblaze*-linux*): Remove t-slibgcc-elf-ver,
t-slibgcc-nolc-override from tmake_file.
(mips-sgi-irix6.5*): Replace t-slibgcc-dummy with t-slibgcc in
tmake_file.
(powerpc-*-darwin*): Likewise.
(powerpc64-*-darwin*): Likewise.
(powerpc-*-freebsd*): Remove t-slibgcc-libgcc from tmake_file.
(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
t-slibgcc to tmake_file.
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
(rs6000-ibm-aix5.2.*, powerpc-ibm-aix5.2.*): Likewise.
(rs6000-ibm-aix5.3.*, powerpc-ibm-aix5.3.*): Likewise.
(rs6000-ibm-aix[6789].*, powerpc-ibm-aix[6789].*): Likewise.
(sparc-*-linux*): Remove sparc/t-linux from tmake_file.
(sparc64-*-linux*): Likewise.
(tic6x-*-uclinux): Replace t-slibgcc-elf-ver with t-slibgcc in
tmake_file.
(i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu,
x86_64-*-kfreebsd*-gnu, i[34567]86-*-gnu*): Remove i386/t-linux
from tmake_file.
gcc/cp:
* Make-lang.in (g++spec.o): Pass SHLIB instead of SHLIB_LINK.
gcc/fortran:
* Makef-lang.in (gfortranspec.o): Pass SHLIB instead of SHLIB_LINK.
gcc/go:
* Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
gcc/java:
* Make-lang.in (jvspec.o): Pass SHLIB instead of SHLIB_LINK.
libgcc:
* Makefile.in (SHLIB_NM_FLAGS): Set.
* mkmap-flat.awk, mkmap-symver.awk: New files.
* configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
exceptions.
* configure: Regenerate.
* config/libgcc-glibc.ver: New file.
* config/libgcc-libsystem.ver: New file.
* config/t-libunwind (SHLIB_LC): Set.
* config/t-linux: New file.
* config/t-slibgcc (INSTALL_SHLIB): New.
(SHLIB_INSTALL): Use it.
* config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
to mkmap-symver.awk.
(SHLIB_MAPFILES): Don't append, adapt pathname.
(SHLIB_VERPFX): Set.
* config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
to mkmap-symver.awk.
* config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
* config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
* config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
to mkmap-flat.awk.
* config/arm/t-bpabi (SHLIB_MAPFILES): Set.
* config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
* config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
* config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
* config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
* config/i386/libgcc-darwin.10.4.ver,
config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
New files.
* config/i386/t-darwin: Remove.
* config/i386/t-darwin64: Likewise.
* config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
* config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
* config/i386/t-linux: New file.
* config/i386/t-mingw32: New file.
* config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
* config/ia64/t-glibc: Rename to ...
* config/ia64/t-linux: ... this.
(SHLIB_MAPFILES): Set.
* config/ia64/t-glibc-libunwind: Rename to ...
* config/ia64/t-linux-libunwind: ... this.
* config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
* config/ia64/t-slibgcc-hpux: New file.
* config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
* config/m68k/t-slibgcc-elf-ver: New file.
* config/mips/t-mips16 (SHLIB_MAPFILES): Set.
* config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
to mkmap-flat.awk.
* config/pa/t-slibgcc-hpux: New file.
* config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
files.
* config/rs6000/libgcc-darwin.10.4.ver,
config/rs6000/libgcc-darwin.10.5.ver: New files.
* config/rs6000/libgcc-ppc-glibc.ver: Rename to
config/rs6000/libgcc-glibc.ver.
* config/rs6000/libgcc-ppc64.ver: Rename to
config/rs6000/libgcc-ibm-ldouble.ver.
* config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
* config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
* config/rs6000/t-ldbl128: Rename to ...
* config/rs6000/t-linux: ... this.
(SHLIB_MAPFILES): Adapt filename.
* config/rs6000/t-slibgcc-aix: New file.
* config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
* config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
libgcc-excl.ver, libgcc-glibc.ver.
(SHLIB_LINK, SHLIB_INSTALL): Remove.
* config/sparc/libgcc-glibc.ver: New file.
* config/sparc/t-linux: New file.
* config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
* config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
t-slibgcc-elf-ver to tmake_file.
Add t-slibgcc-nolc-override to tmake_file for posix threads on
*-*-freebsd[34].
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
*-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
t-slibgcc-elf-ver, t-linux to tmake_file.
(*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
tmake_file.
(alpha*-*-linux*): Add alpha/t-linux to tmake_file.
(alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
(alpha*-dec-*vms*): Likewise.
(arm*-*-freebsd*): Append to tmake_file.
(arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
(arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
arm*-*-linux-*eabi.
(arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
tmake_file for arm*-*-symbianelf*.
(bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
(cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
cris/t-linux.
(frv-*-*linux*): Append to tmake_file, add frv/t-linux.
(hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
pa/t-slibgcc-dwarf-ver to tmake_file.
(hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
(hppa*64*-*-hpux11*): Likewise.
(hppa[12]*-*-hpux11*): Likewise.
(x86_64-*-darwin*): Don't override tmake_file, but only keep
i386/t-crtpc, i386/t-crtfm.
(i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
to tmake_file.
Add i386/t-cygwin to tmake_file.
Prepent i386/t-mingw-pthread to tmake_file for posix threads.
(i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
to tmake_file.
Add i386/t-mingw32 to tmake_file.
(x86_64-*-mingw*): Likewise.
(ia64*-*-freebsd*): Append to tmake_file.
(ia64*-*-linux*): Append to tmake_file.
Replace ia64/t-glibc by ia64/t-linux.
Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
system libunwind.
(ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
t-slibgcc-hpux to tmake_file.
(ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
(m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
(m32rle-*-linux*): Likewise.
(m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
sjlj exceptions.
(microblaze*-linux*): New case.
Append to tmake_file, add t-slibgcc-nolc-override.
(powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
rs6000/t-slibgcc-aix to tmake_file.
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
(sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
sh*-*-linux*.
(sparc-*-linux*): Append to tmake_file for *-leon*.
Add sparc/t-linux to tmake_file for non-Leon targets.
(sparc64-*-linux*): Add sparc/t-linux to tmake_file.
(tic6x-*-uclinux): New case.
Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
(tic6x-*-*): Add c6x/t-elf to tmake_file.
(xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
(am33_2.0-*-linux*): Append to tmake_file.
(i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
x86_64-*-kfreebsd*-gnu.
Add i386/t-linux to tmake_file.
From-SVN: r180767
2011-11-02 11:49:46 +01:00
|
|
|
|
2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (SHLIB_NM_FLAGS): Set.
|
|
|
|
|
* mkmap-flat.awk, mkmap-symver.awk: New files.
|
|
|
|
|
* configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
|
|
|
|
|
exceptions.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config/libgcc-glibc.ver: New file.
|
|
|
|
|
* config/libgcc-libsystem.ver: New file.
|
|
|
|
|
* config/t-libunwind (SHLIB_LC): Set.
|
|
|
|
|
* config/t-linux: New file.
|
|
|
|
|
* config/t-slibgcc (INSTALL_SHLIB): New.
|
|
|
|
|
(SHLIB_INSTALL): Use it.
|
|
|
|
|
* config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
|
|
|
|
|
to mkmap-symver.awk.
|
|
|
|
|
(SHLIB_MAPFILES): Don't append, adapt pathname.
|
|
|
|
|
(SHLIB_VERPFX): Set.
|
|
|
|
|
* config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
|
|
|
|
|
to mkmap-symver.awk.
|
|
|
|
|
* config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
|
|
|
|
|
config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
|
|
|
|
|
* config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
|
|
|
|
|
* config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
|
|
|
|
|
to mkmap-flat.awk.
|
|
|
|
|
* config/arm/t-bpabi (SHLIB_MAPFILES): Set.
|
|
|
|
|
* config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
|
|
|
|
|
* config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
|
|
|
|
|
* config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
|
|
|
|
|
* config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
|
|
|
|
|
* config/i386/libgcc-darwin.10.4.ver,
|
|
|
|
|
config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
|
|
|
|
|
New files.
|
|
|
|
|
* config/i386/t-darwin: Remove.
|
|
|
|
|
* config/i386/t-darwin64: Likewise.
|
|
|
|
|
* config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
|
|
|
|
|
* config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
|
|
|
|
|
config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
|
|
|
|
|
* config/i386/t-linux: New file.
|
|
|
|
|
* config/i386/t-mingw32: New file.
|
|
|
|
|
* config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
|
|
|
|
|
* config/ia64/t-glibc: Rename to ...
|
|
|
|
|
* config/ia64/t-linux: ... this.
|
|
|
|
|
(SHLIB_MAPFILES): Set.
|
|
|
|
|
* config/ia64/t-glibc-libunwind: Rename to ...
|
|
|
|
|
* config/ia64/t-linux-libunwind: ... this.
|
|
|
|
|
* config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
|
|
|
|
|
* config/ia64/t-slibgcc-hpux: New file.
|
|
|
|
|
* config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
|
|
|
|
|
* config/m68k/t-slibgcc-elf-ver: New file.
|
|
|
|
|
* config/mips/t-mips16 (SHLIB_MAPFILES): Set.
|
|
|
|
|
* config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
|
|
|
|
|
to mkmap-flat.awk.
|
|
|
|
|
* config/pa/t-slibgcc-hpux: New file.
|
|
|
|
|
* config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
|
|
|
|
|
files.
|
|
|
|
|
* config/rs6000/libgcc-darwin.10.4.ver,
|
|
|
|
|
config/rs6000/libgcc-darwin.10.5.ver: New files.
|
|
|
|
|
* config/rs6000/libgcc-ppc-glibc.ver: Rename to
|
|
|
|
|
config/rs6000/libgcc-glibc.ver.
|
|
|
|
|
* config/rs6000/libgcc-ppc64.ver: Rename to
|
|
|
|
|
config/rs6000/libgcc-ibm-ldouble.ver.
|
|
|
|
|
* config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
|
|
|
|
|
* config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
|
|
|
|
|
* config/rs6000/t-ldbl128: Rename to ...
|
|
|
|
|
* config/rs6000/t-linux: ... this.
|
|
|
|
|
(SHLIB_MAPFILES): Adapt filename.
|
|
|
|
|
* config/rs6000/t-slibgcc-aix: New file.
|
|
|
|
|
* config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
|
|
|
|
|
* config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
|
|
|
|
|
libgcc-excl.ver, libgcc-glibc.ver.
|
|
|
|
|
(SHLIB_LINK, SHLIB_INSTALL): Remove.
|
|
|
|
|
* config/sparc/libgcc-glibc.ver: New file.
|
|
|
|
|
* config/sparc/t-linux: New file.
|
|
|
|
|
* config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
|
|
|
|
|
* config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
|
|
|
|
|
t-slibgcc-elf-ver to tmake_file.
|
|
|
|
|
Add t-slibgcc-nolc-override to tmake_file for posix threads on
|
|
|
|
|
*-*-freebsd[34].
|
|
|
|
|
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
|
|
|
|
|
*-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
|
|
|
|
|
t-slibgcc-elf-ver, t-linux to tmake_file.
|
|
|
|
|
(*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(alpha*-*-linux*): Add alpha/t-linux to tmake_file.
|
|
|
|
|
(alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
|
|
|
|
|
(alpha*-dec-*vms*): Likewise.
|
|
|
|
|
(arm*-*-freebsd*): Append to tmake_file.
|
|
|
|
|
(arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
|
|
|
|
|
(arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
|
|
|
|
|
arm*-*-linux-*eabi.
|
|
|
|
|
(arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
|
|
|
|
|
tmake_file for arm*-*-symbianelf*.
|
|
|
|
|
(bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
|
|
|
|
|
(cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
|
|
|
|
|
cris/t-linux.
|
|
|
|
|
(frv-*-*linux*): Append to tmake_file, add frv/t-linux.
|
|
|
|
|
(hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
|
|
|
|
|
pa/t-slibgcc-dwarf-ver to tmake_file.
|
|
|
|
|
(hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
|
|
|
|
|
pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
|
|
|
|
|
(hppa*64*-*-hpux11*): Likewise.
|
|
|
|
|
(hppa[12]*-*-hpux11*): Likewise.
|
|
|
|
|
(x86_64-*-darwin*): Don't override tmake_file, but only keep
|
|
|
|
|
i386/t-crtpc, i386/t-crtfm.
|
|
|
|
|
(i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
|
|
|
|
|
Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
|
|
|
|
|
to tmake_file.
|
|
|
|
|
Add i386/t-cygwin to tmake_file.
|
|
|
|
|
Prepent i386/t-mingw-pthread to tmake_file for posix threads.
|
|
|
|
|
(i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
|
|
|
|
|
Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
|
|
|
|
|
to tmake_file.
|
|
|
|
|
Add i386/t-mingw32 to tmake_file.
|
|
|
|
|
(x86_64-*-mingw*): Likewise.
|
|
|
|
|
(ia64*-*-freebsd*): Append to tmake_file.
|
|
|
|
|
(ia64*-*-linux*): Append to tmake_file.
|
|
|
|
|
Replace ia64/t-glibc by ia64/t-linux.
|
|
|
|
|
Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
|
|
|
|
|
system libunwind.
|
|
|
|
|
(ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
|
|
|
|
|
t-slibgcc-hpux to tmake_file.
|
|
|
|
|
(ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
|
|
|
|
|
(m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
|
|
|
|
|
(m32rle-*-linux*): Likewise.
|
|
|
|
|
(m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
|
|
|
|
|
sjlj exceptions.
|
|
|
|
|
(microblaze*-linux*): New case.
|
|
|
|
|
Append to tmake_file, add t-slibgcc-nolc-override.
|
|
|
|
|
(powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
|
|
|
|
|
(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
|
|
|
|
|
Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
|
|
|
|
|
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
|
|
|
|
|
rs6000/t-slibgcc-aix to tmake_file.
|
|
|
|
|
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
|
|
|
|
|
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
|
|
|
|
|
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
|
|
|
|
|
(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
|
|
|
|
|
(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
|
|
|
|
|
(sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
|
|
|
|
|
sh*-*-linux*.
|
|
|
|
|
(sparc-*-linux*): Append to tmake_file for *-leon*.
|
|
|
|
|
Add sparc/t-linux to tmake_file for non-Leon targets.
|
|
|
|
|
(sparc64-*-linux*): Add sparc/t-linux to tmake_file.
|
|
|
|
|
(tic6x-*-uclinux): New case.
|
|
|
|
|
Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
|
|
|
|
|
(tic6x-*-*): Add c6x/t-elf to tmake_file.
|
|
|
|
|
(xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
|
|
|
|
|
(am33_2.0-*-linux*): Append to tmake_file.
|
|
|
|
|
(i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
|
|
|
|
|
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
|
|
|
|
|
x86_64-*-kfreebsd*-gnu.
|
|
|
|
|
Add i386/t-linux to tmake_file.
|
|
|
|
|
|
2011-10-29 00:03:56 +02:00
|
|
|
|
2011-10-28 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/morestack.S: Correct CFI information to do proper
|
|
|
|
|
returns throughout function. In 32-bit mode, save %ebx so that it
|
|
|
|
|
is restored on unwind.
|
|
|
|
|
|
2011-10-25 17:44:03 +02:00
|
|
|
|
2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
|
|
|
|
|
case where B3 isn't the return register.
|
|
|
|
|
|
2011-10-25 17:45:08 +02:00
|
|
|
|
* config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
|
|
|
|
|
logic for doubleword pops.
|
|
|
|
|
|
2011-10-25 07:13:12 +02:00
|
|
|
|
2011-10-25 Andreas Tobler <andreast@fgznet.ch>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-freebsd: Add wildcard.
|
|
|
|
|
|
2011-10-21 23:00:11 +02:00
|
|
|
|
2011-10-21 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* unwind-arm-common.inc: Handle ID3/4 unwinding data.
|
|
|
|
|
|
2011-10-17 17:36:28 +02:00
|
|
|
|
2011-10-16 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/50737
|
|
|
|
|
* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
|
|
|
|
|
fs->signal_frame to 1.
|
|
|
|
|
|
2011-10-08 00:52:28 +02:00
|
|
|
|
2011-10-07 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* generic-morestack-thread.c: #include <errno.h>.
|
|
|
|
|
|
2011-10-08 00:51:11 +02:00
|
|
|
|
2011-10-07 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
PR target/46093
|
|
|
|
|
* generic-morestack.c (__generic_morestack): Make sure the segment
|
|
|
|
|
is large enough for both the stack frame and the copied
|
|
|
|
|
parameters.
|
|
|
|
|
|
2011-10-06 15:48:14 +02:00
|
|
|
|
2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/49804
|
|
|
|
|
* config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
|
|
|
|
|
extra_parts.
|
|
|
|
|
|
2011-09-28 15:56:19 +02:00
|
|
|
|
2011-09-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rx/rx-lib.h: Always restrict doubles to the SF type when
|
|
|
|
|
64-bit doubles are not enabled.
|
|
|
|
|
* config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
|
|
|
|
|
and floatunsisf functions.
|
|
|
|
|
|
2011-09-13 14:48:33 +02:00
|
|
|
|
2011-09-13 Paul Brook <paul@codesourcery.com>
|
2011-09-28 15:56:19 +02:00
|
|
|
|
|
2011-09-13 14:48:33 +02:00
|
|
|
|
* config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
|
|
|
|
|
* unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
|
|
|
|
|
* unwind-arm-common.inc: New file.
|
|
|
|
|
* config/arm/unwind-arm.c: Use unwind-arm-common.inc.
|
|
|
|
|
* config/arm/unwind-arm.h: Use unwind-arm-common.h.
|
|
|
|
|
(_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
|
|
|
|
|
* config/c6x/libunwind.S: New file.
|
|
|
|
|
* config/c6x/pr-support.c: New file.
|
|
|
|
|
* config/c6x/unwind-c6x.c: New file.
|
|
|
|
|
* config/c6x/unwind-c6x.h: New file.
|
|
|
|
|
* config/c6x/t-c6x-elf: New file.
|
|
|
|
|
|
2011-08-23 01:13:57 +02:00
|
|
|
|
2011-08-23 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/64/sfp-machine.h (ASM_INVALID): New define.
|
|
|
|
|
(ASM_DIVZERO): Ditto.
|
|
|
|
|
(FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
|
|
|
|
|
|
2011-08-18 15:45:07 +02:00
|
|
|
|
2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
|
|
|
|
|
|
2011-08-17 13:13:20 +02:00
|
|
|
|
2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/50090
|
|
|
|
|
* config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
|
|
|
|
|
instead of an assembly one.
|
|
|
|
|
|
2011-08-12 19:13:04 +02:00
|
|
|
|
2011-08-12 Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/50047
|
|
|
|
|
* Makefile.in (install-unwind_h): Create
|
|
|
|
|
$(gcc_objdir)/include/unwind.h atomically.
|
|
|
|
|
|
2011-08-11 17:19:32 +02:00
|
|
|
|
2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (install-unwind_h): Remove destination file first.
|
|
|
|
|
|
2011-08-09 17:40:30 +02:00
|
|
|
|
2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* sync.c: New file.
|
|
|
|
|
* config/mips/t-mips16: New file.
|
|
|
|
|
* config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
|
|
|
|
|
(mips*-*-linux*): Likewise.
|
|
|
|
|
(mips*-sde-elf*): Likewise.
|
|
|
|
|
(mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
|
|
|
|
|
mipsisa64-*-elf*, mipsisa64r2-*-elf*.
|
|
|
|
|
Add mips/t-mips16 to tmake_file.
|
|
|
|
|
(mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
|
|
|
|
|
(mips-*-elf*): Likewise.
|
|
|
|
|
(mips64-*-elf*): Likewise.
|
|
|
|
|
(mips64orion-*-elf*): Likewise.
|
|
|
|
|
(mips*-*-rtems*): Likewise.
|
|
|
|
|
(mipstx39-*-elf*): Likewise.
|
|
|
|
|
* Makefile.in: Use SYNC instead of LIBGCC_SYNC.
|
|
|
|
|
($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
|
|
|
|
|
LIBGCC_SYNC_CFLAGS.
|
|
|
|
|
Use $(srcdir) to refer to sync.c.
|
|
|
|
|
Use $<.
|
|
|
|
|
($(libgcc-sync-funcs-o)): Likewise.
|
|
|
|
|
($(libgcc-sync-size-funcs-s-o)): Likewise.
|
|
|
|
|
($(libgcc-sync-funcs-s-o)): Likewise.
|
|
|
|
|
|
2011-08-09 16:26:41 +02:00
|
|
|
|
2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
* config.host (ia64*-*-linux*): Move ia64/t-glibc after
|
|
|
|
|
t-libunwind.
|
|
|
|
|
|
2011-08-08 15:26:06 +02:00
|
|
|
|
2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR other/48007
|
|
|
|
|
* config/i386/value-unwind.h: New.
|
|
|
|
|
|
2011-08-06 20:41:36 +02:00
|
|
|
|
2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
|
|
|
|
|
(*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
|
|
|
|
|
Add to tmake_file rather than overriding it.
|
|
|
|
|
|
soft-fp: Move to ../libgcc.
gcc:
* config/soft-fp: Move to ../libgcc.
* Makefile.in (SFP_MACHINE): Remove.
(libgcc-support): Remove $(SFP_MACHINE) dependency.
* config/arm/sfp-machine.h: Move to ../libgcc/config/arm.
* config/arm/t-arm-softfp: Move to
../libgcc/config/arm/t-softfp.
* config/c6x/sfp-machine.h: Move to ../libgcc/config/c6x.
* config/c6x/t-c6x-softfp: Remove.
* config/i386/sfp-machine.h: Move to ../libgcc/config/i386.
* config/i386/t-fprules-softfp: Move to
../libgcc/config/t-softfp-tf.
* config/ia64/sfp-machine.h: Move to ../libgcc/config/ia64.
* config/ia64/t-fprules-softfp: Remove.
* config/lm32/sfp-machine.h: Move to ../libgcc/config/lm32.
* config/lm32/t-fprules-softfp: Remove.
* config/moxie/sfp-machine.h: Remove.
* config/moxie/t-moxie-softfp: Remove.
* config/rs6000/darwin-ldouble-format: Move to
../libgcc/config/rs6000/ibm-ldouble-format.
* config/rs6000/darwin-ldouble.c: Move to
../libgcc/config/rs6000/ibm-ldouble.c
* config/rs6000/libgcc-ppc-glibc.ver: Move to ../libgcc/config/rs6000.
* config/rs6000/libgcc-ppc64.ver: Likewise.
* config/rs6000/sfp-machine.h: Likewise.
* config/rs6000/t-aix43 (SHLIB_MAPFILES): Remove
$(srcdir)/config/rs6000/libgcc-ppc64.ver.
(LIB2FUNCS_EXTRA): Remove.
(TARGET_LIBGCC2_CFLAGS): Remove.
* config/rs6000/t-aix52: Likewise
* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Remove
$(srcdir)/config/rs6000/darwin-ldouble.c.
(SHLIB_MAPFILES): Remove.
* config/rs6000/t-darwin64 (LIB2FUNCS_EXTRA): Remove
$(srcdir)/config/rs6000/darwin-ldouble.c.
* config/rs6000/t-fprules-softfp: Move to
../libgcc/config/t-softfp-sfdf.
* config/rs6000/t-freebsd: Move to ../libgcc/config/rs6000.
* config/rs6000/t-linux64 (softfp_wrap_start, softfp_wrap_end): Remove.
* config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Remove
$(srcdir)/config/rs6000/darwin-ldouble.c.
* config/score/sfp-machine.h: Move to ../libgcc/config/score.
* config/score/t-score-softfp: Remove.
* config.gcc (arm*-*-linux*): Remove arm/t-arm-softfp,
soft-fp/t-softfp from tmake_file.
(arm*-*-uclinux*): Likewise.
(arm*-*-ecos-elf): Likewise.
(arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
(arm*-*-rtems*): Likewise.
(arm*-*-elf): Likewise.
(moxie-*-elf): Remove moxie/t-moxie-softfp, soft-fp/t-softfp from
tmake_file.
(moxie-*-uclinux*): Likewise.
(moxie-*-rtems*): Likewise.
(lm32-*-elf*): Remove lm32/t-fprules-softfp, soft-fp/t-softfp from
tmake_file.
(lm32-*-rtems*): Likewise.
(lm32-*-uclinux*): Likewise.
(powerpc-*-freebsd*): Remove rs6000/t-freebsd,
rs6000/t-fprules-softfp, soft-fp/t-softfp from tmake_file.
(powerpc-*-linux*, powerpc64-*-linux*): Remove
rs6000/t-fprules-softfp, soft-fp/t-softfp from tmake_file.
(score-*-elf): Remove score/t-score-softfp, soft-fp/t-softfp from
tmake_file.
(tic6x-*-elf): Remove c6x/t-c6x-softfp, soft-fp/t-softfp from
tmake_file.
(tic6x-*-uclinux): Likewise.
(i[34567]86-*-darwin*, x86_64-*-darwin*): Remove i386/t-fprules-softfp,
soft-fp/t-softfp from tmake_file.
(i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
(x86_64-*-kfreebsd*-gnu, i[34567]86-*-gnu*): Likewise.
(i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*): Likewise.
(i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*):
Likewise.
(i[34567]86-*-freebsd*, x86_64-*-freebsd*): Likewise.
libgcc:
* config/t-softfp: Remove.
* soft-fp: Moved from ../gcc/config.
* soft-fp/README: Remove t-softfp reference.
* soft-fp/t-softfp: Move to config/t-softfp.
(softfp_machine_header): Remove.
(softfp_file_list): Remove config subdir.
(soft-fp-objects): New variable.
($(soft-fp-objects)): Set INTERNAL_CFLAGS.
(LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
(SFP_MACHINE, $(SFP_MACHINE)): Remove.
* config/t-softfp-excl: New file.
* config/t-softfp-sfdf: New file.
* config/t-softfp-tf: New file.
* config/no-sfp-machine.h: New file.
* config/arm/sfp-machine.h: New file.
* config/arm/t-softfp: New file.
* config/c6x/sfp-machine.h: New file.
* config/i386/32/t-fprules-softfp: Rename to ...
* config/i386/32/t-softfp: ... this.
(tifunctions, LIB2ADD): Remove.
(softfp_int_modes): Override.
* config/i386/64/t-softfp-compat (tf-functions): Remove config
subdir.
* config/i386/64/eqtf2.c: Likewise.
* config/i386/64/getf2.c: Likewise.
* config/i386/64/letf2.c: Likewise.
* config/ia64/sft-machine.h: New file.
* config/ia64/t-fprules-softfp: Rename to ...
* config/ia64/t-softfp: ... this.
* config/lm32/sfp-machine.h: New file.
* config/moxie/t-moxie-softfp: Remove.
* config/rs6000/ibm-ldouble-format: New file.
* config/rs6000/ibm-ldouble.c: New file.
* config/rs6000/libgcc-ppc-glibc.ver: New file
* config/rs6000/libgcc-ppc64.ver: New file
* config/rs6000/sfp-machine.h: New file.
* config/rs6000/t-freebsd: New file.
* config/rs6000/t-ibm-ldouble: New file.
* config/rs6000/t-ldbl128: Use $(srcdir) to refer to
libgcc-ppc-glibc.ver.
* config/rs6000/t-linux64: New file.
* config/rs6000/t-ppccomm (LIB2ADD): Add
$(srcdir)/config/rs6000/ibm-ldouble.c.
* config/rs6000/t-ppccomm-ldbl: New file.
* config/score/sfp-machine.h: New file.
* config.host (sfp_machine_header): Explain.
(arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
t-softfp to tmake_file.
(arm*-*-uclinux*): Likewise.
(arm*-*-ecos-elf): Likewise.
(arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
(arm*-*-rtems*): Likewise.
(arm*-*-elf): Likewise.
(ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
in tmake_file.
Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
(lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
(lm32-*-uclinux*): Likewise.
(moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
t-softfp-excl, t-softfp.
(powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
(powerpc64-*-darwin*): Likewise.
(powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
to tmake_file.
(powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
tmake_file.
(powerpc-*-eabisim*): Likewise.
(powerpc-*-elf*): Likewise.
(powerpc-*-eabialtivec*): Likewise.
(powerpc-xilinx-eabi*): Likewise.
(powerpc-*-rtems*): Likewise.
(powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
t-softfp-excl, t-softfp to tmake_file.
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
rs6000/t-ppccomm-ldbl to tmake_file.
(powerpcle-*-elf*): Likewise.
(powerpcle-*-eabisim*): Likewise.
(powerpcle-*-eabi*): Likewise.
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
rs6000/t-ibm-ldouble to tmake_file.
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
(score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
(tic6x-*-*): Likewise.
(i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
t-softfp to tmake_file.
* configure.ac (sfp_machine_header): Provide default if unset.
Substitute.
Link sfp-machine.h to config/$sfp_machine_header.
* configure: Regenerate.
From-SVN: r177452
2011-08-05 17:13:48 +02:00
|
|
|
|
2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/t-softfp: Remove.
|
|
|
|
|
* soft-fp: Moved from ../gcc/config.
|
|
|
|
|
* soft-fp/README: Remove t-softfp reference.
|
|
|
|
|
* soft-fp/t-softfp: Move to config/t-softfp.
|
|
|
|
|
(softfp_machine_header): Remove.
|
|
|
|
|
(softfp_file_list): Remove config subdir.
|
|
|
|
|
(soft-fp-objects): New variable.
|
|
|
|
|
($(soft-fp-objects)): Set INTERNAL_CFLAGS.
|
|
|
|
|
(LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
|
|
|
|
|
(SFP_MACHINE, $(SFP_MACHINE)): Remove.
|
|
|
|
|
* config/t-softfp-excl: New file.
|
|
|
|
|
* config/t-softfp-sfdf: New file.
|
|
|
|
|
* config/t-softfp-tf: New file.
|
|
|
|
|
* config/no-sfp-machine.h: New file.
|
|
|
|
|
* config/arm/sfp-machine.h: New file.
|
|
|
|
|
* config/arm/t-softfp: New file.
|
|
|
|
|
* config/c6x/sfp-machine.h: New file.
|
|
|
|
|
* config/i386/32/t-fprules-softfp: Rename to ...
|
|
|
|
|
* config/i386/32/t-softfp: ... this.
|
|
|
|
|
(tifunctions, LIB2ADD): Remove.
|
|
|
|
|
(softfp_int_modes): Override.
|
|
|
|
|
* config/i386/64/t-softfp-compat (tf-functions): Remove config
|
|
|
|
|
subdir.
|
|
|
|
|
* config/i386/64/eqtf2.c: Likewise.
|
|
|
|
|
* config/i386/64/getf2.c: Likewise.
|
|
|
|
|
* config/i386/64/letf2.c: Likewise.
|
|
|
|
|
* config/ia64/sft-machine.h: New file.
|
|
|
|
|
* config/ia64/t-fprules-softfp: Rename to ...
|
|
|
|
|
* config/ia64/t-softfp: ... this.
|
|
|
|
|
* config/lm32/sfp-machine.h: New file.
|
|
|
|
|
* config/moxie/t-moxie-softfp: Remove.
|
|
|
|
|
* config/rs6000/ibm-ldouble-format: New file.
|
|
|
|
|
* config/rs6000/ibm-ldouble.c: New file.
|
|
|
|
|
* config/rs6000/libgcc-ppc-glibc.ver: New file
|
|
|
|
|
* config/rs6000/libgcc-ppc64.ver: New file
|
|
|
|
|
* config/rs6000/sfp-machine.h: New file.
|
|
|
|
|
* config/rs6000/t-freebsd: New file.
|
|
|
|
|
* config/rs6000/t-ibm-ldouble: New file.
|
|
|
|
|
* config/rs6000/t-ldbl128: Use $(srcdir) to refer to
|
|
|
|
|
libgcc-ppc-glibc.ver.
|
|
|
|
|
* config/rs6000/t-linux64: New file.
|
|
|
|
|
* config/rs6000/t-ppccomm (LIB2ADD): Add
|
|
|
|
|
$(srcdir)/config/rs6000/ibm-ldouble.c.
|
|
|
|
|
* config/rs6000/t-ppccomm-ldbl: New file.
|
|
|
|
|
* config/score/sfp-machine.h: New file.
|
|
|
|
|
* config.host (sfp_machine_header): Explain.
|
|
|
|
|
(arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
|
|
|
|
|
t-softfp to tmake_file.
|
|
|
|
|
(arm*-*-uclinux*): Likewise.
|
|
|
|
|
(arm*-*-ecos-elf): Likewise.
|
|
|
|
|
(arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
|
|
|
|
|
(arm*-*-rtems*): Likewise.
|
|
|
|
|
(arm*-*-elf): Likewise.
|
|
|
|
|
(ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
|
|
|
|
|
in tmake_file.
|
|
|
|
|
Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
|
|
|
|
|
(lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
|
|
|
|
|
(lm32-*-uclinux*): Likewise.
|
|
|
|
|
(moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
|
|
|
|
|
t-softfp-excl, t-softfp.
|
|
|
|
|
(powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
|
|
|
|
|
(powerpc64-*-darwin*): Likewise.
|
|
|
|
|
(powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
|
|
|
|
|
to tmake_file.
|
|
|
|
|
(powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(powerpc-*-eabisim*): Likewise.
|
|
|
|
|
(powerpc-*-elf*): Likewise.
|
|
|
|
|
(powerpc-*-eabialtivec*): Likewise.
|
|
|
|
|
(powerpc-xilinx-eabi*): Likewise.
|
|
|
|
|
(powerpc-*-rtems*): Likewise.
|
|
|
|
|
(powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
|
|
|
|
|
t-softfp-excl, t-softfp to tmake_file.
|
|
|
|
|
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
|
|
|
|
|
rs6000/t-ppccomm-ldbl to tmake_file.
|
|
|
|
|
(powerpcle-*-elf*): Likewise.
|
|
|
|
|
(powerpcle-*-eabisim*): Likewise.
|
|
|
|
|
(powerpcle-*-eabi*): Likewise.
|
|
|
|
|
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
|
|
|
|
|
rs6000/t-ibm-ldouble to tmake_file.
|
|
|
|
|
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
|
|
|
|
|
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
|
|
|
|
|
(score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
|
|
|
|
|
(tic6x-*-*): Likewise.
|
|
|
|
|
(i[34567]86-*-darwin*, x86_64-*-darwin*,
|
|
|
|
|
i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
|
|
|
|
|
i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
|
|
|
|
|
i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
|
|
|
|
|
i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
|
|
|
|
|
i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
|
|
|
|
|
t-softfp to tmake_file.
|
|
|
|
|
* configure.ac (sfp_machine_header): Provide default if unset.
|
|
|
|
|
Substitute.
|
|
|
|
|
Link sfp-machine.h to config/$sfp_machine_header.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
Makefile.in (FPBIT_FUNCS, [...]): Remove.
gcc:
* Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): Remove.
(libgcc-support): Remove $(FPBIT), $(DPBIT), $(TPBIT)
dependencies.
(libgcc.mvars): Remove FPBIT, FPBIT_FUNCS, DPBIT, DPBIT_FUNCS,
TPBIT, TPBIT_FUNCS.
* config/fp-bit.c, config/fp-bit.h: Move to ../libgcc.
* config/arm/t-strongarm-elf (FPBIT, DPBIT, dp-bit.c, fp-bit.c):
Remove.
* config/arm/t-vxworks: Likewise.
* config/arm/t-wince-pe: Likewise.
* config/avr/t-avr (fp-bit.c, FPBIT): Remove.
* config/bfin/t-bfin (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/bfin/t-bfin-elf: Likewise.
* config/bfin/t-bfin-linux: Likewise.
* config/bfin/t-bfin-uclinux: Likewise.
* config/cris/t-cris (FPBIT, DPBIT, dp-bit.c, tmplibgcc_fp_bit.c):
Remove.
* config/fr30/t-fr30: Likewise.
* config/frv/t-frv: Likewise.
* config/h8300/t-h8300 (FPBIT, fp-bit.c): Remove.
* config/iq2000/t-iq2000 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/m32c/t-m32c: Likewise.
* config/m32r/t-linux: (LIB2FUNCS_EXTRA, fp-bit.c, dp-bit.c): Remove.
* config/m32r/t-m32r (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/mcore/t-mcore: Likewise.
* config/mep/t-mep: Likewise.
* config/microblaze/t-microblaze: Likewise.
* config/mips/t-linux64 (TPBIT, tp-bit.c): Remove.
* config/mips/t-mips (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/mips/t-sdemtk (FPBIT, DPBIT): Remove.
* config/mips/t-sr71k (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/mn10300/t-linux: Remove.
* config/mn10300/t-mn10300 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/pdp11/t-pdp11: Likewise.
* config/picochip/t-picochip (FPBIT, fp-bit.c): Remove.
* config/rs6000/ppc64-fp.c: Move to ../libgcc/config/rs6000.
* config/rs6000/t-aix43 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
(LIB2FUNCS_EXTRA): Remove $(srcdir)/config/rs6000/ppc64-fp.c.
* config/rs6000/t-aix52: Likewise.
* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Remove
$(srcdir)/config/rs6000/ppc64-fp.c.
* config/rs6000/t-fprules-fpbit: Remove.
* config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Remove.
* config/rs6000/t-lynx (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/sh/t-netbsd (FPBIT, DPBIT): Remove.
* config/sh/t-sh (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/sparc/t-elf: Likewise.
* config/sparc/t-leon: Likewise.
* config/sparc/t-leon3: Likewise.
* config/spu/t-spu-elf: Likewise.
(DPBIT_FUNCS): Remove.
* config/stormy16/t-stormy16 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/v850/t-v850: Likewise.
* config.gcc (avr-*-rtems*): Add avr/avr-lib.h to libgcc_tm_file.
(avr-*-*): Likewise.
(h8300-*-rtems*): Set libgcc_tm_file.
(h8300-*-elf*): Likewise.
(powerpc-*-eabisimaltivec*): Remove rs6000/t-fprules-fpbit from
tmake_file.
(powerpc-*-eabisim*): Likewise.
(powerpc-*-elf*): Likewise.
(powerpc-*-eabialtivec*): Likewise.
(powerpc-xilinx-eabi*): Likewise.
(powerpc-*-eabi*): Likewise.
(powerpc-*-rtems*): Likewise.
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Likewise.
(powerpcle-*-elf*): Likewise.
(powerpcle-*-eabisim*): Likewise.
(powerpcle-*-eabi*): Likewise.
(rx-*-elf*): Add rx/rx-lib.h to libgcc_tm_file.
(am33_2.0-*-linux*): Remove mn10300/t-linux from tmake_file.
* doc/fragments.texi (Target Fragment, Floating Point Emulation):
Remove.
gcc/po:
* EXCLUDES (config/fp-bit.c, config/fp-bit.h): Remove.
libgcc:
* Makefile.in (double_type_size, long_double_type_size): Set.
Remove $(fpbit-in-libgcc) support.
(FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
(fpbit-src): New variable.
($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
Compile with -DFLOAT $(FPBIT_CFLAGS).
Use $<.
($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
Compile with $(FPBIT_CFLAGS).
Use $<.
($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
Compile with -DFLOAT $(TPBIT_CFLAGS).
Use $<.
* configure.ac (double_type_size, long_double_type_size):
Determine and substitute.
* configure: Regenerate.
* fp-bit.c, fp-bit.h: New files.
* config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
* config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
* config/mips/t-mips: New file.
* config/mips/t-sdemtk: New file.
* config/rs6000/ppc64-fp.c: New file.
* config/rs6000/t-darwin (LIB2ADD): Add
$(srcdir)/config/rs6000/ppc64-fp.c.
* config/rs6000/t-ppc64-fp: New file.
* config/rx/rx-lib.h: New file.
* config/rx/t-rx (FPBIT): Set to true.
($(gcc_objdir)/fp-bit.c): Remove.
(DPBIT): Set to true only with -m64bit-doubles.
($(gcc_objdir)/dp-bit.c): Remove.
* config/sparc/t-softfp: Remove.
* config/spu/t-elf: New file.
* config/t-fdpbit, config/t-fpbit: New files.
* config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
(mips*-*-*): Likewise.
(arm-wrs-vxworks): Likewise.
(arm*-*-freebsd*): Likewise.
(avr-*-rtems*): Add t-fpbit to tmake_file.
(avr-*-*): Likewise.
(bfin*-elf*): Add t-fdpbit to tmake_file.
(bfin*-uclinux*): Likewise.
(bfin*-linux-uclibc*): Likewise.
(bfin*-rtems*): New case.
Add t-fdpbit to tmake_file.
(bfin*-*): Add t-fdpbit to tmake_file.
(crisv32-*-elf): Likewise.
(cris-*-linux*): Likewise.
(fr30-*-elf): Likewise.
(frv-*-elf, frv-*-*linux*): Likewise.
(h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
(iq2000*-*-elf*): Add t-fdpbit to tmake_file.
(m32r-*-elf*): Likewise.
(m32rle-*-elf*): Likewise.
(m32r-*-linux*): Likewise.
(m32rle-*-linux*): Likewise.
(mcore-*-elf): Add t-fdpbit to tmake_file.
(microblaze*-*-*): Likewise.
(mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
(mips*-*-netbsd*): Add mips/t-mips to tmake_file.
(mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
Fix typo.
Add mips/t-tpbit to tmake-file.
(mips*-*-linux*): Fix typo.
(mips*-sde-elf*): New case
Add mips/t-sdemtk unless using newlib.
(mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
(mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
(mn10300-*-*): Likewise.
(pdp11-*-*): Likewise.
(picochip-*-*): Add t-fpbit to tmake_file.
(powerpc-*-eabisimaltivec*): Likewise.
(powerpc-*-eabisim*): Likewise.
(powerpc-*-elf*): Likewise.
(powerpc-*-eabialtivec*): Likewise.
(powerpc-xilinx-eabi*): New case.
Add t-fdpbit to tmake_file.
(powerpc-*-eabi*): Add t-fdpbit to tmake_file.
(powerpc-*-rtems*): Likewise.
(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
tmake_file.
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
tmake_file.
(powerpc-*-lynxos*): Likewise.
(powerpcle-*-elf*): Likewise.
(powerpcle-*-eabisim*): Likewise.
(powerpcle-*-eabi*): Likewise.
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
(rx-*-elf): Add t-fdpbit to tmake_file.
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
(sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
sh*-*-netbsd*.
(sh-*-rtems*): Add t-fdpbit to tmake_file.
(sh-wrs-vxworks): Likewise.
(sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
(sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
(sparc-*-rtems*, sparc64-*-rtems*): Split off ...
(sparc64-*-rtems*): ... new case.
(sparc-*-rtems*): Add t-fdpbit to tmake_file.
(spu-*-elf*): Likewise.
Add spu/t-elf to tmake_file.
(v850*-*-*): Add t-fdpbit to tmake_file.
(xstormy16-*-elf): Likewise.
(am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
(mep*-*-*): Likewise.
From-SVN: r177448
2011-08-05 16:53:09 +02:00
|
|
|
|
2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (double_type_size, long_double_type_size): Set.
|
|
|
|
|
Remove $(fpbit-in-libgcc) support.
|
|
|
|
|
(FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
|
|
|
|
|
(fpbit-src): New variable.
|
|
|
|
|
($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
|
|
|
|
|
Compile with -DFLOAT $(FPBIT_CFLAGS).
|
|
|
|
|
Use $<.
|
|
|
|
|
($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
|
|
|
|
|
Compile with $(FPBIT_CFLAGS).
|
|
|
|
|
Use $<.
|
|
|
|
|
($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
|
|
|
|
|
Compile with -DFLOAT $(TPBIT_CFLAGS).
|
|
|
|
|
Use $<.
|
|
|
|
|
* configure.ac (double_type_size, long_double_type_size):
|
|
|
|
|
Determine and substitute.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* fp-bit.c, fp-bit.h: New files.
|
|
|
|
|
* config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
|
|
|
|
|
* config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
|
|
|
|
|
* config/mips/t-mips: New file.
|
|
|
|
|
* config/mips/t-sdemtk: New file.
|
|
|
|
|
* config/rs6000/ppc64-fp.c: New file.
|
|
|
|
|
* config/rs6000/t-darwin (LIB2ADD): Add
|
|
|
|
|
$(srcdir)/config/rs6000/ppc64-fp.c.
|
|
|
|
|
* config/rs6000/t-ppc64-fp: New file.
|
|
|
|
|
* config/rx/rx-lib.h: New file.
|
|
|
|
|
* config/rx/t-rx (FPBIT): Set to true.
|
|
|
|
|
($(gcc_objdir)/fp-bit.c): Remove.
|
|
|
|
|
(DPBIT): Set to true only with -m64bit-doubles.
|
|
|
|
|
($(gcc_objdir)/dp-bit.c): Remove.
|
|
|
|
|
* config/sparc/t-softfp: Remove.
|
|
|
|
|
* config/spu/t-elf: New file.
|
|
|
|
|
* config/t-fdpbit, config/t-fpbit: New files.
|
|
|
|
|
* config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(mips*-*-*): Likewise.
|
|
|
|
|
(arm-wrs-vxworks): Likewise.
|
|
|
|
|
(arm*-*-freebsd*): Likewise.
|
|
|
|
|
(avr-*-rtems*): Add t-fpbit to tmake_file.
|
|
|
|
|
(avr-*-*): Likewise.
|
|
|
|
|
(bfin*-elf*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(bfin*-uclinux*): Likewise.
|
|
|
|
|
(bfin*-linux-uclibc*): Likewise.
|
|
|
|
|
(bfin*-rtems*): New case.
|
|
|
|
|
Add t-fdpbit to tmake_file.
|
|
|
|
|
(bfin*-*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(crisv32-*-elf): Likewise.
|
|
|
|
|
(cris-*-linux*): Likewise.
|
|
|
|
|
(fr30-*-elf): Likewise.
|
|
|
|
|
(frv-*-elf, frv-*-*linux*): Likewise.
|
|
|
|
|
(h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
|
|
|
|
|
(iq2000*-*-elf*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(m32r-*-elf*): Likewise.
|
|
|
|
|
(m32rle-*-elf*): Likewise.
|
|
|
|
|
(m32r-*-linux*): Likewise.
|
|
|
|
|
(m32rle-*-linux*): Likewise.
|
|
|
|
|
(mcore-*-elf): Add t-fdpbit to tmake_file.
|
|
|
|
|
(microblaze*-*-*): Likewise.
|
|
|
|
|
(mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
|
|
|
|
|
(mips*-*-netbsd*): Add mips/t-mips to tmake_file.
|
|
|
|
|
(mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
|
|
|
|
|
Fix typo.
|
|
|
|
|
Add mips/t-tpbit to tmake-file.
|
|
|
|
|
(mips*-*-linux*): Fix typo.
|
|
|
|
|
(mips*-sde-elf*): New case
|
|
|
|
|
Add mips/t-sdemtk unless using newlib.
|
|
|
|
|
(mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
|
|
|
|
|
(mn10300-*-*): Likewise.
|
|
|
|
|
(pdp11-*-*): Likewise.
|
|
|
|
|
(picochip-*-*): Add t-fpbit to tmake_file.
|
|
|
|
|
(powerpc-*-eabisimaltivec*): Likewise.
|
|
|
|
|
(powerpc-*-eabisim*): Likewise.
|
|
|
|
|
(powerpc-*-elf*): Likewise.
|
|
|
|
|
(powerpc-*-eabialtivec*): Likewise.
|
|
|
|
|
(powerpc-xilinx-eabi*): New case.
|
|
|
|
|
Add t-fdpbit to tmake_file.
|
|
|
|
|
(powerpc-*-eabi*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(powerpc-*-rtems*): Likewise.
|
|
|
|
|
(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
|
|
|
|
|
tmake_file.
|
|
|
|
|
(powerpc-*-lynxos*): Likewise.
|
|
|
|
|
(powerpcle-*-elf*): Likewise.
|
|
|
|
|
(powerpcle-*-eabisim*): Likewise.
|
|
|
|
|
(powerpcle-*-eabi*): Likewise.
|
|
|
|
|
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
|
|
|
|
|
t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
|
|
|
|
|
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
|
|
|
|
|
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
|
|
|
|
|
(rx-*-elf): Add t-fdpbit to tmake_file.
|
|
|
|
|
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
|
|
|
|
|
(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
|
|
|
|
|
(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
|
|
|
|
|
(sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
|
|
|
|
|
sh*-*-netbsd*.
|
|
|
|
|
(sh-*-rtems*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(sh-wrs-vxworks): Likewise.
|
|
|
|
|
(sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
|
|
|
|
|
(sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
|
|
|
|
|
(sparc-*-rtems*, sparc64-*-rtems*): Split off ...
|
|
|
|
|
(sparc64-*-rtems*): ... new case.
|
|
|
|
|
(sparc-*-rtems*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(spu-*-elf*): Likewise.
|
|
|
|
|
Add spu/t-elf to tmake_file.
|
|
|
|
|
(v850*-*-*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(xstormy16-*-elf): Likewise.
|
|
|
|
|
(am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
|
|
|
|
|
(mep*-*-*): Likewise.
|
|
|
|
|
|
Makefile.in (UNWIND_H): Remove.
gcc:
* Makefile.in (UNWIND_H): Remove.
(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Move to
../libgcc/Makefile.in.
(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): Likewise.
(LIBUNWINDDEP): Remove.
(libgcc-support): Remove LIB2ADDEH, $(srcdir)/emutls.c dependencies.
(libgcc.mvars): Remove LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED,
LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL.
(stmp-int-hdrs): Remove $(UNWIND_H) dependency.
Don't copy $(UNWIND_H).
* config.gcc (ia64*-*-linux*): Remove with_system_libunwind
handling.
* configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Remove.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
unwind-dw2-fde-compat.c, unwind-dw2-fde-glibc.c, unwind-dw2-fde.c,
unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
unwind-pe.h, unwind-sjlj.c, unwind.inc: Move to ../libgcc.
* unwind-dw2-fde-darwin.c: Move to ../libgcc/config.
* config/arm/libunwind.S, config/arm/pr-support.c,
config/arm/unwind-arm.c, config/arm/unwind-arm.h: Move to
../libgcc/config/arm.
* config/arm/t-bpabi (UNWIND_H, LIB2ADDEH): Remove.
* config/arm/t-symbian (UNWIND_H, LIB2ADDEH): Remove.
* config/frv/t-frv ($(T)frvbegin$(objext)): Use
$(srcdir)/../libgcc to refer to unwind-dw2-fde.h.
($(T)frvend$(objext)): Likewise.
* config/ia64/t-glibc (LIB2ADDEH): Remove.
* config/ia64/t-glibc-libunwind: Move to ../libgcc/config/ia64.
* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
config/ia64/unwind-ia64.c, config/ia64/unwind-ia64.h: Move to
../libgcc/config/ia64.
* config/ia64/t-hpux (LIB2ADDEH): Remove.
* config/ia64/t-ia64 (LIB2ADDEH): Remove.
* config/ia64/t-vms (LIB2ADDEH): Remove.
* config/ia64/vms.h (UNW_IVMS_MODE,
MD_UNW_COMPATIBLE_PERSONALITY_P): Remove.
* config/picochip/t-picochip (LIB2ADDEH): Remove.
* config/rs6000/aix.h (R_LR, MD_FROB_UPDATE_CONTEXT): Remove.
* config/rs6000/t-darwin (LIB2ADDEH): Remove.
* config/rs6000/darwin-fallback.c: Move to ../libgcc/config/rs6000.
* config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): Use
$(srcdir)/../libgcc to refer to unwinder sources.
* config/spu/t-spu-elf (LIB2ADDEH): Remove.
* config/t-darwin (LIB2ADDEH): Remove.
* config/t-freebsd (LIB2ADDEH): Remove.
* config/t-libunwind (LIB2ADDEH, LIB2ADDEHSTATIC): Remove.
* config/t-libunwind-elf: Move to ../libgcc/config.
* config/t-linux (LIB2ADDEH): Remove.
* config/t-sol2 (LIB2ADDEH): Remove.
* config/xtensa/t-xtensa (LIB2ADDEH): Remove.
* system.h (MD_FROB_UPDATE_CONTEXT): Poison.
gcc/po:
* EXCLUDES (unwind-c.c, unwind-dw2-fde-darwin.c)
(unwind-dw2-fde-glibc.c, unwind-dw2-fde.c, unwind-dw2-fde.h)
(unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h): Remove.
libgcc:
* Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
variables.
(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
(install-unwind_h): New target.
(all): Depend on it.
* config.host (unwind_header): New variable.
(*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
*-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
(*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
(arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
Set unwind_header.
(arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
Set unwind_header.
(arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
arm*-*-eabi*.
Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
Set unwind_header.
(ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
(ia64*-*-freebsd*): Likewise.
(ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
tmake_file.
Add t-libunwind-elf, ia64/t-glibc-libunwind unless
$with_system_libunwind.
(ia64*-*-hpux*): Set tmake_file.
(ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
(picochip-*-*): Set tmake_file.
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
md_unwind_header.
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
(s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
(xtensa*-*-elf*): Set tmake_file.
(xtensa*-*-linux*): Likewise.
* configure.ac: Include ../config/unwind_ipinfo.m4.
Call GCC_CHECK_UNWIND_GETIPINFO.
Link unwind.h to $unwind_header.
* configure: Regenerate.
* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
* config/unwind-dw2-fde-darwin.c: New file.
* config/arm/libunwind.S, config/arm/pr-support.c,
config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
config/arm/unwind-arm.h,: New files.
* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
config/ia64/t-eh-ia64, config/ia64/t-glibc,
config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
config/ia64/t-vms, config/ia64/unwind-ia64.c,
config/ia64/unwind-ia64.h: New files.
* config/picochip/t-picochip: New file.
* config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
files.
* config/rs6000/t-darwin (LIB2ADDEH): Set.
* config/s390/t-tpf (LIB2ADDEH): Remove.
* config/t-darwin (LIB2ADDEH): Set.
* config/t-eh-dw2-dip: New file.
* config/t-libunwind, config/t-libunwind-elf: New files.
* config/t-sol2 (LIB2ADDEH): Remove.
* config/xtensa/t-xtensa: New file.
gcc/ada:
* gcc-interface/Makefile.in (raise-gcc.o): Search
$(srcdir)/../libgcc.
libgo:
* Makefile.am (AM_CFLAGS): Search $(srcdir)/../libgcc.
* Makefile.in: Regenerate.
libjava:
* configure.ac (GCC_UNWIND_INCLUDE): Rename to
LIBGCC_UNWIND_INCLUDE.
Point to $(multi_basedir)/./libjava/../libgcc.
* configure: Regenerate.
* Makefile.am (GCC_UNWIND_INCLUDE): Reflect this.
* Makefile.in: Regenerate.
libobjc:
* Makefile.in (INCLUDES): Search
$(srcdir)/$(MULTISRCTOP)../libgcc.
libstdc++-v3:
* acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Point TOPLEVEL_INCLUDES
to $(toplevel_srcdir)/libgcc.
* configure: Regenerate.
From-SVN: r177447
2011-08-05 16:37:48 +02:00
|
|
|
|
2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
|
|
|
|
|
variables.
|
|
|
|
|
(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
|
|
|
|
|
(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
|
|
|
|
|
(install-unwind_h): New target.
|
|
|
|
|
(all): Depend on it.
|
|
|
|
|
* config.host (unwind_header): New variable.
|
|
|
|
|
(*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
|
|
|
|
|
(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
|
|
|
|
|
*-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
|
|
|
|
|
(*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
|
|
|
|
|
(arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
|
|
|
|
|
Set unwind_header.
|
|
|
|
|
(arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
|
|
|
|
|
Set unwind_header.
|
|
|
|
|
(arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
|
|
|
|
|
arm*-*-eabi*.
|
|
|
|
|
Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
|
|
|
|
|
Set unwind_header.
|
|
|
|
|
(ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
|
|
|
|
|
(ia64*-*-freebsd*): Likewise.
|
|
|
|
|
(ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
|
|
|
|
|
tmake_file.
|
|
|
|
|
Add t-libunwind-elf, ia64/t-glibc-libunwind unless
|
|
|
|
|
$with_system_libunwind.
|
|
|
|
|
(ia64*-*-hpux*): Set tmake_file.
|
|
|
|
|
(ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
|
|
|
|
|
(picochip-*-*): Set tmake_file.
|
|
|
|
|
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
|
|
|
|
|
md_unwind_header.
|
|
|
|
|
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
|
|
|
|
|
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
|
|
|
|
|
(s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
|
|
|
|
|
(xtensa*-*-elf*): Set tmake_file.
|
|
|
|
|
(xtensa*-*-linux*): Likewise.
|
|
|
|
|
* configure.ac: Include ../config/unwind_ipinfo.m4.
|
|
|
|
|
Call GCC_CHECK_UNWIND_GETIPINFO.
|
|
|
|
|
Link unwind.h to $unwind_header.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
|
|
|
|
|
unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
|
|
|
|
|
unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
|
|
|
|
|
unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
|
|
|
|
|
* config/unwind-dw2-fde-darwin.c: New file.
|
|
|
|
|
* config/arm/libunwind.S, config/arm/pr-support.c,
|
|
|
|
|
config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
|
|
|
|
|
config/arm/unwind-arm.h,: New files.
|
|
|
|
|
* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
|
|
|
|
|
config/ia64/t-eh-ia64, config/ia64/t-glibc,
|
|
|
|
|
config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
|
|
|
|
|
config/ia64/t-vms, config/ia64/unwind-ia64.c,
|
|
|
|
|
config/ia64/unwind-ia64.h: New files.
|
|
|
|
|
* config/picochip/t-picochip: New file.
|
|
|
|
|
* config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
|
|
|
|
|
files.
|
|
|
|
|
* config/rs6000/t-darwin (LIB2ADDEH): Set.
|
|
|
|
|
* config/s390/t-tpf (LIB2ADDEH): Remove.
|
|
|
|
|
* config/t-darwin (LIB2ADDEH): Set.
|
|
|
|
|
* config/t-eh-dw2-dip: New file.
|
|
|
|
|
* config/t-libunwind, config/t-libunwind-elf: New files.
|
|
|
|
|
* config/t-sol2 (LIB2ADDEH): Remove.
|
|
|
|
|
* config/xtensa/t-xtensa: New file.
|
|
|
|
|
|
2011-08-03 06:59:41 +02:00
|
|
|
|
2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
|
|
|
|
|
(x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
|
|
|
|
|
long long to check rt_sigreturn syscall.
|
|
|
|
|
|
2011-08-01 17:05:24 +02:00
|
|
|
|
2011-08-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
|
|
|
|
|
Restore for indirect call bcrtl from correct stack slot, and only
|
|
|
|
|
if cfa+40 isn't valid.
|
|
|
|
|
|
configure.ac (fixed-point): Add ARM support.
gcc/
* configure.ac (fixed-point): Add ARM support.
* configure: Regenerate.
* config/arm/arm.c (arm_fixed_mode_set): New struct.
(arm_set_fixed_optab_libfunc): New.
(arm_set_fixed_conv_libfunc): New.
(arm_init_libfuncs): Initialise fixed-point helper libfuncs with
ARM-specific names.
(aapcs_libcall_value): Return sub-word-size fixed-point libcall
return values in SImode.
(arm_return_in_msb): Return fixed-point types in the msb.
(arm_pad_reg_upwards, arm_pad_arg_upwards): Pad fixed-point types
upwards.
(arm_scalar_mode_supported_p): Support fixed-point modes.
(arm_vector_mode_supported_p): Support vector fixed-point modes.
* config/arm/arm.h (SHORT_FRACT_TYPE_SIZE, FRACT_TYPE_SIZE)
(LONG_FRACT_TYPE_SIZE, LONG_LONG_FRACT_TYPE_SIZE)
(SHORT_ACCUM_TYPE_SIZE, ACCUM_TYPE_SIZE, LONG_ACCUM_TYPE_SIZE)
(LONG_LONG_ACCUM_TYPE_SIZE, MAX_FIXED_MODE_SIZE): Define.
* config/arm/iterators.md (FIXED, ADDSUB, UQADDSUB, QADDSUB, QMUL):
New mode iterators.
(qaddsub_suf): New mode attribute.
* config/arm/arm-modes.def (FRACT, UFRACT, ACCUM, UACCUM): Declare
vector modes.
* config/arm/predicates.md (sat_shift_operator): New predicate.
* config/arm/arm-fixed.md: New.
* config/arm/arm.md: Include arm-fixed.md.
* config/arm/t-arm (MD_INCLUDES): Add arm-fixed.md.
libgcc/
* config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
(arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
* config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
gcc/testsuite/
* gcc.target/arm/fixed-point-exec.c: New test.
From-SVN: r177025
2011-08-01 14:41:30 +02:00
|
|
|
|
2011-08-01 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
|
|
|
|
|
(arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
|
|
|
|
|
* config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
|
|
|
|
|
|
2011-08-01 14:02:45 +02:00
|
|
|
|
2011-08-01 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
|
|
|
|
|
(libgcc-std.ver.in): Use above.
|
|
|
|
|
* fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
|
|
|
|
|
LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
|
|
|
|
|
throughout file.
|
|
|
|
|
* config/t-fixedpoint-gnu-prefix: New file.
|
|
|
|
|
* config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
|
|
|
|
|
* libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
|
|
|
|
|
instead of __PFX__.
|
|
|
|
|
|
2011-07-29 06:09:17 +02:00
|
|
|
|
2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
|
|
|
|
|
Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
|
|
|
|
|
for x86-64. Properly check __x86_64__ and __LP64__.
|
|
|
|
|
|
2011-07-28 22:36:39 +02:00
|
|
|
|
2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
|
|
|
|
|
version.
|
|
|
|
|
(_FP_WS_TYPE): Likewise.
|
|
|
|
|
(_FP_I_TYPE): Likewise.
|
|
|
|
|
|
2011-07-28 09:44:24 +02:00
|
|
|
|
2011-07-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
|
|
|
|
|
Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
|
|
|
|
|
in a plt call stub. Do restore r2 if stopped on bctrl.
|
|
|
|
|
|
re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables)
toplevel:
* configure: Regenerate.
config:
* elf.m4 (target_elf): Remove *-netware*.
contrib:
* config-list.mk (i586-netware): Remove.
(.PHONY): Remove make-script-dir dependency.
(make-script-dir): Remove.
($(LIST)): Remove make-script-dir dependency.
gcc:
* config.gcc (i[3456x]86-*-netware*): Remove.
* gthr-nks.h: Remove.
* configure.ac (enable_threads): Remove nks.
* configure: Regenerate.
* config/i386/i386.c (ix86_encode_section_info): Remove netware
reference.
* config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): Remove
<netware.h> reference.
* config/i386/netware-libgcc.c,
gcc/config/i386/netware-libgcc.def,
gcc/config/i386/netware-libgcc.exp, gcc/config/i386/netware.c,
gcc/config/i386/netware.h, gcc/config/i386/netware.opt,
gcc/config/i386/nwld.c, gcc/config/i386/nwld.h,
gcc/config/i386/t-netware, gcc/config/i386/t-nwld: Remove
* doc/extend.texi (Function Attributes,
callee_pop_aggregate_return): Remove i?86-netware reference.
* doc/install.texi (Configuration, --enable-threads): Remove nks.
gcc/testsuite:
* g++.dg/ext/bitfield2.C: Remove i?86-*-netware support.
* g++.dg/ext/bitfield3.C: Likewise.
* g++.dg/ext/bitfield4.C: Likewise.
* g++.dg/ext/bitfield5.C: Likewise.
* g++.dg/other/PR23205.C: Remove *-*-netware* support.
* g++.dg/other/pr23205-2.C: Likewise.
* gcc.c-torture/compile/20001109-1.c: Remove dg-xfail-if.
* gcc.c-torture/compile/20001109-2.c: Likewise.
* gcc.dg/20040813-1.c: Remove *-*-netware* support.
* gcc.dg/bitfld-15.c: Remove i?86-*-netware support.
* gcc.dg/bitfld-16.c: Likewise.
* gcc.dg/bitfld-17.c: Likewise.
* gcc.dg/bitfld-18.c: Likewise.
* gcc.dg/builtins-config.h: Remove Netware support.
* gcc.dg/cdce1.c: Remove *-*-netware* support. Update line number.
* gcc.dg/cdce2.c: Likewise.
* gcc.dg/cpp/assert4.c: Remove netware support.
* gcc.dg/debug/pr35154.c: Remove *-*-netware* support.
* gfortran.dg/debug/pr35154-stabs.f: Remove *-*-netware* support.
* lib/target-supports.exp (check_visibility_available): Remove
NetWare support.
(check_profiling_available): Likewise.
libgcc:
* config.host (i[3456x]86-*-netware*): Remove.
* config/i386/netware-crt0.c, config/i386/t-nwld,
config/i386/t-slibgcc-nwld: Remove.
libstdc++-v3:
* crossconfig.m4 (*-netware): Remove.
* configure: Regenerate.
From-SVN: r176391
2011-07-18 13:04:18 +02:00
|
|
|
|
2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (i[3456x]86-*-netware*): Remove.
|
|
|
|
|
* config/i386/netware-crt0.c, config/i386/t-nwld,
|
|
|
|
|
config/i386/t-slibgcc-nwld: Remove.
|
|
|
|
|
|
2011-07-15 11:36:40 +02:00
|
|
|
|
2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Handle tic6x-*-*.
|
|
|
|
|
* config/c6x/c6x-abi.h: New file.
|
|
|
|
|
|
2011-07-13 19:39:35 +02:00
|
|
|
|
2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/i386/crtprec.c: New file.
|
|
|
|
|
* config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
|
|
|
|
|
* config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
|
|
|
|
|
Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
|
|
|
|
|
(x86_64-*-darwin*): Likewise.
|
|
|
|
|
(i[34567]86-*-solaris2*: Likewise.
|
|
|
|
|
|
2011-07-13 19:33:38 +02:00
|
|
|
|
2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/alpha/crtfastmath.c: New file.
|
|
|
|
|
* config/i386/crtfastmath.c: New file.
|
|
|
|
|
* config/ia64/crtfastmath.c: New file.
|
|
|
|
|
* config/mips/crtfastmath.c: New file.
|
|
|
|
|
* config/sparc/crtfastmath.c: New file.
|
|
|
|
|
|
|
|
|
|
* config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
|
|
|
|
|
crtfastmath.c.
|
|
|
|
|
Add -frandom-seed=gcc-crtfastmath.
|
|
|
|
|
* config/alpha/t-crtfm: Remove.
|
|
|
|
|
* config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
|
|
|
|
|
* config/ia64/t-ia64 (crtfastmath.o): Remove.
|
|
|
|
|
|
|
|
|
|
* config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
|
|
|
|
|
(alpha*-dec-osf5.1*): Likewise.
|
|
|
|
|
(alpha*-*-freebsd*): Add t-crtfm to tmake_file.
|
|
|
|
|
Add crtfastmath.o to extra_parts.
|
|
|
|
|
(i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
|
|
|
|
|
Add crtfastmath.o to extra_parts.
|
|
|
|
|
(x86_64-*-darwin*): Likewise.
|
|
|
|
|
(x86_64-*-mingw*): Likewise.
|
|
|
|
|
(ia64*-*-elf*): Add t-crtfm to tmake_file.
|
|
|
|
|
(ia64*-*-freebsd*): Likewise.
|
|
|
|
|
(ia64*-*-linux*): Likewise.
|
|
|
|
|
(sparc64-*-freebsd*): Add t-crtfm to tmake_file.
|
|
|
|
|
Add crtfastmath.o to extra_parts.
|
|
|
|
|
|
2011-07-13 18:28:30 +02:00
|
|
|
|
2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/darwin-crt3.o: New file.
|
|
|
|
|
* config/rs6000/darwin-crt2.c: New file.
|
|
|
|
|
* config/t-darwin: New file.
|
|
|
|
|
* config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
|
|
|
|
|
(crt2.o): New rule.
|
|
|
|
|
* config.host (*-*-darwin*): Add crt3.o to extra_parts.
|
|
|
|
|
(powerpc-*-darwin*): Add crt2.o to extra_parts.
|
|
|
|
|
(powerpc64-*-darwin*): Likewise.
|
|
|
|
|
|
Makefile.in (CRT0STUFF_T_CFLAGS): Remove.
gcc:
* Makefile.in (CRT0STUFF_T_CFLAGS): Remove.
($(T)crt0.o, $(T)mcrt0.o, s-crt0): Remove.
* config/i386/netware-crt0.c: Move to ../libgcc/config/i386.
* config/i386/t-nwld (CRTSTUFF_T_CFLAGS, CRT0STUFF_T_CFLAGS): Remove.
(CRT0_S, MCRT0_S): Remove.
($(T)libgcc.def, $(T)libc.def, $(T)libcpre.def, $(T)posixpre.def):
Remove.
(s-crt0): Remove.
* config.gcc (i[3456x]86-*-netware*): Remove extra_parts.
libgcc:
* config/i386/netware-crt0.c: New file.
* config/i386/t-nwld: Rename to ...
* config/i386/t-slibgcc-nwld: ... this.
* config/i386/t-nwld: New file.
* config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
tmake_file.
Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
extra_parts.
From-SVN: r176225
2011-07-13 11:57:08 +02:00
|
|
|
|
2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/i386/netware-crt0.c: New file.
|
|
|
|
|
* config/i386/t-nwld: Rename to ...
|
|
|
|
|
* config/i386/t-slibgcc-nwld: ... this.
|
|
|
|
|
* config/i386/t-nwld: New file.
|
|
|
|
|
* config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
|
|
|
|
|
tmake_file.
|
|
|
|
|
Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
|
|
|
|
|
extra_parts.
|
|
|
|
|
|
2011-07-11 18:39:57 +02:00
|
|
|
|
2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac (i?86-*-solaris2*): Use libgcc copy of
|
|
|
|
|
i386/t-crtstuff.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
dfp-bit.c, dfp-bit.h: Move to ../libgcc.
gcc:
* config/dfp-bit.c, config/dfp-bit.h: Move to ../libgcc.
* config/t-dfprules: Move to ../libgcc/config.
* config.gcc (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu,
i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*,
i[34567]86-*-kopensolaris*-gnu): Remove t-dfprules from tmake_file.
(x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
Likewise.
(i[34567]86-*-cygwin*): Likewise.
(i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
* Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): Remove.
(libgcc.mvars): Remove DFP_ENABLE, DFP_CFLAGS, D32PBIT_FUNCS,
D64PBIT_FUNCS, D128PBIT_FUNCS.
libgcc:
* dfp-bit.c, dfp-bit.h: New files.
* Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
variables.
($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
($(d64pbit-o)): Likewise.
($(d128pbit-o)): Likewise.
* config/t-dfprules: New file.
* config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
(x86_64-*-linux*): Likewise.
(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
(i[34567]86-*-cygwin*): Likewise.
(i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
From-SVN: r176156
2011-07-11 16:40:56 +02:00
|
|
|
|
2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* dfp-bit.c, dfp-bit.h: New files.
|
|
|
|
|
* Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
|
|
|
|
|
variables.
|
|
|
|
|
($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
|
|
|
|
|
($(d64pbit-o)): Likewise.
|
|
|
|
|
($(d128pbit-o)): Likewise.
|
|
|
|
|
* config/t-dfprules: New file.
|
|
|
|
|
* config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
|
|
|
|
|
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
|
|
|
|
|
i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
|
|
|
|
|
(x86_64-*-linux*): Likewise.
|
|
|
|
|
(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
|
|
|
|
|
(i[34567]86-*-cygwin*): Likewise.
|
|
|
|
|
(i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
|
|
|
|
|
(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
|
|
|
|
|
|
2011-07-08 13:43:54 +02:00
|
|
|
|
2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makfile.in (LIBGCOV): New variable.
|
|
|
|
|
($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
|
|
|
|
|
* libgcov.c: New file.
|
|
|
|
|
|
2011-07-08 13:18:38 +02:00
|
|
|
|
2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* fixed-bit.c, fixed-bit.h: New files.
|
|
|
|
|
* fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
|
|
|
|
|
refer to fixed-bit.c.
|
|
|
|
|
|
2011-07-07 18:33:18 +02:00
|
|
|
|
2011-07-07 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (*local*): Remove.
|
|
|
|
|
|
2011-07-07 11:24:16 +02:00
|
|
|
|
2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/39150
|
|
|
|
|
* config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
|
|
|
|
|
like i?86-*-solaris2.1[0-9]*.
|
|
|
|
|
(i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
|
|
|
|
|
* configure.ac (i?86-*-solaris2*): Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-07-06 00:14:37 +02:00
|
|
|
|
2011-07-06 Thomas Schwinge <thomas@schwinge.name>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
|
|
|
|
|
(i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
|
|
|
|
|
md_unwind_header by splitting out of...
|
|
|
|
|
(i[34567]86-*-linux*): ... this.
|
|
|
|
|
* config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
|
|
|
|
|
Remove md_unwind_header by splitting out of...
|
|
|
|
|
(x86_64-*-linux*): ... this.
|
|
|
|
|
|
2011-07-04 12:02:34 +02:00
|
|
|
|
2011-07-04 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/t-avr (intfuncs16): Add _clrsbXX2.
|
|
|
|
|
|
2011-06-28 10:49:18 +02:00
|
|
|
|
2011-06-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Recognize all V850 variants.
|
|
|
|
|
|
2011-06-22 13:20:07 +02:00
|
|
|
|
2011-06-22 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
|
|
|
|
|
|
2011-06-21 16:26:13 +02:00
|
|
|
|
2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* shared-object.mk (c_flags-$o): Save c_flags.
|
|
|
|
|
($(base)$(objext)): Use it.
|
|
|
|
|
($(base)_s$(objext)): Likewise.
|
|
|
|
|
|
Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
libgcc/
* Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
* libgcc-std.ver.in (GCC_4.7.0): New section.
gcc/
* doc/extend.texi (__builtin_clrsb, __builtin_clrsbl,
__builtin_clrsbll): Document.
* doc/rtl.texi (clrsb): New entry.
* optabs.c (widen_leading): Renamed from widen_clz. New argument
UNOPTAB. All callers changed. Use UNOPTAB instead of clz_optab.
(expand_unop): Handle clrsb_optab.
(init_optabs): Initialize it.
* optabs.h (enum optab_index): New entry OTI_clrsb.
(clrsb_optab): Define.
* genopinit.c (optabs): Add an entry for it.
* builtins.c (expand_builtin): Handle clrsb builtin functions.
* builtins.def (BUILT_IN_CLRSB, BUILT_IN_CLRSBIMAX, BUILT_IN_CLRSBL,
BUILT_IN_CLRSBLL): New.
* rtl.def (CLRSB): New code.
* dwarf2out.c (mem_loc_descriptor): Handle it.
* simplify-rtx.c (simplify_const_unary_operation): Likewise.
Use op_mode rather than mode when optimizing ffs, clz, ctz, parity
and popcount.
* libgcc2.c (__clrsbSI2, __clrsbDI2): New functions.
* libgcc2.h (__clrsbSI2, __clrsbDI2): Define and declare.
(__ctzDI2): Move declaration.
* config/bfin/bfin.md (clrsbsi2): New expander.
(signbitssi2): Use the CLRSB rtx.
(clrsbhi2): Renamed from signbitshi2. Use the CLRSB rtx.
* config/bfin/bfin.c (bdesc_1arg): Changed accordingly.
gcc/testsuite/
* gcc.c-torture/excute/builtin-bitops-1.c (MAKE_FUNS): Make
my_clrsb test functions.
(main): Test clrsb.
* gcc.dg/builtin-protos-1.c (test_s, test_u, test_sl, test_ul,
test_sll, test_ull): Add clrsb tests.
* gcc.dg/torture/builtin-attr-1.c: Add tests for clrsb, clrsbl,
clrsbll.
From-SVN: r175261
2011-06-21 16:16:39 +02:00
|
|
|
|
2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
|
|
|
|
|
* libgcc-std.ver.in (GCC_4.7.0): New section.
|
|
|
|
|
|
re PR target/49313 (Inefficient libgcc implementations for avr)
gcc/
PR target/49313
PR target/29524
* longlong.h: Add AVR support:
(count_leading_zeros): New macro.
(count_trailing_zeros): New macro.
(COUNT_LEADING_ZEROS_0): New macro.
* config/avr/t-avr (LIB1ASMFUNCS): Add
_ffssi2, _ffshi2, _loop_ffsqi2,
_ctzsi2, _ctzhi2, _clzdi2, _clzsi2, _clzhi2,
_paritydi2, _paritysi2, _parityhi2,
_popcounthi2,_popcountsi2, _popcountdi2, _popcountqi2,
_bswapsi2, _bswapdi2,
_ashldi3, _ashrdi3, _lshrdi3
(LIB2FUNCS_EXCLUDE): Add _clz.
* config/avr/libgcc.S (XCALL): Move up in file.
(XJMP): New C Macro.
(DEFUN): New asm macro.
(ENDF): New asm macro.
(__ffssi2): New function.
(__ffshi2): New function.
(__loop_ffsqi2): New function.
(__ctzsi2): New function.
(__ctzhi2): New function.
(__clzdi2): New function.
(__clzsi2): New function.
(__clzhi2): New function.
(__paritydi2): New function.
(__paritysi2): New function.
(__parityhi2): New function.
(__popcounthi2): New function.
(__popcountsi2): New function.
(__popcountdi2): New function.
(__popcountqi2): New function.
(__bswapsi2): New function.
(__bswapdi2): New function.
(__ashldi3): New function.
(__ashrdi3): New function.
(__lshrdi3): New function.
Fix suspicous lines.
libgcc/
PR target/49313
PR target/29524
* config/avr/t-avr: Fix line endings.
(intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
_parityXX2.
From-SVN: r175097
2011-06-16 11:06:44 +02:00
|
|
|
|
2011-06-16 Georg-Johann Lay <avr@gjlay.de>
|
2011-06-22 13:20:07 +02:00
|
|
|
|
|
re PR target/49313 (Inefficient libgcc implementations for avr)
gcc/
PR target/49313
PR target/29524
* longlong.h: Add AVR support:
(count_leading_zeros): New macro.
(count_trailing_zeros): New macro.
(COUNT_LEADING_ZEROS_0): New macro.
* config/avr/t-avr (LIB1ASMFUNCS): Add
_ffssi2, _ffshi2, _loop_ffsqi2,
_ctzsi2, _ctzhi2, _clzdi2, _clzsi2, _clzhi2,
_paritydi2, _paritysi2, _parityhi2,
_popcounthi2,_popcountsi2, _popcountdi2, _popcountqi2,
_bswapsi2, _bswapdi2,
_ashldi3, _ashrdi3, _lshrdi3
(LIB2FUNCS_EXCLUDE): Add _clz.
* config/avr/libgcc.S (XCALL): Move up in file.
(XJMP): New C Macro.
(DEFUN): New asm macro.
(ENDF): New asm macro.
(__ffssi2): New function.
(__ffshi2): New function.
(__loop_ffsqi2): New function.
(__ctzsi2): New function.
(__ctzhi2): New function.
(__clzdi2): New function.
(__clzsi2): New function.
(__clzhi2): New function.
(__paritydi2): New function.
(__paritysi2): New function.
(__parityhi2): New function.
(__popcounthi2): New function.
(__popcountsi2): New function.
(__popcountdi2): New function.
(__popcountqi2): New function.
(__bswapsi2): New function.
(__bswapdi2): New function.
(__ashldi3): New function.
(__ashrdi3): New function.
(__lshrdi3): New function.
Fix suspicous lines.
libgcc/
PR target/49313
PR target/29524
* config/avr/t-avr: Fix line endings.
(intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
_parityXX2.
From-SVN: r175097
2011-06-16 11:06:44 +02:00
|
|
|
|
PR target/49313
|
|
|
|
|
PR target/29524
|
|
|
|
|
* config/avr/t-avr: Fix line endings.
|
|
|
|
|
(intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
|
|
|
|
|
_parityXX2.
|
|
|
|
|
|
2011-06-14 14:20:08 +02:00
|
|
|
|
2011-06-14 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/mips/irix6-unwind.h: New file.
|
|
|
|
|
* config.host (mips-sgi-irix6.5*): Set md_unwind_header.
|
|
|
|
|
|
invoke.texi (SPARC options): Add -mflat.
gcc/
* doc/invoke.texi (SPARC options): Add -mflat.
* config/sparc/sparc.opt: Likewise.
* config/sparc/sparc-protos.h (sparc_expand_epilogue): Add parameter.
(sparc_flat_expand_prologue): Declare.
(sparc_flat_expand_epilogue): Likewise.
* config/sparc/sparc.h (CPP_CPU_SPEC): Do not handle -msoft-float.
(CPP_ENDIAN_SPEC): Replace with...
(CPP_OTHER_SPEC): ...this. Also handle -mflat and -msoft-float.
(CPP_SPEC): Adjust to above change.
(EXTRA_SPECS): Likewise.
(SPARC_INCOMING_INT_ARG_FIRST): Add TARGET_FLAT handling.
(INCOMING_REGNO): Likewise.
(OUTGOING_REGNO): Likewise.
(LOCAL_REGNO): Likewise.
(SETUP_FRAME_ADDRESSES): Likewise.
(FIXED_REGISTERS): Set 0 for %fp.
(CALL_USED_REGISTERS): Likewise.
(INITIAL_ELIMINATION_OFFSET): Pass current_function_is_leaf.
(EXIT_IGNORE_STACK): Define to 1 unconditionally.
(RETURN_ADDR_REGNUM): Define.
(RETURN_ADDR_RTX): Use it.
(INCOMING_RETURN_ADDR_REGNUM): Define.
(INCOMING_RETURN_ADDR_RTX): Use it.
(DWARF_FRAME_RETURN_COLUMN): Likewise.
(EH_RETURN_REGNUM): Define.
(EH_RETURN_STACKADJ_RTX): Use it.
(EH_RETURN_HANDLER_RTX): Delete.
(EPILOGUE_USES): Use them and add TARGET_FLAT handling.
* config/sparc/sparc.c (apparent_fsize, actual_fsize, num_gfregs):
Delete.
(struct machine_function): Add frame_size, apparent_frame_size,
frame_base_reg, frame_base_offset, n_global_fp_regs and
save_local_in_regs_p fields.
(sparc_frame_size, sparc_apparent_frame_size, sparc_frame_base_reg,
sparc_frame_base_offset, sparc_n_global_fp_regs,
sparc_save_local_in_regs_p): New macros.
(sparc_option_override): Error out if -fcall-saved-REG is specified
for Out registers.
(eligible_for_restore_insn): Fix formatting.
(eligible_for_return_delay): Likewise. Add TARGET_FLAT handling.
(eligible_for_sibcall_delay): Likewise.
(RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Add MODE parameter.
(sparc_legitimate_address_p): Adjust to above change.
(save_global_or_fp_reg_p): New predicate.
(return_addr_reg_needed_p): Likewise.
(save_local_or_in_reg_p): Likewise.
(sparc_compute_frame_size): Use them. Add TARGET_FLAT handling.
(SORR_SAVE, SORR_RESTORE): Delete.
(sorr_pred_t): New typedef.
(sorr_act_t): New enum.
(save_or_restore_regs): Rename to...
(emit_save_or_restore_regs): ...this. Change type of LOW and HIGH
parameters, remove ACTION parameter, add LEAF_FUNCTION_P, SAVE_P,
ACTION_TRUE and ACTION_FALSE parameters. Implement more general
mechanism. Add CFI information for double-word saves in 32-bit mode.
(emit_adjust_base_to_offset): New function extracted from...
(emit_save_or_restore_regs): ...this. Rename the rest to...
(emit_save_or_restore_regs_global_fp_regs): ...this.
(emit_save_or_restore_regs_local_in_regs): New function.
(gen_create_flat_frame_[123]): New functions.
(sparc_expand_prologue): Use SIZE local variable. Adjust.
(sparc_flat_expand_prologue): New function.
(sparc_asm_function_prologue): Add TARGET_FLAT handling.
(sparc_expand_epilogue): Use SIZE local variable. Adjust.
(sparc_flat_expand_epilogue): New function.
(sparc_can_use_return_insn_p): Add TARGET_FLAT handling.
(output_return): Likewise.
(output_sibcall): Likewise.
(sparc_output_mi_thunk): Likewise.
(sparc_frame_pointer_required): Likewise.
(sparc_conditional_register_usage): If TARGET_FLAT, disable the leaf
function optimization.
* config/sparc/sparc.md (flat): New attribute.
(prologue): Add TARGET_FLAT handling.
(save_register_window): Disable if TARGET_FLAT.
(create_flat_frame_[123]): New patterns.
(epilogue): Add TARGET_FLAT handling.
(sibcall_epilogue): Likewise.
(eh_return): New expander.
(eh_return_internal): New insn and splitter.
(return_internal): Add TARGET_FLAT handling.
(untyped_return): Remove bogus test and use RETURN_ADDR_REGNUM.
(save_stack_nonlocal): Use RETURN_ADDR_REGNUM.
(nonlocal_goto): Add TARGET_FLAT handling.
* config/sparc/t-elf: Add -mflat multilib.
* config/sparc/t-leon: Likewise.
libgcc/
* config/sparc/linux-unwind.h (STACK_BIAS): Define.
(sparc64_fallback_frame_state): Use it.
(sparc64_frob_update_context): Further adjust context.
* config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
* config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
* config/sparc/sol2-cn.S: Likewise.
Co-Authored-By: Laurent Rougé <laurent.rouge@menta.fr>
From-SVN: r174897
2011-06-10 12:50:20 +02:00
|
|
|
|
2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/sparc/linux-unwind.h (STACK_BIAS): Define.
|
|
|
|
|
(sparc64_fallback_frame_state): Use it.
|
|
|
|
|
(sparc64_frob_update_context): Further adjust context.
|
|
|
|
|
* config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
|
|
|
|
|
* config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
|
|
|
|
|
* config/sparc/sol2-cn.S: Likewise.
|
|
|
|
|
|
2011-06-09 14:30:46 +02:00
|
|
|
|
2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* enable-execute-stack-empty.c: New file.
|
|
|
|
|
* enable-execute-stack-mprotect.c: New file.
|
|
|
|
|
* config/i386/enable-execute-stack-mingw32.c: New file.
|
|
|
|
|
* config.host (enable_execute_stack): New variable.
|
|
|
|
|
Select appropriate variants.
|
|
|
|
|
* configure.ac: Link enable-execute-stack.c to
|
|
|
|
|
$enable_execute_stack.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in (LIB2ADD): Add enable-execute-stack.c.
|
|
|
|
|
(lib2funcs): Remove _enable_execute_stack.
|
|
|
|
|
|
2011-06-09 09:31:44 +02:00
|
|
|
|
2011-06-09 David S. Miller <davem@davemloft.net>
|
|
|
|
|
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (sparc-*-linux*): Correct md_unwind_header
|
|
|
|
|
filename.
|
|
|
|
|
(s390x-ibm-tpf*): Fix typo.
|
|
|
|
|
|
2011-06-06 11:49:47 +02:00
|
|
|
|
2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
|
|
|
|
|
Add crtfastmath.o to extra_parts.
|
|
|
|
|
(mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
|
|
|
|
|
mips/t-crtfm.
|
|
|
|
|
* config/mips/t-crtfm: Remove.
|
|
|
|
|
|
2011-06-04 17:21:01 +02:00
|
|
|
|
2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
* config.host (hppa*-*-linux*): Correct md_unwind_header name.
|
|
|
|
|
|
2011-06-04 04:38:24 +02:00
|
|
|
|
2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host (sh*-*-linux*): Fix typo.
|
|
|
|
|
|
linux.h (MD_UNWIND_SUPPORT): Remove.
gcc:
* config/alpha/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/alpha/osf5.h (MD_UNWIND_SUPPORT): Remove.
* config/alpha/vms.h (MD_UNWIND_SUPPORT): Remove.
* config/bfin/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/bfin/uclinux.h (MD_UNWIND_SUPPORT): Remove.
* config/i386/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/i386/linux64.h (MD_UNWIND_SUPPORT): Remove.
* config/i386/sol2.h (MD_UNWIND_SUPPORT): Remove.
* config/i386/mingw32.h (MD_UNWIND_SUPPORT): Remove.
* config/ia64/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/ia64/vms.h (MD_UNWIND_SUPPORT): Remove.
* config/m68k/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/mips/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): Remove.
* config/pa/pa32-linux.h (MD_UNWIND_SUPPORT): Remove.
* config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Remove.
* config/rs6000/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/rs6000/linux64.h (MD_UNWIND_SUPPORT): Remove.
* config/s390/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/s390/tpf.h (MD_UNWIND_SUPPORT): Remove.
* config/sh/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/sparc/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/sparc/linux64.h (MD_UNWIND_SUPPORT): Remove.
* config/sparc/sol2.h (MD_UNWIND_SUPPORT): Remove.
* config/xtensa/linux.h (MD_UNWIND_SUPPORT): Remove.
* config/alpha/linux-unwind.h: Move to ../libgcc/config/alpha.
* config/alpha/osf5-unwind.h: Move to ../libgcc/config/alpha.
* config/alpha/vms-unwind.h: Move to ../libgcc/config/alpha.
* config/bfin/linux-unwind.h: Move to ../libgcc/config/bfin.
* config/i386/linux-unwind.h: Move to ../libgcc/config/i386.
* config/i386/sol2-unwind.h: Move to ../libgcc/config/i386.
* config/i386/w32-unwind.h: Move to ../libgcc/config/i386.
* config/ia64/linux-unwind.h: Move to ../libgcc/config/ia64.
* config/ia64/vms-unwind.h: Move to ../libgcc/config/ia64.
* config/m68k/linux-unwind.h: Move to ../libgcc/config/m68k.
* config/mips/linux-unwind.h: Move to ../libgcc/config/mips.
* config/pa/hpux-unwind.h: Move to ../libgcc/config/pa.
* config/pa/linux-unwind.h: Move to ../libgcc/config/pa.
* config/rs6000/darwin-unwind.h: Move to ../libgcc/config/rs6000.
* config/rs6000/linux-unwind.h: Move to ../libgcc/config/rs6000.
* config/s390/linux-unwind.h: Move to ../libgcc/config/s390.
* config/s390/tpf-unwind.h: Move to ../libgcc/config/s390.
* config/sh/linux-unwind.h: Move to ../libgcc/config/sh.
* config/sparc/linux-unwind.h: Move to ../libgcc/config/sparc.
* config/sparc/sol2-unwind.h: Move to ../libgcc/config/sparc.
* config/xtensa/linux-unwind.h: Move to ../libgcc/config/xtensa.
* config/darwin9.h (DARWIN_LIBSYSTEM_HAS_UNWIND): Remove.
* system.h (MD_UNWIND_SUPPORT): Poison.
* doc/tm.texi.in (Exception Handling, MD_UNWIND_SUPPORT): Remove.
* doc/tm.texi: Regenerate.
* unwind-dw2.c: Include md-unwind-support.h instead of
MD_UNWIND_SUPPORT.
* config/ia64/unwind-ia64.c: Likewise.
* config/xtensa/unwind-dw2-xtensa.c: Likewise.
libgcc:
* config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
* config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
* config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
* config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
* config/i386/linux-unwind.h: Move from ../gcc/config/i386.
* config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
* config/i386/w32-unwind.h: Move from ../gcc/config/i386.
Wrap in !__MINGW64__.
* config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
* config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
* config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
* config/mips/linux-unwind.h: Move from ../gcc/config/mips.
* config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
* config/pa/linux-unwind.h: Move from ../gcc/config/pa.
* config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
Wrap in !__LP64__.
* config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
* config/s390/linux-unwind.h: Move from ../gcc/config/s390.
* config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
* config/sh/linux-unwind.h: Move from ../gcc/config/sh.
* config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
* config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
* config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
* config/no-unwind.h: New file.
* config.host (md_unwind_header): Document.
Define.
(alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
hppa[12]*-*-hpux11*): Set md_unwind_header.
(i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
Set md_unwind_header.
(x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
(i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
(i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
md_unwind_header.
* configure.ac: Link md-unwind-support.h to $md_unwind_header.
* configure: Regenerate.
From-SVN: r174613
2011-06-03 20:30:39 +02:00
|
|
|
|
2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
|
|
|
|
|
* config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
|
|
|
|
|
* config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
|
|
|
|
|
* config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
|
|
|
|
|
* config/i386/linux-unwind.h: Move from ../gcc/config/i386.
|
|
|
|
|
* config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
|
|
|
|
|
* config/i386/w32-unwind.h: Move from ../gcc/config/i386.
|
|
|
|
|
Wrap in !__MINGW64__.
|
|
|
|
|
* config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
|
|
|
|
|
* config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
|
|
|
|
|
* config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
|
|
|
|
|
* config/mips/linux-unwind.h: Move from ../gcc/config/mips.
|
|
|
|
|
* config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
|
|
|
|
|
* config/pa/linux-unwind.h: Move from ../gcc/config/pa.
|
|
|
|
|
* config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
|
|
|
|
|
Wrap in !__LP64__.
|
|
|
|
|
* config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
|
|
|
|
|
* config/s390/linux-unwind.h: Move from ../gcc/config/s390.
|
|
|
|
|
* config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
|
|
|
|
|
* config/sh/linux-unwind.h: Move from ../gcc/config/sh.
|
|
|
|
|
* config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
|
|
|
|
|
* config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
|
|
|
|
|
* config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
|
|
|
|
|
* config/no-unwind.h: New file.
|
|
|
|
|
* config.host (md_unwind_header): Document.
|
|
|
|
|
Define.
|
|
|
|
|
(alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
|
|
|
|
|
alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
|
|
|
|
|
hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
|
|
|
|
|
hppa[12]*-*-hpux11*): Set md_unwind_header.
|
|
|
|
|
(i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
|
|
|
|
|
Set md_unwind_header.
|
|
|
|
|
(x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
|
|
|
|
|
(i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
|
|
|
|
|
(i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
|
|
|
|
|
m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
|
|
|
|
|
powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
|
|
|
|
|
s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
|
|
|
|
|
sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
|
|
|
|
|
md_unwind_header.
|
|
|
|
|
* configure.ac: Link md-unwind-support.h to $md_unwind_header.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-06-03 19:16:44 +02:00
|
|
|
|
2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
|
|
|
|
|
Set tmake_file, extra_parts.
|
|
|
|
|
* config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
|
|
|
|
|
Remove O32 support.
|
|
|
|
|
* config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
|
|
|
|
|
Remove O32 support.
|
|
|
|
|
* config/mips/t-irix6: New file.
|
|
|
|
|
* config/mips/t-slibgcc-irix: New file.
|
|
|
|
|
|
2011-06-03 18:07:21 +02:00
|
|
|
|
2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/s390/t-tpf (LIB2ADDEHDEP): Remove.
|
|
|
|
|
* config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
|
|
|
|
|
|
2011-06-03 15:23:35 +02:00
|
|
|
|
2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac (target_thread_file): Determine thread model.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
|
|
|
|
|
* config/alpha/t-alpha: New file.
|
|
|
|
|
* config/alpha/t-crtfm: Use $<.
|
|
|
|
|
* config/alpha/t-ieee: New file.
|
|
|
|
|
* config/alpha/t-osf-pthread: New file.
|
|
|
|
|
* config/alpha/t-slibgcc-osf: New file.
|
|
|
|
|
* config/alpha/libgcc-osf5.ver: New file.
|
|
|
|
|
|
2011-06-01 16:49:21 +02:00
|
|
|
|
2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
|
|
|
|
|
tmake_file.
|
|
|
|
|
Add crtfastmath.o to extra_parts.
|
|
|
|
|
|
2011-06-01 16:46:24 +02:00
|
|
|
|
2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/gmon-sol2.c: Reindent.
|
|
|
|
|
Cleanup comments.
|
|
|
|
|
Remove, correct casts.
|
|
|
|
|
Use STDERR_FILENO, NULL.
|
|
|
|
|
(BASEADDRESS): Remove.
|
|
|
|
|
(minbrk): Remove.
|
|
|
|
|
(errno, sbrk): Remove declarations.
|
|
|
|
|
(monstartup) [hp300]: Remove.
|
|
|
|
|
(mcount): Remove.
|
|
|
|
|
|
t-slibgcc-darwin: Move to ...
gcc:
* config/t-slibgcc-darwin: Move to ...
* config/t-slibgcc-dummy: .. this.
Clarify comments.
* config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*,
powerpc-*-darwin*, powerpc64-*-darwin*): Reflect this.
(i[3456x]86-*-netware*): Add t-slibgcc-dummy to tmake_file.
(i[34567]86-*-rtems*): Remove extra_parts.
Use i386/t-rtems.
Remove i386/t-crtstuff from tmake_file.
(i[34567]86-*-solaris2*): Remove t-svr4,
t-slibgcc-elf-ver, t-slibgcc-sld from tmake_file, add
t-slibgcc-dummy.
(sparc-*-elf*, sparc64-*-elf*): Remove tmake_file, extra_parts.
(sparc-*-rtems*, sparc64-*-rtems*): Remove sparc/t-crtin,
sparc/t-crtfm from tmake_file.
(sparc*-*-solaris2*): Remove sparc/t-sol2, sparc/t-crtfm,
t-slibgcc-elf-ver, t-slibgcc-sld, add t-slibgcc-dummy.
Remove extra_parts.
* config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define.
* config/i386/t-nwld (SHLIB_LINK): Remove.
* config/i386/t-rtems-i386: Rename to ...
* config/i386/t-rtems: ... this.
($(T)crti.o, $(T)crtn.o): Remove.
(FPBIT, DPBIT, LIB2FUNCS_EXTRA): Remove.
(dp-bit.c, fp-bit.c, xp-bit.c): Remove.
(EXTRA_MULTILIB_PARTS, LIBGCC, INSTALL_LIBGCC): Remove.
* config/i386/t-sol2-10 (LIBGCC, INSTALL_LIBGCC,
EXTRA_MULTILIB_PARTS): Remove.
* config/sparc/t-sol2-64: Likewise.
* config/sparc/t-sol2: Remove.
* config/sparc/t-crtin: Remove.
* config/sparc/gmon-sol2.c: Move to ../libgcc/config.
* config/i386/gmon-sol2.c: Remove.
* config/i386/sol2-c1.asm: Move to ../libgcc/config/i386/sol2-c1.S.
* config/i386/sol2-ci.asm: Move to ../libgcc/config/i386/sol2-ci.S.
* config/i386/sol2-cn.asm: Move to ../libgcc/config/i386/sol2-cn.S.
* config/i386/sol2-gc1.asm: Remove.
* config/sparc/sol2-c1.asm: Move to ../libgcc/config/sparc/sol2-c1.S.
* config/sparc/sol2-ci.asm: Move to ../libgcc/config/sparc/sol2-ci.S.
* config/sparc/sol2-cn.asm: Move to ../libgcc/config/sparc/sol2-cn.S.
* config/t-slibgcc-sld: Remove.
libgcc:
* Makefile.in (cpu_type): Define.
* config.host (i[34567]86-*-rtems*): Handle it.
(i[34567]86-*-solaris2*): Move body ...
(*-*-solaris2*): ... here.
New case, generalize.
(sparc-*-elf*): Handle it.
(sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
(sparc-*-rtems*, sparc64-*-rtems*); Handle it.
(sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
Fold into ...
(sparc*-*-solaris2*): ... this.
New case.
(sparc64-*-elf*): Handle it.
* config/gmon-sol2.c: Move from ../gcc/config/sparc.
Merge ../gcc/config/i386/gmon-sol2.c.
* config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
Use C comments.
Merge ../gcc/config/i386/sol2-gc1.asm.
* config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
Use C comments.
* config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
Use C comments.
* config/i386/t-crtfm (crtfastmath.o): Use $<.
* config/i386/t-crtstuff: New file.
* config/i386/t-softfp: New file.
* config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
$(T)crti.o, $(T)crtn.o): Remove.
(gcrt1.o): New rule.
(TARGET_LIBGCC2_CFLAGS): Remove.
* config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
* config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
* config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
* config/sparc/t-sol2: New file.
* config/sparc/t-crtfm: Move to ...
* config/t-crtfm: ... this.
Use $(cpu_type), $<.
* config/t-crtin: New file.
* config/sparc/t-softfp: New file.
* config/sparc/t-softmul: New file.
* config/t-rtems: New file.
* config/t-slibgcc: New file.
* config/t-slibgcc-elf-ver: New file.
* config/t-slibgcc-gld: New file.
* config/t-slibgcc-sld: New file.
* config/t-sol2: New file.
* configure.ac: Include ../config/lib-ld.m4.
Call AC_LIB_PROG_LD_GNU.
Substitute cpu_type.
* configure: Regenerate.
From-SVN: r174529
2011-06-01 16:39:17 +02:00
|
|
|
|
2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (cpu_type): Define.
|
|
|
|
|
* config.host (i[34567]86-*-rtems*): Handle it.
|
|
|
|
|
(i[34567]86-*-solaris2*): Move body ...
|
|
|
|
|
(*-*-solaris2*): ... here.
|
|
|
|
|
New case, generalize.
|
|
|
|
|
(sparc-*-elf*): Handle it.
|
|
|
|
|
(sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
|
|
|
|
|
(sparc-*-rtems*, sparc64-*-rtems*); Handle it.
|
|
|
|
|
(sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
|
|
|
|
|
Fold into ...
|
|
|
|
|
(sparc*-*-solaris2*): ... this.
|
|
|
|
|
New case.
|
|
|
|
|
(sparc64-*-elf*): Handle it.
|
|
|
|
|
* config/gmon-sol2.c: Move from ../gcc/config/sparc.
|
|
|
|
|
Merge ../gcc/config/i386/gmon-sol2.c.
|
|
|
|
|
* config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
|
|
|
|
|
Use C comments.
|
|
|
|
|
Merge ../gcc/config/i386/sol2-gc1.asm.
|
|
|
|
|
* config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
|
|
|
|
|
Use C comments.
|
|
|
|
|
* config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
|
|
|
|
|
Use C comments.
|
|
|
|
|
* config/i386/t-crtfm (crtfastmath.o): Use $<.
|
|
|
|
|
* config/i386/t-crtstuff: New file.
|
|
|
|
|
* config/i386/t-softfp: New file.
|
|
|
|
|
* config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
|
|
|
|
|
$(T)crti.o, $(T)crtn.o): Remove.
|
|
|
|
|
(gcrt1.o): New rule.
|
|
|
|
|
(TARGET_LIBGCC2_CFLAGS): Remove.
|
|
|
|
|
* config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
|
|
|
|
|
* config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
|
|
|
|
|
* config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
|
|
|
|
|
* config/sparc/t-sol2: New file.
|
|
|
|
|
* config/sparc/t-crtfm: Move to ...
|
|
|
|
|
* config/t-crtfm: ... this.
|
|
|
|
|
Use $(cpu_type), $<.
|
|
|
|
|
* config/t-crtin: New file.
|
|
|
|
|
* config/sparc/t-softfp: New file.
|
|
|
|
|
* config/sparc/t-softmul: New file.
|
|
|
|
|
* config/t-rtems: New file.
|
|
|
|
|
* config/t-slibgcc: New file.
|
|
|
|
|
* config/t-slibgcc-elf-ver: New file.
|
|
|
|
|
* config/t-slibgcc-gld: New file.
|
|
|
|
|
* config/t-slibgcc-sld: New file.
|
|
|
|
|
* config/t-sol2: New file.
|
|
|
|
|
* configure.ac: Include ../config/lib-ld.m4.
|
|
|
|
|
Call AC_LIB_PROG_LD_GNU.
|
|
|
|
|
Substitute cpu_type.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-05-27 09:53:51 +02:00
|
|
|
|
2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/49173
|
|
|
|
|
* config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
|
|
|
|
|
libgcc-std.ver in the build directory.
|
|
|
|
|
* config/s390/t-linux (SHLIB_MAPFILES): Likewise.
|
|
|
|
|
* config/sh/t-linux (SHLIB_MAPFILES): Likewise.
|
|
|
|
|
|
libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if LIBGCC2_GNU_PREFIX is defined.
gcc/
* libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if
LIBGCC2_GNU_PREFIX is defined.
(__N): New macro.
(__powisf2, __powidf2, __powitf2, __powixf2, __bswapsi2, __bswapdi2,
__mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, __divxc3,
__divtc3, __udiv_w_sdiv, __clear_cache, __enable_execute_stack,
__clz_tab): Define using __N.
(__absvsi2, __negvsi2, __addvsi3, __subvsi3, __mulvsi3): Likewise if
COMPAT_SIMODE_TRAPPING_ARITHMETIC.
* target.def (libfunc_gnu_prefix): New hook.
* doc/tm.texi.in (LIBGCC2_GNU_PREFIX): Document.
(TARGET_LIBFUNC_GNU_PREFIX): Add hook.
* doc/tm.texi: Regenerate.
* system.h (LIBGCC2_GNU_PREFIX): Poison.
* optabs.c (gen_libfunc): Take the libfunc_gnu_prefix hook into
account.
(gen_interclass_conv_libfunc, gen_intraclass_conv_libfunc): Likewise.
(init_optabs): Likewise for the bswap libfuncs.
* tree.c (build_common_builtin_nodes): Likewise for complex multiply
and divide.
* config/t-slibgcc-elf-ver (SHLIB_MAPFILES): Use $$(libgcc_objdir).
* config/t-slibgcc-sld (SHLIB_MAPFILES): Likewise.
* libgcc-std.ver: Remove.
* Makefile.in (srcdirify): Handle $$(libgcc_objdir).
* config/frv/t-linux (SHLIB_MAPFILES): Use $$(libgcc_objdir) for
libgcc-std.ver.
* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
* config/mips/t-slibgcc-irix (SHLIB_MAPFILES): Likewise.
* config/rs6000/t-aix43 (SHLIB_MAPFILES): Likewise.
* config/rs6000/t-aix52 (SHLIB_MAPFILES): Likewise.
* config/sparc/t-linux (SHLIB_MAPFILES): Likewise.
* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
* config/fixed-bit.h (FIXED_OP): Define differently depending on
LIBGCC2_GNU_PREFIX. All uses changed not to pass leading underscores.
(FIXED_CONVERT_OP, FIXED_CONVERT_OP2): Likewise.
libgcc/
* libgcc-std.ver.in: New file.
* Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
variables.
(libgcc-std.ver): New rule.
* config/t-gnu-prefix: New file.
From-SVN: r174187
2011-05-25 14:11:42 +02:00
|
|
|
|
2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libgcc-std.ver.in: New file.
|
|
|
|
|
* Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
|
|
|
|
|
variables.
|
|
|
|
|
(libgcc-std.ver): New rule.
|
|
|
|
|
* config/t-gnu-prefix: New file.
|
|
|
|
|
|
2011-05-23 13:12:25 +02:00
|
|
|
|
2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
|
|
|
|
|
|
2011-05-10 18:40:55 +02:00
|
|
|
|
2011-05-10 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/darwin-lib.h: New file.
|
|
|
|
|
|
2011-05-10 16:41:47 +02:00
|
|
|
|
2011-05-10 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/symbian-lib.h: New.
|
|
|
|
|
|
2011-05-04 20:59:31 +02:00
|
|
|
|
2011-05-04 Chris Demetriou <cgd@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
|
|
|
|
|
(__x86.get_pc_thunk.bx): ...this.
|
|
|
|
|
(__morestack): Adjust for rename, remove undef of __i686.
|
|
|
|
|
|
2011-05-04 01:22:03 +02:00
|
|
|
|
2011-05-03 Chris Demetriou <cgd@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
|
|
|
|
|
|
MAINTAINERS (crx port, [...]): Remove.
* MAINTAINERS (crx port, m68hc11 port): Remove. Move maintainers
to Write After Approval.
* config-ml.in: Don't handle arc-*-elf*.
* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
handle GCC libraries.
* configure: Regenerate.
contrib:
* compare-all-tests (all_targets): Remove crx and m68hc11.
fixincludes:
* mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
gcc:
* config/alpha/gnu.h: Remove.
* config/arc: Remove directory.
* config/arm/netbsd.h: Remove.
* config/arm/t-pe: Remove.
* config/crx: Remove directory.
* config/i386/netbsd.h: Remove.
* config/m68hc11: Remove directory.
* config/m68k/uclinux-oldabi.h: Remove.
* config/mcore/mcore-pe.h: Remove.
* config/mcore/t-mcore-pe: Remove.
* config/netbsd-aout.h: Remove.
* config/rs6000/gnu.h: Remove.
* config/sh/sh-symbian.h: Remove.
* config/sh/symbian-base.c: Remove.
* config/sh/symbian-c.c: Remove.
* config/sh/symbian-cxx.c: Remove.
* config/sh/symbian-post.h: Remove.
* config/sh/symbian-pre.h: Remove.
* config/sh/t-symbian: Remove.
* config/svr3.h: Remove.
* config/vax/netbsd.h: Remove.
* config.build: Don't handle i[34567]86-*-pe.
* config.gcc: Remove handling of deprecations for most deprecated
targets.
(m68k-*-uclinuxoldabi*): Add to second deprecated list.
(alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf,
i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*,
m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*,
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
Remove cases.
* config.host: Don't handle i[34567]86-*-pe.
* config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove.
(ASM_SPEC32): Don't handle -mcall-gnu.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle
-mcall-gnu.
(ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC,
STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu.
(LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove.
(SUBTARGET_EXTRA_SPECS): Remove *_gnu specs.
* config/sh/sh-protos.h, config/sh/sh.c: Remove all code
conditional on SYMBIAN.
* configure.ac: Don't handle powerpc*-*-gnu*.
* configure: Regenerate.
* doc/extend.texi (interrupt attribute): Don't mention CRX.
* doc/install-old.texi (m6811, m6812): Don't mention.
* doc/install.texi (arc-*-elf*): Don't document multilib option.
(arc-*-elf, CRX, m6811-elf, m6812-elf): Remove.
(m68k-uclinuxoldabi): Don't mention.
* doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options):
Remove.
(-mcall-gnu): Remove.
* doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12
families): Remove constraint documentation.
gcc/testsuite:
* gcc.c-torture/execute/920501-8.x: Remove.
* gcc.c-torture/execute/930513-1.x: Remove.
* gcc.c-torture/execute/960312-1.x: Remove.
* gcc.c-torture/compile/20000804-1.c,
gcc.c-torture/compile/20001205-1.c,
gcc.c-torture/compile/20001226-1.c,
gcc.c-torture/compile/20010518-2.c,
gcc.c-torture/compile/20020312-1.c,
gcc.c-torture/compile/20020604-1.c,
gcc.c-torture/compile/920501-12.c,
gcc.c-torture/compile/920501-4.c,
gcc.c-torture/compile/920520-1.c,
gcc.c-torture/compile/980506-1.c,
gcc.c-torture/execute/980709-1.x,
gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special
options for m68hc11.
* gcc.dg/cpp/assert4.c: Don't handle ARC.
* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or
m68hc11.
libgcc:
* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
Remove cases.
libstdc++-v3:
* configure.ac: Don't handle powerpc*-*-gnu*.
* configure: Regenerate.
From-SVN: r171302
2011-03-22 20:58:18 +01:00
|
|
|
|
2011-03-22 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
|
|
|
|
|
arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
|
|
|
|
|
m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
|
|
|
|
|
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
|
|
|
|
|
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
|
|
|
|
|
Remove cases.
|
|
|
|
|
|
2011-03-14 07:06:23 +01:00
|
|
|
|
2011-03-14 Andreas Tobler <andreast@fgznet.ch>
|
|
|
|
|
|
|
|
|
|
* config.host (cpu_type): Add FreeBSD PowerPC specific parts.
|
|
|
|
|
Adjust copyright year.
|
|
|
|
|
|
2011-03-07 22:47:10 +01:00
|
|
|
|
2011-03-07 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.c (__splitstack_find): Adjust returned stack
|
|
|
|
|
pointer to include all registers pushed by __morestack.
|
|
|
|
|
|
2011-01-26 05:19:58 +01:00
|
|
|
|
2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/40125
|
|
|
|
|
* configure.ac: Call ACX_NONCANONICAL_TARGET.
|
|
|
|
|
(toolexecdir): Calculate and AC_SUBST.
|
|
|
|
|
(toolexeclibdir): Likewise.
|
|
|
|
|
* Makefile.in (target_noncanonical): Import.
|
|
|
|
|
(toolexecdir): Likewise.
|
|
|
|
|
(toolexeclibdir): Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2010-12-13 17:23:50 +01:00
|
|
|
|
2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR target/46040
|
|
|
|
|
* config/arm/bpabi.h: Rename to...
|
|
|
|
|
* config/arm/bpabi-lib.h: ...this.
|
|
|
|
|
|
2010-12-10 18:03:53 +01:00
|
|
|
|
2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
|
|
|
|
|
appropriate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2010-11-25 00:29:41 +01:00
|
|
|
|
2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
|
|
|
|
|
__FLOAT_WORD_ORDER__.
|
|
|
|
|
* config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
|
|
|
|
|
Delete.
|
|
|
|
|
|
PR other/46202: implement install-strip.
/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.
gcc/:
PR other/46202
* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
variables.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
shell quoting.
(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
(install-strip): New target.
(STRIPPROG): New variable, exported if STRIP is set.
* doc/install.texi (Final install): Minor markup and code style
fixes. Document install-strip target.
fixincludes/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(all, check, install): Also mark as phony.
libgcc/:
PR other/46202
* Makefile.in (install-strip): New phony target.
libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.
gnattools/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
libada/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
From-SVN: r166980
2010-11-20 20:37:08 +01:00
|
|
|
|
2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
PR other/46202
|
|
|
|
|
* Makefile.in (install-strip): New phony target.
|
|
|
|
|
|
2010-11-08 05:34:32 +01:00
|
|
|
|
2010-11-07 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
PR target/46089
|
|
|
|
|
* config/i386/morestack.S (__morestack_large_model): New
|
|
|
|
|
function.
|
|
|
|
|
|
2010-10-23 05:05:47 +02:00
|
|
|
|
2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
|
|
|
|
|
Delete.
|
|
|
|
|
(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
|
|
|
|
|
|
2010-10-14 14:35:43 +02:00
|
|
|
|
2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/bpabi.h: New file.
|
|
|
|
|
* config/frv/frv-abi.h: New file.
|
|
|
|
|
|
2010-10-01 21:31:49 +02:00
|
|
|
|
2010-10-01 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
|
|
|
|
|
* config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
|
|
|
|
|
|
2010-10-01 13:31:26 +02:00
|
|
|
|
2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/45858
|
|
|
|
|
* config.host: Add the missing `$'.
|
|
|
|
|
|
2010-09-30 20:21:57 +02:00
|
|
|
|
2010-09-30 Michael Eager <eager@eagercon.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add microblaze*-*-*.
|
|
|
|
|
* config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
|
|
|
|
|
muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
|
|
|
|
|
udivsi3.asm,umodsi3.asm}: New.
|
|
|
|
|
|
2010-09-29 02:54:08 +02:00
|
|
|
|
2010-09-28 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Adjust CFI test to test assembler directly rather
|
|
|
|
|
than checking gcc preprocessor macro.
|
|
|
|
|
* configure: Rebuild.
|
|
|
|
|
|
2010-09-28 02:07:12 +02:00
|
|
|
|
2010-09-27 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Test whether assembler supports CFI directives.
|
|
|
|
|
* config.host: Only add t-stack and i386/t-stack-i386 to
|
|
|
|
|
tmake_file if libgcc_cv_cfi is "yes".
|
|
|
|
|
* configure: Rebuild.
|
|
|
|
|
|
2010-09-27 21:48:20 +02:00
|
|
|
|
2010-09-27 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* generic-morestack.h: New file.
|
|
|
|
|
* generic-morestack.c: New file.
|
|
|
|
|
* generic-morestack-thread.c: New file.
|
|
|
|
|
* config/i386/morestack.S: New file.
|
|
|
|
|
* config/t-stack: New file.
|
|
|
|
|
* config/i386/t-stack-i386: New file.
|
|
|
|
|
* config.host (i[34567]86-*-linux* and friends): Add t-stack and
|
|
|
|
|
i386/t-stack-i386 to tmake_file.
|
|
|
|
|
|
2010-09-21 16:43:59 +02:00
|
|
|
|
2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (libgcc-extra-parts): Check for static archives and
|
|
|
|
|
invoke ranlib after installing them.
|
|
|
|
|
(gcc-extra-parts): Likewise.
|
|
|
|
|
(install-leaf): Likewise.
|
|
|
|
|
|
2010-09-14 18:48:05 +02:00
|
|
|
|
2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2010-09-10 13:39:49 +02:00
|
|
|
|
2010-09-10 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
2010-09-14 18:48:05 +02:00
|
|
|
|
* configure: Regenerated.
|
2010-09-10 13:39:49 +02:00
|
|
|
|
|
2010-09-10 00:19:33 +02:00
|
|
|
|
2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
Andrew Pinski <pinskia@gmail.com>
|
|
|
|
|
|
2011-06-22 13:20:07 +02:00
|
|
|
|
PR target/40959
|
2010-09-10 00:19:33 +02:00
|
|
|
|
* config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
|
|
|
|
|
|
2010-09-06 16:52:54 +02:00
|
|
|
|
2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/45524
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2010-09-06 12:35:22 +02:00
|
|
|
|
2010-09-06 Andreas Schwab <schwab@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2010-09-03 16:33:48 +02:00
|
|
|
|
2010-09-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
|
|
|
|
|
64bit targets.
|
|
|
|
|
(__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
|
|
|
|
|
for 64bit targets.
|
|
|
|
|
|
2010-09-03 16:23:05 +02:00
|
|
|
|
2010-09-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/45476
|
|
|
|
|
* Makefile.in (sifuncs, difuncs, tifuncs): Filter out
|
|
|
|
|
LIB2FUNCS_EXCLUDE functions.
|
|
|
|
|
|
2010-09-03 15:14:14 +02:00
|
|
|
|
2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
|
|
|
|
|
Include dfp.m4.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2010-09-01 08:42:53 +02:00
|
|
|
|
2010-09-01 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
|
|
|
|
|
i386/t-freebsd to tmake_file.
|
|
|
|
|
* config/i386/t-freebsd: New file.
|
|
|
|
|
* config/i386/libgcc-bsd.ver: New file.
|
|
|
|
|
|
2010-07-23 18:53:48 +02:00
|
|
|
|
2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc*-eabispe*): Set tmake_file.
|
|
|
|
|
(powerpc*-eabi*): Likewise.
|
|
|
|
|
* config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
|
|
|
|
|
crtbeginS, crtendS, crtbeginT.
|
|
|
|
|
|
2010-06-12 09:44:51 +02:00
|
|
|
|
2010-06-12 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
|
|
|
|
|
to tmake_file. Add crtfastmath.o to extra_parts.
|
|
|
|
|
* config/mips/t-crtfm: New.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2010-05-21 16:56:57 +02:00
|
|
|
|
|
|
|
|
|
* config.host (sparc64-*-rtems*): New target.
|
|
|
|
|
|
2010-05-19 17:31:00 +02:00
|
|
|
|
2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
|
|
|
|
|
assembler syntax.
|
|
|
|
|
|
2010-04-15 15:29:07 +02:00
|
|
|
|
2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
|
|
|
|
|
|
2010-04-12 20:36:30 +02:00
|
|
|
|
2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
|
|
|
|
|
alpha-dec-osf5.0* support.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2010-04-02 05:02:18 +02:00
|
|
|
|
|
|
|
|
|
* config.host: Add lm32-*-rtems*.
|
|
|
|
|
|
2010-03-31 11:03:29 +02:00
|
|
|
|
2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
2016-01-25 22:37:08 +01:00
|
|
|
|
Uros Bizjak <ubizjak@gmail.com>
|
2010-03-31 11:03:29 +02:00
|
|
|
|
|
|
|
|
|
PR target/39048
|
|
|
|
|
* config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
|
|
|
|
|
like other remaining 32-bit x86 OSes.
|
|
|
|
|
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
|
|
|
|
|
assembler syntax.
|
|
|
|
|
* config/i386/libgcc-sol2.ver: New file.
|
|
|
|
|
* config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
|
2010-03-30 15:08:52 +02:00
|
|
|
|
|
|
|
|
|
PR c/43553
|
|
|
|
|
* Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
|
|
|
|
|
* configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
|
|
|
|
|
is used and substitute set_use_emutls.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2010-03-30 12:26:24 +02:00
|
|
|
|
2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
|
|
|
|
|
|
|
|
|
|
* config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
|
|
|
|
|
|
2010-03-22 21:12:34 +01:00
|
|
|
|
2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/38085
|
|
|
|
|
* config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
|
|
|
|
|
MULTILIB_CFLAGS.
|
|
|
|
|
($(T)gcrt1.o): Likewise.
|
|
|
|
|
($(T)crt1.o): Likewise.
|
|
|
|
|
($(T)crti.o): Likewise.
|
|
|
|
|
($(T)crtn.o): Likewise.
|
|
|
|
|
|
2010-03-02 07:09:56 +01:00
|
|
|
|
2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
PR other/42980
|
|
|
|
|
* Makefile.in (install): Use $(MAKE) string in rule, for
|
|
|
|
|
parallel make.
|
|
|
|
|
|
2010-02-22 01:37:30 +01:00
|
|
|
|
2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
|
|
|
|
|
|
|
|
|
|
Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
|
|
|
|
|
* config/mmix/t-mmix: New file.
|
|
|
|
|
* config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
|
|
|
|
|
|
2010-02-02 09:18:48 +01:00
|
|
|
|
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
|
|
|
|
|
|
|
|
|
|
PR java/41991
|
|
|
|
|
* config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
|
|
|
|
|
SHLIB_MAPFILES.
|
|
|
|
|
|
2010-01-04 09:29:53 +01:00
|
|
|
|
2010-01-04 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* config/moxie/crti.asm, config/moxie/crtn.asm,
|
|
|
|
|
config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
|
|
|
|
|
config/moxie/t-moxie: New files.
|
|
|
|
|
* config.host: Add t-moxie-softfp reference.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
|
2009-11-18 08:36:12 +01:00
|
|
|
|
|
|
|
|
|
PR other/39888
|
|
|
|
|
* config/t-slibgcc-darwin: Fix embedded rpaths for
|
|
|
|
|
--enable-version-specific-runtime-libs, build extension stub
|
|
|
|
|
libs exposing features available from current libgcc_s.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2009-11-11 Jon Beniston <jon@beniston.com>
|
2009-11-11 17:43:06 +01:00
|
|
|
|
|
2010-09-01 08:42:53 +02:00
|
|
|
|
* config.host: Add lm32 targets.
|
|
|
|
|
* config/lm32: New directory.
|
|
|
|
|
* config/lm32/libgcc_lm32.h: New file.
|
|
|
|
|
* config/lm32/_mulsi3.c: New file.
|
|
|
|
|
* config/lm32/_udivmodsi4.c: New file.
|
|
|
|
|
* config/lm32/_divsi3.c: New file.
|
|
|
|
|
* config/lm32/_modsi3.c: New file.
|
|
|
|
|
* config/lm32/_udivsi3.c: New file.
|
|
|
|
|
* config/lm32/_umodsi3.c: New file.
|
|
|
|
|
* config/lm32/_lshrsi3.S: New file.
|
|
|
|
|
* config/lm32/_ashrsi3.S: New file.
|
|
|
|
|
* config/lm32/_ashlsi3.S: New file.
|
|
|
|
|
* config/lm32/crti.S: New file.
|
|
|
|
|
* config/lm32/crtn.S: New file.
|
|
|
|
|
* config/lm32/t-lm32: New file.
|
|
|
|
|
* config/lm32/t-elf: New file.
|
|
|
|
|
* config/lm32/t-uclinux: New file.
|
2009-11-11 17:43:06 +01:00
|
|
|
|
|
2009-10-26 17:30:15 +01:00
|
|
|
|
2009-10-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add support for RX target.
|
|
|
|
|
* config/rx: New directory.
|
|
|
|
|
* config/rx/rx-abi-functions.c: New file. Supplementary
|
|
|
|
|
functions for libgcc to support the RX ABI.
|
|
|
|
|
* config/rx/rx-abi.h: New file. Supplementary header file for
|
|
|
|
|
libgcc RX ABI functions.
|
|
|
|
|
* config/rx/t-rx: New file: Makefile fragment for building
|
|
|
|
|
libgcc for the RX.
|
|
|
|
|
|
2009-10-09 19:30:56 +02:00
|
|
|
|
2009-10-09 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
|
|
|
|
|
constraint of y0 to "g".
|
|
|
|
|
|
2009-10-07 10:26:47 +02:00
|
|
|
|
2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Include the s390 makefile fragments.
|
|
|
|
|
* config/s390/32/_fixdfdi.c: New file.
|
|
|
|
|
* config/s390/32/_fixsfdi.c: New file.
|
|
|
|
|
* config/s390/32/_fixtfdi.c: New file.
|
|
|
|
|
* config/s390/32/_fixunsdfdi.c: New file.
|
|
|
|
|
* config/s390/32/_fixunssfdi.c: New file.
|
|
|
|
|
* config/s390/32/_fixunstfdi.c: New file.
|
|
|
|
|
* config/s390/32/t-floattodi: New file.
|
|
|
|
|
* config/s390/libgcc-glibc.ver: New file.
|
|
|
|
|
* config/s390/t-crtstuff: New file.
|
|
|
|
|
* config/s390/t-linux: New file.
|
|
|
|
|
* config/s390/t-tpf: New file.
|
|
|
|
|
|
2009-08-24 21:08:51 +02:00
|
|
|
|
2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure.ac (AC_PREREQ): Bump to 2.64.
|
|
|
|
|
|
2009-08-22 23:43:07 +02:00
|
|
|
|
2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
|
|
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2009-08-09 09:05:11 +02:00
|
|
|
|
2009-08-09 Douglas B Rupp <rupp@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config.host (ia64-hp-*vms*): New target.
|
|
|
|
|
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
|
|
|
|
|
with ia64-hp-*vms*.
|
|
|
|
|
|
Makefile.in (AUTOCONF, [...]): New variables.
fixincludes/
* Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
New variables.
($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
Use them.
gcc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
(AUTOHEADER): New variable.
($(srcdir)/cstamp-h.in): Use it.
gnattools/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): Use them.
libada/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): Use them. Also depend on multi.m4.
libgcc/
* configure.ac: Add snippet for maintainer-mode.
* configure: Regenerate.
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): New rule, active only with maintainer
mode turned on.
libiberty/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): New rule, active only in maintainer mode.
libobjc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
intl/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
libdecnumber/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
From-SVN: r150277
2009-07-31 00:33:49 +02:00
|
|
|
|
2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Add snippet for maintainer-mode.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in (AUTOCONF, configure_deps): New variables.
|
|
|
|
|
($(srcdir)/configure)): New rule, active only with maintainer
|
|
|
|
|
mode turned on.
|
|
|
|
|
|
2009-06-24 06:16:25 +02:00
|
|
|
|
2009-06-23 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
Add MeP port.
|
|
|
|
|
* config.host: Add mep support.
|
|
|
|
|
|
2009-06-22 16:05:00 +02:00
|
|
|
|
2009-06-22 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
2009-06-22 22:44:50 +02:00
|
|
|
|
* config.host: Add i386/${host_address}/t-fprules-softfp and
|
2009-10-09 19:30:56 +02:00
|
|
|
|
t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
|
2009-06-22 22:44:50 +02:00
|
|
|
|
|
|
|
|
|
* config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
|
|
|
|
|
for mingw targets.
|
2009-06-22 16:05:00 +02:00
|
|
|
|
* config/i386/64/_multc3.c: Likewise.
|
|
|
|
|
* config/i386/64/_powitf2.c: Likewise.
|
|
|
|
|
* config/i386/64/eqtf2.c: Likewise.
|
|
|
|
|
* config/i386/64/getf2.c: Likewise.
|
|
|
|
|
* config/i386/64/letf2.c: Likewise.
|
|
|
|
|
* config/i386/64/letf2.c: Likewise.
|
2009-06-22 22:44:50 +02:00
|
|
|
|
* config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
|
|
|
|
|
unsigned long long for x64 mingw targets.
|
|
|
|
|
(_FP_WS_TYPE): Define as signed long long for x64 mingw target.
|
|
|
|
|
(_FP_I_TYPE): Define as long long for x64 mingw target.
|
2009-06-22 16:05:00 +02:00
|
|
|
|
|
2009-06-11 00:28:08 +02:00
|
|
|
|
2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
* config.host (vax-*-linux*): New.
|
|
|
|
|
|
2009-06-10 07:23:39 +02:00
|
|
|
|
2009-05-31 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add moxie support.
|
|
|
|
|
* config/moxie/t-moxie: New file.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
|
2009-05-29 09:49:26 +02:00
|
|
|
|
|
|
|
|
|
* config.host: Add i386/${host_address}/t-fprules-softfp and
|
2009-10-09 19:30:56 +02:00
|
|
|
|
t-softfp to tmake_file for i[34567]86-*-cygwin*.
|
2009-05-29 09:49:26 +02:00
|
|
|
|
|
2009-04-17 13:51:19 +02:00
|
|
|
|
2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
|
|
|
|
|
|
|
|
|
|
* config.host: Add i386/${host_address}/t-fprules-softfp to
|
|
|
|
|
tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
|
|
|
|
|
|
2009-04-09 17:00:19 +02:00
|
|
|
|
2009-04-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/tf-signs.c: Change copyright header to refer to
|
|
|
|
|
version 3 of the GNU General Public License with version 3.1
|
|
|
|
|
of the GCC Runtime Library Exception and to point readers at
|
|
|
|
|
the COPYING3 and COPYING3.RUNTIME files and the FSF's license
|
|
|
|
|
web page.
|
|
|
|
|
* config/i386/32/tf-signs.c: Likewise.
|
|
|
|
|
* config/libbid/_addsub_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_addsub_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_addsub_td.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_df.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_di.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_sf.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_si.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_tf.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_udi.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_usi.c: Likewise.
|
|
|
|
|
* config/libbid/_dd_to_xf.c: Likewise.
|
|
|
|
|
* config/libbid/_df_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_df_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_df_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_di_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_di_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_di_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_div_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_div_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_div_td.c: Likewise.
|
|
|
|
|
* config/libbid/_eq_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_eq_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_eq_td.c: Likewise.
|
|
|
|
|
* config/libbid/_ge_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_ge_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_ge_td.c: Likewise.
|
|
|
|
|
* config/libbid/_gt_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_gt_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_gt_td.c: Likewise.
|
|
|
|
|
* config/libbid/_isinfd128.c: Likewise.
|
|
|
|
|
* config/libbid/_isinfd32.c: Likewise.
|
|
|
|
|
* config/libbid/_isinfd64.c: Likewise.
|
|
|
|
|
* config/libbid/_le_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_le_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_le_td.c: Likewise.
|
|
|
|
|
* config/libbid/_lt_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_lt_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_lt_td.c: Likewise.
|
|
|
|
|
* config/libbid/_mul_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_mul_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_mul_td.c: Likewise.
|
|
|
|
|
* config/libbid/_ne_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_ne_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_ne_td.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_df.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_di.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_sf.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_si.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_tf.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_udi.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_usi.c: Likewise.
|
|
|
|
|
* config/libbid/_sd_to_xf.c: Likewise.
|
|
|
|
|
* config/libbid/_sf_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_sf_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_sf_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_si_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_si_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_si_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_df.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_di.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_sf.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_si.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_tf.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_udi.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_usi.c: Likewise.
|
|
|
|
|
* config/libbid/_td_to_xf.c: Likewise.
|
|
|
|
|
* config/libbid/_tf_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_tf_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_tf_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_udi_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_udi_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_udi_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_unord_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_unord_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_unord_td.c: Likewise.
|
|
|
|
|
* config/libbid/_usi_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_usi_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_usi_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/_xf_to_dd.c: Likewise.
|
|
|
|
|
* config/libbid/_xf_to_sd.c: Likewise.
|
|
|
|
|
* config/libbid/_xf_to_td.c: Likewise.
|
|
|
|
|
* config/libbid/bid128.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_2_str.h: Likewise.
|
|
|
|
|
* config/libbid/bid128_2_str_macros.h: Likewise.
|
|
|
|
|
* config/libbid/bid128_2_str_tables.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_add.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_compare.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_div.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_fma.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_logb.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_minmax.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_mul.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_next.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_noncomp.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_quantize.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_rem.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_round_integral.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_scalb.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_sqrt.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_string.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_to_int16.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_to_int32.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_to_int64.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_to_int8.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_to_uint16.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_to_uint32.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_to_uint64.c: Likewise.
|
|
|
|
|
* config/libbid/bid128_to_uint8.c: Likewise.
|
|
|
|
|
* config/libbid/bid32_to_bid128.c: Likewise.
|
|
|
|
|
* config/libbid/bid32_to_bid64.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_add.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_compare.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_div.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_fma.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_logb.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_minmax.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_mul.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_next.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_noncomp.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_quantize.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_rem.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_round_integral.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_scalb.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_sqrt.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_string.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_bid128.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_int16.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_int32.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_int64.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_int8.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_uint16.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_uint32.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_uint64.c: Likewise.
|
|
|
|
|
* config/libbid/bid64_to_uint8.c: Likewise.
|
|
|
|
|
* config/libbid/bid_b2d.h: Likewise.
|
|
|
|
|
* config/libbid/bid_binarydecimal.c: Likewise.
|
|
|
|
|
* config/libbid/bid_conf.h: Likewise.
|
|
|
|
|
* config/libbid/bid_convert_data.c: Likewise.
|
|
|
|
|
* config/libbid/bid_decimal_data.c: Likewise.
|
|
|
|
|
* config/libbid/bid_decimal_globals.c: Likewise.
|
|
|
|
|
* config/libbid/bid_div_macros.h: Likewise.
|
|
|
|
|
* config/libbid/bid_dpd.c: Likewise.
|
|
|
|
|
* config/libbid/bid_flag_operations.c: Likewise.
|
|
|
|
|
* config/libbid/bid_from_int.c: Likewise.
|
|
|
|
|
* config/libbid/bid_functions.h: Likewise.
|
|
|
|
|
* config/libbid/bid_gcc_intrinsics.h: Likewise.
|
|
|
|
|
* config/libbid/bid_inline_add.h: Likewise.
|
|
|
|
|
* config/libbid/bid_internal.h: Likewise.
|
|
|
|
|
* config/libbid/bid_round.c: Likewise.
|
|
|
|
|
* config/libbid/bid_sqrt_macros.h: Likewise.
|
|
|
|
|
|
|
|
|
|
2009-04-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Change copyright header to refer to version
|
|
|
|
|
3 of the GNU General Public License and to point readers at the
|
|
|
|
|
COPYING3 file and the FSF's license web page.
|
|
|
|
|
* config.host: Likewise.
|
|
|
|
|
|
2009-04-07 02:47:21 +02:00
|
|
|
|
2009-04-07 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config.host: Reorder and merge to match config.gcc change.
|
|
|
|
|
|
2009-04-03 01:53:29 +02:00
|
|
|
|
2009-04-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
|
|
|
|
|
|
inclhack.def (aix_syswait, [...]): Remove.
fixincludes:
* inclhack.def (aix_syswait, exception_structure,
pthread_page_size): Remove.
(math_exception): Remove mention of fixproto in comment.
* fixincl.x: Regenerate.
* mkheaders.in: Do not handle STMP_FIXPROTO.
gcc:
* config/arm/t-arm-coff, config/h8300/coff.h,
config/i386/i386-aout.h, config/i386/i386-coff.h,
config/libgloss.h, config/m68k/coff.h, config/m68k/m68k-aout.h,
config/pdp11/2bsd.h, config/rs6000/aix41.h,
config/rs6000/aix41.opt, config/rs6000/t-newas, config/sh/coff.h,
fix-header.c, fixproto, gen-protos.c, protoize.c, scan-decls.c,
scan-types.sh, scan.c, scan.h, sort-protos, sys-protos.h,
sys-types.h: Remove.
* Makefile.in: Remove protoize and fixproto support and references
in comments.
(SYSCALLS.c.X-warn, TARGET_GETGROUPS_T, STMP_FIXPROTO,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, FIXPROTO_DEFINES):
Remove.
(ALL_HOST_OBJS): Remove $(PROTO_OBJS).
(MOSTLYCLEANFILES): Remove protoize$(exeext) and
unprotoize$(exeext).
(rest.encap): Don't depend on $(STMP_FIXPROTO)
(.PHONY): Don't depend on proto.
(libgcc-support): Don't depend on $(STMP_FIXPROTO).
(proto, PROTO_OBJS, protoize$(exeext), unprotoize$(exeext),
protoize.o, unprotoize.o, SYSCALLS.c.X, test-protoize-simple,
deduced.h, GEN_PROTOS_OBJS, build/gen-protos$(build_exeext),
build/gen-protos.o, build/scan.o, xsys-protos.h,
build/fix-header$(build_exeext), build/fix-header.o,
build/scan-decls.o, fixhdr.ready, stmp-fixproto,
stmp-install-fixproto): Remove.
(mostlyclean): Don't remove xsys-protos.hT, SYSCALLS.c.X,
SYSCALLS.c or fixproto files.
(install-common): Don't install protoize.
(install-headers-tar, install-headers-cpio, install-headers-cp):
Don't depend on $(STMP_FIXPROTO).
(install-mkheaders): Don't depend on $(STMP_FIXPROTO). Don't
install fixproto files or write out fixproto settings.
(uninstall): Don't uninstall protoize.
* config.gcc (use_fixproto): Remove.
(arm-*-coff*, armel-*-coff*, h8300-*-*, i[34567]86-*-aout*,
i[34567]86-*-coff*, m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd,
rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
* config/m32r/t-linux (STMP_FIXPROTO): Remove.
* config/m68k/m68k.c: Remove M68K_TARGET_COFF-conditional code.
* config/mips/t-iris (FIXPROTO_DEFINES): Remove.
* config/pa/t-pa-hpux (FIXPROTO_DEFINES): Remove.
* config/pdp11/pdp11.c: Remove TWO_BSD-conditional code.
* config/t-svr4 (FIXPROTO_DEFINES): Remove.
* config/t-vxworks (STMP_FIXPROTO): Remove.
* configure.ac (AC_TYPE_GETGROUPS, TARGET_GETGROUPS_T,
STMP_FIXPROTO): Remove.
* config.in, configure: Regenerate.
* crtstuff.c (gid_t, uid_t): Don't undefine.
* doc/install.texi: Change m68k-coff to m68k-elf in example.
(arm-*-coff, arm-*-aout: Remove target entries.
(*-ibm-aix*): Mention removal of support for AIX 4.2 and older.
Remove mention of AIX 4.1.
(m68k-*-*): Remove mention of m68k-*-aout and m68k-*-coff*.
* doc/invoke.texi (Running Protoize): Remove.
* doc/trouble.texi (Actual Bugs): Remove mention of fixproto.
(Protoize Caveats): Remove.
* tsystem.h: Update comments on headers assumed to exist.
gcc/po:
* EXCLUDES (fix-header.c, gen-protos.c, scan-decls.c, scan.c,
scan.h): Remove.
gcc/testsuite:
* g++.old-deja/g++.ext/attrib5.C, g++.old-deja/g++.jason/thunk3.C,
gcc.c-torture/compile/981006-1.c: Don't XFAIL or add special
options for removed targets.
libgcc:
* config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
From-SVN: r145158
2009-03-28 07:51:09 +01:00
|
|
|
|
2009-03-28 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
|
|
|
|
|
armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
|
|
|
|
|
m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
|
|
|
|
|
powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
|
|
|
|
|
|
2009-02-12 23:03:44 +01:00
|
|
|
|
2009-02-12 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
|
|
|
|
|
* config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
|
|
|
|
|
|
2009-02-12 17:30:53 +01:00
|
|
|
|
2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
2009-02-12 23:03:44 +01:00
|
|
|
|
* config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
|
|
|
|
|
ia64/t-softfp-compat to tmake_file.
|
2009-02-12 17:30:53 +01:00
|
|
|
|
|
|
|
|
|
* Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
|
|
|
|
|
|
|
|
|
|
* config/ia64/__divxf3.asm: New.
|
|
|
|
|
* config/ia64/_fixtfdi.asm: Likewise.
|
|
|
|
|
* config/ia64/_fixunstfdi.asm: Likewise.
|
|
|
|
|
* config/ia64/_floatditf.asm: Likewise.
|
|
|
|
|
* config/ia64/t-fprules-softfp: Likewise.
|
|
|
|
|
* config/ia64/t-softfp-compat: Likewise.
|
|
|
|
|
* config/ia64/tf-signs.c: Likewise.
|
|
|
|
|
|
2009-01-18 00:41:31 +01:00
|
|
|
|
2009-01-18 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
|
|
|
|
|
|
2009-01-16 05:00:48 +01:00
|
|
|
|
2009-01-16 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
|
|
|
|
|
to tmake_file.
|
|
|
|
|
|
2009-01-13 12:53:41 +01:00
|
|
|
|
2009-01-13 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/t-softfp: New file.
|
|
|
|
|
* config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
|
|
|
|
|
(powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-01-05 20:30:22 +01:00
|
|
|
|
|
|
|
|
|
* config.host: Add m32r*-*-rtems*.
|
|
|
|
|
|
2016-01-25 22:37:08 +01:00
|
|
|
|
2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-12-01 17:33:47 +01:00
|
|
|
|
|
|
|
|
|
* config.host: Add m32c*-*-rtems*.
|
|
|
|
|
|
2008-11-20 18:13:01 +01:00
|
|
|
|
2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/33100
|
|
|
|
|
* configure.ac (i?86-*-solaris2.1[0-9]*): Only include
|
|
|
|
|
i386/t-crtstuff if linker supports ZERO terminator unwind entries.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
|
|
|
|
|
tmake_file here from gcc/config.gcc.
|
|
|
|
|
Move extra_parts here from gcc/config.gcc.
|
|
|
|
|
* config/i386/t-sol2: Move here from gcc/config/i386.
|
|
|
|
|
Use gcc_srcdir instead of srcdir.
|
|
|
|
|
|
2008-11-18 22:00:28 +01:00
|
|
|
|
2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
|
|
|
|
|
|
|
|
|
|
* config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
|
|
|
|
|
case.
|
|
|
|
|
|
2008-11-09 23:57:46 +01:00
|
|
|
|
2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
|
|
|
|
|
|
2008-10-09 12:37:17 +02:00
|
|
|
|
2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Fold `*-*-gnu*' cases into the Linux ones.
|
|
|
|
|
|
2008-09-03 14:10:49 +02:00
|
|
|
|
2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
|
|
|
|
|
|
|
|
|
|
Add picoChip port.
|
|
|
|
|
* config.host: Add picochip-*-*.
|
|
|
|
|
|
2008-08-06 18:03:03 +02:00
|
|
|
|
2008-08-06 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* config.host: Match more processor names for Xtensa.
|
|
|
|
|
|
2008-07-08 15:13:13 +02:00
|
|
|
|
2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/64/t-softfp-compat: Update comments.
|
|
|
|
|
|
2008-07-07 19:02:43 +02:00
|
|
|
|
2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/64/_divtc3-compat.c: Moved to ...
|
|
|
|
|
* config/i386/64/_divtc3.c: Here.
|
|
|
|
|
|
|
|
|
|
* config/i386/64/_multc3-compat.c: Moved to ...
|
|
|
|
|
* config/i386/64/_multc3.c: Here.
|
|
|
|
|
|
|
|
|
|
* config/i386/64/_powitf2-compat.c: Moved to ...
|
|
|
|
|
* config/i386/64/_powitf2.c: Here.
|
|
|
|
|
|
|
|
|
|
* config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
|
|
|
|
|
.c suffix instead of -compat.c.
|
|
|
|
|
|
2008-07-05 18:45:55 +02:00
|
|
|
|
2008-07-05 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
|
|
|
|
|
(_FP_MUL_MEAT_D): Ditto.
|
|
|
|
|
(_FP_DIV_MEAT_S): Ditto.
|
|
|
|
|
(_FP_DIV_MEAT_D): Ditto.
|
|
|
|
|
|
2008-07-03 21:37:45 +02:00
|
|
|
|
2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Add support for __sync_* libgcc functions.
|
|
|
|
|
|
2008-07-03 21:22:00 +02:00
|
|
|
|
2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
|
|
|
|
|
|
2008-07-02 21:31:53 +02:00
|
|
|
|
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR boostrap/36702
|
|
|
|
|
* config.host: Only include 32bit t-fprules-softfp for Darwin/x86
|
|
|
|
|
and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
|
|
|
|
|
|
|
|
|
|
* config/i386/64/t-fprules-softfp: Moved to ...
|
|
|
|
|
* config/i386/64/t-softfp-compat: This. New.
|
|
|
|
|
|
2008-07-02 21:16:59 +02:00
|
|
|
|
2008-07-02 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
|
|
|
|
|
Initialize f with 0.0.
|
|
|
|
|
|
re PR target/36669 (Wrong versioning for __float128)
gcc/
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
PR target/36669
* config/libgcc-glibc.ver: Add %exclude.
* config/m32r/libgcc-glibc.ver: Likwise.
* config/s390/libgcc-glibc.ver: Likwise.
* config/sh/libgcc-glibc.ver: Likwise.
* config/sparc/libgcc-sparc-glibc.ver: Likwise.
* config/i386/libgcc-glibc.ver: New.
* config/i386/libgcc-x86_64-glibc.ver: Removed.
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
* config.gcc: Remove i386/t-fprules-softfp64 soft-fp/t-softfp
from tmake_file from i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-linux*, x86_64-*-linux*. Add
i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file for
i[34567]86-*-darwin*, x86_64-*-darwin*, i[34567]86-*-linux*,
x86_64-*-linux*. Add i386/t-linux to tmake_file for
i[34567]86-*-linux*, x86_64-*-linux*.
* libgcc-std.ver: Add empty GCC_4.4.0.
* mkmap-symver.awk: Support multiple versions per symbol.
* config/i386/i386.c (ix86_init_builtins): Always define
__builtin_fabsq and __builtin_copysignq with fallbacks.
(ix86_expand_builtin): Emit normal call for __builtin_fabsq
and __builtin_copysignq if SSE2 isn't available.
* config/i386/linux.h (LIBGCC2_HAS_TF_MODE): Defined.
(LIBGCC2_TF_CEXT): Likwise.
(TF_SIZE): Likwise.
* config/i386/linux64.h (LIBGCC2_HAS_TF_MODE): Defined as 1.
* config/i386/sfp-machine.h: Moved to libgcc.
* config/i386/sfp-machine.h: New.
* config/i386/t-linux: Likwise.
* config/i386/t-darwin: Remove softfp_wrap_start and
softfp_wrap_end.
* config/i386/t-darwin64: Likewise.
* config/i386/t-fprules-softfp64: Renamed to ...
* config/i386/t-fprules-softfp: This.
* config/i386/t-linux64: Remove SHLIB_MAPFILES, softfp_wrap_start
and softfp_wrap_end.
libgcc/
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
PR target/36669
* shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
* config/i386/64/_divtc3-compat.c: New.
* config/i386/64/_multc3-compat.c: Likewise.
* config/i386/64/_powitf2-compat.c: Likewise.
* config/i386/64/eqtf2.c: Likewise.
* config/i386/64/getf2.c: Likewise.
* config/i386/64/letf2.c: Likewise.
* config/i386/64/t-fprules-softfp: Likewise.
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
* config.host: Add i386/${host_address}/t-fprules-softfp to
tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-linux*, x86_64-*-linux*.
* configure.ac: Set host_address to 64 or 32 for x86.
* configure: Regenerated.
* Makefile.in (config.status): Also depend on
$(srcdir)/config.host.
* config/i386/32/t-fprules-softfp: New.
* config/i386/32/tf-signs.c: Likewise.
* config/i386/64/sfp-machine.h: New. Moved from gcc.
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
Uros Bizjak <ubizjak@gmail.com>
* config/i386/32/sfp-machine.h: New.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r137369
2008-07-02 17:59:19 +02:00
|
|
|
|
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/36669
|
|
|
|
|
* shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
|
|
|
|
|
|
|
|
|
|
* config/i386/64/_divtc3-compat.c: New.
|
|
|
|
|
* config/i386/64/_multc3-compat.c: Likewise.
|
|
|
|
|
* config/i386/64/_powitf2-compat.c: Likewise.
|
|
|
|
|
* config/i386/64/eqtf2.c: Likewise.
|
|
|
|
|
* config/i386/64/getf2.c: Likewise.
|
|
|
|
|
* config/i386/64/letf2.c: Likewise.
|
|
|
|
|
* config/i386/64/t-fprules-softfp: Likewise.
|
|
|
|
|
|
|
|
|
|
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Add i386/${host_address}/t-fprules-softfp to
|
|
|
|
|
tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
|
2009-10-09 19:30:56 +02:00
|
|
|
|
i[34567]86-*-linux*, x86_64-*-linux*.
|
re PR target/36669 (Wrong versioning for __float128)
gcc/
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
PR target/36669
* config/libgcc-glibc.ver: Add %exclude.
* config/m32r/libgcc-glibc.ver: Likwise.
* config/s390/libgcc-glibc.ver: Likwise.
* config/sh/libgcc-glibc.ver: Likwise.
* config/sparc/libgcc-sparc-glibc.ver: Likwise.
* config/i386/libgcc-glibc.ver: New.
* config/i386/libgcc-x86_64-glibc.ver: Removed.
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
* config.gcc: Remove i386/t-fprules-softfp64 soft-fp/t-softfp
from tmake_file from i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-linux*, x86_64-*-linux*. Add
i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file for
i[34567]86-*-darwin*, x86_64-*-darwin*, i[34567]86-*-linux*,
x86_64-*-linux*. Add i386/t-linux to tmake_file for
i[34567]86-*-linux*, x86_64-*-linux*.
* libgcc-std.ver: Add empty GCC_4.4.0.
* mkmap-symver.awk: Support multiple versions per symbol.
* config/i386/i386.c (ix86_init_builtins): Always define
__builtin_fabsq and __builtin_copysignq with fallbacks.
(ix86_expand_builtin): Emit normal call for __builtin_fabsq
and __builtin_copysignq if SSE2 isn't available.
* config/i386/linux.h (LIBGCC2_HAS_TF_MODE): Defined.
(LIBGCC2_TF_CEXT): Likwise.
(TF_SIZE): Likwise.
* config/i386/linux64.h (LIBGCC2_HAS_TF_MODE): Defined as 1.
* config/i386/sfp-machine.h: Moved to libgcc.
* config/i386/sfp-machine.h: New.
* config/i386/t-linux: Likwise.
* config/i386/t-darwin: Remove softfp_wrap_start and
softfp_wrap_end.
* config/i386/t-darwin64: Likewise.
* config/i386/t-fprules-softfp64: Renamed to ...
* config/i386/t-fprules-softfp: This.
* config/i386/t-linux64: Remove SHLIB_MAPFILES, softfp_wrap_start
and softfp_wrap_end.
libgcc/
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
PR target/36669
* shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
* config/i386/64/_divtc3-compat.c: New.
* config/i386/64/_multc3-compat.c: Likewise.
* config/i386/64/_powitf2-compat.c: Likewise.
* config/i386/64/eqtf2.c: Likewise.
* config/i386/64/getf2.c: Likewise.
* config/i386/64/letf2.c: Likewise.
* config/i386/64/t-fprules-softfp: Likewise.
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
* config.host: Add i386/${host_address}/t-fprules-softfp to
tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-linux*, x86_64-*-linux*.
* configure.ac: Set host_address to 64 or 32 for x86.
* configure: Regenerated.
* Makefile.in (config.status): Also depend on
$(srcdir)/config.host.
* config/i386/32/t-fprules-softfp: New.
* config/i386/32/tf-signs.c: Likewise.
* config/i386/64/sfp-machine.h: New. Moved from gcc.
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
Uros Bizjak <ubizjak@gmail.com>
* config/i386/32/sfp-machine.h: New.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r137369
2008-07-02 17:59:19 +02:00
|
|
|
|
|
|
|
|
|
* configure.ac: Set host_address to 64 or 32 for x86.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
|
|
|
|
* Makefile.in (config.status): Also depend on
|
|
|
|
|
$(srcdir)/config.host.
|
|
|
|
|
|
|
|
|
|
* config/i386/32/t-fprules-softfp: New.
|
|
|
|
|
* config/i386/32/tf-signs.c: Likewise.
|
|
|
|
|
|
|
|
|
|
* config/i386/64/sfp-machine.h: New. Moved from gcc.
|
|
|
|
|
|
|
|
|
|
2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/32/sfp-machine.h: New.
|
|
|
|
|
|
2008-06-26 16:15:49 +02:00
|
|
|
|
2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-ppccomm: Remove rules that conflict with
|
|
|
|
|
auto-generated rules.
|
|
|
|
|
|
2008-06-18 01:13:35 +02:00
|
|
|
|
2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure.ac: sinclude override.m4.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2008-06-11 11:57:11 +02:00
|
|
|
|
2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined.
gcc:
* dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined.
(encode_decimal64, decode_decimal64, encode_decimal128,
decode_decimal128): Reverse order of 32-bit parts of value if host
and target endianness differ.
libdecnumber:
* dconfig.h: New.
* decContext.c, decExcept.c, decExcept.h, decLibrary.c,
decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
* dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
decimal128FlipSign): Use WORDS_BIGENDIAN not
FLOAT_WORDS_BIG_ENDIAN.
* bid/host-ieee128.c: Include dconfig.h.
(__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
value if WORDS_BIGENDIAN.
libgcc:
* Makefile.in (DECNUMINC): Remove
-I$(MULTIBUILDTOP)../../libdecnumber.
* gstdint.h: New.
From-SVN: r136641
2008-06-11 01:43:09 +02:00
|
|
|
|
2008-06-10 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (DECNUMINC): Remove
|
|
|
|
|
-I$(MULTIBUILDTOP)../../libdecnumber.
|
|
|
|
|
* gstdint.h: New.
|
|
|
|
|
|
MAINTAINERS (mt port): Remove.
* MAINTAINERS (mt port): Remove.
(sco5, unixware, sco udk): Remove.
(Kean Johnston): Add to Write After Approval.
fixincludes:
* inclhack.def (AAB_svr4_replace_byteorder,
AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
solaris_mutex_init_1, solaris_socket, solaris_unistd,
solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
ultrix_strings2, ultrix_sys_time, ultrix_unistd,
unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
windiss_math2, windiss_valist): Remove.
* fixincl.x: Regenerate.
* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
powerpc-*-eabiaix*): Remove.
* tests/base/math.h: Update.
* tests/base/pthread.h: Update.
* tests/base/stdio.h: Update.
* tests/base/stdlib.h: Update.
* tests/base/string.h: Update.
* tests/base/strings.h: Update.
* tests/base/sys/file.h: Update.
* tests/base/sys/limits.h: Update.
* tests/base/sys/socket.h: Update.
* tests/base/sys/stat.h: Update.
* tests/base/sys/time.h: Update.
* tests/base/testing.h: Update.
* tests/base/unistd.h: Update.
* tests/base/_G_config.h: Remove.
* tests/base/arpa: Remove directory.
* tests/base/fs: Remove directory.
* tests/base/locale.h: Remove.
* tests/base/machine: Remove directory.
* tests/base/rpc/svc.h: Remove.
* tests/base/sys/ioctl.h: Remove.
* tests/base/sys/regset.h: Remove.
* tests/base/sys/times.h: Remove.
* tests/base/sys/utsname.h: Remove.
* tests/base/widec.h: Remove.
gcc:
* config.gcc (Obsolete configurations): Remove list of
configurations.
(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
targets matched by those patterns.
(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
Make code for Solaris 7 and greater unconditional for Solaris.
(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
Remove --with-* handling.
* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
LINK_OS_WINDISS_SPEC): Remove.
* config/rs6000/sysv4.opt (mwindiss): Remove.
* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
* configure: Regenerate.
* doc/cpp.texi: Don't mention BeOS.
* doc/extend.texi (interrupt): Don't mention MS1.
* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
Remove.
* doc/invoke.texi (MT Options): Remove.
(-mwindiss): Remove.
(CRIS Options): Remove cris-axis-aout references.
(HPPA Options): Don't mention hppa1.1-*-pro.
* doc/md.texi: (MorphoTech family): Remove.
* libgcc2.c: Don't handle UWIN.
* config/alpha/t-unicosmk: Remove.
* config/alpha/unicosmk.h: Remove.
* config/arm/kaos-arm.h: Remove.
* config/arm/kaos-strongarm.h: Remove.
* config/arm/strongarm-coff.h: Remove.
* config/arm/strongarm-elf.h: Remove.
* config/arm/strongarm-pe.h: Remove.
* config/arm/t-strongarm-pe: Remove.
* config/arm/t-xscale-coff: Remove.
* config/arm/t-xscale-elf: Remove.
* config/arm/xscale-coff.h: Remove.
* config/arm/xscale-elf.h: Remove.
* config/chorus.h: Remove.
* config/cris/aout.h: Remove.
* config/cris/aout.opt: Remove.
* config/cris/t-aout: Remove.
* config/i386/beos-elf.h: Remove.
* config/i386/kaos-i386.h: Remove.
* config/i386/ptx4-i.h: Remove.
* config/i386/sco5.h: Remove.
* config/i386/sco5.opt: Remove.
* config/i386/sysv4-cpp.h: Remove.
* config/i386/sysv5.h: Remove.
* config/i386/t-beos: Remove.
* config/i386/t-sco5: Remove.
* config/i386/t-uwin: Remove.
* config/i386/uwin.asm: Remove.
* config/i386/uwin.h: Remove.
* config/kaos.h: Remove.
* config/mips/windiss.h: Remove.
* config/mt: Remove directory.
* config/pa/pa-osf.h: Remove.
* config/pa/pa-pro-end.h: Remove.
* config/pa/t-pro: Remove.
* config/ptx4.h: Remove.
* config/rs6000/beos.h: Remove.
* config/rs6000/kaos-ppc.h: Remove.
* config/rs6000/t-beos: Remove.
* config/rs6000/windiss.h: Remove.
* config/sh/kaos-sh.h: Remove.
* config/sol2-6.h: Remove.
* config/sparc/sol26-sld.h: Remove.
* config/sparc/sysv4-only.h: Remove.
* config/vax/bsd.h: Remove.
* config/vax/t-memfuncs: Remove.
* config/vax/ultrix.h: Remove.
* config/vax/vaxv.h: Remove.
* config/windiss.h: Remove.
gcc/testsuite:
* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
7.
* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
strongarm*-*-* and cris-*-aout*.
* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
* gcc.dg/cpp/assert4.c: Don't handle BeOS.
* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
xscale*-*-elf*.
* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
powerpc-*-sysv*.
* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
* lib/target-supports.exp: Don't handle strongarm*-*-elf,
xscale*-*-elf and *-*-windiss.
* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
* gcc.dg/mt-loopi1.c: Remove.
gnattools:
* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
* configure: Regenerate.
libcpp:
* configure.ac (parisc*64*-*-*): Remove.
* configure: Regenerate.
libffi:
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
powerpc-*-beos*): Remove.
* configure: Regenerate.
libgcc:
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
libjava:
* configure.host (strongarm*-elf, xscale*-elf): Remove.
libstdc++-v3:
* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
solaris2.5.[0-9], solaris2.6, windiss*): Remove.
* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
* configure: Regenerate.
* config/os/solaris/solaris2.5: Remove directory.
* config/os/solaris/solaris2.6: Remove directory.
* config/os/windiss: Remove directory.
From-SVN: r136534
2008-06-07 20:00:15 +02:00
|
|
|
|
2008-06-07 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
|
|
|
|
|
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
|
|
|
|
|
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
|
|
|
|
|
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
|
|
|
|
|
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
|
|
|
|
|
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
|
|
|
|
|
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
|
|
|
|
|
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
|
|
|
|
|
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
|
|
|
|
|
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
|
|
|
|
|
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
|
|
|
|
|
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
|
|
|
|
|
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
|
|
|
|
|
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
|
|
|
|
|
|
2008-05-25 14:30:30 +02:00
|
|
|
|
2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
|
|
|
|
|
|
|
|
|
|
* config.host (sh2[lbe]*-*-linux*): Allow target.
|
|
|
|
|
|
t-ppccomm: Add build rules for new files.
libgcc/
* config/rs6000/t-ppccomm: Add build rules for new files.
(LIB2ADD_ST): New variable.
gcc/
* config/rs6000/crtresgpr.asm, config/rs6000/crtresxgpr.asm,
config/rs6000/crtsavgpr.asm, config/rs6000/crtresfpr.asm,
config/rs6000/crtresxfpr.asm, config/rs6000/crtsavfpr.asm: Break out
from...
* config/rs6000/crtsavres.asm: ...here. Remove unneeded file.
* config/rs6000/e500crtres32gpr.asm,
config/rs6000/e500crtres64gpr.asm
config/rs6000/e500crtres64gprctr.asm,
config/rs6000/e500crtrest32gpr.asm
config/rs6000/e500crtrest64gpr.asm,
config/rs6000/e500crtresx32gpr.asm
config/rs6000/e500crtresx64gpr.asm,
config/rs6000/e500crtsav32gpr.asm
config/rs6000/e500crtsav64gpr.asm,
config/rs6000/e500crtsav64gprctr.asm
config/rs6000/e500crtsavg32gpr.asm,
config/rs6000/e500crtsavg64gpr.asm
config/rs6000/e500crtsavg64gprctr.asm: New files.
* config/rs6000/t-ppccomm: Add build rules for new files.
(LIB2FUNCS_STATIC_EXTRA): Add new files.
* config/rs6000/t-netbsd: Add build rules for new files.
(LIB2FUNCS_STATIC_EXTRA): New variable.
* config/rs6000/sysv4.h (ENDFILE_SPEC): Don't include crtsavres.o
(CRTSAVRES_DEFAULT_SPEC): Likewise.
* config/rs6000/netbsd.h (ENDFILE_SPEC): Likewise.
From-SVN: r134828
2008-04-30 18:10:21 +02:00
|
|
|
|
2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-ppccomm: Add build rules for new files.
|
|
|
|
|
(LIB2ADD_ST): New variable.
|
|
|
|
|
|
2008-04-08 01:15:35 +02:00
|
|
|
|
2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
|
|
|
|
|
|
|
|
|
|
PR target/34210
|
|
|
|
|
PR target/35508
|
|
|
|
|
* config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
|
|
|
|
|
* config/t-avr: New file. Build 16bit libgcc functions.
|
|
|
|
|
|
2008-03-02 23:06:32 +01:00
|
|
|
|
2008-03-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/35401
|
|
|
|
|
* config/t-slibgcc-darwin: Make install-leaf dependent on
|
|
|
|
|
install-darwin-libgcc-stubs instead of install.
|
|
|
|
|
|
MAINTAINERS (c4x port): Remove.
* MAINTAINERS (c4x port): Remove.
contrib:
* paranoia.cc (main): Remove handling of c4x_single and
c4x_extended formats.
gcc:
* config/c4x: Remove directory.
* config.gcc (crx-*, mt-*): Mark obsolete.
(c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*,
h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
sh-*-rtemscoff*): Remove cases.
* defaults.h (C4X_FLOAT_FORMAT): Remove.
* real.c (encode_c4x_single, decode_c4x_single,
encode_c4x_extended, decode_c4x_extended, c4x_single_format,
c4x_extended_format): Remove.
* real.h (c4x_single_format, c4x_extended_format): Remove.
* doc/extend.texi (interrupt, naked): Remove mention of attributes
on C4x.
(Pragmas): Remove comment about c4x pragmas.
* doc/install.texi (c4x): Remove target-specific instructions.
* doc/invoke.texi (TMS320C3x/C4x Options): Remove.
* doc/md.texi (Machine Constraints): Remove C4x documentation.
* doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not
refer to C4x source files as examples.
(C4X_FLOAT_FORMAT): Remove documentation.
gcc/testsuite:
* gcc.dg/builtin-inf-1.c, gcc.dg/compare6.c, gcc.dg/sibcall-3.c,
gcc.dg/sibcall-4.c, gcc.dg/torture/builtin-attr-1.c: Don't handle
c4x-*-* targets.
libgcc:
* config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
sh-*-rtemscoff*): Remove cases.
From-SVN: r131835
2008-01-25 21:49:04 +01:00
|
|
|
|
2008-01-25 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
|
|
|
|
|
tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
|
|
|
|
|
sh-*-rtemscoff*): Remove cases.
|
|
|
|
|
|
2007-12-27 12:26:06 +01:00
|
|
|
|
2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (all): Use install-leaf rather than install.
|
|
|
|
|
(install): Split most of the rule into...
|
|
|
|
|
(install-leaf): ...this new one.
|
|
|
|
|
|
2007-12-19 15:28:32 +01:00
|
|
|
|
2007-12-19 Etsushi Kato <ek.kato@gmail.com>
|
|
|
|
|
Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/30572
|
2008-07-02 21:16:59 +02:00
|
|
|
|
* Makefile.in: Use @shlib_slibdir@ substitution to get
|
|
|
|
|
correct install name on darwin.
|
2007-12-19 15:28:32 +01:00
|
|
|
|
* config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
|
2009-10-09 19:30:56 +02:00
|
|
|
|
|
2007-12-15 22:34:23 +01:00
|
|
|
|
2007-12-15 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* config.host (crisv32-*-elf, crisv32-*-none): New, same as
|
|
|
|
|
cris-*-elf and cris-*-none.
|
|
|
|
|
(crisv32-*-linux*): Similar, as cris-*-linux*.
|
|
|
|
|
|
2007-11-20 19:11:07 +01:00
|
|
|
|
2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
|
|
|
|
|
|
|
|
|
|
* config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
|
|
|
|
|
|
2007-10-28 01:22:57 +02:00
|
|
|
|
2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR regression/33926
|
|
|
|
|
* configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2007-09-27 19:47:23 +02:00
|
|
|
|
2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (dfp-filenames): Replace decimal_globals,
|
|
|
|
|
decimal_data, binarydecimal and convert_data with
|
|
|
|
|
bid_decimal_globals, bid_decimal_data, bid_binarydecimal
|
|
|
|
|
and bid_convert_data, respectively.
|
|
|
|
|
|
2007-09-18 00:18:13 +02:00
|
|
|
|
2007-09-17 Chao-ying Fu <fu@mips.com>
|
|
|
|
|
Nigel Stephens <nigel@mips.com>
|
|
|
|
|
|
|
|
|
|
* fixed-obj.mk: New file to support fine-grain fixed-point functions.
|
|
|
|
|
* Makefile.in (fixed_point): Define.
|
|
|
|
|
Check if fixed_point is yes to build support functions.
|
|
|
|
|
* configure.ac: Check for fixed_point support.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* gen-fixed.sh: New file to generate lists of fixed-point labels,
|
|
|
|
|
funcs, modes, from, to.
|
|
|
|
|
|
2007-09-12 02:00:06 +02:00
|
|
|
|
2007-09-11 Janis Johnson <janis187@us.ibm.com
|
|
|
|
|
|
|
|
|
|
* Makefile.in (dfp-filenames): Add bid128_noncomp.
|
|
|
|
|
|
Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
2007-09-10 Janis Johnson <janis187@us.ibm.com>
Ben Elliston <bje@au.ibm.com>
libdecnumber/
* Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
(dependencies): Add Symbols headers.
* decContext.c: Upgrade to decNumber 3.53.
* decContext.h: Ditto.
* decDPD.h: Ditto.
* decNumber.c: Ditto.
* decNumber.h: Ditto.
* decNumberLocal.h: Ditto.
* decBasic.c: New file from decNumber 3.53.
* decCommon.c: Ditto.
* decDouble.c: Ditto.
* decDouble.h: Ditto.
* decQuad.c: Ditto.
* decQuad.h: Ditto.
* decSingle.c: Ditto.
* decSingle.h: Ditto.
* decPacked.c: Ditto.
* decPacked.h: Ditto.
* dpd/decimal128.c: Upgrade to decNumber 3.53.
* dpd/decimal128.h: Ditto.
* dpd/decimal32.c: Ditto.
* dpd/decimal32.h: Ditto.
* dpd/decimal64.c: Ditto.
* dpd/decimal64.h: Ditto.
* decLibrary.c (__dec_byte_swap): Remove.
* decContextSymbols.h: New file.
* decDoubleSymbols.h: New file.
* decNumberSymbols.h: New file.
* decPackedSymbols.h: New file.
* decQuadSymbols.h: New file.
* decSingleSymbols.h: New file.
* decUtility.c: Delete file.
* decUtility.h: Delete file.
* bid/decimal128Symbols.h: New file.
* bid/decimal128Local.h: New file.
* bid/decimal32Symbols.h: New file.
* bid/decimal64Symbols.h: New file.
* bid/host-ieee128.c (__swap128): Remove.
(__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
* bid/host-ieee32.c (__dec_type_swap): Remove.
(__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
* bid/host-ieee64.c (__swap64): Remove.
(__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
* dpd/decimal32Symbols.h: New file.
* dpd/decimal64Symbols.h: New file.
* dpd/decimal128Symbols.h: New file.
* dpd/decimal128Local.h: New file.
libgcc/
* Makefile.in (dfp-filenames): Remove decUtility, add
decDouble, decPacked, decQuad, decSingle.
gcc/
* dfp.c: Include decimal128Local.h;
(dfp_byte_swap): Remove.
(encode_decimal32, decode_decimal32): Don't handle endianness.
(encode_decimal64, decode_decimal64): Ditto.
(encode_decimal128, decode_decimal128): Ditto.
* config/dfp-bit.c (host_to_ieee32, ieee_to_host_32): Ditto.
(__swap64): Remove.
(host_to_ieee_64, ieee_to_host_64): Don't handle endianness.
(__swap128): Remove
(host_to_ieee_128, ieee_to_host_128): Don't handle endianness.
* Makefile.in (DECNUM_H): Add decimal128Local.h.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r128350
2007-09-10 22:44:08 +02:00
|
|
|
|
2007-09-10 Janis Johnson <janis187@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (dfp-filenames): Remove decUtility, add
|
|
|
|
|
decDouble, decPacked, decQuad, decSingle.
|
|
|
|
|
|
2007-08-27 13:15:54 +02:00
|
|
|
|
2007-08-27 Hans Kester <hans.kester@ellips.nl>
|
|
|
|
|
|
|
|
|
|
* config.host : Add x86_64-elf target.
|
|
|
|
|
|
2007-07-06 16:53:06 +02:00
|
|
|
|
2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (set_have_cc_tls): Add a missing =.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2007-07-06 16:00:46 +02:00
|
|
|
|
2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
|
|
|
|
|
and x86_64-*-linux*.
|
|
|
|
|
|
|
|
|
|
* config/t-tls: New file.
|
|
|
|
|
|
2009-10-09 19:30:56 +02:00
|
|
|
|
* Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
|
2007-07-06 16:00:46 +02:00
|
|
|
|
|
|
|
|
|
* configure.ac: Include ../config/enable.m4 and
|
|
|
|
|
../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
|
|
|
|
|
supports TLS and substitute set_have_cc_tls.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2007-07-05 07:36:50 +02:00
|
|
|
|
2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Use libbid for DFP when BID is enabled.
|
|
|
|
|
|
2007-06-14 04:38:37 +02:00
|
|
|
|
2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
* config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
|
2009-10-09 19:30:56 +02:00
|
|
|
|
extra_parts. Add config/i386/t-cygming to tmake_file.
|
2007-06-14 04:38:37 +02:00
|
|
|
|
* config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
|
|
|
|
|
|
2007-05-29 10:09:16 +02:00
|
|
|
|
2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
|
2007-07-05 07:36:50 +02:00
|
|
|
|
Danny Smith <dannysmith@users.sourceforge.net>
|
2007-05-29 10:09:16 +02:00
|
|
|
|
|
|
|
|
|
PR target/29498
|
|
|
|
|
* config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
|
|
|
|
|
crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
|
|
|
|
|
* config/i386/t-crtfm: Compile crtfastmath.o with
|
|
|
|
|
-minline-all-stringops.
|
|
|
|
|
|
2007-05-10 13:15:07 +02:00
|
|
|
|
2007-05-10 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (sparc-wrs-vxworks): New target.
|
|
|
|
|
|
2007-04-14 04:15:45 +02:00
|
|
|
|
2007-04-14 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host: Recognize fido.
|
|
|
|
|
|
2007-04-04 23:15:57 +02:00
|
|
|
|
2007-04-04 Janis Johnson <janis187@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* configure: Check host, not target, for decimal float support.
|
|
|
|
|
|
2007-04-03 09:37:56 +02:00
|
|
|
|
2007-04-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/t-crtpc: New file.
|
|
|
|
|
* config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
|
2008-07-02 21:16:59 +02:00
|
|
|
|
(x86_64-*-linux*): Ditto.
|
2007-04-03 09:37:56 +02:00
|
|
|
|
|
2007-03-30 23:45:03 +02:00
|
|
|
|
2007-02-30 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* config.host (x86_64-*-mingw*): New target.
|
|
|
|
|
|
2007-03-24 18:04:47 +01:00
|
|
|
|
2007-03-23 Michael Meissner <michael.meissner@amd.com>
|
|
|
|
|
H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (enable_decimal_float): New.
|
|
|
|
|
(DECNUMINC): Add
|
|
|
|
|
-I$(srcdir)/../libdecnumber/$(enable_decimal_float).
|
|
|
|
|
(dec-objects): Move decimal32, decimal64 and decimal128 to ...
|
|
|
|
|
(decbits-filenames): This.
|
|
|
|
|
(decbits-objects): New.
|
|
|
|
|
(libgcc-objects): Add $(decbits-objects).
|
|
|
|
|
|
|
|
|
|
* configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
|
|
|
|
|
Substitute enable_decimal_float.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2007-03-19 09:28:57 +01:00
|
|
|
|
2007-03-19 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* config.host (cris-*-elf | cris-*-none): Set extra_parts.
|
|
|
|
|
|
2007-03-12 07:13:30 +01:00
|
|
|
|
2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (install-info): New dummy target.
|
|
|
|
|
|
2007-03-05 15:55:37 +01:00
|
|
|
|
2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
|
|
|
|
|
|
|
|
|
|
* config.host (bfin*-linux-uclibc*): Set extra_parts.
|
|
|
|
|
|
2007-03-02 01:04:17 +01:00
|
|
|
|
2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Add install-html and install-pdf dummy
|
|
|
|
|
targets.
|
|
|
|
|
|
2007-02-05 17:04:14 +01:00
|
|
|
|
2007-02-05 Roger Sayle <roger@eyesopen.com>
|
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
|
|
|
|
|
(libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
|
|
|
|
|
(libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
|
|
|
|
|
|
2007-01-30 00:01:35 +01:00
|
|
|
|
2007-01-29 Janis Johnson <janis187@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (dec-filenames): Add decExcept.
|
|
|
|
|
|
2007-01-28 15:08:13 +01:00
|
|
|
|
2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/30469
|
|
|
|
|
* Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
|
|
|
|
|
-fprofile-use.
|
|
|
|
|
|
2007-01-25 17:00:32 +01:00
|
|
|
|
2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Add --enable-version-specific-runtime-libs.
|
|
|
|
|
Correct $slibdir default.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
rs6000-c.c (rs6000_cpu_cpp_builtins): Define _SOFT_DOUBLE if doubles use software floating-point.
gcc:
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_SOFT_DOUBLE if doubles use software floating-point.
* config/rs6000/libgcc-ppc-glibc.ver: Export additional long
double functions if _SOFT_DOUBLE, not _SOFT_FLOAT.
* config/rs6000/darwin-ldouble.c: Also compile functions for
hard-float without FPRs. Use fmsub function for all __NO_FPRS__
cases. Compile extra functions if _SOFT_DOUBLE, not _SOFT_FLOAT.
* config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Remove
commented-out long double override.
(CPP_LONGDOUBLE_DEFAULT_SPEC): Likewise.
* config/rs6000/eabispe.h: Likewise.
* config/rs6000/rs6000.c (rs6000_override_options): Don't override
long double for non-SPE.
(rs6000_handle_option): Likewise.
(invalid_e500_subreg): Disallow more subregs involding DImode,
DFmode, TImode or TFmode.
(rs6000_legitimate_offset_address_p): Check TFmode offsets for
E500 double.
(legitimate_lo_sum_address_p): Also check for TFmode for E500
double.
(rs6000_legitimize_address): Also handle TFmode for E500 double.
(rs6000_legitimize_reload_address): Also handle TFmode for E500
double.
(rs6000_legitimate_address): Also check for TFmode for E500
double.
(rs6000_emit_move): Use DFmode subregs of TFmode for E500 double.
(spe_build_register_parallel): Handle TFmode and TCmode.
(rs6000_spe_function_arg): Handle TFmode and TCmode for E500
double.
(function_arg): Handle TFmode and TCmode for E500 double.
(rs6000_init_libfuncs): Initialize extra libfuncs for soft double
in general.
(print_operand): Handle TFmode and TImode for %y.
(rs6000_generate_compare): Handle TFmode comparisons for E500
double.
(spe_func_has_64bit_regs_p): Check for TFmode for E500 double.
(rs6000_function_value): Handle TFmode and TCmode for E500 double.
(rs6000_libcall_value): Handle TFmode and TCmode for E500 double.
* config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Check for
TFmode for E500 double.
* config/rs6000/rs6000.md (FP): Allow TF for E500 double.
(floatsidf2): Enable for E500 double.
(movtf_softfloat): Use rs6000_nonimmediate_operand.
(extenddftf2): Change to extenddftf2_fprs.
(extenddftf2): Call gen_spe_extenddftf2 or gen_extenddftf2_fprs
depending on TARGET_E500_DOUBLE.
(extendsftf2): Enable for E500 double.
(trunctfdf2): Enable for E500 double.
(trunctfsf2): Change to trunctfsf2_fprs.
(trunctfsf2): Call gen_spe_trunctfsf2 or gen_trunctfsf2_fprs
depending on TARGET_E500_DOUBLE.
(floatsitf2): Enable for E500 double.
(fix_trunctfsi2): Change to fix_trunctfsi2_fprs.
(fix_trunctfsi2): Call gen_spe_fix_trunctfsi2 or
gen_fix_trunctfsi2_fprs depending on TARGET_E500_DOUBLE.
(negtf2): Change to negtf2_internal.
(negtf2): New expander.
(abstf2): Enable for E500 double. Call gen_spe_abstf2_tst,
gen_spe_abstf2_cmp or gen_abstf2_internal depending on
TARGET_E500_DOUBLE and flag_unsafe_math_optimizations.
(movdi_internal32): Use rs6000_nonimmediate_operand.
(unnamed splitter): Likewise.
* config/rs6000/spe.md (CMPTFEQ_GPR, TSTTFEQ_GPR, CMPTFGT_GPR,
TSTTFGT_GPR, CMPTFLT_GPR, TSTTFLT_GPR): New unspecs.
(SPE64TF, DITI): New mode macros.
(frob_df_di): Change to frob_<SPE64:mode>_<DITI:mode>; allow more
modes.
(frob_tf_ti): New.
(frob_<mode>_di_2): New.
(frob_tf_di_8_2): New.
(frob_di_df): Change to frob_di_<mode>; allow more modes.
(frob_ti_tf): New.
(frob_di_df_2): Change to frob_<DITI:mode>_<SPE64:mode>_2; allow
more modes.
(frob_ti_<mode>_8_2): New.
(frob_ti_tf_2): New.
(mov_si<mode>_e500_subreg0, mov_si<mode>_e500_subreg0_2,
mov_si<mode>_e500_subreg4, mov_si<mode>_e500_subreg4_2): Allow
TFmode.
(mov_sitf_e500_subreg8, mov_sitf_e500_subreg8_2,
mov_sitf_e500_subreg12, mov_sitf_e500_subreg12_2): New.
(spe_trunctfdf2_internal1, spe_trunctfsf2, spe_extenddftf2,
spe_fix_trunctfsi2, spe_fix_trunctfsi2_internal,
spe_negtf2_internal, spe_abstf2_cmp, spe_abstf2_tst): New.
(cmptfeq_gpr, tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr,
tsttflt_gp): New.
libgcc:
* config/rs6000/t-ldbl128: Always use -mlong-double-128.
From-SVN: r121085
2007-01-23 20:38:33 +01:00
|
|
|
|
2007-01-23 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/t-ldbl128: Always use -mlong-double-128.
|
|
|
|
|
|
2007-01-22 01:43:56 +01:00
|
|
|
|
2007-01-21 Andrew Pinski <pinskia@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/30519
|
|
|
|
|
* config.host (alpha*-*-linux*): Set extra_parts.
|
|
|
|
|
|
2007-01-09 11:50:23 +01:00
|
|
|
|
2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/t-linux: New.
|
|
|
|
|
* config.host (sh*-*-linux*): Set tmake_file.
|
|
|
|
|
|
2007-01-05 19:51:05 +01:00
|
|
|
|
2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (install): Handle multilibs.
|
|
|
|
|
|
2007-01-05 00:43:11 +01:00
|
|
|
|
2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Added .PHONY entry for documentation targets.
|
|
|
|
|
|
2007-01-05 00:27:33 +01:00
|
|
|
|
2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Add empty info, html, dvi, pdf targets.
|
|
|
|
|
|
2007-01-04 22:54:45 +01:00
|
|
|
|
2007-01-04 Mike Stump <mrs@apple.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (MAKEINFO): Remove.
|
|
|
|
|
(PERL): Likewise.
|
|
|
|
|
|
2007-01-04 19:12:08 +01:00
|
|
|
|
2007-01-04 Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Add GCC_TOPLEV_SUBDIRS.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in (host_subdir): Substitute it.
|
2009-10-09 19:30:56 +02:00
|
|
|
|
(gcc_objdir): Use it.
|
2007-01-04 19:12:08 +01:00
|
|
|
|
|
2007-01-04 17:52:02 +01:00
|
|
|
|
2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.host (ia64*-*-linux*): Set tmake_file.
|
|
|
|
|
|
2007-01-04 15:20:15 +01:00
|
|
|
|
2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (version): Define.
|
|
|
|
|
|
Makefile.def (target_modules): Add libgcc.
./ * Makefile.def (target_modules): Add libgcc.
(lang_env_dependencies): Remove default items. Use no_c and no_gcc.
* Makefile.tpl (clean-target-libgcc): Delete.
(configure-target-[+module+]): Emit --disable-bootstrap dependencies
on gcc even for bootstrapped modules. Rewrite handling of
lang_env_dependencies to loop over target_modules.
* configure.in (target_libraries): Add target-libgcc.
* Makefile.in, configure: Regenerated.
gcc/
* config.gcc: Mention libgcc/config.host.
* Makefile.in: Update comments mentioning libgcc.
(LIBGCC, INSTALL_LIBGCC, GCC_PARTS, mklibgcc): Delete.
(all.cross, start.encap, rest.encap, rest.cross): Update
dependencies for libgcc move.
(libgcc.mk, LIBGCC_DEPS, libgcov.a, libgcc.a, stmp-multilib)
(clean-target, clean-target-libgcc): Delete.
(srcdirify, GCC_EXTRA_PARTS): New macros.
(libgcc-support, libgcc.mvars): New rules.
(distclean): Remove mention of mklibgcc.
(install): Don't reference INSTALL_LIBGCC.
(install-common): Don't reference EXTRA_PARTS.
(install-libgcc, install-multilib): Delete rules.
* mklibgcc.in: Delete file.
* doc/configfiles.texi: Don't mention mklibgcc.
* config/i386/t-darwin (SHLIB_VERPFX): Delete (moved to libgcc).
* config/i386/t-darwin64 (SHLIB_VERPFX): Likewise.
* config/rs6000/t-darwin (SHLIB_VERPFX): Likewise.
* config/rs6000/t-ppccomm (TARGET_LIBGCC2_CFLAGS, SHLIB_MAPFILES)
(mklibgcc, ldblspecs): Likewise.
* config/i386/t-nwld (libgcc.def, libc.def, libpcre.def)
(posixpre.def): Use $(T).
(SHLIB_EXT, SHLIB_NAME, SHLIB_SLIBDIR_QUAL, SHLIB_DEF, SHLIB_MAP)
(SHLIB_SRC, SHLIB_INSTALL): Delete.
(SHLIB_LINK): Make dummy.
* config/t-slibgcc-darwin: Delete contents except for dummy SHLIB_LINK.
* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Clear.
* config/alpha/t-crtfm: Use $(T) in rules for EXTRA_PARTS.
* config/alpha/t-vms, config/alpha/t-vms64, config/fr30/t-fr30,
config/i386/t-rtems-i386, config/ia64/t-ia64, config/rs6000/t-beos,
config/rs6000/t-newas, config/sparc/t-elf: Likewise.
* configure.ac (all_outputs): Remove mklibgcc.
* configure: Regenerated.
libgcc/
* Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
config/sparc/t-crtfm, config/t-slibgcc-darwin,
config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
shared-object.mk, siditi-object.mk, static-object.mk: New files.
* configure: Generated.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
|
|
|
|
|
config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
|
|
|
|
|
config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
|
|
|
|
|
config/sparc/t-crtfm, config/t-slibgcc-darwin,
|
|
|
|
|
config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
|
|
|
|
|
shared-object.mk, siditi-object.mk, static-object.mk: New files.
|
|
|
|
|
* configure: Generated.
|
2016-01-04 15:30:50 +01:00
|
|
|
|
|
2020-01-01 12:51:42 +01:00
|
|
|
|
Copyright (C) 2007-2020 Free Software Foundation, Inc.
|
2016-01-04 15:30:50 +01:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|