From: Andrew Pinski Date: Sat, 28 Feb 2004 23:20:01 +0000 (+0000) Subject: darwin.h (machopic_finish): Output stub even if the symbol is already defined. X-Git-Tag: releases/gcc-4.0.0~9762 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd833c7b259dce23eeb01aa8e5d1a5b3229f21f5;p=thirdparty%2Fgcc.git darwin.h (machopic_finish): Output stub even if the symbol is already defined. 2004-02-28 Andrew Pinski * config/darwin.h (machopic_finish): Output stub even if the symbol is already defined. From-SVN: r78634 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 750d29bbce95..191a52578d79 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-28 Andrew Pinski + + * config/darwin.h (machopic_finish): Output stub even if the + symbol is already defined. + 2004-02-28 John David Anglin * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg. diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 87523fe6b9e7..858d150d45ea 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -900,10 +900,6 @@ machopic_finish (FILE *asm_out_file) if (! TREE_USED (temp)) continue; - /* If the symbol is actually defined, we don't need a stub. */ - if (sym_name[0] == '!' && sym_name[1] == 'T') - continue; - sym_name = darwin_strip_name_encoding (sym_name); sym = alloca (strlen (sym_name) + 2);