This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
So i tried to split it into two sections ".tdata_ram" and ".tdata_rom":
.tdata_ram ALIGN (4) : { PROVIDE (__ep = .); *(.tbyte) *(.tcommon_byte) *(.tbss) *(.tcommon) } >ram
.tdata_rom ALIGN (4) : { *(.tdata) } >ram AT>rom
But this also fails. I expected this to work, as i really separate RAM and ROM. The error at linking is this:
v850e-unknown-elf-gcc -o hw2.elf \
        -Wl,-Map=hw2.map \
        -Wl,-Tv850.x \
        main.o vectors.o
c:\v850e\bin\..\lib\gcc\v850e-unknown-elf\3.4.6\..\..\..\..
\v850e-unknown-elf\bin\ld.exe: address 0x75ec of hw2.elf section .tdata is not within region ram
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |