darwin.c (machopic_classify_ident): Handle "stale" section- encoded name problem...
authorTurly O'Connor <turly@gcc.gnu.org>
Fri, 21 Dec 2001 10:44:50 +0000 (10:44 +0000)
committerTurly O'Connor <turly@gcc.gnu.org>
Fri, 21 Dec 2001 10:44:50 +0000 (10:44 +0000)
commitb7fb9feb713f47d880d251ff1323e40fc37c14c7
tree120a1e8484f0b9ff624971bd8e0d3f9c36263e6f
parenta00b07c5e5c9423dd3ae9bb62284c235bffe8daa
darwin.c (machopic_classify_ident): Handle "stale" section- encoded name problem to avoid generating illegal stubs.

* darwin.c (machopic_classify_ident): Handle "stale" section-
encoded name problem to avoid generating illegal stubs.
(func_name_maybe_scoped): Remove, not needed for gcc3.
(machopic_indirect_call_target): Don't use it.
(darwin_encode_section_info): Call only one of update_stubs()
or update_non_lazy_ptrs() as DECL cannot be both.
(machopic_output_possible_stub_label): New.
* darwin.h (ASM_DECLARE_FUNCTION_NAME): Use it.
* darwin-protos.h (machopic_output_possible_stub_label): Declare.

From-SVN: r48238
gcc/config/darwin-protos.h
gcc/config/darwin.c
gcc/config/darwin.h