]> granicus.if.org Git - musl/commit
generalize mips-specific reloc code not to hard-code sym/type encoding
authorRich Felker <dalias@aerifal.cx>
Sun, 6 Mar 2016 17:25:52 +0000 (17:25 +0000)
committerRich Felker <dalias@aerifal.cx>
Sun, 6 Mar 2016 17:25:52 +0000 (17:25 +0000)
commit71392a91c333d47b6b3c8f99c897e3b5a7eb6d58
tree40f77722791adbcb7ec8dc2741a4201ae2219f9a
parentb023c03b574acdfd73418314a5dcaa83e5cea5a0
generalize mips-specific reloc code not to hard-code sym/type encoding

this change is made in preparation for adding the mips64 port, which
needs a 64-bit (and mips64-specific) form of the R_INFO macro, but
it's a better abstraction anyway.

based on part of the mips64 port patch by Mahesh Bodapati and Jaydeep
Patil of Imagination Technologies.
ldso/dynlink.c
src/internal/dynlink.h