Commit 6bb5d2e7 by Jason Thorpe Committed by Jason Thorpe

netbsd-elf.h (LINK_SPEC): Rename to...

* config/netbsd-elf.h (LINK_SPEC): Rename to...
(NETBSD_LINK_SPEC_ELF): ...this.  Use %(netbsd_entry_point)
to specify program entry point.

From-SVN: r54360
parent e50126e8
2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
* config/netbsd-elf.h (LINK_SPEC): Rename to...
(NETBSD_LINK_SPEC_ELF): ...this. Use %(netbsd_entry_point)
to specify program entry point.
2002-06-07 Jeff Law <law@redhat.com 2002-06-07 Jeff Law <law@redhat.com
* emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx. * emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.
......
...@@ -67,18 +67,22 @@ Boston, MA 02111-1307, USA. */ ...@@ -67,18 +67,22 @@ Boston, MA 02111-1307, USA. */
/* Provide a LINK_SPEC appropriate for NetBSD ELF. Here we provide /* Provide a LINK_SPEC appropriate for NetBSD ELF. Here we provide
support for the special GCC options -assert, -R, -rpath, -shared, support for the special GCC options -assert, -R, -rpath, -shared,
-nostdlib, -static, -rdynamic, and -dynamic-linker. */ -nostdlib, -static, -rdynamic, and -dynamic-linker.
#undef LINK_SPEC Target-specific code can use this in conjunction with any other
#define LINK_SPEC \ target-specific LINK_SPEC options.
"%{assert*} %{R*} %{rpath*} \
%{shared:-shared} \ Target-specific code must provide the %(netbsd_entry_point) spec. */
%{!shared: \
-dc -dp \ #define NETBSD_LINK_SPEC_ELF \
%{!nostdlib: \ "%{assert*} %{R*} %{rpath*} \
%{!r*: \ %{shared:-shared} \
%{!e*:-e __start}}} \ %{!shared: \
%{!static: \ -dc -dp \
%{rdynamic:-export-dynamic} \ %{!nostdlib: \
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \ %{!r*: \
%{!e*:-e %(netbsd_entry_point)}}} \
%{!static: \
%{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \
%{static:-static}}" %{static:-static}}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment