]> git.ipfire.org Git - thirdparty/glibc.git/commit
arm: Enable static-pie support (BZ 34098)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 24 Apr 2026 13:49:23 +0000 (10:49 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 11 May 2026 14:15:13 +0000 (11:15 -0300)
commitc2d6afb4a010a46e0fc73bb4619db9c3796a3077
tree94271e08a61cba18cf467027dde5d12c8fd5d71a
parentb28ffb926f34934a19c5e853504bdc8a8d57137f
arm: Enable static-pie support (BZ 34098)

It requires proper gcc support [1], and without proper compiler support
the arm configure disable static-pie support.

The start.S requires some adjustment to avoid loading main from
the GOT.

Checked on arm-linux-gnueabihf with and without the gcc patch applied.

[1] https://gcc.gnu.org/pipermail/gcc-patches/2022-July/598610.html

Reviewed-by: Yury Khrustalev <yury.khrustalev@arm.com>
Reviewed-by: Sam James <sam@gentoo.org>
NEWS
sysdeps/arm/configure
sysdeps/arm/configure.ac
sysdeps/arm/start.S