]> code.ossystems Code Review - openembedded-core.git/blob
55af9abc130e86c8b67d29c5e1b037b363240763
[openembedded-core.git] /
1 From 57a3e055605b28a9449b1b27eda7125737c42b00 Mon Sep 17 00:00:00 2001
2 From: Sergei Trofimovich <siarheit@google.com>
3 Date: Sat, 1 Feb 2020 23:16:11 +0000
4 Subject: [PATCH] binutils: drop redundant 'program_name' definition
5  (-fno-common)
6
7         * coffdump.c (program_name): Drop redundant definition.
8         * srconv.c (program_name): Likewise
9         * sysdump.c (program_name): Likewise
10
11 Upstream-Status: Accepted (commit 0b398d69ac)
12 Signed-off-by: Sergei Trofimovich <siarheit@google.com>
13 Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
14 ---
15  binutils/coffdump.c | 2 --
16  binutils/srconv.c   | 2 --
17  binutils/sysdump.c  | 2 --
18  3 files changed, 6 deletions(-)
19
20 diff --git a/binutils/coffdump.c b/binutils/coffdump.c
21 index 531a4e46c3..336da57ca2 100644
22 --- a/binutils/coffdump.c
23 +++ b/binutils/coffdump.c
24 @@ -456,8 +456,6 @@ coff_dump (struct coff_ofile *ptr)
25      dump_coff_section (ptr->sections + i);
26  }
27  
28 -char * program_name;
29 -
30  static void
31  show_usage (FILE *file, int status)
32  {
33 diff --git a/binutils/srconv.c b/binutils/srconv.c
34 index 5742b16759..f071794f0a 100644
35 --- a/binutils/srconv.c
36 +++ b/binutils/srconv.c
37 @@ -1687,8 +1687,6 @@ prescan (struct coff_ofile *otree)
38      }
39  }
40  
41 -char *program_name;
42 -
43  ATTRIBUTE_NORETURN static void
44  show_usage (FILE *ffile, int status)
45  {
46 diff --git a/binutils/sysdump.c b/binutils/sysdump.c
47 index d433e71ed9..7eebbd61d3 100644
48 --- a/binutils/sysdump.c
49 +++ b/binutils/sysdump.c
50 @@ -633,8 +633,6 @@ module (void)
51      }
52  }
53  
54 -char *program_name;
55 -
56  ATTRIBUTE_NORETURN static void
57  show_usage (FILE *ffile, int status)
58  {
59 -- 
60 2.26.2
61