summaryrefslogtreecommitdiff
path: root/arch/mipsn32/reloc.h
AgeCommit message (Collapse)AuthorLines
2023-01-18fix debugger tracking of shared libraries on mips with PIE main programRich Felker-0/+1
mips has its own mechanisms for DT_DEBUG because it makes _DYNAMIC read-only, and the original mechanism, DT_MIPS_RLD_MAP, was PIE-incompatible. DT_MIPS_RLD_MAP_REL was added to remedy this, but we never implemented support for it. add it now using the same idioms for mips-specific ldso logic.
2019-10-17remove use of endian.h from arch reloc.h headers, clean upRich Felker-2/+0
building on commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea, __BYTE_ORDER is now available wherever alltypes.h is included. since reloc.h is only used from src/internal/dynlink.h, it can be assumed that __BYTE_ORDER is exposed. reloc.h is not permitted to be included in other contexts, and generally, like most arch headers, lacks inclusion guards that would allow such usage. the mips64 version mistakenly included such guards; they are removed for consistency.
2016-04-18add mips n32 port (ILP32 ABI for mips64)Rich Felker-0/+52
based on patch submitted by Jaydeep Patil, with minor changes.