]> git.ipfire.org Git - thirdparty/gcc.git/commit
[NetBSD] Add support for the Arm EABI.
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jun 2019 14:04:20 +0000 (14:04 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jun 2019 14:04:20 +0000 (14:04 +0000)
commit1675300674498a7ecb9c41443156abccc2bbe04e
tree3717efc4e50692f14aa03eb5c08936d0273cdb42
parentbde783a93449ed52ffa301c338b23cd57df0cc77
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272290 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/ChangeLog
gcc/config.gcc
gcc/config.host
gcc/config/arm/netbsd-eabi.h [new file with mode: 0644]
gcc/config/arm/netbsd-elf.h
gcc/config/netbsd-elf.h
libatomic/ChangeLog
libatomic/configure.tgt
libgcc/ChangeLog
libgcc/config.host
libgcc/config/arm/t-netbsd
libgcc/config/arm/t-netbsd-eabi [new file with mode: 0644]