]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
binutils: drop redundant 'program_name' definition (-fno-common)
authorSergei Trofimovich <siarheit@google.com>
Sat, 1 Feb 2020 23:16:11 +0000 (23:16 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 3 Feb 2020 05:29:14 +0000 (15:59 +1030)
* coffdump.c (program_name): Drop redundant definition.
* srconv.c (program_name): Likewise
* sysdump.c (program_name): Likewise

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
binutils/ChangeLog
binutils/coffdump.c
binutils/srconv.c
binutils/sysdump.c

index a7fd43176b51dae515564d98aa4267d56a8c65ca..2caa7e950f29551f67a71c347d6713e525734367 100644 (file)
@@ -1,3 +1,9 @@
+2020-02-03  Sergei Trofimovich  <siarheit@google.com>
+
+       * coffdump.c (program_name): Drop redundant definition.
+       * srconv.c (program_name): Likewise
+       * sysdump.c (program_name): Likewise
+
 2020-02-02  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/25380
index 531a4e46c3e8cfbec5007556d90b6c9c56ce40b2..336da57ca21e0ef0da7bd8c8d9678bdba752c7f1 100644 (file)
@@ -456,8 +456,6 @@ coff_dump (struct coff_ofile *ptr)
     dump_coff_section (ptr->sections + i);
 }
 
-char * program_name;
-
 static void
 show_usage (FILE *file, int status)
 {
index 5742b167593fd09a1e48091373ce6c909e93d383..f071794f0a7d107145b49f72e7e24d5a8b809daf 100644 (file)
@@ -1687,8 +1687,6 @@ prescan (struct coff_ofile *otree)
     }
 }
 
-char *program_name;
-
 ATTRIBUTE_NORETURN static void
 show_usage (FILE *ffile, int status)
 {
index d433e71ed931ed4eb83fbd9a190d616ebd2af418..7eebbd61d3373a17c884a327fab24660fcae1c95 100644 (file)
@@ -633,8 +633,6 @@ module (void)
     }
 }
 
-char *program_name;
-
 ATTRIBUTE_NORETURN static void
 show_usage (FILE *ffile, int status)
 {