diff options
author | Matt Thomas <matt@3am-software.com> | 2019-06-14 14:04:20 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2019-06-14 14:04:20 +0000 |
commit | b27c10823418d58d70274ee3a7378e1aca21d418 (patch) | |
tree | 3717efc4e50692f14aa03eb5c08936d0273cdb42 /libatomic | |
parent | cc28d23496b014ae413a03923404fd45b1ba5f28 (diff) | |
download | gcc-b27c10823418d58d70274ee3a7378e1aca21d418.zip gcc-b27c10823418d58d70274ee3a7378e1aca21d418.tar.gz gcc-b27c10823418d58d70274ee3a7378e1aca21d418.tar.bz2 |
[NetBSD] Add support for the Arm EABI.
This is a roll-up of a set of changes needed to support the Arm EABI on NetBSD.
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>
Richard Earnshaw <rearnsha@arm.com>
gcc:
* config.gcc (arm*-*-netbsdelf*) Add support for EABI configuration.
* config.host (arm*-*-netbsd*): Use driver-arm.o on native NetBSD.
* config/arm/netbsd-eabi.h: New file.
* config/arm/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Undefine before
redefining.
(SUBTARGET_EXTRA_ASM_SPEC): Don't pass -matpcs to the assembler.
* config/netbsd-elf.h (NETBSD_LINK_LD_ELF_SO_SPEC): New define.
(NETBSD_SUBTARGET_EXTRA_SPECS): New define.
(SUBTARGET_EXTRA_SPECS): Define to NETBSD_SUBTARGET_EXTRA_SPECS.
libatomic:
* configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
libgcc:
* 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.
Co-Authored-By: Matthew Green <mrg@eterna.com.au>
Co-Authored-By: Maya Rashish <coypu@sdf.org>
Co-Authored-By: Nick Hudson <skrll@netbsd.org>
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r272290
Diffstat (limited to 'libatomic')
-rw-r--r-- | libatomic/ChangeLog | 7 | ||||
-rw-r--r-- | libatomic/configure.tgt | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 0bdf5af..40e32c3 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,10 @@ +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> + + * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD. + 2019-01-01 Jakub Jelinek <jakub@redhat.com> Update copyright years. diff --git a/libatomic/configure.tgt b/libatomic/configure.tgt index ecbb7d3..4a1294b 100644 --- a/libatomic/configure.tgt +++ b/libatomic/configure.tgt @@ -53,7 +53,7 @@ case "${target_cpu}" in arm*) ARCH=arm case "${target}" in - arm*-*-freebsd*) + arm*-*-freebsd* | arm*-*-netbsd*) ;; *) # ??? Detect when -march=armv7 is already enabled. |