aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/nm.c2
-rw-r--r--binutils/objcopy.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 9882318..dbbe29b 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2020-09-16 Alan Modra <amodra@gmail.com>
+
+ * nm.c (print_symbol): Adjust elf_symbol_from invocation.
+ * objcopy.c (is_hidden_symbol): Likewise.
+
2020-09-15 Nick Clifton <nickc@redhat.com>
* README-how-to-make-a-release (https): Add a reminder to create a
diff --git a/binutils/nm.c b/binutils/nm.c
index 3501f48..cf2c02b 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -899,7 +899,7 @@ print_symbol (bfd * abfd,
}
else
{
- info.elfinfo = elf_symbol_from (abfd, sym);
+ info.elfinfo = elf_symbol_from (sym);
info.coffinfo = coff_symbol_from (sym);
}
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 1cbcd17..1a6fc8a 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -1443,7 +1443,7 @@ is_hidden_symbol (asymbol *sym)
{
elf_symbol_type *elf_sym;
- elf_sym = elf_symbol_from (sym->the_bfd, sym);
+ elf_sym = elf_symbol_from (sym);
if (elf_sym != NULL)
switch (ELF_ST_VISIBILITY (elf_sym->internal_elf_sym.st_other))
{