about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-02-02 21:18:26 +0000
committerRich Felker <dalias@aerifal.cx>2018-02-22 18:49:42 -0500
commit5024804176dc899b1e700e4effe999ab757694dd (patch)
tree3222ff6c4fa46389895b070789368aa7cb8bb64f /include
parente7bd039df24c0435f8f5c42840e894cb1d2798ac (diff)
downloadmusl-5024804176dc899b1e700e4effe999ab757694dd.tar.gz
musl-5024804176dc899b1e700e4effe999ab757694dd.tar.xz
musl-5024804176dc899b1e700e4effe999ab757694dd.zip
elf.h: add PPC64_OPT_LOCALENTRY
allows calling extern functions without saving r2, for details see
glibc commit 0572433b5beb636de1a49ec6b4fdab830c38cdc5
Diffstat (limited to 'include')
-rw-r--r--include/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index 3cebbe4a..171805a1 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -2241,6 +2241,7 @@ enum
 
 #define PPC64_OPT_TLS		1
 #define PPC64_OPT_MULTI_TOC	2
+#define PPC64_OPT_LOCALENTRY	4
 
 #define STO_PPC64_LOCAL_BIT	5
 #define STO_PPC64_LOCAL_MASK	0xe0