summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-elf.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-08-05 09:58:07 +1000
committerChris Johns <chrisj@rtems.org>2019-08-12 08:49:33 +1000
commit9cb19ded5c233b86c70157fe00b809792bc13d5a (patch)
tree03c49fd9cdc1d3fdab30f225ee7e258641150224 /cpukit/libdl/rtl-elf.c
parentbsp/beagle: Add nocache section (diff)
downloadrtems-9cb19ded5c233b86c70157fe00b809792bc13d5a.tar.bz2
libdl/debugger: Fix the broken list delete when unloading an object module.
Closes #3777
Diffstat (limited to '')
-rw-r--r--cpukit/libdl/rtl-elf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/libdl/rtl-elf.c b/cpukit/libdl/rtl-elf.c
index 0389408dd0..76001d9bfc 100644
--- a/cpukit/libdl/rtl-elf.c
+++ b/cpukit/libdl/rtl-elf.c
@@ -1593,8 +1593,6 @@ rtems_rtl_elf_load_linkmap (rtems_rtl_obj* obj)
obj->linkmap->sec_addr[rap_bss] = obj->bss_base;
sd = obj->linkmap->sec_detail;
- sections = &obj->sections;
- node = rtems_chain_first (sections);
for (m = 0; m < sect_masks; ++m)
{