summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-28 23:20:01 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-28 23:20:01 +0000
commit9a77d564377280c6bc55673d24684b6dd4f40dd2 (patch)
tree496f1c9ed29f609e97ce1291ae0bb01e39d92348
parent9799b8833bd8df1461bd5839f4a7833cb5eef185 (diff)
downloadppe42-gcc-9a77d564377280c6bc55673d24684b6dd4f40dd2.tar.gz
ppe42-gcc-9a77d564377280c6bc55673d24684b6dd4f40dd2.zip
2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
* 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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 750d29bbce9..191a52578d7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 87523fe6b9e..858d150d45e 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);
OpenPOWER on IntegriCloud