elf.h: add PPC64_OPT_LOCALENTRY
authorSzabolcs Nagy <nsz@port70.net>
Fri, 2 Feb 2018 21:18:26 +0000 (21:18 +0000)
committerRich Felker <dalias@aerifal.cx>
Thu, 22 Feb 2018 23:49:42 +0000 (18:49 -0500)
allows calling extern functions without saving r2, for details see
glibc commit 0572433b5beb636de1a49ec6b4fdab830c38cdc5

include/elf.h

index 3cebbe4a52e696e4b65ea7883578174b2f220a9b..171805a1ca902cb8df9267f7b93651109f4cc0f2 100644 (file)
@@ -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