"PRC" <panruochen@xxxxxxxxx> writes: > I'm studying relocation of ELF for MIPS arch. binutils@xxxxxxxxxxxxxx is probably a better mailing list. See http://sourceware.org/binutils/. > The document says > S Represents the value of the symbol whose index resides in the relocation > entry, unless the the symbol is STB_LOCAL and is of type > STT_SECTION in which case S represents the original sh_addr minus > the final sh_addr. I don't have a copy handy, but if the document says that, I'm pretty sure it's wrong. It should say final sh_addr minus original sh_addr. Ian