This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Placing files into output sections
- To: Binutils List <binutils at sourceware dot cygnus dot com>
- Subject: Placing files into output sections
- From: Momchil Velikov <velco at fadata dot bg>
- Date: Mon, 15 May 2000 16:37:56 +0200
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