diff options
author | Timon Kruiper <timonkruiper@gmail.com> | 2023-01-24 21:43:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-25 14:28:53 +0100 |
commit | 7eccacf4188d425193a695724ee446153dfbf50d (patch) | |
tree | c390b89563c3e934a3a5e6d17db50f6f6bda6f90 /Toolchain | |
parent | 5aaa39e64efb10afae4c3be63ad161c8decd63ac (diff) | |
download | serenity-7eccacf4188d425193a695724ee446153dfbf50d.zip |
Toolchain: Ensure aarch64 libgcc_s.so.1 includes DT_SONAME tag
Without this tag, executables that link libgcc_s.so.1, which is every
executable, end up with the host path to libgcc_s.so.1 as the path for
the dynamic dependency (DT_NEEDED) of the executable. By making sure
that the libgcc_s.so.1 shared object includes the DT_SONAME tag, the
path to libgcc_s.so.1 dynamic dependency will only contain the basename,
instead of the absolute host path.
Diffstat (limited to 'Toolchain')
-rw-r--r-- | Toolchain/Patches/gcc/0003-libgcc-Build-for-SerenityOS.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Toolchain/Patches/gcc/0003-libgcc-Build-for-SerenityOS.patch b/Toolchain/Patches/gcc/0003-libgcc-Build-for-SerenityOS.patch index 4746652374..f4ee4062d6 100644 --- a/Toolchain/Patches/gcc/0003-libgcc-Build-for-SerenityOS.patch +++ b/Toolchain/Patches/gcc/0003-libgcc-Build-for-SerenityOS.patch @@ -53,7 +53,7 @@ index 8c56fcae5d2fdfcc8d1f9b2614f0c41ad44f258f..f5855cfa66d7950c3d7565ad938b4e47 + extra_parts="$extra_parts crti.o crtbegin.o crtend.o crtn.o" + extra_parts="$extra_parts crtfastmath.o" + tmake_file="$tmake_file ${cpu_type}/t-aarch64" -+ tmake_file="$tmake_file ${cpu_type}/t-lse t-slibgcc t-slibgcc-libgcc" ++ tmake_file="$tmake_file ${cpu_type}/t-lse t-slibgcc t-slibgcc-libgcc t-slibgcc-gld-nover" + tmake_file="$tmake_file ${cpu_type}/t-softfp t-softfp t-crtfm" + md_unwind_header=aarch64/aarch64-unwind.h + ;; |