]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin.h (machopic_finish): Output stub even if the symbol is already defined.
authorAndrew Pinski <pinskia@physics.uc.edu>
Sat, 28 Feb 2004 23:20:01 +0000 (23:20 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 28 Feb 2004 23:20:01 +0000 (15:20 -0800)
2004-02-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.h (machopic_finish): Output stub even if the
        symbol is already defined.

From-SVN: r78634

gcc/ChangeLog
gcc/config/darwin.c

index 750d29bbce958a2d42f2a6645caff2e39501f6f4..191a52578d79b23cb1ce00ca0e518b5c3065fd44 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 87523fe6b9e7754b0799571d0244ab34e8211e85..858d150d45ea7a2ccce77dd91d2140c93799d357 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);