http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237

--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-02 18:09:41 
UTC ---
(In reply to comment #14)
> > 
> > .init_array section is an array of pointers. How do you grep it?
> 
> You arrange for the pointers to be assigned values whose bytes happen to 
> correspond to text (endian-independent text, ideally).  Just like using 
> grep to determine target endianness or floating point format.

I couldn't find an uniform way to assign a fixed address to symbol
in a section which works for all ELF targets.

Reply via email to