Goa: build libraries fails on arm_v8a

Duss Pirmin pirmin.duss at gapfruit.com
Thu Feb 2 09:58:20 CET 2023


Good morning Sebastian

On 01.02.23 17:23, Sebastian Sumpf wrote:
> 
> ! genode-aarch64-objdump -ph libc++.lib.so
>

I have done this for the following combinations:

library              x86_64       arm_v8a
------------------+-------------+-----------
libunwind.lib.so  |   X         |  X
libc++abi.lib.so  |   X         |  X
libc++.lib.so     |   X         |

I'm not yet able to build libc++ for arm_v8a. Still analyzing what 
libraries contain the missing symbols. Some seem to be from libunwind. 
Currently trying to find out why these symbols are missing on arm_v8a 
but not on x86_64.

I have attached the output for all available combinations in the list above.
One big difference between the platforms stands out. On x86_64 the 
Dynamic section is present, on arm_v8a it is missing.

When I replace `-lgcc` with `-l:ld.lib.so` I observe the following:
  - on x86_64 I'm still able to build the libraries. The output of 
objdump is as expected a bit differnet (see libunwind-x86_64_2.txt).
  - on x86_64 building the WasmEdge binary fails with missing symbols 
(__umodti3 and __udivti3).
  - on arm_v8a the output of objdump is exactly the same as without the 
change.



Should I also apply your fixes from #4750 to the linker scripts of Goa?


Regards,
Pirmin
-------------- next part --------------

var/build/arm_v8a/lib/libc++abi.lib.so:     file format elf64-littleaarch64

Program Header:
    LOAD off    0x0000000000001000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**12
         filesz 0x000000000100000c memsz 0x000000000100000c flags r-x
    LOAD off    0x0000000001002000 vaddr 0x0000000001001000 paddr 0x0000000001001000 align 2**12
         filesz 0x000000000000003c memsz 0x000000000000003c flags rw-
 DYNAMIC off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3
         filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
EH_FRAME off    0x0000000001001000 vaddr 0x0000000001000000 paddr 0x0000000001000000 align 2**2
         filesz 0x000000000000000c memsz 0x000000000000000c flags r--
private flags = 0x0:

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .init         00000054  0000000000000000  0000000000000000  00001000  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .eh_frame_hdr 0000000c  0000000001000000  0000000001000000  01001000  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .data         00000024  0000000001001000  0000000001001000  01002000  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  3 .ctors        00000010  0000000001001028  0000000001001028  01002028  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  4 .eh_frame     00000004  0000000001001038  0000000001001038  01002038  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .comment      00000012  0000000000000000  0000000000000000  0100203c  2**0
                  CONTENTS, READONLY
  6 .debug_aranges 00001410  0000000000000000  0000000000000000  01002050  2**4
                  CONTENTS, READONLY, DEBUGGING, OCTETS
  7 .debug_info   0000418e  0000000000000000  0000000000000000  01003460  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
  8 .debug_abbrev 000011d0  0000000000000000  0000000000000000  010075ee  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
  9 .debug_line   00005f3d  0000000000000000  0000000000000000  010087be  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 10 .debug_str    00000337  0000000000000000  0000000000000000  0100e6fb  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 11 .debug_loc    000080eb  0000000000000000  0000000000000000  0100ea32  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 12 .debug_ranges 00000d30  0000000000000000  0000000000000000  01016b1d  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
-------------- next part --------------

var/bin/x86_64/libc++abi.lib.so:     file format elf64-x86-64

Program Header:
    LOAD off    0x0000000000001000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**12
         filesz 0x000000000101e6e0 memsz 0x000000000101e6e0 flags r-x
    LOAD off    0x0000000001020000 vaddr 0x000000000101f000 paddr 0x000000000101f000 align 2**12
         filesz 0x0000000000008dc0 memsz 0x0000000000009028 flags rw-
 DYNAMIC off    0x0000000001023158 vaddr 0x0000000001022158 paddr 0x0000000001022158 align 2**3
         filesz 0x0000000000000130 memsz 0x0000000000000130 flags rw-
