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 20:09:49 +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.

Nick, thanks - this patch solves the assembler problem.  It correctly
issues an error thusly:

t.s: Assembler messages:
t.s:3: Error: undefined symbol UNDEFINED_SYMBOL used as an immediate value

-- 
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]