Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Browse other questions tagged .