aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2020-02-01 23:16:11 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-07-25 13:21:41 +0300
commitc73ab63eb7aeda73ccb9f5c666ce719ae175a0ff (patch)
tree458794a42ebaa5619d10abbcdc32acbbe536a824
parentGentoo: Fix regexp of hilarious ld detection heuristic (diff)
downloadbinutils-gdb-c73ab63eb7aeda73ccb9f5c666ce719ae175a0ff.tar.gz
binutils-gdb-c73ab63eb7aeda73ccb9f5c666ce719ae175a0ff.tar.bz2
binutils-gdb-c73ab63eb7aeda73ccb9f5c666ce719ae175a0ff.zip
binutils: drop redundant 'program_name' definition (-fno-common)
* 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>
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/coffdump.c2
-rw-r--r--binutils/srconv.c2
-rw-r--r--binutils/sysdump.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1e9a96c9bb..a8c9a0c234 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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-03-25 H.J. Lu <hongjiu.lu@intel.com>
* ar.c (main): Update bfd_plugin_set_program_name call.
diff --git a/binutils/coffdump.c b/binutils/coffdump.c
index 531a4e46c3..336da57ca2 100644
--- a/binutils/coffdump.c
+++ b/binutils/coffdump.c
@@ -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)
{
diff --git a/binutils/srconv.c b/binutils/srconv.c
index 5742b16759..f071794f0a 100644
--- a/binutils/srconv.c
+++ b/binutils/srconv.c
@@ -1687,8 +1687,6 @@ prescan (struct coff_ofile *otree)
}
}
-char *program_name;
-
ATTRIBUTE_NORETURN static void
show_usage (FILE *ffile, int status)
{
diff --git a/binutils/sysdump.c b/binutils/sysdump.c
index d433e71ed9..7eebbd61d3 100644
--- a/binutils/sysdump.c
+++ b/binutils/sysdump.c
@@ -633,8 +633,6 @@ module (void)
}
}
-char *program_name;
-
ATTRIBUTE_NORETURN static void
show_usage (FILE *ffile, int status)
{