• R
    refactor to remove arch-specific relocation code from dynamic linker · adf94c19
    Rich Felker 提交于
    this was one of the main instances of ugly code duplication: all archs
    use basically the same types of relocations, but roughly equivalent
    logic was duplicated for each arch to account for the different naming
    and numbering of relocation types and variation in whether REL or RELA
    records are used.
    
    as an added bonus, both REL and RELA are now supported on all archs,
    regardless of which is used by the standard toolchain.
    adf94c19
dynlink.c 40.8 KB