Steven Rostedt
f2f8458e75
ftrace: objcopy version test for local symbols
...
The --globalize-symbols option came out in objcopy version 2.17.
If the kernel is being compiled on a system with a lower version of
objcopy, then we can not use the globalize / localize trick to
link to symbols pointing to local functions.
This patch tests the version of objcopy and will only use the trick
if the version is greater than or equal to 2.17. Otherwise, if an
object has only local functions within a section, it will give a
nice warning and recommend the user to upgrade their objcopy.
Leaving the symbols unrecorded is not that big of a deal, since the
mcount record method changes the actual mcount code to be a simple
"ret" without recording registers or anything.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-14 10:36:12 +02:00
..
basic
kernel-doc: new P directive for DOC: sections
2008-01-28 23:14:35 +01:00
genksyms
kbuild: genksyms: Include extern information in dumps
2008-07-31 23:01:31 +02:00
kconfig
kconfig: readd lost change count
2008-09-29 08:03:01 -07:00
ksymoops
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
mod
Marker depmod fix core kernel list
2008-10-06 16:34:19 -07:00
package
Kbuild: Fix deb-pkg target to work with kernel versions ending with -<text-without-digit>
2008-02-09 10:51:47 +01:00
rt-tester
[PATCH] rtmutex: Modify rtmutex-tester to test the setscheduler propagation
2006-06-27 17:32:47 -07:00
selinux
SELinux: add gitignore file for mdp script
2008-09-05 21:43:38 +10:00
.gitignore
Add binoffset to gitignore
2008-02-09 10:43:58 +01:00
bin2c.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
binoffset.c
update the email address of Randy Dunlap
2006-01-03 13:37:51 +01:00
bloat-o-meter
fix bloat-o-meter for ppc64
2007-12-17 19:28:17 -08:00
checkincludes.pl
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
checkkconfigsymbols.sh
kbuild: script to check for undefined Kconfig symbols
2007-10-12 21:13:50 +02:00
checkpatch.pl
checkpatch: version 0.21
2008-07-24 10:47:27 -07:00
checkstack.pl
[S390] Fix checkstack for s390
2008-10-10 21:34:03 +02:00
checksyscalls.sh
i386/x86_64: move headers to include/asm-x86
2007-10-11 11:20:03 +02:00
checkversion.pl
kbuild: introduce utsrelease.h
2006-07-03 23:30:54 +02:00
cleanfile
scripts: Make cleanfile/cleanpatch warn about long lines
2007-07-16 21:15:50 +02:00
cleanpatch
scripts: Make cleanfile/cleanpatch warn about long lines
2007-07-16 21:15:50 +02:00
conmakehash.c
[PATCH] kbuild: signed char fixes for scripts
2005-07-27 22:27:08 +02:00
decodecode
Mark 'scripts/decodecode' executable
2008-05-30 14:02:21 -07:00
diffconfig
kconfig: add diffconfig utility
2008-07-25 22:12:41 +02:00
export_report.pl
kbuild: fix perl usage in export_report.pl
2007-10-12 21:13:50 +02:00
extract-ikconfig
[PATCH] extract-ikconfig: don't use --long-options
2006-03-24 07:33:21 -08:00
gcc-version.sh
kbuild: fix buglet in gcc-version.sh
2008-01-28 23:14:36 +01:00
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
kbuild: fix unportability in gen_initramfs_list.sh
2008-04-28 22:50:51 +02:00
headers.sh
kbuild: prepare headers_* for arch/$ARCH/include
2008-07-25 22:12:33 +02:00
headers_check.pl
kbuild: optimize headers_* targets
2008-07-25 22:12:16 +02:00
headers_install.pl
kbuild: install all headers when arch is changed
2008-07-25 22:12:18 +02:00
kallsyms.c
kbuild: filter away debug symbols from kernel symbols
2008-05-19 20:07:58 +02:00
Kbuild.include
kbuild: fix cc-option and cc-option-yn
2008-09-09 11:52:33 -07:00
kernel-doc
kernel-doc: allow structs whose members are all private
2008-09-23 08:09:13 -07:00
Lindent
scripts/Lindent: support gnu indent v2.2.10
2008-04-29 08:06:04 -07:00
Makefile
selinux: add support for installing a dummy policy (v2)
2008-08-27 08:54:08 +10:00
Makefile.build
ftrace: fix build problem with CONFIG_FTRACE
2008-10-14 10:35:53 +02:00
Makefile.clean
kbuild: fix some minor typoes
2008-04-25 20:18:48 +02:00
Makefile.fwinst
firmware: silence __fw_modbuild and __fw_modinst 'Nothing to be done' messages
2008-08-02 07:52:29 +01:00
Makefile.headersinst
kbuild: install all headers when arch is changed
2008-07-25 22:12:18 +02:00
Makefile.host
kbuild: fix some minor typoes
2008-04-25 20:18:48 +02:00
Makefile.lib
kbuild: create new CFLAGS_REMOVE_(basename).o option
2008-05-23 22:43:33 +02:00
Makefile.modinst
kbuild: fix installing external modules
2008-01-28 23:14:36 +01:00
Makefile.modpost
markers: fix duplicate modpost entry
2008-07-22 09:59:41 -07:00
makelst
kbuild: introduce ccflags-y, asflags-y and ldflags-y
2007-10-15 22:25:06 +02:00
mkcompile_h
kbuild: override build timestamp & version
2007-05-02 20:58:09 +02:00
mkmakefile
kbuild: scripts/mkmakefile: dynamic determination of output directory
2008-01-28 23:14:38 +01:00
mksysmap
kbuild: filter away debug symbols from kernel symbols
2008-05-19 20:07:58 +02:00
mkuboot.sh
kbuild/mkuboot.sh: allow spaces in CROSS_COMPILE
2007-05-02 20:58:10 +02:00
mkversion
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
namespace.pl
x86: fixup the x86 namespace change in scripts/namespace.pl
2007-10-11 17:56:02 +02:00
patch-kernel
bugfix for scripts/patch-kernel in 2.6 sublevel stepping
2008-08-06 22:11:33 +02:00
pnmtologo.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
profile2linkerlist.pl
[PATCH] x86_64: Basic reorder infrastructure
2006-03-25 09:10:56 -08:00
recordmcount.pl
ftrace: objcopy version test for local symbols
2008-10-14 10:36:12 +02:00
setlocalversion
setlocalversion: do not describe if there is nothing to describe
2008-07-25 22:12:53 +02:00
show_delta
kbuild: fix mode of checkstack.pl and other files.
2006-04-11 13:37:07 +02:00
unifdef.c
kbuild: replace use of strlcpy with a dedicated implmentation in unifdef
2006-09-25 09:00:00 +02:00
ver_linux
kbuild: scripts/ver_linux: don't set PATH
2008-07-31 23:36:54 +02:00