|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Index: bfd/elf-eh-frame.c
|
|
|
|
|
--- bfd/elf-eh-frame.c.orig 2019-09-09 15:19:43.000000000 +0200
|
|
|
|
|
+++ bfd/elf-eh-frame.c 2019-12-27 12:28:34.308746000 +0100
|
|
|
|
|
--- bfd/elf-eh-frame.c.orig 2020-01-18 14:55:47.000000000 +0100
|
|
|
|
|
+++ bfd/elf-eh-frame.c 2020-02-01 19:54:30.114415000 +0100
|
|
|
|
|
@@ -1044,10 +1044,12 @@
|
|
|
|
|
goto success;
|
|
|
|
|
|
|
|
|
@ -15,9 +15,9 @@ Index: bfd/elf-eh-frame.c
|
|
|
|
|
if (sec_info)
|
|
|
|
|
free (sec_info);
|
|
|
|
|
Index: bfd/elf.c
|
|
|
|
|
--- bfd/elf.c.orig 2019-09-09 15:19:43.000000000 +0200
|
|
|
|
|
+++ bfd/elf.c 2019-12-27 12:28:34.309773000 +0100
|
|
|
|
|
@@ -2521,6 +2521,11 @@
|
|
|
|
|
--- bfd/elf.c.orig 2020-01-30 08:15:56.000000000 +0100
|
|
|
|
|
+++ bfd/elf.c 2020-02-01 19:54:30.115432000 +0100
|
|
|
|
|
@@ -2518,6 +2518,11 @@
|
|
|
|
|
ret = _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex);
|
|
|
|
|
goto success;
|
|
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ Index: bfd/elf.c
|
|
|
|
|
case SHT_SHLIB:
|
|
|
|
|
goto success;
|
|
|
|
|
|
|
|
|
|
@@ -6386,6 +6391,12 @@
|
|
|
|
|
@@ -6423,6 +6428,12 @@
|
|
|
|
|
else
|
|
|
|
|
i_ehdrp->e_type = ET_REL;
|
|
|
|
|
|
|
|
|
@ -43,9 +43,9 @@ Index: bfd/elf.c
|
|
|
|
|
{
|
|
|
|
|
case bfd_arch_unknown:
|
|
|
|
|
Index: bfd/elfxx-sparc.c
|
|
|
|
|
--- bfd/elfxx-sparc.c.orig 2019-09-09 15:19:43.000000000 +0200
|
|
|
|
|
+++ bfd/elfxx-sparc.c 2019-12-27 12:28:34.310252000 +0100
|
|
|
|
|
@@ -2893,12 +2893,14 @@
|
|
|
|
|
--- bfd/elfxx-sparc.c.orig 2020-01-18 14:55:47.000000000 +0100
|
|
|
|
|
+++ bfd/elfxx-sparc.c 2020-02-01 19:54:30.115902000 +0100
|
|
|
|
|
@@ -2892,12 +2892,14 @@
|
|
|
|
|
Elf_Internal_Rela *relend;
|
|
|
|
|
int num_relocs;
|
|
|
|
|
bfd_boolean is_vxworks_tls;
|
|
|
|
@ -60,7 +60,7 @@ Index: bfd/elfxx-sparc.c
|
|
|
|
|
|
|
|
|
|
if (elf_hash_table (info)->hgot == NULL)
|
|
|
|
|
got_base = 0;
|
|
|
|
|
@@ -3538,6 +3540,8 @@
|
|
|
|
|
@@ -3537,6 +3539,8 @@
|
|
|
|
|
bfd_set_error (bfd_error_bad_value);
|
|
|
|
|
return FALSE;
|
|
|
|
|
}
|
|
|
|
@ -70,8 +70,8 @@ Index: bfd/elfxx-sparc.c
|
|
|
|
|
|
|
|
|
|
outrel.r_info = SPARC_ELF_R_INFO (htab, rel, indx,
|
|
|
|
|
Index: gas/asintl.h
|
|
|
|
|
--- gas/asintl.h.orig 2019-09-09 15:19:43.000000000 +0200
|
|
|
|
|
+++ gas/asintl.h 2019-12-27 12:28:34.310373000 +0100
|
|
|
|
|
--- gas/asintl.h.orig 2020-01-18 14:55:47.000000000 +0100
|
|
|
|
|
+++ gas/asintl.h 2020-02-01 19:54:30.116035000 +0100
|
|
|
|
|
@@ -20,6 +20,11 @@
|
|
|
|
|
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
|
|
02110-1301, USA. */
|
|
|
|
@ -85,8 +85,8 @@ Index: gas/asintl.h
|
|
|
|
|
# ifndef ENABLE_NLS
|
|
|
|
|
/* The Solaris version of locale.h always includes libintl.h. If we have
|
|
|
|
|
Index: include/elf/common.h
|
|
|
|
|
--- include/elf/common.h.orig 2019-09-09 15:19:44.000000000 +0200
|
|
|
|
|
+++ include/elf/common.h 2019-12-27 12:28:34.310582000 +0100
|
|
|
|
|
--- include/elf/common.h.orig 2020-01-18 14:55:48.000000000 +0100
|
|
|
|
|
+++ include/elf/common.h 2020-02-01 19:54:30.116249000 +0100
|
|
|
|
|
@@ -520,6 +520,9 @@
|
|
|
|
|
#define SHT_SUNW_verdef 0x6ffffffd /* Versions defined by file */
|
|
|
|
|
#define SHT_SUNW_verneed 0x6ffffffe /* Versions needed by file */
|
|
|
|
@ -98,9 +98,9 @@ Index: include/elf/common.h
|
|
|
|
|
#define SHT_GNU_verdef SHT_SUNW_verdef
|
|
|
|
|
#define SHT_GNU_verneed SHT_SUNW_verneed
|
|
|
|
|
Index: ld/Makefile.in
|
|
|
|
|
--- ld/Makefile.in.orig 2019-10-12 15:59:42.000000000 +0200
|
|
|
|
|
+++ ld/Makefile.in 2019-12-27 12:28:34.310889000 +0100
|
|
|
|
|
@@ -563,7 +563,7 @@
|
|
|
|
|
--- ld/Makefile.in.orig 2020-02-01 12:50:25.000000000 +0100
|
|
|
|
|
+++ ld/Makefile.in 2020-02-01 19:54:30.116566000 +0100
|
|
|
|
|
@@ -572,7 +572,7 @@
|
|
|
|
|
# We put the scripts in the directory $(scriptdir)/ldscripts.
|
|
|
|
|
# We can't put the scripts in $(datadir) because the SEARCH_DIR
|
|
|
|
|
# directives need to be different for native and cross linkers.
|
|
|
|
@ -110,8 +110,8 @@ Index: ld/Makefile.in
|
|
|
|
|
BFDDIR = $(BASEDIR)/bfd
|
|
|
|
|
INCDIR = $(BASEDIR)/include
|
|
|
|
|
Index: ld/ld.h
|
|
|
|
|
--- ld/ld.h.orig 2019-09-09 15:19:44.000000000 +0200
|
|
|
|
|
+++ ld/ld.h 2019-12-27 12:28:34.311017000 +0100
|
|
|
|
|
--- ld/ld.h.orig 2020-01-18 14:55:48.000000000 +0100
|
|
|
|
|
+++ ld/ld.h 2020-02-01 19:54:30.116698000 +0100
|
|
|
|
|
@@ -21,6 +21,11 @@
|
|
|
|
|
#ifndef LD_H
|
|
|
|
|
#define LD_H
|
|
|
|
@ -125,9 +125,9 @@ Index: ld/ld.h
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef SEEK_CUR
|
|
|
|
|
Index: ld/scripttempl/elf.sc
|
|
|
|
|
--- ld/scripttempl/elf.sc.orig 2019-09-09 15:19:44.000000000 +0200
|
|
|
|
|
+++ ld/scripttempl/elf.sc 2019-12-27 12:28:34.311188000 +0100
|
|
|
|
|
@@ -636,9 +636,9 @@
|
|
|
|
|
--- ld/scripttempl/elf.sc.orig 2020-01-18 14:55:48.000000000 +0100
|
|
|
|
|
+++ ld/scripttempl/elf.sc 2020-02-01 19:54:30.116879000 +0100
|
|
|
|
|
@@ -637,9 +637,9 @@
|
|
|
|
|
${SDATA_GOT+${OTHER_GOT_SECTIONS}}
|
|
|
|
|
${DATA_SDATA-${SDATA}}
|
|
|
|
|
${DATA_SDATA-${OTHER_SDATA_SECTIONS}}
|
|
|
|
@ -139,7 +139,7 @@ Index: ld/scripttempl/elf.sc
|
|
|
|
|
${RELOCATING+${OTHER_BSS_SYMBOLS}}
|
|
|
|
|
${DATA_SDATA-${SBSS}}
|
|
|
|
|
${BSS_PLT+${PLT}}
|
|
|
|
|
@@ -671,7 +671,7 @@
|
|
|
|
|
@@ -672,7 +672,7 @@
|
|
|
|
|
${LARGE_BSS_AFTER_BSS-${LARGE_BSS}}
|
|
|
|
|
${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
|
|
|
|
${RELOCATING+${OTHER_END_SYMBOLS}}
|
|
|
|
@ -149,25 +149,9 @@ Index: ld/scripttempl/elf.sc
|
|
|
|
|
${TINY_DATA_SECTION}
|
|
|
|
|
${TINY_BSS_SECTION}
|
|
|
|
|
Index: libctf/swap.h
|
|
|
|
|
--- libctf/swap.h.orig 2019-09-09 15:19:45.000000000 +0200
|
|
|
|
|
+++ libctf/swap.h 2019-12-27 12:28:34.311315000 +0100
|
|
|
|
|
@@ -28,13 +28,13 @@
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
/* Provide our own versions of the byteswap functions. */
|
|
|
|
|
-inline uint16_t
|
|
|
|
|
+static inline uint16_t
|
|
|
|
|
bswap_16 (uint16_t v)
|
|
|
|
|
{
|
|
|
|
|
return ((v >> 8) & 0xff) | ((v & 0xff) << 8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
-inline uint32_t
|
|
|
|
|
+static inline uint32_t
|
|
|
|
|
bswap_32 (uint32_t v)
|
|
|
|
|
{
|
|
|
|
|
return ( ((v & 0xff000000) >> 24)
|
|
|
|
|
@@ -43,13 +43,13 @@
|
|
|
|
|
--- libctf/swap.h.orig 2020-01-18 14:55:48.000000000 +0100
|
|
|
|
|
+++ libctf/swap.h 2020-02-01 19:56:27.999816000 +0100
|
|
|
|
|
@@ -43,7 +43,7 @@
|
|
|
|
|
| ((v & 0x000000ff) << 24));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -176,16 +160,9 @@ Index: libctf/swap.h
|
|
|
|
|
bswap_identity_64 (uint64_t v)
|
|
|
|
|
{
|
|
|
|
|
return v;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
-inline uint64_t
|
|
|
|
|
+static inline uint64_t
|
|
|
|
|
bswap_64 (uint64_t v)
|
|
|
|
|
{
|
|
|
|
|
return ( ((v & 0xff00000000000000ULL) >> 56)
|
|
|
|
|
Index: libiberty/fibheap.c
|
|
|
|
|
--- libiberty/fibheap.c.orig 2019-09-09 15:19:45.000000000 +0200
|
|
|
|
|
+++ libiberty/fibheap.c 2019-12-27 12:28:34.311462000 +0100
|
|
|
|
|
--- libiberty/fibheap.c.orig 2020-01-18 14:55:48.000000000 +0100
|
|
|
|
|
+++ libiberty/fibheap.c 2020-02-01 19:55:48.523008000 +0100
|
|
|
|
|
@@ -34,8 +34,11 @@
|
|
|
|
|
#include "libiberty.h"
|
|
|
|
|
#include "fibheap.h"
|
|
|
|
|