don't use the netbsd LIBGCC_SPEC on sun2. there's no libgcc_pic.a

This commit is contained in:
mrg 2011-07-03 09:10:42 +00:00
parent a60a258593
commit f447de3ff7
1 changed files with 5 additions and 0 deletions

View File

@ -85,6 +85,11 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC
#define LINK_SPEC NETBSD_LINK_SPEC_ELF
/* NetBSD/sun2 does not support shlibs, avoid using libgcc_pic. */
#if TARGET_DEFAULT_CPU == 0
#undef REAL_LIBGCC_SPEC
#endif
#define NETBSD_ENTRY_POINT "_start"
/* Output assembler code to FILE to increment profiler label # LABELNO