Placing files into output sections

Momchil Velikov velco@fadata.bg
Mon May 15 06:37:00 GMT 2000


Hi, folks.

Is it possible to include the content of a file into an output
section, in a way similar to BYTE, SHORT, LONG, etc. linker
script statements.
E.g. something like

.data : {

 ...

  _simage  =  .;
  PROVIDE (simage = .);
  FILE("/home/me/myfile");
  _eimage = .;
  PROVIDE (eimage = .);

 
 ...

}

If it is not possible, do you consider this worth implementing ?
I can try to implement it.
  
Regards,
-velco


More information about the Binutils mailing list