summaryrefslogtreecommitdiff
path: root/sys-devel/binutils/files/binutils-2.33-gcc-10.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 05:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 05:21:43 +0100
commit49f5a32115b8a7a85c586ce8aababadbfee68f24 (patch)
treeccb3bdd62acb750ff77f6eae39b76712ddf0f0b9 /sys-devel/binutils/files/binutils-2.33-gcc-10.patch
parentb91fc7b15025422bdc63fc4edf761e9a3f5494b3 (diff)
sys-devel/binutils : version bump (tc)
Diffstat (limited to 'sys-devel/binutils/files/binutils-2.33-gcc-10.patch')
-rw-r--r--sys-devel/binutils/files/binutils-2.33-gcc-10.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-devel/binutils/files/binutils-2.33-gcc-10.patch b/sys-devel/binutils/files/binutils-2.33-gcc-10.patch
new file mode 100644
index 00000000..9e1a999b
--- /dev/null
+++ b/sys-devel/binutils/files/binutils-2.33-gcc-10.patch
@@ -0,0 +1,39 @@
+binutils: drop redundant 'program_name' definition
+
+https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=0b398d69acde3377dfbbeb8a4cfe87ae8c8562fa
+--- 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)
+ {
+--- 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)
+ {
+--- 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)
+ {
+--
+2.25.0
+