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>
This commit is contained in:
parent
f7150b2151
commit
399c8082ca
@ -8,4 +8,5 @@ all: $(SUBDIR)/vdso.so
|
|||||||
$(SUBDIR)/vdso.so: vdso.S vdso.ld vdso-asmoffset.h
|
$(SUBDIR)/vdso.so: vdso.S vdso.ld vdso-asmoffset.h
|
||||||
$(CC) -o $@ -nostdlib -shared -fpic -Wl,-h,linux-vdso.so.1 \
|
$(CC) -o $@ -nostdlib -shared -fpic -Wl,-h,linux-vdso.so.1 \
|
||||||
-Wl,--build-id=sha1 -Wl,--hash-style=both \
|
-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 $<
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user