This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] Unwind info for PLT on i?86/x86_64


On Mon, Jun 20, 2011 at 2:31 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Tue, Jun 14, 2011 at 10:18:44PM +0200, Jakub Jelinek wrote:
>> Ok, here is a WIP patch which seems to work in light testing on x86_64.
>> It doesn't have yet an option to force no generation of the unwind info,
>> and some testcases (especially for TLS transitions) will either need
>> to be adjusted or get passed the new option to prevent .eh_frame for
>> .plt, as the 16 byte instead of 4 byte alignment of .plt section
>> shifted various offsets in those.
>
> And here is an updated patch, this time for both i?86 and x86-64,
> with an option to disable it (but the default being to emit
> unwind info for ld generated code sections) and testsuite adjustments.
>
> Ok for trunk?
>
> 2011-06-20 ?Jakub Jelinek ?<jakub@redhat.com>
>
> include/
> ? ? ? ?* bfdlink.h (struct bfd_link_info): Add no_ld_generated_unwind_info
> ? ? ? ?option.
> ld/
> ? ? ? ?* emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO,
> ? ? ? ?OPTION_NO_LD_GENERATED_UNWIND_INFO): Define.
> ? ? ? ?(gld${EMULATION_NAME}_handle_option): Handle
> ? ? ? ?--ld-generated-unwind-info and --no-ld-generated-unwind-info.
> ? ? ? ?* ld.texinfo (--ld-generated-unwind-info,
> ? ? ? ?--no-ld-generated-unwind-info): Document.
> bfd/
> ? ? ? ?* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Allow no relocations
> ? ? ? ?at all for linker created .eh_frame sections.

Please mention PR ld/12570 in ChangeLogs

http://sourceware.org/bugzilla/show_bug.cgi?id=12570

Thanks.


-- 
H.J.


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