summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-07-12 18:39:51 +0000
committerUlrich Drepper <drepper@redhat.com>2006-07-12 18:39:51 +0000
commitd89d2dbf9c5d2d06ace9bd7b00c7fa843614752c (patch)
treef4e9e6dadb357f027e12504dae349b3dcf7e54c6
parente1812e1d90090450e3d93be56a487e2f11affced (diff)
downloadelfutils-d89d2dbf9c5d2d06ace9bd7b00c7fa843614752c.tar.gz
Don't use internal visibility anywhere.
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac10
2 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index ece0af15..aa95ce23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-12 Ulrich Drepper <drepper@redhat.com>
+
+ * configure.ac (internal_function): Don't use internal visibility.
+
2006-07-05 Ulrich Drepper <drepper@redhat.com>
* configure.ac: Add dummy automake conditional to get dependencies
diff --git a/configure.ac b/configure.ac
index ec6286ed..de81c68c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,15 +246,13 @@ AH_BOTTOM([
extern __typeof (name) aliasname __attribute__ ((alias (#name)));
#ifdef __i386__
-# define internal_function_def __attribute__ ((regparm (3), stdcall))
+# define internal_function __attribute__ ((regparm (3), stdcall))
#else
-# define internal_function_def /* nothing */
+# define internal_function /* nothing */
#endif
-# define internal_function \
- internal_function_def __attribute__ ((visibility ("internal")))
-# define internal_strong_alias(name, aliasname) \
- extern __typeof (name) aliasname __attribute__ ((alias (#name), visibility ("internal"))) internal_function_def;
+#define internal_strong_alias(name, aliasname) \
+ extern __typeof (name) aliasname __attribute__ ((alias (#name))) internal_function;
#define attribute_hidden \
__attribute__ ((visibility ("hidden")))