Linker script: Usage of INCLUDE and EXCLUDE_FILE + SORT_BY_ALIGNMENT/SORT_BY_NAME?
Dirk Behme
dirk.behme@googlemail.com
Fri May 27 13:02:00 GMT 2011
On Thu, May 26, 2011 at 5:03 PM, Andreas Schwab <schwab@redhat.com> wrote:
> Dirk Behme <dirk.behme@googlemail.com> writes:
>
>> 1. I have some statements like this:
>>
>> .text :
>> {
>> file1.o
>> file2.o
>> (.text)
>> }
>
> This output section spec contains two input section descriptions:
> `file1.o' and `file2.o(.text)'.
Ok, thanks!
This seems to be what I want
file1.o (.text)
file2.o (.text)
then. Is there any option to give a list of files?
I tried
file1.o file2.o (.text)
and
(file1.o file2.o)(.text)
but without success. What would be the correct syntax for this?
In the second step I'd like to replace the list of files with
something like INCLUDE, then.
Many thanks again and best regards
Dirk
More information about the Binutils
mailing list