sys-libs/glibc: use -mno-sdata, not -fcommon, bug #723268
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 16 May 2020 08:57:53 +0000 (09:57 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 16 May 2020 08:58:04 +0000 (09:58 +0100)
commit8ec720b67f38952a4b9c6054c6d8ef0fc79d0343
treeced54b6c8fa1582e14de3ad64e5d08a426e4feff
parent5251a016c8602321a96af48cee07d9df8e320f70
sys-libs/glibc: use -mno-sdata, not -fcommon, bug #723268

-fcommon generated PLT references and added double memory
dereference.

-mno-sdata is slightly more efficient as it still sees
globals to be module local varilables and uses GPREL64
(instead of PLT indirection) and uses single memory
dereference.

Bug: https://bugs.gentoo.org/723268
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-libs/glibc/glibc-2.30-r8.ebuild
sys-libs/glibc/glibc-2.31-r3.ebuild
sys-libs/glibc/glibc-9999.ebuild