aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
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/emultempl
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/emultempl')
-rw-r--r--ld/emultempl/ppc64elf.em1
1 files changed, 1 insertions, 0 deletions
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;
}