From 9a77d564377280c6bc55673d24684b6dd4f40dd2 Mon Sep 17 00:00:00 2001 From: pinskia Date: Sat, 28 Feb 2004 23:20:01 +0000 Subject: [PATCH] 2004-02-28 Andrew Pinski * config/darwin.h (machopic_finish): Output stub even if the symbol is already defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78634 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/darwin.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 750d29b..191a525 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 87523fe..858d150 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); -- 2.7.4