diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1995-05-21 14:21:54 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1995-05-21 14:21:54 -0700 |
commit | 4033d0e70207cb1f4df19c65dfb0246b64173dbc (patch) | |
tree | d815e6efd5be1355491ef2e1bf417547cc94b466 /gcc | |
parent | 962a2496a0d9fc8ee6cfb4a61c2be3f14d4a21b6 (diff) | |
download | gcc-4033d0e70207cb1f4df19c65dfb0246b64173dbc.zip gcc-4033d0e70207cb1f4df19c65dfb0246b64173dbc.tar.gz gcc-4033d0e70207cb1f4df19c65dfb0246b64173dbc.tar.bz2 |
(HAVE_STRERROR): Remove.
Use __start as entry point. Ifdef some paths on CROSS_COMPILE.
From-SVN: r9761
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/mips/netbsd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index fba67c3..6f34ad4 100644 --- a/gcc/config/mips/netbsd.h +++ b/gcc/config/mips/netbsd.h @@ -21,6 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Look for the include files in the system-defined places. */ +#ifndef CROSS_COMPILE #undef GPLUSPLUS_INCLUDE_DIR #define GPLUSPLUS_INCLUDE_DIR "/usr/include/g++" @@ -40,6 +41,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef STANDARD_STARTFILE_PREFIX #define STANDARD_STARTFILE_PREFIX "/usr/lib/" +#endif /* Provide a LINK_SPEC appropriate for NetBSD. Here we provide support for the special GCC options -static, -assert, and -nostdlib. */ @@ -47,12 +49,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef LINK_SPEC #define LINK_SPEC \ "%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ - %{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}" + %{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{static:-Bstatic} %{assert*}" -/* We have atexit(3) and strerror(3). */ +/* We have atexit(3). */ #define HAVE_ATEXIT -#define HAVE_STRERROR /* Implicit library calls should use memcpy, not bcopy, etc. */ |