diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-13 18:04:49 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-10 09:18:15 -0300 |
commit | 144761540a1e40b85997d195d9a226a500531dc9 (patch) | |
tree | 411791f3a2c8c5f7d838aa6e043d141e97f0523d /sysdeps | |
parent | d7703d3176d225d5743b21811d888619eba39e82 (diff) | |
download | glibc-144761540a1e40b85997d195d9a226a500531dc9.tar glibc-144761540a1e40b85997d195d9a226a500531dc9.tar.gz glibc-144761540a1e40b85997d195d9a226a500531dc9.tar.bz2 glibc-144761540a1e40b85997d195d9a226a500531dc9.zip |
elf: Remove LD_USE_LOAD_BIAS
It is solely for prelink with PIE executables [1].
[1] https://sourceware.org/legacy-ml/libc-hacker/2003-11/msg00127.html
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 5 | ||||
-rw-r--r-- | sysdeps/generic/unsecvars.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index d1c6cd902b..9878e7e87e 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -628,11 +628,6 @@ struct rtld_global_ro /* Location of the binary. */ EXTERN const char *_dl_origin_path; - /* -1 if the dynamic linker should honor library load bias, - 0 if not, -2 use the default (honor biases for normal - binaries, don't honor for PIEs). */ - EXTERN ElfW(Addr) _dl_use_load_bias; - /* Size of the static TLS block. */ EXTERN size_t _dl_tls_static_size; diff --git a/sysdeps/generic/unsecvars.h b/sysdeps/generic/unsecvars.h index 5ea8a4a259..b50331b50f 100644 --- a/sysdeps/generic/unsecvars.h +++ b/sysdeps/generic/unsecvars.h @@ -22,7 +22,6 @@ "LD_PRELOAD\0" \ "LD_PROFILE\0" \ "LD_SHOW_AUXV\0" \ - "LD_USE_LOAD_BIAS\0" \ "LOCALDOMAIN\0" \ "LOCPATH\0" \ "MALLOC_TRACE\0" \ |