[Nasm-bugs] [Bug 3392533] Considerations for segment support in ELF

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Fri Jul 26 16:26:49 PDT 2019


--- Comment #45 from H. Peter Anvin <hpa at zytor.com> ---
I did a quick hack to implement R_386_SEGRELATIVE in binutils. This allows
linking with "-pie -z max-page-size=16" to produce the necessary relocation
information without all the noise generated by "-q" that needs to be filtered
out. The dynamic section currently needs to be marked LOAD or ld will complain
fairly loudly; I'm considering removing that warning since it is (IMO)
fundamentally wrong if the linker script *explicitly* wants the PT_DYNAMIC ELF
segment to live outside any PT_LOAD segment; this doesn't prevent it from being
allocated address space (which is necessary because of the way the dynamic
section is designed.)

You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

More information about the Nasm-bugs mailing list