mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
mips: Move DT_MIPS into <ldsodefs.h>
ELF_MACHINE_XHASH_SETUP in that file needs it.
Fixes commit c90363403b
("elf: Move _dl_setup_hash to its own file").
This commit is contained in:
parent
3e63b15d43
commit
f44820821a
@ -61,10 +61,6 @@
|
||||
((((type) == ELF_MACHINE_JMP_SLOT) * ELF_RTYPE_CLASS_PLT) \
|
||||
| (((type) == R_MIPS_COPY) * ELF_RTYPE_CLASS_COPY))
|
||||
|
||||
/* Translate a processor specific dynamic tag to the index
|
||||
in l_info array. */
|
||||
#define DT_MIPS(x) (DT_MIPS_##x - DT_LOPROC + DT_NUM)
|
||||
|
||||
#if ((defined __mips_nan2008 && !defined HAVE_MIPS_NAN2008) \
|
||||
|| (!defined __mips_nan2008 && defined HAVE_MIPS_NAN2008))
|
||||
# error "Configuration inconsistency: __mips_nan2008 != HAVE_MIPS_NAN2008, overridden CFLAGS?"
|
||||
|
@ -26,6 +26,10 @@ struct La_mips_32_retval;
|
||||
struct La_mips_64_regs;
|
||||
struct La_mips_64_retval;
|
||||
|
||||
/* Translate a processor specific dynamic tag to the index
|
||||
in l_info array. */
|
||||
#define DT_MIPS(x) (DT_MIPS_##x - DT_LOPROC + DT_NUM)
|
||||
|
||||
#define ELF_MACHINE_GNU_HASH_ADDRIDX (DT_MIPS_XHASH - DT_LOPROC + DT_NUM)
|
||||
|
||||
/* Calculate the index of a symbol in MIPS xhash. */
|
||||
|
Loading…
Reference in New Issue
Block a user