diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-02-02 07:04:21 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-02-02 17:59:32 +0100 |
commit | 0b67de0df533e1bab9e1f52ce62c45327f2fc5ae (patch) | |
tree | 56a2891b3705f433f1dc7ea419ac7a6eb4c2a592 /testing/source/binutils/patches/binutils-2.20.51.0.10-copy-osabi.patch | |
parent | 60e10a77d877df3139154896131eb50e5f6b1a61 (diff) | |
download | current-0b67de0df533e1bab9e1f52ce62c45327f2fc5ae.tar.gz current-0b67de0df533e1bab9e1f52ce62c45327f2fc5ae.tar.xz |
Sun Feb 2 07:04:21 UTC 202020200202070421
testing/packages/binutils-2.34-x86_64-1.txz: Added.
testing/packages/glibc-2.31-x86_64-1.txz: Added.
testing/packages/glibc-i18n-2.31-x86_64-1.txz: Added.
testing/packages/glibc-profile-2.31-x86_64-1.txz: Added.
testing/packages/glibc-solibs-2.31-x86_64-1.txz: Added.
Diffstat (limited to 'testing/source/binutils/patches/binutils-2.20.51.0.10-copy-osabi.patch')
-rw-r--r-- | testing/source/binutils/patches/binutils-2.20.51.0.10-copy-osabi.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/source/binutils/patches/binutils-2.20.51.0.10-copy-osabi.patch b/testing/source/binutils/patches/binutils-2.20.51.0.10-copy-osabi.patch new file mode 100644 index 000000000..6bd9f3dfc --- /dev/null +++ b/testing/source/binutils/patches/binutils-2.20.51.0.10-copy-osabi.patch @@ -0,0 +1,16 @@ +--- binutils-2.26.orig/bfd/elf.c 2016-01-25 10:11:33.482288877 +0000 ++++ binutils-2.26/bfd/elf.c 2016-01-25 10:16:48.520223863 +0000 +@@ -1300,6 +1300,13 @@ _bfd_elf_copy_private_bfd_data (bfd *ibf + } + } + ++ /* If the input BFD has the OSABI field set and the ++ output BFD does not, then copy the value. */ ++ if (elf_elfheader (ibfd)->e_ident [EI_OSABI] != ELFOSABI_NONE ++ && elf_elfheader (obfd)->e_ident [EI_OSABI] == ELFOSABI_NONE) ++ elf_elfheader (obfd)->e_ident [EI_OSABI] = ++ elf_elfheader (ibfd)->e_ident [EI_OSABI]; ++ + return TRUE; + } + |