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: [RFC PATCH] Avoid emitting TEXTREL marker for R_ARM_NONE relocs.


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


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