summaryrefslogtreecommitdiff
path: root/gcc/config/netbsd-aout.h
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-28 16:25:14 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-28 16:25:14 +0000
commitd02da15e05651647cf06bbe9d6d740fed55825d9 (patch)
tree9605a980569976f6af1f8b87caa727d6b4aee99e /gcc/config/netbsd-aout.h
parent70a7518ffd0ff91fc3de8a55ded5993be5ffc6a5 (diff)
downloadgcc-d02da15e05651647cf06bbe9d6d740fed55825d9.tar.gz
* config.gcc (*-*-netbsdelf*): Set up generic parameters.
(*-*-netbsd*): Always use collect2. Remove collect2 settings from other non-elf netbsd config frags. * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since collect2 will does that. * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that shared-lib frobbing will work. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49285 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/netbsd-aout.h')
-rw-r--r--gcc/config/netbsd-aout.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/netbsd-aout.h b/gcc/config/netbsd-aout.h
index 55a9bf4c623..a853df54420 100644
--- a/gcc/config/netbsd-aout.h
+++ b/gcc/config/netbsd-aout.h
@@ -45,8 +45,7 @@ Boston, MA 02111-1307, USA. */
%{p:mcrt0%O%s} \
%{!p: \
%{!static:crt0%O%s} \
- %{static:scrt0%O%s}}}} \
- %{shared:c++rt0%O%s}"
+ %{static:scrt0%O%s}}}}"
/* Provide a LINK_SPEC appropriate for NetBSD a.out. Here we provide
support for the special GCC options -static, -assert, and -nostdlib. */