diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2022-10-28 15:07:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2022-10-28 15:07:26 +0000 |
commit | 1806d1aa95630f4062f022e475802bad19ae1ac8 (patch) | |
tree | e74433dd66eaadaf781217495136a0146775528c /sys/arch/mips64/include | |
parent | ad35fae8373b3bc2388bd738542f9c92c7631597 (diff) |
Implement support for DT_MIPS_RLD_MAP_REL.
ok deraadt@
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r-- | sys/arch/mips64/include/exec.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mips64/include/exec.h b/sys/arch/mips64/include/exec.h index 1c513bd4ab2..e7d18d1a48e 100644 --- a/sys/arch/mips64/include/exec.h +++ b/sys/arch/mips64/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.9 2017/08/13 14:56:09 visa Exp $ */ +/* $OpenBSD: exec.h,v 1.10 2022/10/28 15:07:25 kettenis Exp $ */ /* * Copyright (c) 1996-2004 Per Fogelstrom, Opsycon AB @@ -63,8 +63,9 @@ #define DT_MIPS_GOTSYM 0x70000013 /* First GOT entry in .dynsym */ #define DT_MIPS_HIPAGENO 0x70000014 /* Number of GOT page table entries */ #define DT_MIPS_RLD_MAP 0x70000016 /* Address of debug map pointer */ +#define DT_MIPS_RLD_MAP_REL 0x70000035 /* Relative address of debug map ptr */ -#define DT_PROCNUM (DT_MIPS_RLD_MAP - DT_LOPROC + 1) +#define DT_PROCNUM (DT_MIPS_RLD_MAP_REL - DT_LOPROC + 1) /* * Legal values for e_flags field of Elf32_Ehdr. |