Glibc-2.5 question

Luca liliana.perossa at fastwebnet.it
Tue Nov 7 00:18:09 PST 2006


Installed Chapter 5 glibc-20061106:
objdump -p ld-linux.so.2

ld-linux.so.2:     file format elf32-i386

Program Header:
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x000170d8 memsz 0x000170d8 flags r-x
    LOAD off    0x00017cc0 vaddr 0x00018cc0 paddr 0x00018cc0 align 2**12
         filesz 0x000008ec memsz 0x000009b4 flags rw-
 DYNAMIC off    0x00017f38 vaddr 0x00018f38 paddr 0x00018f38 align 2**2
         filesz 0x000000b0 memsz 0x000000b0 flags rw-
EH_FRAME off    0x00016b64 vaddr 0x00016b64 paddr 0x00016b64 align 2**2
         filesz 0x00000124 memsz 0x00000124 flags r--
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rw-
   RELRO off    0x00017cc0 vaddr 0x00018cc0 paddr 0x00018cc0 align 2**0
         filesz 0x00000340 memsz 0x00000340 flags r--

Dynamic Section:
  SONAME      ld-linux.so.2
  HASH        0xf4
  STRTAB      0x488
  SYMTAB      0x228
  STRSZ       0x194
  SYMENT      0x10
  PLTGOT      0x18ff4
  PLTRELSZ    0x28
  PLTREL      0x11
  JMPREL      0x790
  REL         0x730
  RELSZ       0x60
  RELENT      0x8
  VERDEF      0x668
  VERDEFNUM   0x6
  VERSYM      0x61c
  RELCOUNT    0xb

Version definitions:
1 0x01 0x0ee1b232 ld-linux.so.2
2 0x00 0x0d696910 GLIBC_2.0
3 0x00 0x0d696911 GLIBC_2.1
        GLIBC_2.0
4 0x00 0x0d696913 GLIBC_2.3
        GLIBC_2.1
5 0x00 0x0d696914 GLIBC_2.4
        GLIBC_2.3
6 0x00 0x0963cf85 GLIBC_PRIVATE
        GLIBC_2.4

objdump -p libc.so.6

libc.so.6:     file format elf32-i386

Program Header:
    PHDR off    0x00000034 vaddr 0x00000034 paddr 0x00000034 align 2**2
         filesz 0x00000140 memsz 0x00000140 flags r-x
  INTERP off    0x0010d360 vaddr 0x0010d360 paddr 0x0010d360 align 2**5
         filesz 0x00000063 memsz 0x00000063 flags r--
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x0011d7af memsz 0x0011d7af flags r-x
    LOAD off    0x0011e204 vaddr 0x0011e204 paddr 0x0011e204 align 2**12
         filesz 0x00002778 memsz 0x00005398 flags rw-
 DYNAMIC off    0x0011fd9c vaddr 0x0011fd9c paddr 0x0011fd9c align 2**2
         filesz 0x000000e8 memsz 0x000000e8 flags rw-
    NOTE off    0x00000174 vaddr 0x00000174 paddr 0x00000174 align 2**2
         filesz 0x00000020 memsz 0x00000020 flags r--
     TLS off    0x0011e204 vaddr 0x0011e204 paddr 0x0011e204 align 2**2
         filesz 0x00000008 memsz 0x0000003c flags r--
EH_FRAME off    0x0010d3c4 vaddr 0x0010d3c4 paddr 0x0010d3c4 align 2**2
         filesz 0x000028a4 memsz 0x000028a4 flags r--
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rw-
   RELRO off    0x0011e204 vaddr 0x0011e204 paddr 0x0011e204 align 2**0
         filesz 0x00001dfc memsz 0x00001dfc flags r--

Dynamic Section:
  NEEDED      ld-linux.so.2
  SONAME      libc.so.6
  INIT        0x156c0
  FINI_ARRAY  0x11e20c
  FINI_ARRAYSZ 0x4
  HASH        0x194
  STRTAB      0xc124
  SYMTAB      0x34b4
  STRSZ       0x55df
  SYMENT      0x10
  PLTGOT      0x11fff4
  PLTRELSZ    0x40
  PLTREL      0x11
  JMPREL      0x15558
  REL         0x12bb0
  RELSZ       0x29a8
  RELENT      0x8
  VERDEF      0x12894
  VERDEFNUM   0x15
  FLAGS       0x10
  VERNEED     0x12b70
  VERNEEDNUM  0x1
  VERSYM      0x11704
  RELCOUNT    0x4d7

Version definitions:
1 0x01 0x0865f4e6 libc.so.6
2 0x00 0x0d696910 GLIBC_2.0
3 0x00 0x0d696911 GLIBC_2.1
        GLIBC_2.0
4 0x00 0x09691f71 GLIBC_2.1.1
        GLIBC_2.1
5 0x00 0x09691f72 GLIBC_2.1.2
        GLIBC_2.1.1
6 0x00 0x09691f73 GLIBC_2.1.3
        GLIBC_2.1.2
7 0x00 0x0d696912 GLIBC_2.2
        GLIBC_2.1.3
8 0x00 0x09691a71 GLIBC_2.2.1
        GLIBC_2.2
