newer-gcc.patch 960 B

123456789101112131415161718192021222324
  1. diff -Nur binutils-2.20.1.orig/binutils/readelf.c binutils-2.20.1/binutils/readelf.c
  2. --- binutils-2.20.1.orig/binutils/readelf.c 2023-02-03 11:04:53.722082738 +0100
  3. +++ binutils-2.20.1/binutils/readelf.c 2023-02-03 11:05:27.049296372 +0100
  4. @@ -150,7 +150,7 @@
  5. #include "filenames.h"
  6. char * program_name = "readelf";
  7. -int do_wide;
  8. +extern int do_wide;
  9. static long archive_file_offset;
  10. static unsigned long archive_file_size;
  11. static unsigned long dynamic_addr;
  12. diff -Nur binutils-2.20.1.orig/gas/config/tc-avr32.c binutils-2.20.1/gas/config/tc-avr32.c
  13. --- binutils-2.20.1.orig/gas/config/tc-avr32.c 2023-02-03 11:04:53.726082644 +0100
  14. +++ binutils-2.20.1/gas/config/tc-avr32.c 2023-02-03 11:06:12.164234434 +0100
  15. @@ -47,7 +47,7 @@
  16. /* Flags given on the command line */
  17. static int avr32_pic = FALSE;
  18. -int linkrelax = FALSE;
  19. +//extern int linkrelax = FALSE;
  20. int avr32_iarcompat = FALSE;
  21. /* This array holds the chars that always start a comment. */