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
This commit is contained in:
Turly O'Connor 2002-01-03 17:18:25 +00:00 committed by Turly O'Connor
parent 505ddab6ec
commit 61d951df7b
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}
}