]> git.hungrycats.org Git - linux/commit
[ARM] Add --no-undefined to linker command line.
authorRussell King <rmk@flint.arm.linux.org.uk>
Fri, 16 Apr 2004 16:27:18 +0000 (17:27 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Fri, 16 Apr 2004 16:27:18 +0000 (17:27 +0100)
commiteecf6c1b4c441f2b641da3bbd65484dfcb3e021a
treed69bcfdef894a624cae53187358ff0d20f523823
parent162ed0824be3d5e3662b0d4f19e4239920b49f72
[ARM] Add --no-undefined to linker command line.

Many binutils versions over the last year appear to silently build
assembler files with undefined constants, and able to successfully
create executables from such files.  The assembler appears to add
undefined symbols to the symbol table without any corresponding
relocation information.  Obviously this is bad news since the
resulting executable may not be what the programmer intended.
Work around the problem by forcing the linker to fail if there are
any undefined symbols in the final object(s).
arch/arm/Makefile
arch/arm/boot/compressed/Makefile