bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: as/ld silently creates programs with undefined references/symbols


From: Russell King
Subject: Re: as/ld silently creates programs with undefined references/symbols
Date: Thu, 1 Jul 2004 19:50:56 +0100
User-agent: Mutt/1.2.5.1i

On Thu, Jul 01, 2004 at 06:30:13PM +0100, Nick Clifton wrote:
> This is the bug.  There is no reloc to fixup the add instruction so the 
> assembler should never have accepted the unresolved symbol.  Please 
> could you try the attached patch (made against the 2.14 sources) and let 
> me know how it behaves for you.  If it works I will update the mainline 
> sources and you can publish the patch on the ARM Linux web site.

Thanks, I'm just rebuilding binutils with this patch.

However, I'm still concerned that ld was able to successfully link to a
binary with --no-undefined, and the resulting binary still had undefined
symbols.

Could someone explain why --no-undefined didn't catch the problem?

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core




reply via email to

[Prev in Thread] Current Thread [Next in Thread]