CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2019/11/26 16:38:52

Modified files:
        libexec/ld.so/aarch64: rtld_machine.c 
        libexec/ld.so/amd64: rtld_machine.c 
        libexec/ld.so/arm: rtld_machine.c 
        libexec/ld.so/i386: rtld_machine.c 

Log message:
Clean up _dl_md_reloc(): instead of having tables and piles of conditionals
that handle a dozen relocation types for each, just have a nice little switch
for the four specific relocations that actually occur.

Besides being smaller and easier to understand, this fixes the COPY
relocation handling to only do one symbol lookup, instead of looking
up the symbol and then immediately looking it up again (with the
correct flags to find the instance it needs).

ok kettenis@

Reply via email to