Link Duplicate Input Section?
Corrin Meyer
Corrin.Meyer at dornerworks.com
Fri Nov 7 22:16:15 UTC 2008
I need to be able to take link input section and place it in an output section in two different locations. Something like the following...
SECTIONS
{
.text :
{
*(.vector_table);
. = 0x3000;
*(.vector_table);
*(.text .text.*);
} >rom
}
Note how I am trying to place *(.vector_table) in the output at both 0x0 and 0x3000 inside the rom section. I tried this and it doesn't seem to work. The output only contains the first *(.vector_table).
Corrin J. Meyer
DornerWorks, Ltd.
Embedded Systems Engineering
T: 616.389.8336
F: 616.245.8372
E: corrin.meyer at dornerworks.com
3445 Lake Eastbrook Blvd. SE
Grand Rapids, MI 49546
More information about the coldfire-gnu-discuss
mailing list