[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stable-9.1.2 64/72] linux-user/arm: Reduce vdso alignment to 4k
From: |
Michael Tokarev |
Subject: |
[Stable-9.1.2 64/72] linux-user/arm: Reduce vdso alignment to 4k |
Date: |
Tue, 19 Nov 2024 09:04:05 +0300 |
From: Richard Henderson <richard.henderson@linaro.org>
Reduce vdso alignment to minimum page size.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit f7150b2151398c9274686d06c2c1e24618aa4cd6)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
diff --git a/linux-user/arm/Makefile.vdso b/linux-user/arm/Makefile.vdso
index 2d098a5748..8a24b0e534 100644
--- a/linux-user/arm/Makefile.vdso
+++ b/linux-user/arm/Makefile.vdso
@@ -6,7 +6,7 @@ VPATH += $(SUBDIR)
all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so
# Adding -use-blx disables unneeded interworking without actually using blx.
-LDFLAGS = -nostdlib -shared -Wl,-use-blx \
+LDFLAGS = -nostdlib -shared -Wl,-use-blx -Wl,-z,max-page-size=4096 \
-Wl,-h,linux-vdso.so.1 -Wl,--build-id=sha1 \
-Wl,--hash-style=both -Wl,-T,$(SUBDIR)/vdso.ld
diff --git a/linux-user/arm/vdso-be.so b/linux-user/arm/vdso-be.so
index 69cafbb956..bed02804a4 100755
Binary files a/linux-user/arm/vdso-be.so and b/linux-user/arm/vdso-be.so differ
diff --git a/linux-user/arm/vdso-le.so b/linux-user/arm/vdso-le.so
index ad05a12518..38d3d51047 100755
Binary files a/linux-user/arm/vdso-le.so and b/linux-user/arm/vdso-le.so differ
--
2.39.5
- [Stable-9.1.2 v2 00/72] Patch Round-up for stable 9.1.2, freeze on 2024-11-18, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 59/72] hw/i386/pc: Don't try to init PCI NICs if there is no PCI bus, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 58/72] target/i386: Fix legacy page table walk, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 60/72] linux-user: Fix setreuid and setregid to use direct syscalls, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 61/72] target/arm: Drop user-only special case in sve_stN_r, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 63/72] linux-user: Tolerate CONFIG_LSM_MMAP_MIN_ADDR, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 62/72] accel/tcg: Fix user-only probe_access_internal plugin check, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 65/72] linux-user/arm: Select vdso for be8 and be32 modes, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 66/72] tcg: Allow top bit of SIMD_DATA_BITS to be set in simd_desc(), Michael Tokarev, 2024/11/19
- [Stable-9.1.2 64/72] linux-user/arm: Reduce vdso alignment to 4k,
Michael Tokarev <=
- [Stable-9.1.2 67/72] target/i386: fix hang when using slow path for ptw_setl, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 68/72] vfio/container: Fix container object destruction, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 69/72] hw/misc/mos6522: Fix bad class definition of the MOS6522 device, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 70/72] Revert "hw/audio/hda: fix memory leak on audio setup", Michael Tokarev, 2024/11/19
- [Stable-9.1.2 71/72] hw/audio/hda: fix memory leak on audio setup, Michael Tokarev, 2024/11/19
- [Stable-9.1.2 72/72] usb-hub: Fix handling port power control messages, Michael Tokarev, 2024/11/19