about summary refs log tree commit diff
path: root/locale/uselocale.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-12-31 18:17:40 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-12-31 18:22:46 +0100
commit8c0727af63198661c0ae3641a9d66609021754a7 (patch)
treed083dd8ed37aa5eab36aebaf64447fd381ab4a1f /locale/uselocale.c
parent1f17da01e64efba97c0d39e2b3d01c8034b6db5a (diff)
downloadglibc-8c0727af63198661c0ae3641a9d66609021754a7.tar.gz
glibc-8c0727af63198661c0ae3641a9d66609021754a7.tar.xz
glibc-8c0727af63198661c0ae3641a9d66609021754a7.zip
hurd: Avoid overzealous shared objects constraints
407765e9f24f ("hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value") switched
ELF_MACHINE_USER_ADDRESS_MASK from 0xf8000000UL to 0xf0000000UL to let
libraries etc. get loaded at 0x08000000. But
ELF_MACHINE_USER_ADDRESS_MASK is actually only meaningful for the main
program anyway, so keep it at 0xf8000000UL to prevent the program loader
from putting ld.so beyond 0x08000000. And conversely, drop the use of
ELF_MACHINE_USER_ADDRESS_MASK for shared objects, which don't need any
constraints since the program will have already be loaded by then.
Diffstat (limited to 'locale/uselocale.c')
0 files changed, 0 insertions, 0 deletions