This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Use correct enum type for do_elf_stt_common.
- From: John Baldwin <jhb at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 14 Jun 2016 18:54:21 -0000
- Subject: [binutils-gdb] Use correct enum type for do_elf_stt_common.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eecc1a7faa15327d4a1fc574d9b54e86bb07cbec
commit eecc1a7faa15327d4a1fc574d9b54e86bb07cbec
Author: John Baldwin <jhb@FreeBSD.org>
Date: Sat Jun 11 06:09:06 2016 -0700
Use correct enum type for do_elf_stt_common.
binutils/ChangeLog:
* objcopy.c (do_elf_stt_common): Use correct type.
Diff:
---
binutils/ChangeLog | 4 ++++
binutils/objcopy.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index ff8161a..e8e80b3 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-14 John Baldwin <jhb@FreeBSD.org>
+
+ * objcopy.c (do_elf_stt_common): Use correct type.
+
2016-06-14 Alan Modra <amodra@gmail.com>
* ar.c: Expand uses of bfd_my_archive.
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 06fcea3..76170cb 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -221,7 +221,7 @@ static enum
} do_debug_sections = nothing;
/* Whether to generate ELF common symbols with the STT_COMMON type. */
-static enum bfd_link_discard do_elf_stt_common = unchanged;
+static enum bfd_link_elf_stt_common do_elf_stt_common = unchanged;
/* Whether to change the leading character in symbol names. */
static bfd_boolean change_leading_char = FALSE;