diff options
author | Turly O'Connor <turly@apple.com> | 2002-01-03 17:18:25 +0000 |
---|---|---|
committer | Turly O'Connor <turly@gcc.gnu.org> | 2002-01-03 17:18:25 +0000 |
commit | 61d951df7bad54499674bbc6e748abb6616b15f8 (patch) | |
tree | cd7d89187039f0b67f625516d2c0315bc9b2e421 /gcc | |
parent | 505ddab6ec503770941dbddc0a7b3df231117369 (diff) | |
download | gcc-61d951df7bad54499674bbc6e748abb6616b15f8.zip gcc-61d951df7bad54499674bbc6e748abb6616b15f8.tar.gz gcc-61d951df7bad54499674bbc6e748abb6616b15f8.tar.bz2 |
darwin.c (machopic_output_possible_stub_label): Don't generate stub routines for pseudo-stubs which we've just defined.
* darwin.c (machopic_output_possible_stub_label): Don't generate
stub routines for pseudo-stubs which we've just defined.
From-SVN: r48513
Diffstat (limited to 'gcc')
-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; } } |