diff options
| author | mrg <mrg@NetBSD.org> | 2006-07-06 21:39:06 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2006-07-06 21:39:06 +0000 |
| commit | ad04044ddad4b92d7e10cb1d38ffd740d0be69f9 (patch) | |
| tree | 07b80dd26d2eba3e9dd8d70db0350247ab40e054 /gnu | |
| parent | 5457f6307c74880b906446c9cfc9700b584e59f0 (diff) | |
define the NetBSD start/end/link specs in terms of the ones from
"config/netbsd-elf.h", not some local definitions (that are wrong.)
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gcc4/gcc/config/rs6000/sysv4.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gnu/dist/gcc4/gcc/config/rs6000/sysv4.h b/gnu/dist/gcc4/gcc/config/rs6000/sysv4.h index fa860f9281d..fac2bd1f558 100644 --- a/gnu/dist/gcc4/gcc/config/rs6000/sysv4.h +++ b/gnu/dist/gcc4/gcc/config/rs6000/sysv4.h @@ -1090,21 +1090,14 @@ extern int fixuplabelno; #define LIB_NETBSD_SPEC "\ %{profile:-lgmon -lc_p} %{!profile:-lc}" -#define STARTFILE_NETBSD_SPEC "\ -ncrti.o%s crt0.o%s \ -%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}" +#define STARTFILE_NETBSD_SPEC NETBSD_STARTFILE_SPEC -#define ENDFILE_NETBSD_SPEC "\ -%{!shared:crtend.o%s} %{shared:crtendS.o%s} \ -ncrtn.o%s" +#define ENDFILE_NETBSD_SPEC NETBSD_ENDFILE_SPEC #define LINK_START_NETBSD_SPEC "\ " -#define LINK_OS_NETBSD_SPEC "\ -%{!shared: %{!static: \ - %{rdynamic:-export-dynamic} \ - %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}}}" +#define LINK_OS_NETBSD_SPEC NETBSD_LINK_SPEC_ELF #define CPP_OS_NETBSD_SPEC "\ -D__powerpc__ -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__" |
