add LINK_SPEC defines that i have "-m elf{32,64}_sparc" set correctly, like other ports.

This commit is contained in:
mrg 1999-03-11 00:11:10 +00:00
parent 5fa25527ac
commit a3032595bd
2 changed files with 25 additions and 0 deletions

View File

@ -69,6 +69,19 @@
%(asm_cpu) \
"
#undef LINK_SPEC
#define LINK_SPEC \
"-m elf64_sparc \
%{assert*} %{R*} \
%{shared:-shared} \
%{!shared: \
-dc -dp \
%{!nostdlib:%{!r*:%{!e*:-e __start}}} \
%{!static: \
%{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \
%{static:-static}}"
#undef STDC_0_IN_SYSTEM_HEADERS
/* Name the port. */

View File

@ -75,6 +75,18 @@
%{mlittle-endian:-EL} \
%(asm_cpu) \
"
#undef LINK_SPEC
#define LINK_SPEC \
"-m elf32_sparc \
%{assert*} %{R*} \
%{shared:-shared} \
%{!shared: \
-dc -dp \
%{!nostdlib:%{!r*:%{!e*:-e __start}}} \
%{!static: \
%{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \
%{static:-static}}"
#undef STDC_0_IN_SYSTEM_HEADERS