This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC PATCH] Avoid emitting TEXTREL marker for R_ARM_NONE relocs.
- From: Alan Modra <amodra at gmail dot com>
- To: Roland McGrath <mcgrathr at google dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Fri, 14 Mar 2014 23:58:42 +1030
- Subject: Re: [RFC PATCH] Avoid emitting TEXTREL marker for R_ARM_NONE relocs.
- Authentication-results: sourceware.org; auth=none
- References: <CAB=4xhr7yOFiFByCMieKYoNsGe3ZaMb5cj0GL4K3CFUTJf6fTw at mail dot gmail dot com> <20140312225242 dot GX26922 at bubble dot grove dot modra dot org> <CAB=4xhqjS+nu8Atde_Br4ghK80bBcjOy-UPXstx--4xdhd=c8g at mail dot gmail dot com> <CAB=4xhp7vQ7Z9p8Y8YPTPz7kcySAOQkT62O9tpr9ySusDYSYZw at mail dot gmail dot com>
On Thu, Mar 13, 2014 at 10:32:18AM -0700, Roland McGrath wrote:
> .cfi_startproc
> .cfi_personality 0, pers
> .cfi_endproc
Yes, the classic case of using an absolute encoding for a personality
function.
> .globl pers
> pers:
> nop
And for two R_ARM_NONE, make pers hidden. ;)
> It's no longer an urgent issue for me, but I think it deserves to be fixed.
To do that, we need to run the eh_frame parts of bfd_elf_discard_info
before bfd_elf_size_dynamic_sections. One of the keys to being able
to do that is not using a vma anywhere in the eh_frame editing code,
since at that stage we won't have laid out sections.
--
Alan Modra
Australia Development Lab, IBM