Skip to content

Commit 33c5a2d

Browse files
committed
Add missing constants from elf.h
1 parent da79cd0 commit 33c5a2d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libc-test/semver/linux.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,6 +1671,9 @@ PTRACE_SETSIGINFO
16711671
PTRACE_SINGLESTEP
16721672
PTRACE_SYSCALL
16731673
PTRACE_TRACEME
1674+
PT_HIOS
1675+
PT_LOPROC
1676+
PT_HIPROC
16741677
PT_DYNAMIC
16751678
PT_GNU_EH_FRAME
16761679
PT_GNU_RELRO

src/unix/linux_like/linux/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,6 +1766,9 @@ pub const PT_LOOS: u32 = 0x60000000;
17661766
pub const PT_GNU_EH_FRAME: u32 = 0x6474e550;
17671767
pub const PT_GNU_STACK: u32 = 0x6474e551;
17681768
pub const PT_GNU_RELRO: u32 = 0x6474e552;
1769+
pub const PT_HIOS: u32 = 0x6fffffff;
1770+
pub const PT_LOPROC: u32 = 0x70000000;
1771+
pub const PT_HIPROC: u32 = 0x7fffffff;
17691772

17701773
// linux/if_ether.h
17711774
pub const ETH_ALEN: ::c_int = 6;

0 commit comments

Comments
 (0)