about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/wordsize-64
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-05-03 16:33:26 -0700
committerRoland McGrath <roland@hack.frob.com>2013-05-03 16:33:26 -0700
commitcc0e6ed81fa3ab0eeecfc576098b4522f0323c4b (patch)
treeef84d38f2a5bba357c20eb8c3a6135c2bb6746b8 /sysdeps/unix/sysv/linux/wordsize-64
parent60bfd54cbb0c51ab95c52a7438509373b848c957 (diff)
downloadglibc-cc0e6ed81fa3ab0eeecfc576098b4522f0323c4b.tar.gz
glibc-cc0e6ed81fa3ab0eeecfc576098b4522f0323c4b.tar.xz
glibc-cc0e6ed81fa3ab0eeecfc576098b4522f0323c4b.zip
Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}.
Diffstat (limited to 'sysdeps/unix/sysv/linux/wordsize-64')
-rw-r--r--sysdeps/unix/sysv/linux/wordsize-64/openat.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/openat.c b/sysdeps/unix/sysv/linux/wordsize-64/openat.c
index 4921fca335..12e027158c 100644
--- a/sysdeps/unix/sysv/linux/wordsize-64/openat.c
+++ b/sysdeps/unix/sysv/linux/wordsize-64/openat.c
@@ -1,16 +1,14 @@
 #define __openat64 __rename___openat64
-#define __openat64_2 __rename___openat64_2
 #define __openat64_nocancel __rename___openat64_nocancel
 #define openat64 __rename_openat64
 
 #include "../openat.c"
 
 #undef __openat64
-#undef __openat64_2
 #undef __openat64_nocancel
 #undef openat64
 
-weak_alias (__openat, __openat64)
-weak_alias (__openat_2, __openat64_2)
-weak_alias (__openat_nocancel, __openat64_nocancel)
+strong_alias (__openat, __openat64)
+hidden_ver (__openat, __openat64)
+strong_alias (__openat_nocancel, __openat64_nocancel)
 weak_alias (openat, openat64)