linux-user/ppc: 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
399c8082ca
commit
180692a1a1
@ -6,9 +6,11 @@ VPATH += $(SUBDIR)
|
||||
all: $(SUBDIR)/vdso-32.so $(SUBDIR)/vdso-64.so $(SUBDIR)/vdso-64le.so
|
||||
|
||||
LDFLAGS32 = -nostdlib -shared -Wl,-T,$(SUBDIR)/vdso-32.ld \
|
||||
-Wl,-h,linux-vdso32.so.1 -Wl,--hash-style=both -Wl,--build-id=sha1
|
||||
-Wl,-h,linux-vdso32.so.1 -Wl,--hash-style=both \
|
||||
-Wl,--build-id=sha1 -Wl,-z,max-page-size=4096
|
||||
LDFLAGS64 = -nostdlib -shared -Wl,-T,$(SUBDIR)/vdso-64.ld \
|
||||
-Wl,-h,linux-vdso64.so.1 -Wl,--hash-style=both -Wl,--build-id=sha1
|
||||
-Wl,-h,linux-vdso64.so.1 -Wl,--hash-style=both \
|
||||
-Wl,--build-id=sha1 -Wl,-z,max-page-size=4096
|
||||
|
||||
$(SUBDIR)/vdso-32.so: vdso.S vdso-32.ld vdso-asmoffset.h
|
||||
$(CC) -o $@ $(LDFLAGS32) -m32 $<
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user