public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: george@mvista.com
Cc: binutils@sources.redhat.com
Subject: Re: A question about debug symbols in asm (x86)
Date: Wed, 18 May 2005 09:01:00 -0000	[thread overview]
Message-ID: <428B017D.3050201@redhat.com> (raw)
In-Reply-To: <42837FC3.3030804@mvista.com>

Hi George,

> I hope this is the right list for this:

It is.


> Note the -gdwarf-2.  Running nm -l on the resultant entry.o shows lines 
> like:
> 
> 00000acc t common_interrupt    
> /usr/src/linux-2.6.12-rc/arch/i386/kernel/entry.S:441
> 
> This file is combined with a bunch of others thusly:
> 
>    /opt/montavista/pro/devkit/x86/pentium3/bin/pentium3-ld -m elf_i386  -R
> arch/i386/kernel/vsyscall-syms.o -r -o arch/i386/kernel/built-in.o
> arch/i386/kernel/process.o arch/i386/kernel/semaphore.o

> Running nm -l  built-in.o|grep entry.S gives:
> 
> 000024cd t ldt_ss    /usr/src/linux-2.6.12-rc/arch/i386/kernel/entry.S:300
> 00000000 a /usr/src/linux-2.6.12-rc/arch/i386/kernel/entry.S
> 
> I.e all most all the symbols have gone.  What is going on here?

This looks like a linker bug.

Can you create a small testcase which reproduces this problem and which 
you can post to this list ?

(I assume that you are running that latest version of the linker, ie 
version 2.16 or newer.  If not they please try upgrading first, to see 
if that resolves the problem).

Cheers
   Nick

  reply	other threads:[~2005-05-18  8:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 16:11 George Anzinger
2005-05-18  9:01 ` Nick Clifton [this message]
2005-06-02  5:26 nora pan
2005-07-05 11:15 ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=428B017D.3050201@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=george@mvista.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).