diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-10-29 22:47:03 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-31 08:54:12 +0000 |
commit | 4bbb748e08778d9b11d21ade233ce9cdfb56ee44 (patch) | |
tree | 7d6390d74b0b45f08bea0913c416940a7c266c50 /meta/recipes-core/musl/musl_git.bb | |
parent | b375af7af8915d172c029a80dd2c2dd9a118141b (diff) | |
download | poky-4bbb748e08778d9b11d21ade233ce9cdfb56ee44.tar.gz |
musl: Add .file directive in crt assembly files
This helps linker to noot emit absolute paths into .debug_line sections
of liked binaries and libraries and therefore make them reproducible
Reported-by: Andrei Gherzan <andrei@gherzan.ro>
(From OE-Core rev: cc4b464e31fec68b32592cc84344a9704eae8e02)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/musl/musl_git.bb')
-rw-r--r-- | meta/recipes-core/musl/musl_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 897e56e10f..504fdfe019 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb | |||
@@ -15,6 +15,7 @@ PV = "${BASEVER}+git${SRCPV}" | |||
15 | SRC_URI = "git://git.musl-libc.org/musl \ | 15 | SRC_URI = "git://git.musl-libc.org/musl \ |
16 | file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \ | 16 | file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \ |
17 | file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \ | 17 | file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \ |
18 | file://0001-crt-Add-.file-directive.patch \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |