This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Darwin mach-o stub/non-lazy-ptr fixes


turly o'connor wrote:
> 
> Hello,
> 
> This patch fixes a number of Darwin-specific mach-o stub and
> non-lazy-ptr codegen issues.
> 
>     * 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.

Oh thank you thank you thank you! 

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

Yes, please commit all this.

Stan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]