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>
This commit is contained in:
Richard Henderson 2024-11-12 11:50:39 -08:00
parent dff406754e
commit f19ec28ddc
3 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,9 @@ VPATH += $(SUBDIR)
all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so
LDFLAGS = -nostdlib -shared -Wl,-h,linux-vdso.so.1 -Wl,--build-id=sha1 \ LDFLAGS = -nostdlib -shared -Wl,-h,linux-vdso.so.1 \
-Wl,--hash-style=both -Wl,-T,$(SUBDIR)/vdso.ld -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 $(SUBDIR)/vdso-be.so: vdso.S vdso.ld
$(CC) -o $@ $(LDFLAGS) -mbig-endian $< $(CC) -o $@ $(LDFLAGS) -mbig-endian $<

Binary file not shown.

Binary file not shown.