rtld-elf: Remove set but unused variable on 32-bit arm.
This commit is contained in:
parent
def653cd6c
commit
1c3424b0d2
@ -91,7 +91,6 @@ _rtld_relocate_nonplt_self(Elf_Dyn *dynp, Elf_Addr relocbase)
|
|||||||
const Elf_Rel *rel = NULL, *rellim;
|
const Elf_Rel *rel = NULL, *rellim;
|
||||||
Elf_Addr relsz = 0;
|
Elf_Addr relsz = 0;
|
||||||
Elf_Addr *where;
|
Elf_Addr *where;
|
||||||
uint32_t size;
|
|
||||||
|
|
||||||
for (; dynp->d_tag != DT_NULL; dynp++) {
|
for (; dynp->d_tag != DT_NULL; dynp++) {
|
||||||
switch (dynp->d_tag) {
|
switch (dynp->d_tag) {
|
||||||
@ -104,7 +103,6 @@ _rtld_relocate_nonplt_self(Elf_Dyn *dynp, Elf_Addr relocbase)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
rellim = (const Elf_Rel *)((const char *)rel + relsz);
|
rellim = (const Elf_Rel *)((const char *)rel + relsz);
|
||||||
size = (rellim - 1)->r_offset - rel->r_offset;
|
|
||||||
for (; rel < rellim; rel++) {
|
for (; rel < rellim; rel++) {
|
||||||
where = (Elf_Addr *)(relocbase + rel->r_offset);
|
where = (Elf_Addr *)(relocbase + rel->r_offset);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user