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:53:13 +0000 |
commit | cc4b464e31fec68b32592cc84344a9704eae8e02 (patch) | |
tree | de97ce7892f8d795ea913206b458d2a57a469e37 /meta/recipes-core/musl/musl_git.bb | |
parent | 7c2f9bf09c930da335aa88a201656df1e62f3bbd (diff) | |
download | openembedded-core-contrib-cc4b464e31fec68b32592cc84344a9704eae8e02.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>
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}" SRC_URI = "git://git.musl-libc.org/musl \ file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \ file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \ + file://0001-crt-Add-.file-directive.patch \ " S = "${WORKDIR}/git" |