diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-11-12 11:51:22 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-11-16 08:42:25 -0800 |
commit | 399c8082ca0d410a84b8367a8569cee48f1440dd (patch) | |
tree | 38923ad680f17d11a9b2f9d0fd71fd80800476f9 /linux-user | |
parent | f7150b2151398c9274686d06c2c1e24618aa4cd6 (diff) |
linux-user/loongarch64: Reduce vdso alignment to 4k
Reduce vdso alignment to minimum page size.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/loongarch64/Makefile.vdso | 3 | ||||
-rwxr-xr-x | linux-user/loongarch64/vdso.so | bin | 3560 -> 3560 bytes |
2 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/loongarch64/Makefile.vdso b/linux-user/loongarch64/Makefile.vdso index 369de13344..1d760b1e47 100644 --- a/linux-user/loongarch64/Makefile.vdso +++ b/linux-user/loongarch64/Makefile.vdso @@ -8,4 +8,5 @@ all: $(SUBDIR)/vdso.so $(SUBDIR)/vdso.so: vdso.S vdso.ld vdso-asmoffset.h $(CC) -o $@ -nostdlib -shared -fpic -Wl,-h,linux-vdso.so.1 \ -Wl,--build-id=sha1 -Wl,--hash-style=both \ - -Wl,--no-warn-rwx-segments -Wl,-T,$(SUBDIR)/vdso.ld $< + -Wl,--no-warn-rwx-segments -Wl,-z,max-page-size=4096 \ + -Wl,-T,$(SUBDIR)/vdso.ld $< diff --git a/linux-user/loongarch64/vdso.so b/linux-user/loongarch64/vdso.so Binary files differindex bfaa26f2bf..7c2de6c50e 100755 --- a/linux-user/loongarch64/vdso.so +++ b/linux-user/loongarch64/vdso.so |