Added
Link Here
|
1 |
commit 0b398d69acde3377dfbbeb8a4cfe87ae8c8562fa |
2 |
Author: Sergei Trofimovich <siarheit@google.com> |
3 |
Date: Sat Feb 1 23:16:11 2020 +0000 |
4 |
|
5 |
binutils: drop redundant 'program_name' definition (-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 |
Signed-off-by: Sergei Trofimovich <siarheit@google.com> |
12 |
|
13 |
diff --git a/binutils/ChangeLog b/binutils/ChangeLog |
14 |
index a7fd43176b..2caa7e950f 100644 |
15 |
--- binutils/ChangeLog |
16 |
+++ binutils/ChangeLog |
17 |
@@ -1,3 +1,9 @@ |
18 |
+2020-02-03 Sergei Trofimovich <siarheit@google.com> |
19 |
+ |
20 |
+ * coffdump.c (program_name): Drop redundant definition. |
21 |
+ * srconv.c (program_name): Likewise |
22 |
+ * sysdump.c (program_name): Likewise |
23 |
+ |
24 |
2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
25 |
|
26 |
PR gas/25380 |
27 |
diff --git a/binutils/coffdump.c b/binutils/coffdump.c |
28 |
index 531a4e46c3..336da57ca2 100644 |
29 |
--- binutils/coffdump.c |
30 |
+++ binutils/coffdump.c |
31 |
@@ -456,8 +456,6 @@ coff_dump (struct coff_ofile *ptr) |
32 |
dump_coff_section (ptr->sections + i); |
33 |
} |
34 |
|
35 |
-char * program_name; |
36 |
- |
37 |
static void |
38 |
show_usage (FILE *file, int status) |
39 |
{ |
40 |
diff --git a/binutils/srconv.c b/binutils/srconv.c |
41 |
index 5742b16759..f071794f0a 100644 |
42 |
--- binutils/srconv.c |
43 |
+++ binutils/srconv.c |
44 |
@@ -1687,8 +1687,6 @@ prescan (struct coff_ofile *otree) |
45 |
} |
46 |
} |
47 |
|
48 |
-char *program_name; |
49 |
- |
50 |
ATTRIBUTE_NORETURN static void |
51 |
show_usage (FILE *ffile, int status) |
52 |
{ |
53 |
diff --git a/binutils/sysdump.c b/binutils/sysdump.c |
54 |
index d433e71ed9..7eebbd61d3 100644 |
55 |
--- binutils/sysdump.c |
56 |
+++ binutils/sysdump.c |
57 |
@@ -633,8 +633,6 @@ module (void) |
58 |
} |
59 |
} |
60 |
|
61 |
-char *program_name; |
62 |
- |
63 |
ATTRIBUTE_NORETURN static void |
64 |
show_usage (FILE *ffile, int status) |
65 |
{ |