silly ld question

ron minnich rminnich at lanl.gov
Mon Jul 21 16:17:01 CEST 2003


On Mon, 21 Jul 2003, ron minnich wrote:

> 
> anybody know why ld would give you something like this:
> 
> bash-2.05b$ readelf -l linuxbios
> 
> Elf file type is EXEC (Executable file)
> Entry point 0xffff0004
> There are 3 program headers, starting at offset 52
> 
> Program Headers:
>   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
>   LOAD           0x001000 0xffff0000 0xffff0000 0x117d0 0x117d0 RWE 0x1000
>   LOAD           0x012fd8 0xffffffd8 0xffffffd8 0x00028 0x00028 RWE 0x1000
>   LOAD           0x013ff0 0xfffffff0 0xfffffff0 0x00000 0x00000 RW  0x1000
> 
>  Section to Segment mapping:
>   Segment Sections...
>    00     .rom .payload .reset .id 
>    01     .reset .id 
>    02     

It was staring me in the face ....

the size of segment zero is too large. 

simple!

ron




More information about the coreboot mailing list