summaryrefslogtreecommitdiff
path: root/src/lib/libc/include/namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/include/namespace.h')
-rw-r--r--src/lib/libc/include/namespace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libc/include/namespace.h b/src/lib/libc/include/namespace.h
index 79692af0bc..330af4050a 100644
--- a/src/lib/libc/include/namespace.h
+++ b/src/lib/libc/include/namespace.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: namespace.h,v 1.13 2019/05/13 20:00:32 guenther Exp $ */ 1/* $OpenBSD: namespace.h,v 1.14 2019/06/02 01:03:01 guenther Exp $ */
2 2
3#ifndef _LIBC_NAMESPACE_H_ 3#ifndef _LIBC_NAMESPACE_H_
4#define _LIBC_NAMESPACE_H_ 4#define _LIBC_NAMESPACE_H_
@@ -59,6 +59,8 @@
59#define MAKE_CLONE(dst, src) __dso_hidden typeof(dst) HIDDEN(dst) \ 59#define MAKE_CLONE(dst, src) __dso_hidden typeof(dst) HIDDEN(dst) \
60 __attribute__((alias (HIDDEN_STRING(src)))) 60 __attribute__((alias (HIDDEN_STRING(src))))
61 61
62#define __relro __attribute__((section(".data.rel.ro")))
63
62 64
63/* 65/*
64 * gcc and clang will generate calls to the functions below. 66 * gcc and clang will generate calls to the functions below.