m4b/faerie

Design: relocation offsets should always be relative

m4b opened this issue · 0 comments

m4b commented

For ELF, this is the natural expression.

On mach, however, all relocations are absolute from the section (maybe it's segment, have to check, can't remember).

We should keep the offset relative API (since it is less constraining to the client) and transform the value into the absolute offset space on the backend, for mach.