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 kbuild: fixdep: support concatenated dep files 2013-04-05 12:22:58 -06:00
coccinelle Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2013-02-27 12:27:18 -08:00
dtc dtc: ensure #line directives don't consume data from the next line 2013-06-13 22:12:15 +01:00
genksyms genksyms: pass symbol-prefix instead of arch 2013-03-20 11:27:27 +10:30
kconfig kconfig: Fix defconfig when one choice menu selects options that another choice menu depends on 2013-07-01 15:52:05 -07:00
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 checkpatch: change CamelCase test and make it --strict 2013-10-08 11:25:22 -07:00
checkstack.pl scripts/checkstack.pl: Add metag support 2013-03-02 20:09:55 +00:00
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck Coccinelle: Fix patch output when coccicheck is used with M= and C= 2013-04-08 15:42:03 +02:00
config scripts/config: fix assignment of parameters for short version of --*-after options 2013-05-20 14:15:17 +02:00
conmakehash.c
decodecode scripts/decodecode: make faulting insn ptr more robust 2013-04-29 15:54:27 -07:00
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 get_maintainer: use filename-only regex match for Tegra 2013-04-29 18:28:14 -07:00
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 kbuild: fix ld-option function 2013-04-08 11:47:41 +02:00
kernel-doc scripts/kernel-doc: handle struct member __aligned without numbers 2013-02-27 19:10:09 -08:00
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 genksyms: pass symbol-prefix instead of arch 2013-03-20 11:27:27 +10:30
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 ARM: convert build of appended dtb zImage to list of dtbs 2013-07-01 14:16:24 -07:00
Makefile.modbuiltin
Makefile.modinst
Makefile.modpost modpost: Make section mismatches an error 2013-07-08 05:52:17 -07:00
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 setlocalversion: Include post Linus git tags in LOCALVERSION_AUTO 2013-07-08 05:52:17 -07:00
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 scripts/tags.sh: Add magic for OFFSET and DEFINE 2013-03-27 14:22:03 +01:00
unifdef.c
ver_linux
xz_wrap.sh