* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For
authorAlan Modra <amodra@gmail.com>
Thu, 28 Oct 2010 08:38:45 +0000 (08:38 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 28 Oct 2010 08:38:45 +0000 (08:38 +0000)
--no-undefined-version, don't report dot sym versions added by ld.

ld/ChangeLog
ld/emultempl/ppc64elf.em

index 650e0a7234bc01712b98f57c81045d50e4984652..fef8d80604cf5250559f7c4c91ebbab196567cc8 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 46d0332a2b0a93371e7d5277f34dfde6d06c877f..cb8e7841e8dafacb4544614b36dd1e1ae21fdc7a 100644 (file)
@@ -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;
 }