diff --git a/buildflags.md b/buildflags.md index 0554f81..a78ecf6 100644 --- a/buildflags.md +++ b/buildflags.md @@ -654,7 +654,7 @@ to the compiler driver `gcc`, and not directly to the link editor * `-z pack-relative-relocs`: Use the portable `DT_RELR` scheme for relative relocations, resulting in reduced startup time compared to legacy architecture-specific relocations. (`-z pack-relative-relocs` - is currently disabled on aarch64 and s390x due to toolchain limitations.) + is currently disabled on s390x due to toolchain limitations.) * `-z defs`: Refuse to link shared objects (DSOs) with undefined symbols (optional, see above). diff --git a/macros b/macros index 4b2ca28..ef3df7e 100644 --- a/macros +++ b/macros @@ -380,7 +380,7 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end %_ld_as_needed 1 %_ld_as_needed_flags %{?_ld_as_needed:-Wl,--as-needed} -# aarch64 and s390x currently do not support packed relocations. +# s390x currently does not support packed relocations. %_ld_pack_relocs %[ "%{_arch}" == "x86_64" || "%{_arch}" == "i386" || "%{_arch}" == "ppc64le" || "%{_arch}" == "aarch64"] %_ld_pack_relocs_flags %[0%{?_ld_pack_relocs} ? "-Wl,-z,pack-relative-relocs" : ""]