[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BFD bug with elf*-sparc sections?
From: |
Eric Botcazou |
Subject: |
Re: BFD bug with elf*-sparc sections? |
Date: |
Mon, 11 Jul 2005 08:33:55 +0200 |
User-agent: |
KMail/1.7.1 |
> Running the native "elfdump -c" will show that there are 12 sections.
>
> [output of elfdump -c:
> http://www.cs.cornell.edu/marques/bfdexample/elfdump.txt ]
>
> Running "objdump -h" (2.16 and 2.13) shows only 7 sections.
>
> [output of objdump -h:
> http://www.cs.cornell.edu/marques/bfdexample/objdump.txt ]
The output of readelf -h (2.16) looks correct to me:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .shstrtab STRTAB 00000000 000034 000142 00 0 0 1
[ 2] .text PROGBITS 00000000 000178 000050 00 AX 0 0 8
[ 3] .group%__1cDstdEe GROUP 00000000 0001c8 00000c 04 10 5 4
[ 4] .text%__1cDstdEen PROGBITS 00000000 0001d8 000040 00 AXG 0 0 8
[ 5] .rodata PROGBITS 00000000 000218 000002 00 A 0 0 1
[ 6] .comment PROGBITS 00000000 00021a 0005f1 00 0 0 1
[ 7] .stab.indexstr STRTAB 00000000 00080b 0000a6 00 0 0 1
[ 8] .stab.index PROGBITS 00000000 0008b4 000024 0c 7 0 4
[ 9] .strtab STRTAB 00000000 0008d8 000155 00 A 0 0 1
[10] .symtab SYMTAB 00000000 000a30 0000a0 10 A 9 3 4
[11] .rela.text RELA 00000000 000ad0 000060 0c A 10 2 4
[12] .rela.text%__1cDs RELA 00000000 000b30 000018 0c AG 10 4 4
--
Eric Botcazou