Re: entries in PT_DYNAMIC section refer to the correct address at runtime?

2017-09-14 Thread Yubin Ruan
2017-09-14 18:25 GMT+08:00 Alan Modra : > On Thu, Sep 14, 2017 at 12:09:51PM +0800, Yubin Ruan wrote: >> Hi, >> >> I read the ELF spec and note that, a segment designated by a program >> header of type PT_DYNAMIC have several entries, many of which contain >> addre

entries in PT_DYNAMIC section refer to the correct address at runtime?

2017-09-13 Thread Yubin Ruan
Hi, I read the ELF spec and note that, a segment designated by a program header of type PT_DYNAMIC have several entries, many of which contain addresses of other things. For example, an entry of type DT_SYMTAB was described (in the ELF) spec to "holds the address of the symbol table". I wonder whe