tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: missing ELF-related constants



it's called first for executables and must not appear in shared
libraries. see bionic/linker/linker.cpp in the Android source if
you're interested.

they're documented (badly) in the ELF spec linked to from the comment
at the start of the NetBSD <sys/exec_elf.h> header file.

On Thu, Jan 31, 2013 at 2:06 PM, Matt Thomas <matt%3am-software.com@localhost> 
wrote:
>
> On Jan 31, 2013, at 1:29 PM, enh wrote:
>
>>>>
>>>> #define DT_PREINIT_ARRAY   32
>>>> #define DT_PREINIT_ARRAYSZ 33
>>>
>>> Those are OK too.
>>
>>
>> these two are the only two i absolutely need.
>
> OK, i assume those execute before DT_INIT_ARRAY but not sure
> about before DT_INIT.  Any clue?



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
NIO, JNI, or bionic questions? Mail me/drop by/add me as a reviewer.


Home | Main Index | Thread Index | Old Index