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,17 +67,21 @@ Boston, MA 02111-1307, USA. */ ...@@ -67,17 +67,21 @@ 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.
Target-specific code must provide the %(netbsd_entry_point) spec. */
#define NETBSD_LINK_SPEC_ELF \
"%{assert*} %{R*} %{rpath*} \ "%{assert*} %{R*} %{rpath*} \
%{shared:-shared} \ %{shared:-shared} \
%{!shared: \ %{!shared: \
-dc -dp \ -dc -dp \
%{!nostdlib: \ %{!nostdlib: \
%{!r*: \ %{!r*: \
%{!e*:-e __start}}} \ %{!e*:-e %(netbsd_entry_point)}}} \
%{!static: \ %{!static: \
%{rdynamic:-export-dynamic} \ %{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \
......
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