Cause of the C++ problem
Stefan Sperling
stsp at stsp.name
Sun Jul 22 01:40:43 CEST 2007
On Fri, Jul 20, 2007 at 07:55:42PM +0200, Amadeus wrote:
> "arm-linux-elf-objdump -h rtest.gdb" gives me:
>
> > Sections:
> > Idx Name Size VMA LMA File off Algn
> > 0 .text 00004400 00000000 00000000 00008000 2**4
> > CONTENTS, ALLOC, LOAD, READONLY, CODE
> > 1 .data 00000530 00004400 00004400 0000c400 2**4
> > CONTENTS, ALLOC, LOAD, DATA
>
I've tried a recent binutils snapshot and the result is not promising:
rtest.gdb: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00001d40 00000000 00000000 00008000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00000390 00001d40 00001d40 00009d40 2**4
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00000230 000020d0 000020d0 0000a0d0 2**2
ALLOC
3 .comment 00000070 00000000 00000000 0000a0d0 2**0
CONTENTS, READONLY
The RELOC is still missing (that's what should be there isn't it?)
Even worse, the kernel does not boot, instead it just keeps
scrolling data aborts across the screen.
So I guess recent binutils versions are even more broken
than what we are currently using.
> I will have to look at the linker now....
Yeah, looks like you will need to fix the bug yourself :-/
--
stefan
http://stsp.name PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mailman.dslinux.in-berlin.de/pipermail/dslinux-devel-dslinux.in-berlin.de/attachments/20070722/84c12551/attachment.pgp
More information about the dslinux-devel
mailing list