diff options
author | thorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-08 06:13:35 +0000 |
---|---|---|
committer | thorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-08 06:13:35 +0000 |
commit | e9aed6f7515dc6cb6e8ad5a7191b1311ae781dcf (patch) | |
tree | 5a74c32541c7e832bc81d6809dc1c43bae2ae9a1 /gcc/config/alpha/netbsd.h | |
parent | 5d219ecb6f269ca13e0a94f4ef1e6a44880783ae (diff) | |
download | gcc-e9aed6f7515dc6cb6e8ad5a7191b1311ae781dcf.tar.gz |
* config/alpha/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
netbsd_link_spec and netbsd_entry_point.
(LINK_SPEC): Use %(netbsd_link_spec).
(NETBSD_ENTRY_POINT): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54361 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/alpha/netbsd.h')
-rw-r--r-- | gcc/config/alpha/netbsd.h | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/gcc/config/alpha/netbsd.h b/gcc/config/alpha/netbsd.h index 76f5a442e14..60e7f1fc7af 100644 --- a/gcc/config/alpha/netbsd.h +++ b/gcc/config/alpha/netbsd.h @@ -41,28 +41,20 @@ Boston, MA 02111-1307, USA. */ #undef SUBTARGET_EXTRA_SPECS #define SUBTARGET_EXTRA_SPECS \ - { "netbsd_cpp_spec", NETBSD_CPP_SPEC }, + { "netbsd_cpp_spec", NETBSD_CPP_SPEC }, \ + { "netbsd_link_spec", NETBSD_LINK_SPEC_ELF }, \ + { "netbsd_entry_point", NETBSD_ENTRY_POINT }, -/* Provide a LINK_SPEC appropriate for a NetBSD/alpha ELF target. - This is a copy of LINK_SPEC from <netbsd-elf.h> tweaked for - the alpha target. */ +/* Provide a LINK_SPEC appropriate for a NetBSD/alpha ELF target. */ #undef LINK_SPEC -#define LINK_SPEC \ - "%{G*} %{relax:-relax} \ - %{O*:-O3} %{!O*:-O1} \ - %{assert*} %{R*} \ - %{shared:-shared} \ - %{!shared: \ - -dc -dp \ - %{!nostdlib: \ - %{!r*: \ - %{!e*:-e __start}}} \ - %{!static: \ - %{rdynamic:-export-dynamic} \ - %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \ - %{static:-static}}" +#define LINK_SPEC \ + "%{G*} %{relax:-relax} \ + %{O*:-O3} %{!O*:-O1} \ + %(netbsd_link_spec)" + +#define NETBSD_ENTRY_POINT "__start" /* Provide an ENDFILE_SPEC appropriate for NetBSD/alpha ELF. Here we |