Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have ELF file which I dumped using readelf -h filename and I can see the different fields with the some values like entry point address is 0x99cc ,but really want to know from where these values get populated in fields.

Is it comes from some conf file or header file .I am talking specific to QNX ELF files How which way QNX chooses to fill this ELF header??

As I remember in Linux you can specify these values in kernel.conf file but not sure of QNX way

share|improve this question
    
Look at muppetlabs.com/~breadbox/software/tiny/teensy.html I think the loader fills the ELF header, but you can do it yourself, too. –  ott-- Mar 5 '13 at 14:34
    
Ya thats true but that information must be stored in some file and file I'm looking for. –  AMIT Mar 5 '13 at 14:44
2  
Most of the values are calculated. And for the strings: check the ld source. –  ott-- Mar 5 '13 at 14:52
    
The ELF header contents are created by the linker, ld(1) (part of the binutils package in Linux). They are part of the executable/object/library file. –  vonbrand Mar 30 '13 at 3:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.