]> Git Repo - linux.git/commit
remove support for un-needed _extratext section
authorRobin Getz <[email protected]>
Wed, 6 Feb 2008 09:36:26 +0000 (01:36 -0800)
committerLinus Torvalds <[email protected]>
Wed, 6 Feb 2008 18:41:01 +0000 (10:41 -0800)
commita3b81113fb6658629f4ebaabf8dd3067cd341020
treec6823e84d410f18b110ce07726643d7dc841553d
parent0a5dcb51770be3cd0202d6b90a07996fb40130b6
remove support for un-needed _extratext section

When passing a zero address to kallsyms_lookup(), the kernel thought it was
a valid kernel address, even if it is not.  This is because is_ksym_addr()
called is_kernel_extratext() and checked against labels that don't exist on
many archs (which default as zero).  Since PPC was the only kernel which
defines _extra_text, (in 2005), and no longer needs it, this patch removes
_extra_text support.

For some history (provided by Jon):
 http://ozlabs.org/pipermail/linuxppc-dev/2005-September/019734.html
 http://ozlabs.org/pipermail/linuxppc-dev/2005-September/019736.html
 http://ozlabs.org/pipermail/linuxppc-dev/2005-September/019751.html

[[email protected]: coding-style fixes]
Signed-off-by: Robin Getz <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Jon Loeliger <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/ppc/kernel/vmlinux.lds.S
include/asm-generic/sections.h
kernel/kallsyms.c
scripts/kallsyms.c
This page took 0.055579 seconds and 4 git commands to generate.