android_kernel_samsung_msm8976/scripts
AKASHI Takahiro 5995a7fdcb ftrace: Add arm64 support to recordmcount
Recordmcount utility under scripts is run, after compiling each object,
to find out all the locations of calling _mcount() and put them into
specific seciton named __mcount_loc.
Then linker collects all such information into a table in the kernel image
(between __start_mcount_loc and __stop_mcount_loc) for later use by ftrace.

This patch adds arm64 specific definitions to identify such locations.
There are two types of implementation, C and Perl. On arm64, only C version
is used to build the kernel now that CONFIG_HAVE_C_RECORDMCOUNT is on.
But Perl version is also maintained.

This patch also contains a workaround just in case where a header file,
elf.h, on host machine doesn't have definitions of EM_AARCH64 nor
R_AARCH64_ABS64. Without them, compiling C version of recordmcount will
fail.

Change-Id: I2507f85dd5d9803102766320c12fede6ee338956
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Git-commit: af64d2aa872a174772ffc00e2558083f70193acb
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
2014-07-29 13:02:34 -07:00
..
basic
coccinelle
dtc
genksyms
kconfig
ksymoops
mod Merge upstream linux-stable v3.10.36 into msm-3.10 2014-04-23 16:23:49 -07:00
package deb-pkg: Fix cross-building linux-headers package 2014-03-31 09:58:13 -07:00
rt-tester
selinux
tracing
.gitignore
asn1_compiler.c
bin2c.c
bloat-o-meter
bootgraph.pl
build-all.py defconfig: arm64: add support for msm8994 defconfig 2014-05-05 14:00:13 -07:00
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck
config
conmakehash.c
decodecode
depmod.sh
diffconfig
docproc.c
export_report.pl
extract-ikconfig
extract-vmlinux
gcc-goto.sh
gcc-version.sh
gcc-wrapper.py scripts: gcc-wrapper: Allow warnings from google-common 2014-03-14 16:31:01 -07:00
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
get_maintainer.pl
gfp-translate
headerdep.pl
headers.sh
headers_check.pl
headers_install.sh kbuild: fix make headers_install when path is too long 2014-04-14 06:42:14 -07:00
kallsyms.c scripts/kallsyms: filter symbols not in kernel address space 2013-12-02 16:44:06 -05:00
Kbuild.include
kernel-doc
Lindent
link-vmlinux.sh scripts/kallsyms: filter symbols not in kernel address space 2013-12-02 16:44:06 -05:00
Makefile
Makefile.asm-generic
Makefile.build
Makefile.clean
Makefile.fwinst
Makefile.headersinst Merge upstream tag 'v3.10.40' into msm-3.10 2014-06-18 13:10:54 -07:00
Makefile.help
Makefile.host
Makefile.lib
Makefile.modbuiltin
Makefile.modinst
Makefile.modpost
Makefile.modsign
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.c ftrace: Add arm64 support to recordmcount 2014-07-29 13:02:34 -07:00
recordmcount.h
recordmcount.pl ftrace: Add arm64 support to recordmcount 2014-07-29 13:02:34 -07:00
setlocalversion
show_delta
sign-file
sortextable.c arm64: extable: sort the exception table at build time 2014-02-07 13:49:33 -08:00
sortextable.h
tags.sh
unifdef.c
ver_linux
xz_wrap.sh