diff options
author | jb <jb@FreeBSD.org> | 1998-03-11 20:56:24 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-03-11 20:56:24 +0000 |
commit | cb348fd0d59d614200d16d9fdf03a7434668ce2c (patch) | |
tree | adca8e2cef2b426e8dde965890830a365aa0b45a /contrib/gcc/config | |
parent | 06743e32eb36a6b0424ca50d84477699137818f6 (diff) | |
download | FreeBSD-src-cb348fd0d59d614200d16d9fdf03a7434668ce2c.zip FreeBSD-src-cb348fd0d59d614200d16d9fdf03a7434668ce2c.tar.gz |
Nuke crti.o from the STARTFILE_SPEC again. No asm code is needed on alpha.
Add the define that lets gas know how to ".set" and enable pragmas
so that #pragma weak will work.
Diffstat (limited to 'contrib/gcc/config')
-rw-r--r-- | contrib/gcc/config/alpha/freebsd-elf.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/gcc/config/alpha/freebsd-elf.h b/contrib/gcc/config/alpha/freebsd-elf.h index aa4b6e8..9bfcbbe 100644 --- a/contrib/gcc/config/alpha/freebsd-elf.h +++ b/contrib/gcc/config/alpha/freebsd-elf.h @@ -53,7 +53,7 @@ #undef STARTFILE_SPEC #define STARTFILE_SPEC \ "%{!shared: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \ - crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}" + %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}" /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on the file which provides part of the support for getting C++ @@ -62,3 +62,10 @@ #undef ENDFILE_SPEC #define ENDFILE_SPEC \ "%{!shared:crtend.o%s} %{shared:crtendS.o%s}" + +/* Handle #pragma weak and #pragma pack. */ + +#define HANDLE_SYSV_PRAGMA + +#undef SET_ASM_OP +#define SET_ASM_OP ".set" |