diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-11-12 11:50:39 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-11-16 08:42:25 -0800 |
commit | f19ec28ddc383143573e828d34f190cdda7e9669 (patch) | |
tree | 25d1afddc6503c124ee8a87a6ef60ffd277a098c /linux-user | |
parent | dff406754efdb13f401e2b39f869541286903619 (diff) | |
download | qemu-f19ec28ddc383143573e828d34f190cdda7e9669.zip qemu-f19ec28ddc383143573e828d34f190cdda7e9669.tar.gz qemu-f19ec28ddc383143573e828d34f190cdda7e9669.tar.bz2 |
linux-user/aarch64: 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/aarch64/Makefile.vdso | 5 | ||||
-rwxr-xr-x | linux-user/aarch64/vdso-be.so | bin | 3224 -> 3224 bytes | |||
-rwxr-xr-x | linux-user/aarch64/vdso-le.so | bin | 3224 -> 3224 bytes |
3 files changed, 3 insertions, 2 deletions
diff --git a/linux-user/aarch64/Makefile.vdso b/linux-user/aarch64/Makefile.vdso index 5999581..c33a679 100644 --- a/linux-user/aarch64/Makefile.vdso +++ b/linux-user/aarch64/Makefile.vdso @@ -5,8 +5,9 @@ VPATH += $(SUBDIR) all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so -LDFLAGS = -nostdlib -shared -Wl,-h,linux-vdso.so.1 -Wl,--build-id=sha1 \ - -Wl,--hash-style=both -Wl,-T,$(SUBDIR)/vdso.ld +LDFLAGS = -nostdlib -shared -Wl,-h,linux-vdso.so.1 \ + -Wl,--build-id=sha1 -Wl,--hash-style=both \ + -Wl,-z,max-page-size=4096 -Wl,-T,$(SUBDIR)/vdso.ld $(SUBDIR)/vdso-be.so: vdso.S vdso.ld $(CC) -o $@ $(LDFLAGS) -mbig-endian $< diff --git a/linux-user/aarch64/vdso-be.so b/linux-user/aarch64/vdso-be.so Binary files differindex 808206a..d43c3b1 100755 --- a/linux-user/aarch64/vdso-be.so +++ b/linux-user/aarch64/vdso-be.so diff --git a/linux-user/aarch64/vdso-le.so b/linux-user/aarch64/vdso-le.so Binary files differindex 941aaf2..aaedc9d 100755 --- a/linux-user/aarch64/vdso-le.so +++ b/linux-user/aarch64/vdso-le.so |