EH_FRAME off    0x000000000101e13c vaddr 0x000000000101d13c paddr 0x000000000101d13c align 2**2
         filesz 0x00000000000015a4 memsz 0x00000000000015a4 flags r--

Dynamic Section:
  INIT                 0x000000000000e0b0
  HASH                 0x0000000000000000
  STRTAB               0x0000000000003368
  SYMTAB               0x0000000000000ae8
  STRSZ                0x0000000000001c51
  SYMENT               0x0000000000000018
  PLTGOT               0x0000000001022288
  PLTRELSZ             0x00000000000008a0
  PLTREL               0x0000000000000007
  JMPREL               0x000000000000d810
  RELA                 0x0000000000004fc0
  RELASZ               0x0000000000008850
  RELAENT              0x0000000000000018
  RELACOUNT            0x00000000000003c7

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         000194db  0000000001000000  0000000001000000  01001000  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .plt.got      00000038  00000000010194e0  00000000010194e0  0101a4e0  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .hash         00000ae4  0000000000000000  0000000000000000  00001000  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .dynsym       00002880  0000000000000ae8  0000000000000ae8  00001ae8  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .dynstr       00001c51  0000000000003368  0000000000003368  00004368  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .rela.dyn     00008850  0000000000004fc0  0000000000004fc0  00005fc0  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .rela.plt     000008a0  000000000000d810  000000000000d810  0000e810  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .init         00000034  000000000000e0b0  000000000000e0b0  0000f0b0  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  8 .plt          000005d0  000000000000e0f0  000000000000e0f0  0000f0f0  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  9 .rodata       00003c1c  0000000001019520  0000000001019520  0101a520  2**5
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 10 .eh_frame_hdr 000011ac  000000000101d13c  000000000101d13c  0101e13c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 11 .gcc_except_table 000003f8  000000000101e2e8  000000000101e2e8  0101f2e8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 12 .data         00003140  000000000101f000  000000000101f000  01020000  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 13 .ctors        00000018  0000000001022140  0000000001022140  01023140  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 14 .dynamic      00000130  0000000001022158  0000000001022158  01023158  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 15 .got          00000438  0000000001022288  0000000001022288  01023288  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 16 .eh_frame     00005700  00000000010226c0  00000000010226c0  010236c0  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 17 .bss          00000268  0000000001027dc0  0000000001027dc0  01028dc0  2**4
                  ALLOC
 18 .comment      00000012  0000000000000000  0000000000000000  01028dc0  2**0
                  CONTENTS, READONLY
 19 .debug_aranges 000012e0  0000000000000000  0000000000000000  01028dd2  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 20 .debug_info   0000d18d  0000000000000000  0000000000000000  0102a0b2  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 21 .debug_abbrev 00005bec  0000000000000000  0000000000000000  0103723f  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 22 .debug_line   0000e626  0000000000000000  0000000000000000  0103ce2b  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 23 .debug_str    000021d3  0000000000000000  0000000000000000  0104b451  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 24 .debug_loc    0002102b  0000000000000000  0000000000000000  0104d624  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 25 .debug_ranges 00004dd0  0000000000000000  0000000000000000  0106e64f  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
-------------- next part --------------

var/bin/x86_64/libc++.lib.so:     file format elf64-x86-64

Program Header:
    LOAD off    0x0000000000001000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**12
         filesz 0x0000000001072394 memsz 0x0000000001072394 flags r-x
    LOAD off    0x0000000001074000 vaddr 0x0000000001073000 paddr 0x0000000001073000 align 2**12
         filesz 0x0000000000018720 memsz 0x000000000001ecdc flags rw-
 DYNAMIC off    0x0000000001078360 vaddr 0x0000000001077360 paddr 0x0000000001077360 align 2**3
         filesz 0x0000000000000130 memsz 0x0000000000000130 flags rw-
EH_FRAME off    0x000000000106c4b8 vaddr 0x000000000106b4b8 paddr 0x000000000106b4b8 align 2**2
         filesz 0x0000000000006edc memsz 0x0000000000006edc flags r--

Dynamic Section:
  INIT                 0x0000000000037840
  HASH                 0x0000000000000000
  STRTAB               0x0000000000010678
  SYMTAB               0x0000000000004108
  STRSZ                0x00000000000190c6
  SYMENT               0x0000000000000018
  PLTGOT               0x0000000001077490
  PLTRELSZ             0x00000000000031e0
  PLTREL               0x0000000000000007
  JMPREL               0x0000000000034660
  RELA                 0x0000000000029740
  RELASZ               0x000000000000af20
  RELAENT              0x0000000000000018
  RELACOUNT            0x0000000000000181

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         00066fb2  0000000001000000  0000000001000000  01001000  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .plt.got      00000048  0000000001066fb8  0000000001066fb8  01067fb8  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .hash         00004104  0000000000000000  0000000000000000  00001000  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .dynsym       0000c570  0000000000004108  0000000000004108  00005108  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .dynstr       000190c6  0000000000010678  0000000000010678  00011678  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .rela.dyn     0000af20  0000000000029740  0000000000029740  0002a740  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .rela.plt     000031e0  0000000000034660  0000000000034660  00035660  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .init         00000034  0000000000037840  0000000000037840  00038840  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  8 .plt          00002150  0000000000037880  0000000000037880  00038880  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  9 .rodata       000044b5  0000000001067000  0000000001067000  01068000  2**5
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 10 .eh_frame_hdr 0000370c  000000000106b4b8  000000000106b4b8  0106c4b8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 11 .gcc_except_table 000037d0  000000000106ebc4  000000000106ebc4  0106fbc4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 12 .data         00004340  0000000001073000  0000000001073000  01074000  2**5
                  CONTENTS, ALLOC, LOAD, DATA
 13 .ctors        00000020  0000000001077340  0000000001077340  01078340  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 14 .dynamic      00000130  0000000001077360  0000000001077360  01078360  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 15 .got          000016a0  0000000001077490  0000000001077490  01078490  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 16 .eh_frame     00012bf0  0000000001078b30  0000000001078b30  01079b30  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 17 .bss          0000659c  000000000108b740  000000000108b740  0108c720  2**6
                  ALLOC
 18 .comment      00000012  0000000000000000  0000000000000000  0108c720  2**0
                  CONTENTS, READONLY
 19 .debug_aranges 000012e0  0000000000000000  0000000000000000  0108c732  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 20 .debug_info   0000d18d  0000000000000000  0000000000000000  0108da12  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 21 .debug_abbrev 00005bec  0000000000000000  0000000000000000  0109ab9f  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 22 .debug_line   0000e626  0000000000000000  0000000000000000  010a078b  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 23 .debug_str    000021d3  0000000000000000  0000000000000000  010aedb1  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 24 .debug_loc    0002102b  0000000000000000  0000000000000000  010b0f84  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 25 .debug_ranges 00004dd0  0000000000000000  0000000000000000  010d1faf  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
-------------- next part --------------

var/build/arm_v8a/lib/libunwind.lib.so:     file format elf64-littleaarch64

Program Header:
    LOAD off    0x0000000000001000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**12
         filesz 0x000000000100000c memsz 0x000000000100000c flags r-x
    LOAD off    0x0000000001002000 vaddr 0x0000000001001000 paddr 0x0000000001001000 align 2**12
         filesz 0x000000000000003c memsz 0x000000000000003c flags rw-
 DYNAMIC off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3
         filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
EH_FRAME off    0x0000000001001000 vaddr 0x0000000001000000 paddr 0x0000000001000000 align 2**2
         filesz 0x000000000000000c memsz 0x000000000000000c flags r--
