2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Feb 2004 23:20:01 +0000 (23:20 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Feb 2004 23:20:01 +0000 (23:20 +0000)
        * 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
gcc/config/darwin.c

index 750d29b..191a525 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-28  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * config/darwin.h (machopic_finish): Output stub even if the
+       symbol is already defined.
+
 2004-02-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
index 87523fe..858d150 100644 (file)
@@ -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);