Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: fairuz on May 3rd, 2011  |  syntax: None  |  size: 1.93 KB  |  hits: 140  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. x0152532@unx0152532:~/mydroid$ readelf --segments ./hello-arm-bionic
  2.  
  3. Elf file type is EXEC (Executable file)
  4. Entry point 0x8420
  5. There are 6 program headers, starting at offset 52
  6.  
  7. Program Headers:
  8.   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  9.   EXIDX          0x0004cc 0x000084cc 0x000084cc 0x00008 0x00008 R   0x4
  10.   PHDR           0x000034 0x00008034 0x00008034 0x000c0 0x000c0 R E 0x4
  11.   INTERP         0x0000f4 0x000080f4 0x000080f4 0x00013 0x00013 R   0x1
  12.       [Requesting program interpreter: /system/bin/linker]
  13.   LOAD           0x000000 0x00008000 0x00008000 0x004d4 0x004d4 R E 0x1000
  14.   LOAD           0x001000 0x00009000 0x00009000 0x000fc 0x00110 RW  0x1000
  15.   DYNAMIC        0x001020 0x00009020 0x00009020 0x000c0 0x000c0 RW  0x4
  16.  
  17.  Section to Segment mapping:
  18.   Segment Sections...
  19.    00     .ARM.exidx
  20.    01    
  21.    02     .interp
  22.    03     .interp .hash .dynsym .dynstr .rel.plt .plt .text .rodata .ARM.extab .ARM.exidx
  23.    04     .preinit_array .init_array .fini_array .ctors .dynamic .got .bss
  24.    05     .dynamic
  25.  
  26.  
  27.  
  28.  
  29. x0152532@unx0152532:~/mydroid$ readelf --segments ./linker
  30.  
  31. Elf file type is EXEC (Executable file)
  32. Entry point 0xb0001000
  33. There are 5 program headers, starting at offset 52
  34.  
  35. Program Headers:
  36.   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  37.   LOAD           0x0000d4 0x00000000 0xb0000000 0x00000 0x00000 R   0x1000
  38.   LOAD           0x001000 0xb0001000 0xb0001000 0x073bc 0x073bc R E 0x1000
  39.   LOAD           0x009000 0xb0009000 0xb0009000 0x0068c 0x0969c RW  0x1000
  40.   GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0
  41.   EXIDX          0x008004 0xb0008004 0xb0008004 0x003b8 0x003b8 R   0x4
  42.  
  43.  Section to Segment mapping:
  44.   Segment Sections...
  45.    00    
  46.    01     .text .rodata .ARM.extab .ARM.exidx
  47.    02     .preinit_array .init_array .fini_array .ctors .data.rel.ro .got .data .bss
  48.    03    
  49.    04     .ARM.exidx