private flags = 0x0:

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .init         00000054  0000000000000000  0000000000000000  00001000  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .eh_frame_hdr 0000000c  0000000001000000  0000000001000000  01001000  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .data         00000024  0000000001001000  0000000001001000  01002000  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  3 .ctors        00000010  0000000001001028  0000000001001028  01002028  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  4 .eh_frame     00000004  0000000001001038  0000000001001038  01002038  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .comment      00000012  0000000000000000  0000000000000000  0100203c  2**0
                  CONTENTS, READONLY
  6 .debug_aranges 00001410  0000000000000000  0000000000000000  01002050  2**4
                  CONTENTS, READONLY, DEBUGGING, OCTETS
  7 .debug_info   0000418e  0000000000000000  0000000000000000  01003460  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
  8 .debug_abbrev 000011d0  0000000000000000  0000000000000000  010075ee  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
  9 .debug_line   00005f3d  0000000000000000  0000000000000000  010087be  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 10 .debug_str    00000337  0000000000000000  0000000000000000  0100e6fb  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 11 .debug_loc    000080eb  0000000000000000  0000000000000000  0100ea32  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 12 .debug_ranges 00000d30  0000000000000000  0000000000000000  01016b1d  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
-------------- next part --------------

var/bin/x86_64/libunwind.lib.so:     file format elf64-x86-64

Program Header:
    LOAD off    0x0000000000001000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**12
         filesz 0x0000000001010e88 memsz 0x0000000001010e88 flags r-x
    LOAD off    0x0000000001012000 vaddr 0x0000000001011000 paddr 0x0000000001011000 align 2**12
         filesz 0x00000000000013d0 memsz 0x0000000000001c28 flags rw-
 DYNAMIC off    0x00000000010120e8 vaddr 0x00000000010110e8 paddr 0x00000000010110e8 align 2**3
         filesz 0x0000000000000130 memsz 0x0000000000000130 flags rw-
EH_FRAME off    0x0000000001011bcc vaddr 0x0000000001010bcc paddr 0x0000000001010bcc align 2**2
         filesz 0x00000000000002bc memsz 0x00000000000002bc flags r--

Dynamic Section:
  INIT                 0x0000000000001248
  HASH                 0x0000000000000000
  STRTAB               0x0000000000000968
  SYMTAB               0x0000000000000248
  STRSZ                0x00000000000004ef
  SYMENT               0x0000000000000018
  PLTGOT               0x0000000001011218
  PLTRELSZ             0x00000000000001f8
  PLTREL               0x0000000000000007
  JMPREL               0x0000000000001050
  RELA                 0x0000000000000e58
  RELASZ               0x00000000000001f8
  RELAENT              0x0000000000000018
  RELACOUNT            0x0000000000000014

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         0000daa5  0000000001000000  0000000001000000  01001000  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .hash         00000244  0000000000000000  0000000000000000  00001000  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .dynsym       00000720  0000000000000248  0000000000000248  00001248  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .dynstr       000004ef  0000000000000968  0000000000000968  00001968  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rela.dyn     000001f8  0000000000000e58  0000000000000e58  00001e58  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .rela.plt     000001f8  0000000000001050  0000000000001050  00002050  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .init         00000034  0000000000001248  0000000000001248  00002248  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  7 .plt          00000160  0000000000001280  0000000000001280  00002280  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  8 .rodata       0000311a  000000000100dab0  000000000100dab0  0100eab0  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  9 .eh_frame_hdr 000002bc  0000000001010bcc  0000000001010bcc  01011bcc  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 10 .data         000000d0  0000000001011000  0000000001011000  01012000  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 11 .ctors        00000018  00000000010110d0  00000000010110d0  010120d0  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 12 .dynamic      00000130  00000000010110e8  00000000010110e8  010120e8  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 13 .got          000000c8  0000000001011218  0000000001011218  01012218  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 14 .eh_frame     000010f0  00000000010112e0  00000000010112e0  010122e0  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 15 .bss          00000848  00000000010123e0  00000000010123e0  010133d0  2**5
                  ALLOC
 16 .comment      00000012  0000000000000000  0000000000000000  010133d0  2**0
                  CONTENTS, READONLY
 17 .debug_aranges 000012e0  0000000000000000  0000000000000000  010133e2  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 18 .debug_info   0000d18d  0000000000000000  0000000000000000  010146c2  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 19 .debug_abbrev 00005bec  0000000000000000  0000000000000000  0102184f  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 20 .debug_line   0000e626  0000000000000000  0000000000000000  0102743b  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 21 .debug_str    000021d3  0000000000000000  0000000000000000  01035a61  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 22 .debug_loc    0002102b  0000000000000000  0000000000000000  01037c34  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
 23 .debug_ranges 00004dd0  0000000000000000  0000000000000000  01058c5f  2**0
                  CONTENTS, READONLY, DEBUGGING, OCTETS
