diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-05-25 00:32:37 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-05-25 00:46:05 -0400 |
commit | 0e0e49421f08cfd670975ecd3604f7f9015e1833 (patch) | |
tree | cc39528b1e7eac1ec86dbeb04b1b92fb766ed1a0 /src/internal | |
parent | 09db855b35709aa627d7055c57a98e1e471920ab (diff) | |
download | musl-0e0e49421f08cfd670975ecd3604f7f9015e1833.tar.gz musl-0e0e49421f08cfd670975ecd3604f7f9015e1833.tar.xz musl-0e0e49421f08cfd670975ecd3604f7f9015e1833.zip |
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 'src/internal')
0 files changed, 0 insertions, 0 deletions