diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/darwin.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f801ff..38ba6c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-01-03 Turly O'Connor <turly@apple.com> + * darwin.c (machopic_output_possible_stub_label): Don't generate + stub routines for pseudo-stubs which we've just defined. + 2002-01-03 Kazu Hirata <kazu@hxi.com> * builtins.c: Fix formatting. diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 8e617e9..6864f0c 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -1071,6 +1071,8 @@ machopic_output_possible_stub_label (file, name) && ! strcmp (name+2, sym_name+2)) { ASM_OUTPUT_LABEL (file, IDENTIFIER_POINTER (TREE_PURPOSE (temp))); + /* Avoid generating a stub for this. */ + TREE_USED (temp) = 0; break; } } |