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

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Sat Jul 27 23:14:03 PDT 2019


https://bugzilla.nasm.us/show_bug.cgi?id=3392533

--- Comment #53 from H. Peter Anvin <hpa at zytor.com> ---
The use of another section doesn't solve the general problem, though. At the
end of the day you need a *symbol* to have a severe and an offset component.
ELF doesn't really have a way to represent symbols as tuples, but using two
symbols ends up being very natural in the format.

One could define them to point to the same name and use the symbol type to
distinguish them, but giving them different but algorithmically related names
requires less changes to the myriad tools that operate on ELF files, which is
one of the great things about the format.

Check out the stuff I posted above and I think you'll start to see how it makes
sense.

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


More information about the Nasm-bugs mailing list