From 58600d24292ba1e772bb72720b3ef68de5c183fa Mon Sep 17 00:00:00 2001 From: Todd Vierling Date: Wed, 29 Jul 1998 22:51:47 +0000 Subject: configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist). * configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist). Accept arm32 as arm, m68k4k as m68k, mipsle as mips-dec, and any manufacturer id for ns32k. * configure: Regenerated. * config/netbsd.h: When using ASM_WEAKEN_LABEL, make it global too. * config/t-netbsd: Don't compile libgcc1-test as the fns are in libc. * config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0. * config/m68k/netbsd.h: Same. * config/ns32k/netbsd.h: Same. * config/sparc/netbsd.h: Same. From-SVN: r21480 --- gcc/config/netbsd.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'gcc/config/netbsd.h') diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 860e101..43a1576 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -13,11 +13,11 @@ #define GCC_INCLUDE_DIR "/usr/include" #undef INCLUDE_DEFAULTS -#define INCLUDE_DEFAULTS \ - { \ - { GPLUSPLUS_INCLUDE_DIR, 1, 1 }, \ - { GCC_INCLUDE_DIR, 0, 0 }, \ - { 0, 0, 0 } \ +#define INCLUDE_DEFAULTS \ + { \ + { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1 }, \ + { GCC_INCLUDE_DIR, "GCC", 0, 0 }, \ + { 0, 0, 0, 0 } \ } /* Under NetBSD, the normal location of the compiler back ends is the @@ -100,7 +100,8 @@ #undef ASM_WEAKEN_LABEL #define ASM_WEAKEN_LABEL(FILE,NAME) \ - do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ + do { fputs ("\t.globl\t", FILE); assemble_name (FILE, NAME); \ + fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ fputc ('\n', FILE); } while (0) /* The following macro defines the format used to output the second -- cgit v1.1