mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
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>
This commit is contained in:
@@ -94,8 +94,7 @@ _dl_map_segments (struct link_map *l, int fd,
|
||||
prefer to map such objects at; but this is only a preference,
|
||||
the OS can do whatever it likes. */
|
||||
ElfW(Addr) mappref
|
||||
= (ELF_PREFERRED_ADDRESS (loader, maplength,
|
||||
c->mapstart & GLRO(dl_use_load_bias))
|
||||
= (ELF_PREFERRED_ADDRESS (loader, maplength, c->mapstart)
|
||||
- MAP_BASE_ADDR (l));
|
||||
|
||||
/* Remember which part of the address space this object uses. */
|
||||
|
Reference in New Issue
Block a user