[LinuxBIOS] Re: Linuxbios is always 421bytes larger than allowed

Tao Liu liutao1980 at gmail.com
Tue Jun 28 06:13:39 CEST 2005

On 6/28/05, yhlu <yinghailu at gmail.com> wrote:
> Please try to reduce the ROM_IMAGE_SIZE to 0x13000
> YH

I set ROM_IMAGE_SIZE to 0x13000 and still got the 421bytes error.
after set ROM_IMAGE_SIZE to 0x12000 got the following error:

gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld
crt0.o init.o
/usr/bin/ld: section .reset [00000000fffbfff0 -> 00000000fffbffff]
overlaps section .init [00000000fffbaab0 -> 00000000fffc0ccf]
/usr/bin/ld: section .id [00000000fffbffd9 -> 00000000fffbffef]
overlaps section .init [00000000fffbaab0 -> 00000000fffc0ccf]
/usr/bin/ld: section .rodata.str1.32 [00000000fffc0000 ->
00000000fffc01a4] overlaps section .init [00000000fffbaab0 ->
collect2: ld returned 1 exit status
make[1]: *** [linuxbios] Error 1
make[1]: Leaving directory
make: *** [normal/linuxbios.rom] Error 1

the error occurs when building the normal image, and the size of
.rodata.str1.32 is just 421 byte. Are there errors setting sections?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldoptions
Type: application/octet-stream
Size: 1978 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20050628/5f1127ef/attachment.obj>

More information about the coreboot mailing list