diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2020-05-20 22:08:26 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2020-05-20 22:08:26 +0000 |
commit | 2c6d9dc0bbd887a50e7ff0c6af3499ff265f1a16 (patch) | |
tree | 5517a5bc3d5a0561ac09d45528e86f70da898760 /libexec | |
parent | ea6020830c8f88e2b844ae9700c8ef58fbb51c75 (diff) | |
download | src-2c6d9dc0bbd887a50e7ff0c6af3499ff265f1a16.tar.gz src-2c6d9dc0bbd887a50e7ff0c6af3499ff265f1a16.zip |
Notes
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/rtld.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index c4c17c2d3a8a..1af83f5dc18a 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -4032,12 +4032,8 @@ linkmap_add(Obj_Entry *obj) struct link_map *prev; obj->linkmap.l_name = obj->path; - obj->linkmap.l_addr = obj->mapbase; + obj->linkmap.l_addr = obj->relocbase; obj->linkmap.l_ld = obj->dynamic; -#ifdef __mips__ - /* GDB needs load offset on MIPS to use the symbols */ - obj->linkmap.l_offs = obj->relocbase; -#endif if (r_debug.r_map == NULL) { r_debug.r_map = l; |