From: Alan Modra Date: Thu, 28 Oct 2010 08:38:45 +0000 (+0000) Subject: * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71755fdf7bb22df3d50d51054ee9ba1c18c0dc6c;p=binutils-gdb.git * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For --no-undefined-version, don't report dot sym versions added by ld. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 650e0a7234b..fef8d80604c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2010-10-28 Alan Modra + + * 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 * ldlang.h (ldlang_add_undef): Add cmdline param. diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 46d0332a2b0..cb8e7841e8d 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; }