diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-11-12 11:51:00 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-11-16 08:42:25 -0800 |
commit | f7150b2151398c9274686d06c2c1e24618aa4cd6 (patch) | |
tree | 84305f976bc94cbadb2c4969d92e730c013cb424 | |
parent | f19ec28ddc383143573e828d34f190cdda7e9669 (diff) |
linux-user/arm: 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>
-rw-r--r-- | linux-user/arm/Makefile.vdso | 2 | ||||
-rwxr-xr-x | linux-user/arm/vdso-be.so | bin | 2648 -> 2648 bytes | |||
-rwxr-xr-x | linux-user/arm/vdso-le.so | bin | 2648 -> 2648 bytes |
3 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/arm/Makefile.vdso b/linux-user/arm/Makefile.vdso index 2d098a5748..8a24b0e534 100644 --- a/linux-user/arm/Makefile.vdso +++ b/linux-user/arm/Makefile.vdso @@ -6,7 +6,7 @@ VPATH += $(SUBDIR) all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so # Adding -use-blx disables unneeded interworking without actually using blx. -LDFLAGS = -nostdlib -shared -Wl,-use-blx \ +LDFLAGS = -nostdlib -shared -Wl,-use-blx -Wl,-z,max-page-size=4096 \ -Wl,-h,linux-vdso.so.1 -Wl,--build-id=sha1 \ -Wl,--hash-style=both -Wl,-T,$(SUBDIR)/vdso.ld diff --git a/linux-user/arm/vdso-be.so b/linux-user/arm/vdso-be.so Binary files differindex 69cafbb956..bed02804a4 100755 --- a/linux-user/arm/vdso-be.so +++ b/linux-user/arm/vdso-be.so diff --git a/linux-user/arm/vdso-le.so b/linux-user/arm/vdso-le.so Binary files differindex ad05a12518..38d3d51047 100755 --- a/linux-user/arm/vdso-le.so +++ b/linux-user/arm/vdso-le.so |