summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-05-25 00:32:37 -0400
committerRich Felker <dalias@aerifal.cx>2015-05-25 00:46:05 -0400
commit0e0e49421f08cfd670975ecd3604f7f9015e1833 (patch)
treecc39528b1e7eac1ec86dbeb04b1b92fb766ed1a0 /include
parent09db855b35709aa627d7055c57a98e1e471920ab (diff)
downloadmusl-0e0e49421f08cfd670975ecd3604f7f9015e1833.tar.gz
simplify/shrink relocation processing in dynamic linker stage 1
the outer-loop approach made sense when we were also processing DT_JMPREL, which might be in REL or RELA form, to avoid major code duplication. commit 09db855b35709aa627d7055c57a98e1e471920ab removed processing of DT_JMPREL, and in the remaining two tables, the format (REL or RELA) is known by the name of the table. simply writing two versions of the loop results in smaller and simpler code.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions