Package: binutils
Version: 2.18.1~cvs20080103-7
Severity: important

Hi all,

stef...@geppetto ~/s/S/C> cat hello.c
#include <stdio.h>

int main(void)
{
    printf("Hello world!\n");
    return 0;
}
stef...@geppetto ~/s/S/C> gcc -g -O0 hello.c -o hello
stef...@geppetto ~/s/S/C> objdump -g hello

hello:     file format elf32-i386

objdump: hello: no recognized debugging information
stef...@geppetto ~/s/S/C> readelf -s hello | head -n 10

Symbol table '.dynsym' contains 5 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 00000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     2: 00000000   441 FUNC    GLOBAL DEFAULT  UND __libc_start_m...@glibc_2.0 
(2)
     3: 00000000   460 FUNC    GLOBAL DEFAULT  UND p...@glibc_2.0 (2)
     4: 0804848c     4 OBJECT  GLOBAL DEFAULT   15 _IO_stdin_used

Symbol table '.symtab' contains 76 entries:

I googled and found other references to the problem, for example:
http://www.linuxquestions.org/questions/linux-newbie-8/objdump-doubt-673029/

Regards.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages binutils depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries

binutils recommends no packages.

-- no debconf information

-- 
He who renders warfare fatal to all engaged in it will be the greatest
benefactor the world has yet known.
                -- Sir Richard Burton



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to