diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-11-24 21:17:04 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-11-24 21:17:04 +0000 |
commit | 1ebe8c03cebbcc8f21a33254903570983dab8f3a (patch) | |
tree | c70b5b6eff1818170db1b035f5b19afe6c4ebd52 /gcc/config/netbsd-elf.h | |
parent | 523cb4994d07591538b0ad90db7af6022cb4d5e7 (diff) | |
download | gcc-1ebe8c03cebbcc8f21a33254903570983dab8f3a.tar.gz |
netbsd-elf.h (STARTFILE_SPEC): Rename to NETBSD_STARTFILE_SPEC.
* config/netbsd-elf.h (STARTFILE_SPEC): Rename to
NETBSD_STARTFILE_SPEC.
(STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
(ENDFILE_SPEC): Likewise.
* config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
From-SVN: r59436
Diffstat (limited to 'gcc/config/netbsd-elf.h')
-rw-r--r-- | gcc/config/netbsd-elf.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/netbsd-elf.h b/gcc/config/netbsd-elf.h index a35f46af18b..4846ba605bb 100644 --- a/gcc/config/netbsd-elf.h +++ b/gcc/config/netbsd-elf.h @@ -46,8 +46,7 @@ Boston, MA 02111-1307, USA. */ of the support for getting C++ file-scope static objects constructed before entering "main". */ -#undef STARTFILE_SPEC -#define STARTFILE_SPEC \ +#define NETBSD_STARTFILE_SPEC \ "%{!shared: \ %{pg:gcrt0%O%s} \ %{!pg: \ @@ -56,16 +55,20 @@ Boston, MA 02111-1307, USA. */ %:if-exists(crti%O%s) \ %{!shared:crtbegin%O%s} %{shared:crtbeginS%O%s}" +#undef STARTFILE_SPEC +#define STARTFILE_SPEC NETBSD_STARTFILE_SPEC + /* Provide an ENDFILE_SPEC appropriate for NetBSD ELF. Here we add crtend.o, which provides part of the support for getting C++ file-scope static objects deconstructed after exiting "main". */ -#undef ENDFILE_SPEC -#define ENDFILE_SPEC \ +#define NETBSD_ENDFILE_SPEC \ "%{!shared:crtend%O%s} %{shared:crtendS%O%s} \ %:if-exists(crtn%O%s)" +#undef ENDFILE_SPEC +#define ENDFILE_SPEC NETBSD_ENDFILE_SPEC /* Provide a LINK_SPEC appropriate for NetBSD ELF. Here we provide support for the special GCC options -assert, -R, -rpath, -shared, |