From 71755fdf7bb22df3d50d51054ee9ba1c18c0dc6c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 28 Oct 2010 08:38:45 +0000 Subject: * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For --no-undefined-version, don't report dot sym versions added by ld. --- ld/ChangeLog | 5 +++++ ld/emultempl/ppc64elf.em | 1 + 2 files changed, 6 insertions(+) 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 + * 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. * 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; } -- cgit v1.1