This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
mkelwood@qsicorp.com wrote:
If you want to use /DISCARD/, you need an output section named /DISCARD/,Ah. Now I see. I guess I got the terminology mixed up when I read the manual. It would still seem more logical to me to specify this in terms of the memory area, but never mind that.
then put the input sections you want to exclude in there:
/DISCARD/ :
{
*(.section1-to-exclude)
*(.section2-to-exclude)
}
Looks like you are trying to stuff the output section .fpga into a memory
region named /DISCARD/. That won't do what you want.
With best regards,
However, if I just replace .fpga with /DISCARD/ in the below section setup (and drop the > /DISCARD/), I get
/usr/arm-coff/bin/ld: Illegal use of `/DISCARD/' section collect2: ld returned 1 exit status
Any ideas why?
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |