------- Comment #10 from jakub at gcc dot gnu dot org 2010-03-25 10:18 ------- Guess: 2010-03-25 Jakub Jelinek <ja...@redhat.com>
PR bootstrap/43511 * config/i386/i386.c (ix86_code_end): Set DECL_WEAK if TARGET_MACHO. --- gcc/config/i386/i386.c.jj2010-03-25 00:26:23.000000000 +0100 +++ gcc/config/i386/i386.c2010-03-25 11:16:08.000000000 +0100 @@ -7614,6 +7614,7 @@ ix86_code_end (void) assemble_name (asm_out_file, name); fputs ("\n", asm_out_file); ASM_OUTPUT_LABEL (asm_out_file, name); + DECL_WEAK (decl) = 1; } else #endif should fix this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43511