ARM undefined symbols. Again.

Russell King
2005-01-24T15:43:33Z

Sam,

Where did the hacks go which detect the silent failure of the ARM binutils?

I'm asking because I've just spent all of today trying to work out why
the hell code isn't working, only to find that it's all down to the
toolchain problem not being detected by kbuild. IOW, the code sequence:

mov r0, #CR1A_SMPE

where CR1A_SMPE is undefined, assembles to:

c001224c: e3a00000 mov r0, #0 ; 0x0

without any warnings or errors, and links a successful kernel, leaving
this in System.map:

U CR1A_SMPE

I absolutely must have the kernel build system detecting this binutils
problem when it occurs.

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