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.
This commit is contained in:
John Birrell 1998-03-11 20:56:24 +00:00
parent 917827427e
commit 0f471b05f9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34490

View file

@ -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"