9 0x00 0x09691a72 GLIBC_2.2.2
        GLIBC_2.2.1
10 0x00 0x09691a73 GLIBC_2.2.3
        GLIBC_2.2.2
11 0x00 0x09691a74 GLIBC_2.2.4
        GLIBC_2.2.3
12 0x00 0x09691a76 GLIBC_2.2.6
        GLIBC_2.2.4
13 0x00 0x0d696913 GLIBC_2.3
        GLIBC_2.2.6
14 0x00 0x09691972 GLIBC_2.3.2
        GLIBC_2.3
15 0x00 0x09691973 GLIBC_2.3.3
        GLIBC_2.3.2
16 0x00 0x09691974 GLIBC_2.3.4
        GLIBC_2.3.3
17 0x00 0x0d696914 GLIBC_2.4
        GLIBC_2.3.4
18 0x00 0x0d696915 GLIBC_2.5
        GLIBC_2.4
19 0x00 0x0d696916 GLIBC_2.6
        GLIBC_2.5
20 0x00 0x0963cf85 GLIBC_PRIVATE
        GLIBC_2.6
21 0x00 0x0b792650 GCC_3.0

Version References:
  required from ld-linux.so.2:
    0x0d696911 0x00 24 GLIBC_2.1
    0x0d696913 0x00 23 GLIBC_2.3
    0x0963cf85 0x00 22 GLIBC_PRIVATE

objdump -p libnsl.so.1

libnsl.so.1:     file format elf32-i386

Program Header:
    PHDR off    0x00000034 vaddr 0x00000034 paddr 0x00000034 align 2**2
         filesz 0x00000100 memsz 0x00000100 flags r-x
  INTERP off    0x00010ae0 vaddr 0x00010ae0 paddr 0x00010ae0 align 2**5
         filesz 0x00000063 memsz 0x00000063 flags r--
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x00010b48 memsz 0x00010b48 flags r-x
    LOAD off    0x00010ec8 vaddr 0x00011ec8 paddr 0x00011ec8 align 2**12
         filesz 0x000002d4 memsz 0x00002860 flags rw-
 DYNAMIC off    0x00010edc vaddr 0x00011edc paddr 0x00011edc align 2**2
         filesz 0x000000d8 memsz 0x000000d8 flags rw-
    NOTE off    0x00000134 vaddr 0x00000134 paddr 0x00000134 align 2**2
         filesz 0x00000020 memsz 0x00000020 flags r--
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rw-
   RELRO off    0x00010ec8 vaddr 0x00011ec8 paddr 0x00011ec8 align 2**0
         filesz 0x00000138 memsz 0x00000138 flags r--

Dynamic Section:
  NEEDED      libc.so.6
  SONAME      libnsl.so.1
  INIT        0x2f90
  FINI        0xf670
  HASH        0x154
  STRTAB      0x1c68
  SYMTAB      0xc98
  STRSZ       0xc53
  SYMENT      0x10
  PLTGOT      0x11ff4
  PLTRELSZ    0x328
  PLTREL      0x11
  JMPREL      0x2c5c
  REL         0x2bcc
  RELSZ       0x90
  RELENT      0x8
  VERDEF      0x2ab8
  VERDEFNUM   0x5
  VERNEED     0x2b5c
  VERNEEDNUM  0x1
  VERSYM      0x28bc
  RELCOUNT    0x2

Version definitions:
1 0x01 0x09a77941 libnsl.so.1
2 0x00 0x0d696910 GLIBC_2.0
3 0x00 0x0d696911 GLIBC_2.1
        GLIBC_2.0
4 0x00 0x0d696912 GLIBC_2.2
        GLIBC_2.1
5 0x00 0x0963cf85 GLIBC_PRIVATE
        GLIBC_2.2

Version References:
  required from libc.so.6:
    0x0d696913 0x00 11 GLIBC_2.3
    0x09691f73 0x00 10 GLIBC_2.1.3
    0x0d696912 0x00 09 GLIBC_2.2
    0x09691a73 0x00 08 GLIBC_2.2.3
    0x0d696910 0x00 07 GLIBC_2.0
    0x0d696911 0x00 06 GLIBC_2.1

ldd libnss_nis.so
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /tools/lib/libnsl.so.1 (0xb7ef7000)
        libnss_files.so.2 => /tools/lib/libnss_files.so.2 (0xb7eed000)
        libc.so.6 => /tools/lib/libc.so.6 (0xb7dc9000)
        /tools/lib/ld-linux.so.2 (0xb7f0e000)

ldd libnss_nis-2.5.90.so
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /tools/lib/libnsl.so.1 (0xb7fa8000)
        libnss_files.so.2 => /tools/lib/libnss_files.so.2 (0xb7f9e000)
        libc.so.6 => /tools/lib/libc.so.6 (0xb7e7a000)
        /tools/lib/ld-linux.so.2 (0xb7fbf000)

ldd libnss_nisplus-2.5.90.so
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /tools/lib/libnsl.so.1 (0xb7ef1000)
        libc.so.6 => /tools/lib/libc.so.6 (0xb7dcd000)
        /tools/lib/ld-linux.so.2 (0xb7f08000)


Luca



More information about the lfs-support mailing list