Bluddy <yotambar...@gmail.com> writes: > Notice that ld is chaining LO16 relocations after HI16's. However, it's > doing something completely illegal since the LO16 for 08aecb54 is not > preceded by a valid HI16 entry! ld got confused by the two address ranges.
While the calculation of a HI16 reloc requires the LO16 reloc, the reverse is not true: you can calculate LO16 without HI16. The GNU toolchain takes advantage of this fact. Ian