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:
parent
dff406754e
commit
f19ec28ddc
@ -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.
Loading…
Reference in New Issue
Block a user