search for: r_extern

Displaying 2 results from an estimated 2 matches for "r_extern".

Did you mean: __extern
2014 Jun 09
4
[LLVMdev] MachO non-external X86_64_RELOC_UNSIGNED
Hello everybody, I would like some insights on the semantics of the X86_64_RELOC_UNSIGNED relocation type. When r_extern=1, the semantics seem pretty clear: Let x be a pointer to r_offset of appropriate size given by r_size, then *x += addr_of_symbol(r_symbolnum) However, when r_extern=0 the correct behavior is not clear. By analogy with the above, I would have expected *x += addr_of_section(r_symbolnum) but what...
2014 Jun 10
4
[LLVMdev] MachO non-external X86_64_RELOC_UNSIGNED
...Kledzik <kledzik at apple.com> wrote: > > On Jun 8, 2014, at 8:59 PM, Keno Fischer <kfischer at college.harvard.edu> > wrote: > > > Hello everybody, > > > > I would like some insights on the semantics of the X86_64_RELOC_UNSIGNED > relocation type. When r_extern=1, the semantics seem pretty clear: > > > > Let x be a pointer to r_offset of appropriate size given by r_size, then > > *x += addr_of_symbol(r_symbolnum) > > > > However, when r_extern=0 the correct behavior is not clear. By analogy > with the above, I would have e...