linux/scripts
David Brownell da68d61f89 [PATCH] remove modpost false warnings on ARM
This patch stops "modpost" from issuing erroneous modpost warnings on ARM
builds, which it's been doing since since maybe last summer.  A canonical
example would be driver method table entries:

  WARNING: <path> - Section mismatch: reference to .exit.text:<name>_remove
	from .data after '$d' (at offset 0x4)

That "$d" symbol is generated by tools conformant with ARM ABI specs; in
this case it's a symbol **in the middle of** a "<name>_driver" struct.

The erroneous warnings appear to be issued because "modpost" whitelists
references from "<name>_driver" data into init and exit sections ...  but
doesn't know should also include those "$d" mapping symbols, which are not
otherwise associated with "<name>_driver" symbols.

This patch prevents the modpost symbol lookup code from ever returning
those mapping symbols, so it will return a whitelisted symbol instead.
Then things work as expected.

Now to revert various code-bloating "fixes" that got merged because of this
modpost bug....

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Roman Zippel <zippel@linux-m68k.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-20 17:10:16 -08:00
..
basic [PATCH] update some docbook comments 2006-11-03 12:27:56 -08:00
genksyms
kconfig [PATCH] qconf: hide empty list items 2007-02-14 08:09:52 -08:00
ksymoops
mod [PATCH] remove modpost false warnings on ARM 2007-02-20 17:10:16 -08:00
package kbuild: fix "mkdir -p" usage in scripts/package/mkspec 2006-09-25 10:55:44 +02:00
rt-tester
.gitignore [PATCH] Add unifdef to gitignore 2006-10-02 19:46:55 -07:00
bin2c.c
binoffset.c
bloat-o-meter
checkincludes.pl
checkstack.pl [POWERPC] make checkstack work with ARCH=powerpc 2006-08-25 13:30:27 +10:00
checkversion.pl
conmakehash.c
export_report.pl
extract-ikconfig
gcc-version.sh
gcc-x86_64-has-stack-protector.sh [PATCH] Add the -fstack-protector option to the CFLAGS 2006-09-26 10:52:39 +02:00
gen_initramfs_list.sh [PATCH] kbuild scripts: replace gawk, head, bc with shell, update 2007-02-06 14:30:49 -08:00
hdrcheck.sh Use dependencies for 'make headers_install'. 2006-09-24 22:15:14 +01:00
kallsyms.c [PATCH] move kallsyms data to .rodata 2006-12-08 08:28:37 -08:00
Kbuild.include [PATCH] kbuild: more Makefile cleanups 2007-02-09 10:12:20 -08:00
kernel-doc [PATCH] kernel-doc: include struct short description in title output 2007-02-20 17:10:14 -08:00
Lindent
Makefile [PATCH] allow /proc/config.gz to be built as a module 2006-10-01 00:39:20 -07:00
Makefile.build kbuild: consistently decide when to rebuild a target 2006-09-25 09:00:00 +02:00
Makefile.clean
Makefile.headersinst [PATCH] translate dashes in filenames for headers install 2007-01-30 16:01:35 -08:00
Makefile.host kbuild: remove debug left-over from Makefile.host 2006-09-25 09:05:19 +02:00
Makefile.lib
Makefile.modinst
Makefile.modpost [PATCH] kbuild: allow multi-word $M in Makefile.modpost 2006-10-17 08:18:48 -07:00
makelst [PATCH] kbuild scripts: replace gawk, head, bc with shell, update 2007-02-06 14:30:49 -08:00
mkcompile_h [PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v 2007-02-14 08:09:51 -08:00
mkmakefile
mksysmap
mkuboot.sh [PATCH] search a little harder for mkimage 2007-02-14 08:09:51 -08:00
mkversion
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
setlocalversion
show_delta
unifdef.c kbuild: replace use of strlcpy with a dedicated implmentation in unifdef 2006-09-25 09:00:00 +02:00
ver_linux [PATCH] ver_linux additions 2006-12-07 08:39:38 -08:00