summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils-2.34.inc
diff options
context:
space:
mode:
authorDenys Zagorui <dzagorui@cisco.com>2020-11-11 11:03:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-20 10:44:34 +0000
commita48175131ea54ba54d74857d90335db689b93fc7 (patch)
treeb76987c57e54e3467dd198f2a387bd55705d47cd /meta/recipes-devtools/binutils/binutils-2.34.inc
parent8148892fee15751e54bcdde0c2972748cd980d76 (diff)
downloadpoky-a48175131ea54ba54d74857d90335db689b93fc7.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: b90799fd0f38cd013bebadbe5b9c50b4f93e84af) Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.34.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.34.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.34.inc b/meta/recipes-devtools/binutils/binutils-2.34.inc
index f65fdb7328..b5f5a1c69a 100644
--- a/meta/recipes-devtools/binutils/binutils-2.34.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.34.inc
@@ -43,5 +43,6 @@ SRC_URI = "\
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-binutils-drop-redundant-program_name-definition-fno-.patch \ 44 file://0017-binutils-drop-redundant-program_name-definition-fno-.patch \
45 file://CVE-2020-0551.patch \ 45 file://CVE-2020-0551.patch \
46 file://0001-gas-improve-reproducibility-for-stabs-debugging-data.patch \
46" 47"
47S = "${WORKDIR}/git" 48S = "${WORKDIR}/git"