path: root/contrib
diff options
authorDenys Zagorui <dzagorui@cisco.com>2020-11-10 18:14:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-11 10:08:07 +0000
commit4dce4e01cfa153fb12cfd1684d36e0432bef6741 (patch)
tree5fe918725e48a9f7101999d08ff9c2a9c0ee1fb5 /contrib
parent2bcc643195a3b3c66d698fac8b7af037c08545ac (diff)
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. Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions