A question about debug symbols in asm (x86)
Nick Clifton
nickc@redhat.com
Wed May 18 09:01:00 GMT 2005
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
More information about the Binutils
mailing list