summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-05-25 00:25:56 -0400
committerRich Felker <dalias@aerifal.cx>2015-05-25 00:25:56 -0400
commit09db855b35709aa627d7055c57a98e1e471920ab (patch)
tree3527b41d7aae80546beae47cccac002447d10439 /src
parent9f26ebded188ed78c3571a4ca1477dd6351bc647 (diff)
downloadmusl-09db855b35709aa627d7055c57a98e1e471920ab.tar.gz
remove processing of DT_JMPREL from dynamic linker stage 1 bootstrap
the DT_JMPREL relocation table necessarily consists entirely of JMP_SLOT (REL_PLT in internal nomenclature) relocations, which are symbolic; they cannot be resolved in stage 1, so there is no point in processing them.
Diffstat (limited to 'src')
-rw-r--r--src/ldso/dlstart.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ldso/dlstart.c b/src/ldso/dlstart.c
index 46f4a5c6..caa974a2 100644
--- a/src/ldso/dlstart.c
+++ b/src/ldso/dlstart.c
@@ -65,7 +65,6 @@ void _dlstart_c(size_t *sp, size_t *dynv)
size_t size;
size_t stride;
} reloc_info[] = {
- { base+dyn[DT_JMPREL], dyn[DT_PLTRELSZ], 2+(dyn[DT_PLTREL]==DT_RELA) },
{ base+dyn[DT_REL], dyn[DT_RELSZ], 2 },
{ base+dyn[DT_RELA], dyn[DT_RELASZ], 3 },
{ 0, 0, 0 }