diff mbox

[1/8] Use correct enum type for do_elf_stt_common.

Message ID 1465678115-58170-2-git-send-email-jhb@FreeBSD.org
State New
Headers show

Commit Message

John Baldwin June 11, 2016, 8:48 p.m. UTC
binutils/ChangeLog:

	* objcopy.c (do_elf_stt_common): Use correct type.
---
 binutils/ChangeLog | 4 ++++
 binutils/objcopy.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

Comments

Alan Modra June 13, 2016, 1:48 a.m. UTC | #1
On Sat, Jun 11, 2016 at 01:48:28PM -0700, John Baldwin wrote:
> 	* objcopy.c (do_elf_stt_common): Use correct type.

OK (obvious).
diff mbox

Patch

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f8e7c76..7a7edb9 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@ 
+2016-06-11  John Baldwin  <jhb@FreeBSD.org>
+
+	* objcopy.c (do_elf_stt_common): Use correct type.
+
 2016-06-02  Nick Clifton  <nickc@redhat.com>
 
 	PR 20089
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;