-------------- next part --------------

var/bin/x86_64/libunwind.lib.so:     file format elf64-x86-64

Program Header:
    LOAD off    0x0000000000001000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**12
         filesz 0x00000000010105d8 memsz 0x00000000010105d8 flags r-x
    LOAD off    0x0000000001012000 vaddr 0x0000000001011000 paddr 0x0000000001011000 align 2**12
         filesz 0x0000000000001380 memsz 0x0000000000001ba8 flags rw-
 DYNAMIC off    0x00000000010120e0 vaddr 0x00000000010110e0 paddr 0x00000000010110e0 align 2**3
         filesz 0x0000000000000130 memsz 0x0000000000000130 flags rw-
EH_FRAME off    0x000000000101132c vaddr 0x000000000101032c paddr 0x000000000101032c align 2**2
         filesz 0x00000000000002ac memsz 0x00000000000002ac flags r--

Dynamic Section:
  INIT                 0x0000000000001230
  HASH                 0x0000000000000000
  STRTAB               0x0000000000000968
  SYMTAB               0x0000000000000248
  STRSZ                0x00000000000004ef
  SYMENT               0x0000000000000018
  PLTGOT               0x0000000001011210
  PLTRELSZ             0x00000000000001f8
  PLTREL               0x0000000000000007
  JMPREL               0x0000000000001038
  RELA                 0x0000000000000e58
  RELASZ               0x00000000000001e0
  RELAENT              0x0000000000000018
  RELACOUNT            0x0000000000000013

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         0000d475  0000000001000000  0000000001000000  01001000  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .hash         00000244  0000000000000000  0000000000000000  00001000  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .dynsym       00000720  0000000000000248  0000000000000248  00001248  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .dynstr       000004ef  0000000000000968  0000000000000968  00001968  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rela.dyn     000001e0  0000000000000e58  0000000000000e58  00001e58  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .rela.plt     000001f8  0000000000001038  0000000000001038  00002038  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .init         00000034  0000000000001230  0000000000001230  00002230  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  7 .plt          00000160  0000000000001270  0000000000001270  00002270  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  8 .rodata       00002eaa  000000000100d480  000000000100d480  0100e480  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  9 .eh_frame_hdr 000002ac  000000000101032c  000000000101032c  0101132c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 10 .data         000000d0  0000000001011000  0000000001011000  01012000  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 11 .ctors        00000010  00000000010110d0  00000000010110d0  010120d0  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 12 .dynamic      00000130  00000000010110e0  00000000010110e0  010120e0  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 13 .got          000000c8  0000000001011210  0000000001011210  01012210  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 14 .eh_frame     000010a8  00000000010112d8  00000000010112d8  010122d8  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 15 .bss          00000828  0000000001012380  0000000001012380  01013380  2**5
                  ALLOC
 16 .comment      00000012  0000000000000000  0000000000000000  01013380  2**0
                  CONTENTS, READONLY


More information about the users mailing list