summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@geanix.com>2018-11-06 11:04:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-09 15:27:34 +0000
commit7373dc71b69519045918c05d8329f7ea972a424d (patch)
tree0530d05b90155a22e33de0e47f9b82d0a989ce90 /meta
parentf4de5d85b8929d56136fce1d6cb9b9b51e8172b4 (diff)
downloadpoky-7373dc71b69519045918c05d8329f7ea972a424d.tar.gz
glibc: make ld-2.28.so reproducible on arm
Play the whack-a-mole game and add the .file directive to another assembly file that otherwise shows itself in ld-2.28.so debug file, which in turns alters the build-id of ld-2.28.so on target. (From OE-Core rev: 4cbf901b3a127ed039371e614946002d26d56997) Signed-off-by: Martin Hundebøll <martin@geanix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/glibc/glibc/0034-inject-file-assembly-directives.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0034-inject-file-assembly-directives.patch b/meta/recipes-core/glibc/glibc/0034-inject-file-assembly-directives.patch
index 3f9f8cf189..55eba2d43e 100644
--- a/meta/recipes-core/glibc/glibc/0034-inject-file-assembly-directives.patch
+++ b/meta/recipes-core/glibc/glibc/0034-inject-file-assembly-directives.patch
@@ -257,3 +257,16 @@ index 244d87fb6d..14d3e2ce14 100644
257 /* Initial entry point code for the dynamic linker. 257 /* Initial entry point code for the dynamic linker.
258 The C function `_dl_start' is the real entry point; 258 The C function `_dl_start' is the real entry point;
259 its return value is the user program's entry point. */ 259 its return value is the user program's entry point. */
260diff --git a/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S b/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
261index d26ad1f8d3..a0de10bf81 100644
262--- a/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
263+++ b/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
264@@ -27,6 +27,8 @@
265 ARM unwind tables for register to register moves, the actual opcodes
266 are not defined. */
267
268+ .file "libc-do-syscall.S"
269+
270 #if defined(__thumb__)
271 .thumb
272 .syntax unified