How does the linker choose section names ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

When the linker creates an image, it combines sets of sections from the object files to single sections of the image file. I would like to know how the linker chooses which sections will be combined and which sections will be in different sections of the image ; and how the linker chooses the name of the resulting sections of the image

I have seen sections with quite different names be combined into a single section of the image file - the linker also appears to discard "$" (and sometimes ".") characters. Is there a precise rule

Thank you

Be
 
Ben said:
Hi,

When the linker creates an image, it combines sets of sections from the
object files to single sections of the image file. I would like to know how
the linker chooses which sections will be combined and which sections will
be in different sections of the image ; and how the linker chooses the name
of the resulting sections of the image.
I have seen sections with quite different names be combined into a single
section of the image file - the linker also appears to discard "$" (and
sometimes ".") characters. Is there a precise rule ?

http://www.microsoft.com/msj/0797/hood0797.aspx
 
Back
Top