[yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

Elvis Dowson elvis.dowson at gmail.com
Sat Aug 4 08:12:43 PDT 2012


Hi,

On Aug 4, 2012, at 5:56 PM, Elvis Dowson wrote:

> On Aug 4, 2012, at 6:24 AM, Khem Raj wrote:
> 
>> OK couple of things.  You could boot into static bash thats good, keep it that way and bundle some dynamically linked programs into the root file system
>> may be just a hello world which is dynamically linked. I would also compile a static version of gdb and strace but that could be next steps.
>> 
>> then boot into this static shell and try to run the dynamically linked hello world. Does that work ?
>> if not we have a dynamic linking issue. 
>> 
>> Then you can go a step deeper and see whats going on. Many  a times interpreter is specified wrongly in the elf file.
>> and there could be dynamic linker issues too. But step at a time.
> 
> I created a new 16GB ramdisk file, and put the core-image-minimal root filesystem into it. I then created a static version and a dynamic version of the helloworld program.
> 
> I find that the static version of the helloworld loads okay, but the dynamic version of the helloworld program doesn't give any output.
> 
> I guess this means we have a dynamic linking issue. 
> 

In the objdump I see two version references for glibc, is that normal?

Version References:
  required from libc.so.6:
    0x0d696910 0x00 03 GLIBC_2.0
    0x0d696914 0x00 02 GLIBC_2.4


Here is the full output of the readelf -a helloworlddynamic executable:

${CROSS_COMPILE}readelf -a helloworlddynamic
ELF Header:
  Magic:   7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           PowerPC
  Version:                           0x1
  Entry point address:               0x1000032c
  Start of program headers:          52 (bytes into file)
  Start of section headers:          4216 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         8
  Size of section headers:           40 (bytes)
  Number of section headers:         36
  Section header string table index: 33

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .interp           PROGBITS        10000134 000134 00000d 00   A  0   0  1
  [ 2] .note.ABI-tag     NOTE            10000144 000144 000020 00   A  0   0  4
  [ 3] .gnu.hash         GNU_HASH        10000164 000164 000020 04   A  4   0  4
  [ 4] .dynsym           DYNSYM          10000184 000184 000070 10   A  5   1  4
  [ 5] .dynstr           STRTAB          100001f4 0001f4 000064 00   A  0   0  1
  [ 6] .gnu.version      VERSYM          10000258 000258 00000e 02   A  4   0  2
  [ 7] .gnu.version_r    VERNEED         10000268 000268 000030 00   A  5   1  4
  [ 8] .rela.dyn         RELA            10000298 000298 00000c 0c   A  4   0  4
  [ 9] .rela.plt         RELA            100002a4 0002a4 00003c 0c   A  4  23  4
  [10] .init             PROGBITS        100002e0 0002e0 00004c 00  AX  0   0  4
  [11] .text             PROGBITS        1000032c 00032c 000348 00  AX  0   0  4
  [12] .fini             PROGBITS        10000674 000674 000030 00  AX  0   0  4
  [13] .rodata           PROGBITS        100006a4 0006a4 000039 00   A  0   0  4
  [14] .eh_frame_hdr     PROGBITS        100006e0 0006e0 000014 00   A  0   0  4
  [15] .eh_frame         PROGBITS        100006f4 0006f4 00002c 00   A  0   0  4
  [16] .ctors            PROGBITS        10010720 000720 000008 00  WA  0   0  4
  [17] .dtors            PROGBITS        10010728 000728 000008 00  WA  0   0  4
  [18] .jcr              PROGBITS        10010730 000730 000004 00  WA  0   0  4
  [19] .got2             PROGBITS        10010734 000734 000008 00  WA  0   0  1
  [20] .dynamic          DYNAMIC         1001073c 00073c 0000c8 08  WA  5   0  4
  [21] .data             PROGBITS        10010804 000804 000008 00  WA  0   0  4
  [22] .got              PROGBITS        1001080c 00080c 000014 04 WAX  0   0  4
  [23] .plt              NOBITS          10010820 000820 000084 00 WAX  0   0  4
  [24] .bss              NOBITS          100108a4 000820 000008 00  WA  0   0  4
  [25] .comment          PROGBITS        00000000 000820 000027 01  MS  0   0  1
  [26] .debug_aranges    PROGBITS        00000000 000847 000038 00      0   0  1
  [27] .debug_info       PROGBITS        00000000 00087f 0001d6 00      0   0  1
  [28] .debug_abbrev     PROGBITS        00000000 000a55 00014d 00      0   0  1
  [29] .debug_line       PROGBITS        00000000 000ba2 000113 00      0   0  1
  [30] .debug_frame      PROGBITS        00000000 000cb8 00005c 00      0   0  4
  [31] .debug_str        PROGBITS        00000000 000d14 000154 01  MS  0   0  1
  [32] .debug_loc        PROGBITS        00000000 000e68 0000cf 00      0   0  1
  [33] .shstrtab         STRTAB          00000000 000f37 000140 00      0   0  1
  [34] .symtab           SYMTAB          00000000 001618 000520 10     35  58  4
  [35] .strtab           STRTAB          00000000 001b38 0002d6 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

There are no section groups in this file.

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  PHDR           0x000034 0x10000034 0x10000034 0x00100 0x00100 R E 0x4
  INTERP         0x000134 0x10000134 0x10000134 0x0000d 0x0000d R   0x1
      [Requesting program interpreter: /lib/ld.so.1]
  LOAD           0x000000 0x10000000 0x10000000 0x00720 0x00720 R E 0x10000
  LOAD           0x000720 0x10010720 0x10010720 0x00100 0x0018c RWE 0x10000
  DYNAMIC        0x00073c 0x1001073c 0x1001073c 0x000c8 0x000c8 RW  0x4
  NOTE           0x000144 0x10000144 0x10000144 0x00020 0x00020 R   0x4
  GNU_EH_FRAME   0x0006e0 0x100006e0 0x100006e0 0x00014 0x00014 R   0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x4

 Section to Segment mapping:
  Segment Sections...
   00     
   01     .interp 
   02     .interp .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .text .fini .rodata .eh_frame_hdr .eh_frame 
   03     .ctors .dtors .jcr .got2 .dynamic .data .got .plt .bss 
   04     .dynamic 
   05     .note.ABI-tag 
   06     .eh_frame_hdr 
   07     

Dynamic section at offset 0x73c contains 20 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000c (INIT)                       0x100002e0
 0x0000000d (FINI)                       0x10000674
 0x6ffffef5 (GNU_HASH)                   0x10000164
 0x00000005 (STRTAB)                     0x100001f4
 0x00000006 (SYMTAB)                     0x10000184
 0x0000000a (STRSZ)                      100 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000015 (DEBUG)                      0x0
 0x00000003 (PLTGOT)                     0x10010820
 0x00000002 (PLTRELSZ)                   60 (bytes)
 0x00000014 (PLTREL)                     RELA
 0x00000017 (JMPREL)                     0x100002a4
 0x00000007 (RELA)                       0x10000298
 0x00000008 (RELASZ)                     72 (bytes)
 0x00000009 (RELAENT)                    12 (bytes)
 0x6ffffffe (VERNEED)                    0x10000268
 0x6fffffff (VERNEEDNUM)                 1
 0x6ffffff0 (VERSYM)                     0x10000258
 0x00000000 (NULL)                       0x0

Relocation section '.rela.dyn' at offset 0x298 contains 1 entries:
 Offset     Info    Type            Sym.Value  Sym. Name + Addend
1001080c  00000314 R_PPC_GLOB_DAT    00000000   __gmon_start__ + 0

Relocation section '.rela.plt' at offset 0x2a4 contains 5 entries:
 Offset     Info    Type            Sym.Value  Sym. Name + Addend
10010868  00000115 R_PPC_JMP_SLOT    00000000   printf + 0
10010870  00000215 R_PPC_JMP_SLOT    00000000   sleep + 0
10010878  00000315 R_PPC_JMP_SLOT    00000000   __gmon_start__ + 0
10010880  00000415 R_PPC_JMP_SLOT    00000000   __libc_start_main + 0
10010888  00000515 R_PPC_JMP_SLOT    00000000   putchar + 0

There are no unwind sections in this file.

Symbol table '.dynsym' contains 7 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 00000000     0 FUNC    GLOBAL DEFAULT  UND printf at GLIBC_2.4 (2)
     2: 00000000     0 FUNC    GLOBAL DEFAULT  UND sleep at GLIBC_2.0 (3)
     3: 00000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     4: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_start_main at GLIBC_2.0 (3)
     5: 00000000     0 FUNC    GLOBAL DEFAULT  UND putchar at GLIBC_2.0 (3)
     6: 100006b4     4 OBJECT  GLOBAL DEFAULT   13 _IO_stdin_used

Symbol table '.symtab' contains 82 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 10000134     0 SECTION LOCAL  DEFAULT    1 
     2: 10000144     0 SECTION LOCAL  DEFAULT    2 
     3: 10000164     0 SECTION LOCAL  DEFAULT    3 
     4: 10000184     0 SECTION LOCAL  DEFAULT    4 
     5: 100001f4     0 SECTION LOCAL  DEFAULT    5 
     6: 10000258     0 SECTION LOCAL  DEFAULT    6 
     7: 10000268     0 SECTION LOCAL  DEFAULT    7 
     8: 10000298     0 SECTION LOCAL  DEFAULT    8 
     9: 100002a4     0 SECTION LOCAL  DEFAULT    9 
    10: 100002e0     0 SECTION LOCAL  DEFAULT   10 
    11: 1000032c     0 SECTION LOCAL  DEFAULT   11 
    12: 10000674     0 SECTION LOCAL  DEFAULT   12 
    13: 100006a4     0 SECTION LOCAL  DEFAULT   13 
    14: 100006e0     0 SECTION LOCAL  DEFAULT   14 
    15: 100006f4     0 SECTION LOCAL  DEFAULT   15 
    16: 10010720     0 SECTION LOCAL  DEFAULT   16 
    17: 10010728     0 SECTION LOCAL  DEFAULT   17 
    18: 10010730     0 SECTION LOCAL  DEFAULT   18 
    19: 10010734     0 SECTION LOCAL  DEFAULT   19 
    20: 1001073c     0 SECTION LOCAL  DEFAULT   20 
    21: 10010804     0 SECTION LOCAL  DEFAULT   21 
    22: 1001080c     0 SECTION LOCAL  DEFAULT   22 
    23: 10010820     0 SECTION LOCAL  DEFAULT   23 
    24: 100108a4     0 SECTION LOCAL  DEFAULT   24 
    25: 00000000     0 SECTION LOCAL  DEFAULT   25 
    26: 00000000     0 SECTION LOCAL  DEFAULT   26 
    27: 00000000     0 SECTION LOCAL  DEFAULT   27 
    28: 00000000     0 SECTION LOCAL  DEFAULT   28 
    29: 00000000     0 SECTION LOCAL  DEFAULT   29 
    30: 00000000     0 SECTION LOCAL  DEFAULT   30 
    31: 00000000     0 SECTION LOCAL  DEFAULT   31 
    32: 00000000     0 SECTION LOCAL  DEFAULT   32 
    33: 00000000     0 FILE    LOCAL  DEFAULT  ABS init.c
    34: 00000000     0 FILE    LOCAL  DEFAULT  ABS crtstuff.c
    35: 10010720     0 OBJECT  LOCAL  DEFAULT   16 __CTOR_LIST__
    36: 10010728     0 OBJECT  LOCAL  DEFAULT   17 __DTOR_LIST__
    37: 10010730     0 OBJECT  LOCAL  DEFAULT   18 __JCR_LIST__
    38: 10000350     0 FUNC    LOCAL  DEFAULT   11 deregister_tm_clones
    39: 10000388     0 FUNC    LOCAL  DEFAULT   11 register_tm_clones
    40: 100003c4     0 FUNC    LOCAL  DEFAULT   11 __do_global_dtors_aux
    41: 100108a4     1 OBJECT  LOCAL  DEFAULT   24 completed.6650
    42: 100108a8     4 OBJECT  LOCAL  DEFAULT   24 dtor_idx.6652
    43: 10000470     0 FUNC    LOCAL  DEFAULT   11 call___do_global_dtors_au
    44: 1000048c     0 FUNC    LOCAL  DEFAULT   11 frame_dummy
    45: 100004d8     0 FUNC    LOCAL  DEFAULT   11 call_frame_dummy
    46: 00000000     0 FILE    LOCAL  DEFAULT  ABS crtstuff.c
    47: 10010724     0 OBJECT  LOCAL  DEFAULT   16 __CTOR_END__
    48: 1000071c     0 OBJECT  LOCAL  DEFAULT   15 __FRAME_END__
    49: 10010730     0 OBJECT  LOCAL  DEFAULT   18 __JCR_END__
    50: 1000060c     0 FUNC    LOCAL  DEFAULT   11 __do_global_ctors_aux
    51: 10000658     0 FUNC    LOCAL  DEFAULT   11 call___do_global_ctors_au
    52: 00000000     0 FILE    LOCAL  DEFAULT  ABS helloworld.c
    53: 00000000     0 FILE    LOCAL  DEFAULT  ABS elf-init.c
    54: 10010720     0 NOTYPE  LOCAL  DEFAULT   16 __init_array_end
    55: 1001073c     0 OBJECT  LOCAL  DEFAULT   20 _DYNAMIC
    56: 10010720     0 NOTYPE  LOCAL  DEFAULT   16 __init_array_start
    57: 10010814     0 OBJECT  LOCAL  DEFAULT   22 _GLOBAL_OFFSET_TABLE_
    58: 10000608     4 FUNC    GLOBAL DEFAULT   11 __libc_csu_fini
    59: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_deregisterTMCloneTab
    60: 10010804     0 NOTYPE  WEAK   DEFAULT   21 data_start
    61: 00000000     0 FUNC    GLOBAL DEFAULT  UND printf@@GLIBC_2.4
    62: 10010820     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
    63: 00000000     0 FUNC    GLOBAL DEFAULT  UND sleep@@GLIBC_2.0
    64: 10000674     0 FUNC    GLOBAL DEFAULT   12 _fini
    65: 1001072c     0 OBJECT  GLOBAL HIDDEN    17 __DTOR_END__
    66: 10010804     0 NOTYPE  GLOBAL DEFAULT   21 __data_start
    67: 00000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
    68: 10010808     0 OBJECT  GLOBAL HIDDEN    21 __dso_handle
    69: 100006b4     4 OBJECT  GLOBAL DEFAULT   13 _IO_stdin_used
    70: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_start_main@@GLIBC_
    71: 10000554   180 FUNC    GLOBAL DEFAULT   11 __libc_csu_init
    72: 10018820     0 NOTYPE  GLOBAL DEFAULT   22 _SDA_BASE_
    73: 00000000     0 FUNC    GLOBAL DEFAULT  UND putchar@@GLIBC_2.0
    74: 100108ac     0 NOTYPE  GLOBAL DEFAULT  ABS _end
    75: 1000032c    36 FUNC    GLOBAL DEFAULT   11 _start
    76: 10010820     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
    77: 100004f4    92 FUNC    GLOBAL DEFAULT   11 main
    78: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
    79: 1001080c     0 OBJECT  GLOBAL HIDDEN    21 __TMC_END__
    80: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_registerTMCloneTable
    81: 100002e0     0 FUNC    GLOBAL DEFAULT   10 _init

Histogram for `.gnu.hash' bucket list length (total of 2 buckets):
 Length  Number     % of total  Coverage
      0  1          ( 50.0%)
      1  1          ( 50.0%)    100.0%

Version symbols section '.gnu.version' contains 7 entries:
 Addr: 0000000010000258  Offset: 0x000258  Link: 4 (.dynsym)
  000:   0 (*local*)       2 (GLIBC_2.4)     3 (GLIBC_2.0)     0 (*local*)    
  004:   3 (GLIBC_2.0)     3 (GLIBC_2.0)     1 (*global*)   

Version needs section '.gnu.version_r' contains 1 entries:
 Addr: 0x0000000010000268  Offset: 0x000268  Link: 5 (.dynstr)
  000000: Version: 1  File: libc.so.6  Cnt: 2
  0x0010:   Name: GLIBC_2.0  Flags: none  Version: 3
  0x0020:   Name: GLIBC_2.4  Flags: none  Version: 2

Notes at offset 0x00000144 with length 0x00000020:
  Owner                 Data size	Description
  GNU                  0x00000010	NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 2.6.16


Here is the output of the objdump -x command:

${CROSS_COMPILE}objdump -x helloworlddynamic

helloworlddynamic:     file format elf32-powerpc
helloworlddynamic
architecture: powerpc:common, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x1000032c

Program Header:
    PHDR off    0x00000034 vaddr 0x10000034 paddr 0x10000034 align 2**2
         filesz 0x00000100 memsz 0x00000100 flags r-x
  INTERP off    0x00000134 vaddr 0x10000134 paddr 0x10000134 align 2**0
         filesz 0x0000000d memsz 0x0000000d flags r--
    LOAD off    0x00000000 vaddr 0x10000000 paddr 0x10000000 align 2**16
         filesz 0x00000720 memsz 0x00000720 flags r-x
    LOAD off    0x00000720 vaddr 0x10010720 paddr 0x10010720 align 2**16
         filesz 0x00000100 memsz 0x0000018c flags rwx
 DYNAMIC off    0x0000073c vaddr 0x1001073c paddr 0x1001073c align 2**2
         filesz 0x000000c8 memsz 0x000000c8 flags rw-
    NOTE off    0x00000144 vaddr 0x10000144 paddr 0x10000144 align 2**2
         filesz 0x00000020 memsz 0x00000020 flags r--
EH_FRAME off    0x000006e0 vaddr 0x100006e0 paddr 0x100006e0 align 2**2
         filesz 0x00000014 memsz 0x00000014 flags r--
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rw-

Dynamic Section:
  NEEDED               libc.so.6
  INIT                 0x100002e0
  FINI                 0x10000674
  GNU_HASH             0x10000164
  STRTAB               0x100001f4
  SYMTAB               0x10000184
  STRSZ                0x00000064
  SYMENT               0x00000010
  DEBUG                0x00000000
  PLTGOT               0x10010820
  PLTRELSZ             0x0000003c
  PLTREL               0x00000007
  JMPREL               0x100002a4
  RELA                 0x10000298
  RELASZ               0x00000048
  RELAENT              0x0000000c
  VERNEED              0x10000268
  VERNEEDNUM           0x00000001
  VERSYM               0x10000258

Version References:
  required from libc.so.6:
    0x0d696910 0x00 03 GLIBC_2.0
    0x0d696914 0x00 02 GLIBC_2.4

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .interp       0000000d  10000134  10000134  00000134  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .note.ABI-tag 00000020  10000144  10000144  00000144  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .gnu.hash     00000020  10000164  10000164  00000164  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .dynsym       00000070  10000184  10000184  00000184  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .dynstr       00000064  100001f4  100001f4  000001f4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .gnu.version  0000000e  10000258  10000258  00000258  2**1
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .gnu.version_r 00000030  10000268  10000268  00000268  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .rela.dyn     0000000c  10000298  10000298  00000298  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  8 .rela.plt     0000003c  100002a4  100002a4  000002a4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  9 .init         0000004c  100002e0  100002e0  000002e0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 10 .text         00000348  1000032c  1000032c  0000032c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 11 .fini         00000030  10000674  10000674  00000674  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 12 .rodata       00000039  100006a4  100006a4  000006a4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 13 .eh_frame_hdr 00000014  100006e0  100006e0  000006e0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 14 .eh_frame     0000002c  100006f4  100006f4  000006f4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 15 .ctors        00000008  10010720  10010720  00000720  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 16 .dtors        00000008  10010728  10010728  00000728  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 17 .jcr          00000004  10010730  10010730  00000730  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 18 .got2         00000008  10010734  10010734  00000734  2**0
                  CONTENTS, ALLOC, LOAD, DATA
 19 .dynamic      000000c8  1001073c  1001073c  0000073c  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 20 .data         00000008  10010804  10010804  00000804  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 21 .got          00000014  1001080c  1001080c  0000080c  2**2
                  CONTENTS, ALLOC, LOAD, CODE
 22 .plt          00000084  10010820  10010820  00000820  2**2
                  ALLOC, CODE
 23 .bss          00000008  100108a4  100108a4  00000820  2**2
                  ALLOC
 24 .comment      00000027  00000000  00000000  00000820  2**0
                  CONTENTS, READONLY
 25 .debug_aranges 00000038  00000000  00000000  00000847  2**0
                  CONTENTS, READONLY, DEBUGGING
 26 .debug_info   000001d6  00000000  00000000  0000087f  2**0
                  CONTENTS, READONLY, DEBUGGING
 27 .debug_abbrev 0000014d  00000000  00000000  00000a55  2**0
                  CONTENTS, READONLY, DEBUGGING
 28 .debug_line   00000113  00000000  00000000  00000ba2  2**0
                  CONTENTS, READONLY, DEBUGGING
 29 .debug_frame  0000005c  00000000  00000000  00000cb8  2**2
                  CONTENTS, READONLY, DEBUGGING
 30 .debug_str    00000154  00000000  00000000  00000d14  2**0
                  CONTENTS, READONLY, DEBUGGING
 31 .debug_loc    000000cf  00000000  00000000  00000e68  2**0
                  CONTENTS, READONLY, DEBUGGING
SYMBOL TABLE:
10000134 l    d  .interp	00000000              .interp
10000144 l    d  .note.ABI-tag	00000000              .note.ABI-tag
10000164 l    d  .gnu.hash	00000000              .gnu.hash
10000184 l    d  .dynsym	00000000              .dynsym
100001f4 l    d  .dynstr	00000000              .dynstr
10000258 l    d  .gnu.version	00000000              .gnu.version
10000268 l    d  .gnu.version_r	00000000              .gnu.version_r
10000298 l    d  .rela.dyn	00000000              .rela.dyn
100002a4 l    d  .rela.plt	00000000              .rela.plt
100002e0 l    d  .init	00000000              .init
1000032c l    d  .text	00000000              .text
10000674 l    d  .fini	00000000              .fini
100006a4 l    d  .rodata	00000000              .rodata
100006e0 l    d  .eh_frame_hdr	00000000              .eh_frame_hdr
100006f4 l    d  .eh_frame	00000000              .eh_frame
10010720 l    d  .ctors	00000000              .ctors
10010728 l    d  .dtors	00000000              .dtors
10010730 l    d  .jcr	00000000              .jcr
10010734 l    d  .got2	00000000              .got2
1001073c l    d  .dynamic	00000000              .dynamic
10010804 l    d  .data	00000000              .data
1001080c l    d  .got	00000000              .got
10010820 l    d  .plt	00000000              .plt
100108a4 l    d  .bss	00000000              .bss
00000000 l    d  .comment	00000000              .comment
00000000 l    d  .debug_aranges	00000000              .debug_aranges
00000000 l    d  .debug_info	00000000              .debug_info
00000000 l    d  .debug_abbrev	00000000              .debug_abbrev
00000000 l    d  .debug_line	00000000              .debug_line
00000000 l    d  .debug_frame	00000000              .debug_frame
00000000 l    d  .debug_str	00000000              .debug_str
00000000 l    d  .debug_loc	00000000              .debug_loc
00000000 l    df *ABS*	00000000              init.c
00000000 l    df *ABS*	00000000              crtstuff.c
10010720 l     O .ctors	00000000              __CTOR_LIST__
10010728 l     O .dtors	00000000              __DTOR_LIST__
10010730 l     O .jcr	00000000              __JCR_LIST__
10000350 l     F .text	00000000              deregister_tm_clones
10000388 l     F .text	00000000              register_tm_clones
100003c4 l     F .text	00000000              __do_global_dtors_aux
100108a4 l     O .bss	00000001              completed.6650
100108a8 l     O .bss	00000004              dtor_idx.6652
10000470 l     F .text	00000000              call___do_global_dtors_aux
1000048c l     F .text	00000000              frame_dummy
100004d8 l     F .text	00000000              call_frame_dummy
00000000 l    df *ABS*	00000000              crtstuff.c
10010724 l     O .ctors	00000000              __CTOR_END__
1000071c l     O .eh_frame	00000000              __FRAME_END__
10010730 l     O .jcr	00000000              __JCR_END__
1000060c l     F .text	00000000              __do_global_ctors_aux
10000658 l     F .text	00000000              call___do_global_ctors_aux
00000000 l    df *ABS*	00000000              helloworld.c
00000000 l    df *ABS*	00000000              elf-init.c
10010720 l       .ctors	00000000              __init_array_end
1001073c l     O .dynamic	00000000              _DYNAMIC
10010720 l       .ctors	00000000              __init_array_start
10010814 l     O .got	00000000              _GLOBAL_OFFSET_TABLE_
10000608 g     F .text	00000004              __libc_csu_fini
00000000  w      *UND*	00000000              _ITM_deregisterTMCloneTable
10010804  w      .data	00000000              data_start
00000000       F *UND*	00000000              printf@@GLIBC_2.4
10010820 g       *ABS*	00000000              _edata
00000000       F *UND*	00000000              sleep@@GLIBC_2.0
10000674 g     F .fini	00000000              _fini
1001072c g     O .dtors	00000000              .hidden __DTOR_END__
10010804 g       .data	00000000              __data_start
00000000  w      *UND*	00000000              __gmon_start__
10010808 g     O .data	00000000              .hidden __dso_handle
100006b4 g     O .rodata	00000004              _IO_stdin_used
00000000       F *UND*	00000000              __libc_start_main@@GLIBC_2.0
10000554 g     F .text	000000b4              __libc_csu_init
10018820 g       .got	00000000              _SDA_BASE_
00000000       F *UND*	00000000              putchar@@GLIBC_2.0
100108ac g       *ABS*	00000000              _end
1000032c g     F .text	00000024              _start
10010820 g       *ABS*	00000000              __bss_start
100004f4 g     F .text	0000005c              main
00000000  w      *UND*	00000000              _Jv_RegisterClasses
1001080c g     O .data	00000000              .hidden __TMC_END__
00000000  w      *UND*	00000000              _ITM_registerTMCloneTable
100002e0 g     F .init	00000000              _init


Elvis Dowson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120804/3b5e5f4d/attachment.html>


More information about the yocto mailing list