From 1a9b4ce852f83a4da6cc64c877558d7119914636 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 9 Jun 1998 17:58:27 +0000 Subject: [PATCH] "Fix" ASM_WEAKEN_LABEL so libgcc2 will compile happily. This _should_ be fixed in libbfd for compliance with the other platforms when switching to egcs as the compiler for arm32. --- gnu/usr.bin/gcc/arch/arm32/netbsd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/usr.bin/gcc/arch/arm32/netbsd.h b/gnu/usr.bin/gcc/arch/arm32/netbsd.h index 8f32803ce68e..466d2b7ca208 100644 --- a/gnu/usr.bin/gcc/arch/arm32/netbsd.h +++ b/gnu/usr.bin/gcc/arch/arm32/netbsd.h @@ -168,3 +168,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef STRUCTURE_SIZE_BOUNDARY #define STRUCTURE_SIZE_BOUNDARY 8 + +#undef ASM_WEAKEN_LABEL +#define ASM_WEAKEN_LABEL(FILE,NAME) \ + do { fputs ("\t.global\t", FILE); assemble_name (FILE, NAME); \ + fputs ("\n\t.weak\t", FILE); assemble_name (FILE, NAME); \ + fputc ('\n', FILE); } while (0)