Thursday, 15 March 2012

Gnu linker - output section type -


As far as I know and I have read in the Linker document, there are 5 output block types: NOLOAD , DSECT, transcript, information, overlay but only 2 of them are explained: NOLOAD and overlay. Copy , INFO and DSETT have not been explained and everywhere in the Internet, I have explained the same word without 2 and can see 3. Anyone would be very kind to explain whether the DSECT , COPY and INFO actually changes about the output section?

from official GNU Link documentation (found easily with info ld ):

  DSCTP Copy Info Overlay These type names are supported for backward compatibility, and rarely used. They all have the same effect: the section should be marked as not allocated so that no memory is allocated for the section when the program is run  

No comments:

Post a Comment