about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-05-07 14:49:26 -0700
committerRoland McGrath <roland@hack.frob.com>2013-05-07 14:49:26 -0700
commit8347c74cc5c972aa9e57747177b1f5f4b1cbcac8 (patch)
tree66b474b51b301299731462d83bf89be36b6c3573
parent1a0fc08754ad83ae0a755f8c1bd8d0346494daba (diff)
downloadglibc-8347c74cc5c972aa9e57747177b1f5f4b1cbcac8.tar.gz
glibc-8347c74cc5c972aa9e57747177b1f5f4b1cbcac8.tar.xz
glibc-8347c74cc5c972aa9e57747177b1f5f4b1cbcac8.zip
Declare _dl_skip_args in ldsodefs.h header.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/generic/ldsodefs.h10
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d87fbca2a..de6646b3d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-07  Roland McGrath  <roland@hack.frob.com>
+
+	* sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
+	and _dl_skip_args_internal.
+
 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
 
 	* manual/message.texi (Message Translation): Talk about users.
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 41684f3837..c7a20ba668 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -639,6 +639,16 @@ extern char **_dl_argv
 #endif
      ;
 #ifdef IS_IN_rtld
+extern unsigned int _dl_skip_args attribute_hidden
+# ifndef DL_ARGV_NOT_RELRO
+     attribute_relro
+# endif
+     ;
+extern unsigned int _dl_skip_args_internal attribute_hidden
+# ifndef DL_ARGV_NOT_RELRO
+     attribute_relro
+# endif
+     ;
 extern char **_dl_argv_internal attribute_hidden
 # ifndef DL_ARGV_NOT_RELRO
      attribute_relro