summaryrefslogtreecommitdiff
path: root/lib/libc/hidden/link_elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/hidden/link_elf.h')
-rw-r--r--lib/libc/hidden/link_elf.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/libc/hidden/link_elf.h b/lib/libc/hidden/link_elf.h
new file mode 100644
index 00000000000..04143ec91d2
--- /dev/null
+++ b/lib/libc/hidden/link_elf.h
@@ -0,0 +1,26 @@
+/* $OpenBSD: link_elf.h,v 1.1 2019/06/02 01:03:01 guenther Exp $ */
+/*
+ * Copyright (c) 2019 Philip Guenther <guenther@openbsd.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifndef _LIBC_LINK_ELF_H_
+#define _LIBC_LINK_ELF_H_
+
+#include_next <link_elf.h>
+
+PROTO_NORMAL(dl_iterate_phdr);
+PROTO_DEPRECATED(dl_unwind_find_exidx);
+
+#endif /* _LIBC_LINK_ELF_H_ */