aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-12-01 01:01:44 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-12-01 01:01:44 +0000
commit5a912065a7be063434e3409d2d42984d02cb213d (patch)
tree5bd185b670cde9aea2a5ff24adbf385291602be8
parentFix non-versioned libc's to also prepend '__' to internal symbols by using (diff)
downloadsandbox-5a912065a7be063434e3409d2d42984d02cb213d.tar.gz
sandbox-5a912065a7be063434e3409d2d42984d02cb213d.tar.bz2
sandbox-5a912065a7be063434e3409d2d42984d02cb213d.zip
Fixup comments related to strong aliases.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
-rw-r--r--scripts/gen_symbol_header.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gen_symbol_header.awk b/scripts/gen_symbol_header.awk
index f6e877d..f955fac 100644
--- a/scripts/gen_symbol_header.awk
+++ b/scripts/gen_symbol_header.awk
@@ -47,8 +47,8 @@ END {
printf("%s_decl(%s);\n", sym_index, sym_real_name);
- # Only add symbol versions for versioned libc's
if (symbol_array[2]) {
+ # Only add symbol versions for versioned libc's
if (sym_full_names[x] ~ /@@/)
printf("default_symbol_version(%s, %s, %s);\n",
sym_real_name, sym_index, symbol_array[2]);
@@ -56,6 +56,7 @@ END {
printf("symbol_version(%s, %s, %s);\n",
sym_real_name, sym_index, symbol_array[2]);
} else {
+ # For non-versioned libc's we use strong aliases
printf("strong_alias(%s, %s);\n", sym_real_name,
sym_index);
}