summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-03-11 20:56:24 +0000
committerjb <jb@FreeBSD.org>1998-03-11 20:56:24 +0000
commitcb348fd0d59d614200d16d9fdf03a7434668ce2c (patch)
treeadca8e2cef2b426e8dde965890830a365aa0b45a /contrib
parent06743e32eb36a6b0424ca50d84477699137818f6 (diff)
downloadFreeBSD-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')
-rw-r--r--contrib/gcc/config/alpha/freebsd-elf.h9
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"
OpenPOWER on IntegriCloud