authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 11:23:49-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 11:23:49-07:00
log26777d98fe46d81b74ef304c1d1fd5975d7e0a0b
tree4c6fa734b3d1b2979d3401d1145045e86b43fefa
parentb5df1bfcdb927e6d4340ef50899cfee4f3e90569

Revert "std: adding freebsd's elf_aux_info api"

This reverts commit 83970b6d916a1526869aba2680d5017d495df12a.

1 files changed, 0 insertions(+), 41 deletions(-)

lib/std/c/freebsd.zig-41
...@@ -1658,45 +1658,6 @@ pub const AT = struct {...@@ -1658,45 +1658,6 @@ pub const AT = struct {
1658 pub const REMOVEDIR = 0x0800;1658 pub const REMOVEDIR = 0x0800;
1659 /// Fail if not under dirfd1659 /// Fail if not under dirfd
1660 pub const BENEATH = 0x1000;1660 pub const BENEATH = 0x1000;
1661 /// elf_common constants
1662 pub const NULL = 0;
1663 pub const IGNORE = 1;
1664 pub const EXECFD = 2;
1665 pub const PHDR = 3;
1666 pub const PHENT = 4;
1667 pub const PHNUM = 5;
1668 pub const PAGESZ = 6;
1669 pub const BASE = 7;
1670 pub const FLAGS = 8;
1671 pub const ENTRY = 9;
1672 pub const NOTELF = 10;
1673 pub const UID = 11;
1674 pub const EUID = 12;
1675 pub const GID = 13;
1676 pub const EGID = 14;
1677 pub const EXECPATH = 15;
1678 pub const CANARY = 16;
1679 pub const CANARYLEN = 17;
1680 pub const OSRELDATE = 18;
1681 pub const NCPUS = 19;
1682 pub const PAGESIZES = 20;
1683 pub const PAGESIZESLEN = 21;
1684 pub const TIMEKEEP = 22;
1685 pub const STACKPROT = 23;
1686 pub const EHDRFLAGS = 24;
1687 pub const HWCAP = 25;
1688 pub const HWCAP2 = 26;
1689 pub const BSDFLAGS = 27;
1690 pub const ARGC = 28;
1691 pub const ARGV = 29;
1692 pub const ENVC = 30;
1693 pub const ENVV = 31;
1694 pub const PS_STRINGS = 32;
1695 pub const FXRNG = 33;
1696 pub const KPRLOAD = 34;
1697 pub const USRSTACKBASE = 35;
1698 pub const USRSTACKLIM = 36;
1699 pub const COUNT = 37;
1700};1661};
17011662
1702pub const addrinfo = extern struct {1663pub const addrinfo = extern struct {
...@@ -2190,5 +2151,3 @@ pub const shm_largeconf = extern struct {...@@ -2190,5 +2151,3 @@ pub const shm_largeconf = extern struct {
2190};2151};
21912152
2192pub extern "c" fn shm_create_largepage(path: [*:0]const u8, flags: c_int, psind: c_int, alloc_policy: c_int, mode: mode_t) c_int;2153pub extern "c" fn shm_create_largepage(path: [*:0]const u8, flags: c_int, psind: c_int, alloc_policy: c_int, mode: mode_t) c_int;
2193
2194pub extern "c" fn elf_aux_info(aux: c_int, buf: ?*anyopaque, buflen: c_int) c_int;