armhf-64k-alignment
authorMatthias Klose <doko@debian.org>
Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)
committerMatthias Klose <doko@debian.org>
Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)
commit3519cd353ac68cbfe0d9a92846b8446b55129f40
tree03df1fe26039bd775f8c5c0d9a8aec8606c55a98
parent666933dfd68e568fa6c8ad6de6362bcb4e8d0358
armhf-64k-alignment

The upstream binutils commit below reduced the section alignment of
armhf executables (including shared libraries) from 64k to 4k, on the
basis that the additional bloat is not justified, given that arm64 hosts
running 64k pagesize kernels with armhf user space are not used in
practice.

However, the situation is slightly different today on Debian, where a
16k pagesize kernel is provided that enables compat support, and is
therefore able to execute armhf user space. The only impediment is the
fact that armhf binaries are no longer compatible with this, due to the
change below.

To accommodate this use case, revert the patch. This makes the generated
executables compatible with compat mode on arm64 systems running 16k
kernels.

Gbp-Pq: Name armhf-64k-alignment.diff
bfd/elf32-arm.c