[RFC PATCH] Avoid emitting TEXTREL marker for R_ARM_NONE relocs.

Alan Modra amodra@gmail.com
Fri Mar 14 13:28:00 GMT 2014

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

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

More information about the Binutils mailing list