summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils-2.35.inc
diff options
context:
space:
mode:
authorDenys Zagorui <dzagorui@cisco.com>2020-11-10 18:14:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-11 10:08:12 +0000
commit7b94fa5d961a4d4d8b927ae7b300436886052a06 (patch)
treee662a38afc14340e45f6580edb858e2789b06503 /meta/recipes-devtools/binutils/binutils-2.35.inc
parente8fd6bb2ecc8c43d338572011e67e9016922697c (diff)
downloadpoky-7b94fa5d961a4d4d8b927ae7b300436886052a06.tar.gz
binutils: reproducibility: reuse debug-prefix-map for stabs
powerpc 32bit Linux Kernel widely uses .stabs pseudo-op to produce debugging information in stabs format. Faced an issue that during Linux Kernel build with Yocto build system for 32bit powerpc platform resulting vmlinux contains absolute path in .stabstr section that cannot be remapped with -fdebug-prefix-map option. Yocto uses scripts/mkmakefile Linux Kernel build approach that allows to store all generated files outside of kernel source tree. With this approach each compilier invocation is performed with an absolute path to a file that will be compiled and this absolute path is recorded in init stab. There is no way to remap this path. Reuse remap_debug_filename api to make -fdebug-prefix-map flag aplicable for init stab. (From OE-Core rev: 4dce4e01cfa153fb12cfd1684d36e0432bef6741) Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.35.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.35.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.35.inc b/meta/recipes-devtools/binutils/binutils-2.35.inc
index 5ae9ec4226..bc9107b084 100644
--- a/meta/recipes-devtools/binutils/binutils-2.35.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.35.inc
@@ -41,5 +41,6 @@ SRC_URI = "\
41 file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ 41 file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
42 file://0015-sync-with-OE-libtool-changes.patch \ 42 file://0015-sync-with-OE-libtool-changes.patch \
43 file://0016-Check-for-clang-before-checking-gcc-version.patch \ 43 file://0016-Check-for-clang-before-checking-gcc-version.patch \
44 file://0017-gas-improve-reproducibility-for-stabs-debugging-data.patch \
44" 45"
45S = "${WORKDIR}/git" 46S = "${WORKDIR}/git"