add LINK_SPEC defines that i have "-m elf{32,64}_sparc" set correctly, like other ports.
This commit is contained in:
parent
5fa25527ac
commit
a3032595bd
13
gnu/dist/gcc/config/sparc/netbsd64.h
vendored
13
gnu/dist/gcc/config/sparc/netbsd64.h
vendored
@ -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. */
|
||||
|
12
gnu/dist/gcc/config/sparc/netbsdelf.h
vendored
12
gnu/dist/gcc/config/sparc/netbsdelf.h
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user