aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-10-28 08:38:45 +0000
committerAlan Modra <amodra@gmail.com>2010-10-28 08:38:45 +0000
commit71755fdf7bb22df3d50d51054ee9ba1c18c0dc6c (patch)
tree21ef9013fde3215a8ee45d756c0a6b878e00813a /ld
parentf0e607602e02fd39432f28d042783edca69efce5 (diff)
downloadgdb-71755fdf7bb22df3d50d51054ee9ba1c18c0dc6c.zip
gdb-71755fdf7bb22df3d50d51054ee9ba1c18c0dc6c.tar.gz
gdb-71755fdf7bb22df3d50d51054ee9ba1c18c0dc6c.tar.bz2
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For
--no-undefined-version, don't report dot sym versions added by ld.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emultempl/ppc64elf.em1
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 650e0a7..fef8d80 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2010-10-28 Alan Modra <amodra@gmail.com>
+ * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For
+ --no-undefined-version, don't report dot sym versions added by ld.
+
+2010-10-28 Alan Modra <amodra@gmail.com>
+
* ldlang.h (ldlang_add_undef): Add cmdline param.
* ldlang.c (undef_from_cmdline): New var.
(ldlang_add_undef): Add cmdline param. Set undef_from_cmdline.
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index 46d0332..cb8e784 100644
--- a/ld/emultempl/ppc64elf.em
+++ b/ld/emultempl/ppc64elf.em
@@ -599,6 +599,7 @@ gld${EMULATION_NAME}_new_vers_pattern (struct bfd_elf_version_expr *entry)
dot_pat[0] = '.';
memcpy (dot_pat + 1, entry->pattern, len - 1);
dot_entry->pattern = dot_pat;
+ dot_entry->script = 1;
return dot_entry;
}