This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Placing files into output sections


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]