Use correct enum type for do_elf_stt_common.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 11 Jun 2016 13:09:06 +0000 (06:09 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 14 Jun 2016 18:40:44 +0000 (11:40 -0700)
binutils/ChangeLog:

* objcopy.c (do_elf_stt_common): Use correct type.

binutils/ChangeLog
binutils/objcopy.c

index ff8161a..e8e80b3 100644 (file)
@@ -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.
index 06fcea3..76170cb 100644 (file)
@@ -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;