diff options
author | Sergei Trofimovich <siarheit@google.com> | 2020-02-01 23:16:11 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-02-03 15:59:14 +1030 |
commit | 0b398d69acde3377dfbbeb8a4cfe87ae8c8562fa (patch) | |
tree | 557c692264a46400a34fda174da245a600cb6fef /binutils | |
parent | 44e4546fa278122fb1ad708cf8d4835a5af0a11c (diff) | |
download | fsf-binutils-gdb-0b398d69acde3377dfbbeb8a4cfe87ae8c8562fa.zip fsf-binutils-gdb-0b398d69acde3377dfbbeb8a4cfe87ae8c8562fa.tar.gz fsf-binutils-gdb-0b398d69acde3377dfbbeb8a4cfe87ae8c8562fa.tar.bz2 |
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>
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/coffdump.c | 2 | ||||
-rw-r--r-- | binutils/srconv.c | 2 | ||||
-rw-r--r-- | binutils/sysdump.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a7fd431..2caa7e9 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-02-02 H.J. Lu <hongjiu.lu@intel.com> PR gas/25380 diff --git a/binutils/coffdump.c b/binutils/coffdump.c index 531a4e4..336da57 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 5742b16..f071794 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 d433e71..7eebbd6 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) { |