forked from pool/binutils
- Update to binutils 2.29.
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA) instructions for assembly and disassembly. * The MIPS port now supports the microMIPS Release 5 ISA for assembly and disassembly. * The MIPS port now supports the Imagination interAptiv MR2 processor, which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple of implementation-specific regular MIPS and MIPS16e2 ASE instructions. * The SPARC port now supports the SPARC M8 processor, which implements the Oracle SPARC Architecture 2017. * The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly. * Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX. * Add support for the wasm32 ELF conversion of the WebAssembly file format. * Add --inlines option to objdump, which extends the --line-numbers option so that inlined functions will display their nesting information. * Add --merge-notes options to objcopy to reduce the size of notes in a binary file by merging and deleting redundant notes. * Add support for locating separate debug info files using the build-id method, where the separate file has a name based upon the build-id of the original file. GAS * Add support for ELF SHF_GNU_MBIND. * Add support for the WebAssembly file format and wasm32 ELF conversion. * PowerPC gas now checks that the correct register class is used in instructions. For instance, "addi %f4,%cr3,%r31" warns three times that the registers are invalid. * Add support for the Texas Instruments PRU processor. * Support for the ARMv8-R architecture and Cortex-R52 processor has been added to the ARM port. GNU ld OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=242
This commit is contained in:
parent
6b871c8dd6
commit
db99b0ff62
File diff suppressed because it is too large
Load Diff
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6297433ee120b11b4b0a1c8f3512d7d73501753142ab9e2daa13c5a3edd32a72
|
|
||||||
size 26556365
|
|
3
binutils-2.29.tar.bz2
Normal file
3
binutils-2.29.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:29a29549869039aad75fdf507ac30366da5ad0b974fbff4a8e7148dbf4f40ebf
|
||||||
|
size 29073316
|
@ -1,35 +0,0 @@
|
|||||||
commit 758d96d834ba725461abf4be36df9f13e0815054
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Wed Feb 22 17:28:33 2017 +0000
|
|
||||||
|
|
||||||
Align .gnu_debuglink sections on a 4-byte boundary.
|
|
||||||
|
|
||||||
PR binutils/21193
|
|
||||||
* opncls.c (bfd_create_gnu_debuglink_section): Give the newly
|
|
||||||
created section 4-byte alignment.
|
|
||||||
|
|
||||||
diff --git a/bfd/opncls.c b/bfd/opncls.c
|
|
||||||
index 2ab7dfe..4137a3b 100644
|
|
||||||
--- a/bfd/opncls.c
|
|
||||||
+++ b/bfd/opncls.c
|
|
||||||
@@ -1645,6 +1645,8 @@ bfd_create_gnu_debuglink_section (bfd *abfd, const char *filename)
|
|
||||||
if (sect == NULL)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
+ /* Compute the size of the section. Allow for the CRC after the filename,
|
|
||||||
+ and padding so that it will start on a 4-byte boundary. */
|
|
||||||
debuglink_size = strlen (filename) + 1;
|
|
||||||
debuglink_size += 3;
|
|
||||||
debuglink_size &= ~3;
|
|
||||||
@@ -1654,6 +1656,11 @@ bfd_create_gnu_debuglink_section (bfd *abfd, const char *filename)
|
|
||||||
/* XXX Should we delete the section from the bfd ? */
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
+ /* PR 21193: Ensure that the section has 4-byte alignment for the CRC.
|
|
||||||
+ Note - despite the name of the function being called, we are
|
|
||||||
+ setting an alignment power, not a byte alignment value. */
|
|
||||||
+ bfd_set_section_alignment (abfd, sect, 2);
|
|
||||||
+
|
|
||||||
return sect;
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
|
|
||||||
index 35cee61..40c9f6f 100644
|
|
||||||
--- a/gas/config/tc-s390.c
|
|
||||||
+++ b/gas/config/tc-s390.c
|
|
||||||
@@ -2133,9 +2133,11 @@ md_pcrel_from_section (fixS *fixp, segT sec ATTRIBUTE_UNUSED)
|
|
||||||
int
|
|
||||||
tc_s390_fix_adjustable (fixS *fixP)
|
|
||||||
{
|
|
||||||
- /* Don't adjust references to merge sections. */
|
|
||||||
- if ((S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0)
|
|
||||||
+ /* Don't adjust pc-relative references to merge sections. */
|
|
||||||
+ if (fixP->fx_pcrel
|
|
||||||
+ && (S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0)
|
|
||||||
return 0;
|
|
||||||
+
|
|
||||||
/* adjust_reloc_syms doesn't know about the GOT. */
|
|
||||||
if ( fixP->fx_r_type == BFD_RELOC_16_GOTOFF
|
|
||||||
|| fixP->fx_r_type == BFD_RELOC_32_GOTOFF
|
|
@ -1,10 +1,10 @@
|
|||||||
Index: ld/ldmain.c
|
Index: ld/ldmain.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- ld/ldmain.c.orig 2016-01-27 13:44:14.092983985 +0100
|
--- ld/ldmain.c.orig 2017-07-26 10:07:31.862559913 +0200
|
||||||
+++ ld/ldmain.c 2016-01-27 13:44:37.389254054 +0100
|
+++ ld/ldmain.c 2017-07-26 10:07:31.886560303 +0200
|
||||||
@@ -286,6 +286,8 @@ main (int argc, char **argv)
|
@@ -302,6 +302,8 @@ main (int argc, char **argv)
|
||||||
#ifdef DEFAULT_FLAG_COMPRESS_DEBUG
|
#ifdef DEFAULT_NEW_DTAGS
|
||||||
link_info.compress_debug = COMPRESS_DEBUG_GABI_ZLIB;
|
link_info.new_dtags = DEFAULT_NEW_DTAGS;
|
||||||
#endif
|
#endif
|
||||||
+ if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0)
|
+ if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0)
|
||||||
+ input_flags.add_DT_NEEDED_for_regular = TRUE;
|
+ input_flags.add_DT_NEEDED_for_regular = TRUE;
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -82,12 +82,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -97,11 +96,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -157,13 +151,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -177,9 +170,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -256,6 +246,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -311,6 +302,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 26 08:05:04 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Update to binutils 2.29.
|
||||||
|
* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
|
||||||
|
instructions for assembly and disassembly.
|
||||||
|
* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
|
||||||
|
disassembly.
|
||||||
|
* The MIPS port now supports the Imagination interAptiv MR2 processor,
|
||||||
|
which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
|
||||||
|
of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
|
||||||
|
* The SPARC port now supports the SPARC M8 processor, which implements the
|
||||||
|
Oracle SPARC Architecture 2017.
|
||||||
|
* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for the wasm32 ELF conversion of the WebAssembly file format.
|
||||||
|
* Add --inlines option to objdump, which extends the --line-numbers option
|
||||||
|
so that inlined functions will display their nesting information.
|
||||||
|
* Add --merge-notes options to objcopy to reduce the size of notes in
|
||||||
|
a binary file by merging and deleting redundant notes.
|
||||||
|
* Add support for locating separate debug info files using the build-id
|
||||||
|
method, where the separate file has a name based upon the build-id of
|
||||||
|
the original file.
|
||||||
|
GAS
|
||||||
|
* Add support for ELF SHF_GNU_MBIND.
|
||||||
|
* Add support for the WebAssembly file format and wasm32 ELF conversion.
|
||||||
|
* PowerPC gas now checks that the correct register class is used in
|
||||||
|
instructions. For instance, "addi %f4,%cr3,%r31" warns three times
|
||||||
|
that the registers are invalid.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* Support for the ARMv8-R architecture and Cortex-R52 processor has been
|
||||||
|
added to the ARM port.
|
||||||
|
GNU ld
|
||||||
|
* Support for -z shstk in the x86 ELF linker to generate
|
||||||
|
GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program properties.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_SHSTK in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Add support for GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties in the x86 ELF linker.
|
||||||
|
* Support for -z ibtplt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT.
|
||||||
|
* Support for -z ibt in the x86 ELF linker to generate IBT-enabled
|
||||||
|
PLT as well as GNU_PROPERTY_X86_FEATURE_1_IBT in ELF GNU program
|
||||||
|
properties.
|
||||||
|
* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
|
||||||
|
* Add support for ELF GNU program properties.
|
||||||
|
* Add support for the Texas Instruments PRU processor.
|
||||||
|
* When configuring for arc*-*-linux* targets the default linker emulation will
|
||||||
|
change if --with-cpu=nps400 is used at configure time.
|
||||||
|
* Improve assignment of LMAs to orphan sections in some edge cases where a
|
||||||
|
mixture of both AT>LMA_REGION and AT(LMA) are used.
|
||||||
|
* Orphan sections placed after an empty section that has an AT(LMA) will now
|
||||||
|
take an load memory address starting from LMA.
|
||||||
|
* Section groups can now be resolved (the group deleted and the group members
|
||||||
|
placed like normal sections) at partial link time either using the new
|
||||||
|
linker option --force-group-allocation or by placing FORCE_GROUP_ALLOCATION
|
||||||
|
into the linker script.
|
||||||
|
- Includes binutils-bso21193.diff, binutils-bso21333.diff and
|
||||||
|
fix-security-bugs.diff.
|
||||||
|
- Remove ld-dtags.diff, instead configure with --enable-new-dtags.
|
||||||
|
- Refresh binutils-build-as-needed.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
|
|||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.28
|
Version: 2.29
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
@ -85,12 +85,11 @@ Source: binutils-%{binutils_version}.tar.bz2
|
|||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch: binutils-2.28-branch.diff
|
#Patch: binutils-2.29-branch.diff
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
Patch5: x86-64-biarch.patch
|
Patch5: x86-64-biarch.patch
|
||||||
Patch6: unit-at-a-time.patch
|
Patch6: unit-at-a-time.patch
|
||||||
Patch7: ld-dtags.diff
|
|
||||||
Patch8: ld-relro.diff
|
Patch8: ld-relro.diff
|
||||||
Patch9: testsuite.diff
|
Patch9: testsuite.diff
|
||||||
Patch10: enable-targets-gold.diff
|
Patch10: enable-targets-gold.diff
|
||||||
@ -100,11 +99,6 @@ Patch14: binutils-build-as-needed.diff
|
|||||||
Patch18: gold-depend-on-opcodes.diff
|
Patch18: gold-depend-on-opcodes.diff
|
||||||
Patch22: binutils-bfd_h.patch
|
Patch22: binutils-bfd_h.patch
|
||||||
Patch34: aarch64-common-pagesize.patch
|
Patch34: aarch64-common-pagesize.patch
|
||||||
# Backport 758d96d834ba725461a
|
|
||||||
Patch36: binutils-bso21193.diff
|
|
||||||
Patch37: fix-security-bugs.diff
|
|
||||||
# Backport dc1e4d6dedcb8ee3bb1
|
|
||||||
Patch38: binutils-bso21333.diff
|
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
Patch93: cross-avr-size.patch
|
Patch93: cross-avr-size.patch
|
||||||
@ -160,13 +154,12 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%setup -q -n binutils-%{binutils_version}
|
%setup -q -n binutils-%{binutils_version}
|
||||||
# Patch is outside test_vanilla because it's supposed to be the
|
# Patch is outside test_vanilla because it's supposed to be the
|
||||||
# patch bringing the tarball to the newest upstream version
|
# patch bringing the tarball to the newest upstream version
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
%if !%{test_vanilla}
|
%if !%{test_vanilla}
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
%patch10
|
%patch10
|
||||||
@ -180,9 +173,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch18
|
%patch18
|
||||||
%patch22
|
%patch22
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -259,6 +249,7 @@ cd build-dir
|
|||||||
%if %{suse_version} > 1320
|
%if %{suse_version} > 1320
|
||||||
--enable-compressed-debug-sections=gas \
|
--enable-compressed-debug-sections=gas \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-new-dtags \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||||
# force reconfiguring (???)
|
# force reconfiguring (???)
|
||||||
@ -314,6 +305,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--enable-new-dtags \
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,762 +0,0 @@
|
|||||||
This contains a merge of the following commits.
|
|
||||||
It fixes bnc#1029907, bnc#1029908, bnc#1029909 and more.
|
|
||||||
|
|
||||||
commit 03f7786e2f440b9892b1c34a58fb26222ce1b493
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 13:08:32 2017 +0000
|
|
||||||
|
|
||||||
Fix readelf writing to illegal addresses whilst processing corrupt input files containing symbol-difference relocations.
|
|
||||||
|
|
||||||
PR binutils/21137
|
|
||||||
* readelf.c (target_specific_reloc_handling): Add end parameter.
|
|
||||||
Check for buffer overflow before writing relocated values.
|
|
||||||
(apply_relocations): Pass end to target_specific_reloc_handling.
|
|
||||||
|
|
||||||
commit f84ce13b6708801ca1d6289b7c4003e2f5a6d7f9
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 14:03:22 2017 +0000
|
|
||||||
|
|
||||||
Fix read-after-free error in readelf when processing multiple, relocated sections in an MSP430 binary.
|
|
||||||
|
|
||||||
PR binutils/21139
|
|
||||||
* readelf.c (target_specific_reloc_handling): Add num_syms
|
|
||||||
parameter. Check for symbol table overflow before accessing
|
|
||||||
symbol value. If reloc pointer is NULL, discard all saved state.
|
|
||||||
(apply_relocations): Pass num_syms to target_specific_reloc_handling.
|
|
||||||
Call target_specific_reloc_handling with a NULL reloc pointer
|
|
||||||
after processing all of the relocs.
|
|
||||||
|
|
||||||
commit 0ee3043f58aae078a1ecc54b7be2810cae39a718
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 14:17:07 2017 +0000
|
|
||||||
|
|
||||||
Fix access violation when reporting sections that could not be dumped.
|
|
||||||
|
|
||||||
PR binutils/21147
|
|
||||||
* readelf.c (process_section_contents): Fix off by one error
|
|
||||||
reporting un-dumped sections.
|
|
||||||
|
|
||||||
commit 4aeb00ad3cc6a29b32f0a4e42c2f64d55e25b76d
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 14:35:24 2017 +0000
|
|
||||||
|
|
||||||
Fix check for buffer overflow when processing version information.
|
|
||||||
|
|
||||||
PR binutils/21148
|
|
||||||
* readelf.c (process_version_sections): Include size of auxillary
|
|
||||||
version information when checking for buffer overflow.
|
|
||||||
|
|
||||||
commit ebdf1ebfa551fd4624c3cd05401aa3c01ea2ebbe
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 14:52:48 2017 +0000
|
|
||||||
|
|
||||||
Fix invalid memory access attempting to read the compression header of a too-small compressed section.
|
|
||||||
|
|
||||||
PR binutils/21149
|
|
||||||
* readelf.c (get_compression_header): Add size parameter. Check
|
|
||||||
size against sizeof compression header before attempting to
|
|
||||||
extract the header.
|
|
||||||
(process_section_headers): Pass size to get_compression_header.
|
|
||||||
(dump_section_as_strings): Likewise.
|
|
||||||
(dump_section_as_bytes): Likewise.
|
|
||||||
(load_specific_debug_section): Likewise.
|
|
||||||
|
|
||||||
commit f055032e4e922f1e1a5e11026c7c2669fa2a7d19
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 15:04:37 2017 +0000
|
|
||||||
|
|
||||||
Fix invalid read of section contents whilst processing a corrupt binary.
|
|
||||||
|
|
||||||
PR binutils/21135
|
|
||||||
* readelf.c (dump_section_as_bytes): Handle the case where
|
|
||||||
uncompress_section_contents returns false.
|
|
||||||
|
|
||||||
commit 1835f746a7c7fff70a2cc03a051b14fdc6b3f73f
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 15:19:48 2017 +0000
|
|
||||||
|
|
||||||
Extend previous patch to cover uncompress_section_contents returning FALSE to other callers.
|
|
||||||
|
|
||||||
PR binutils/21135
|
|
||||||
(dump_section_as_bytes, load_specific_debug_section): Likewise.
|
|
||||||
|
|
||||||
commit c12214021dedefcc2320827bcc1751f2d94ca2c6
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 17:23:10 2017 +0000
|
|
||||||
|
|
||||||
Fix illegal memory access bug in nm when run on a corrupt binary.
|
|
||||||
|
|
||||||
PR binutils/21150
|
|
||||||
* nm.c (file_symbol): Add test of string length before testing
|
|
||||||
string characters.
|
|
||||||
|
|
||||||
commit d11135f55294d75099ad03f81bacbe8ae93a6b28
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 13 17:51:27 2017 +0000
|
|
||||||
|
|
||||||
Fix invalid memory access in the BFD library's DWARF parser.
|
|
||||||
|
|
||||||
PR binutils/21151
|
|
||||||
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Check for an invalid
|
|
||||||
unit length field.
|
|
||||||
|
|
||||||
commit b32e566ba6ee02687c6def22ade0899076adf7dd
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Tue Feb 14 13:24:09 2017 +0000
|
|
||||||
|
|
||||||
Fix illegal memory access problems with readelf processing corrupt RL78 binaries.
|
|
||||||
|
|
||||||
PR binutils/21155
|
|
||||||
* readelf.c (IN_RANGE): New macro. Tests for an address + offset
|
|
||||||
being within a given range.
|
|
||||||
(target_specific_reloc_handling): Use macro to test for underflow
|
|
||||||
as well as overflow of reloc offset.
|
|
||||||
|
|
||||||
commit a2dea0b20bc66a4c287c3c50002b8c3b3e9d953a
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Tue Feb 14 14:07:29 2017 +0000
|
|
||||||
|
|
||||||
Fix handling of corrupt STABS enum type strings.
|
|
||||||
|
|
||||||
PR binutils/21157
|
|
||||||
* stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
|
|
||||||
pairs.
|
|
||||||
(parse_number): Exit early if passed an empty string.
|
|
||||||
|
|
||||||
commit 92134dc19b4bf6407a88a306b771c9c6c88658d6
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Tue Feb 14 14:17:09 2017 +0000
|
|
||||||
|
|
||||||
Fix an illegal memory access parsing corrupt STABD debug information.
|
|
||||||
|
|
||||||
PR binutils/21158
|
|
||||||
* rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
|
|
||||||
empty symbol name.
|
|
||||||
|
|
||||||
commit bc303e5d6c2dd33086478f80fd1d3096d4e1bc01
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Tue Feb 14 15:10:34 2017 +0000
|
|
||||||
|
|
||||||
Fix invalid memory access displayiing contents of sections.
|
|
||||||
|
|
||||||
PR binutils/21159
|
|
||||||
* readelf.c (dump_section_as_strings): Reset the start address if
|
|
||||||
no decompression is perfromed.
|
|
||||||
(dump_section_as_bytes): Likewise.
|
|
||||||
|
|
||||||
commit b814a36d3440de95f2ac6eaa4fc7935c322ea456
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Fri Feb 17 15:59:45 2017 +0000
|
|
||||||
|
|
||||||
Fix illegal memory accesses in readelf when parsing a corrupt binary.
|
|
||||||
|
|
||||||
PR binutils/21156
|
|
||||||
* readelf.c (find_section_in_set): Test for invalid section
|
|
||||||
indicies.
|
|
||||||
|
|
||||||
commit 43a444f9c5bfd44b4304eafd78338e21d54bea14
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Mon Feb 20 14:40:39 2017 +0000
|
|
||||||
|
|
||||||
Fix another memory access error in readelf when parsing a corrupt binary.
|
|
||||||
|
|
||||||
PR binutils/21156
|
|
||||||
* dwarf.c (cu_tu_indexes_read): Move into...
|
|
||||||
(load_cu_tu_indexes): ... here. Change the variable into
|
|
||||||
tri-state. Change the function into boolean, returning
|
|
||||||
false if the indicies could not be loaded.
|
|
||||||
(find_cu_tu_set): Return NULL if the indicies could not be
|
|
||||||
loaded.
|
|
||||||
|
|
||||||
commit 6438d1be9e9b6802a465c70c76b9cec7e23270f3
|
|
||||||
Author: Nick Clifton <nickc@redhat.com>
|
|
||||||
Date: Fri Feb 17 11:39:20 2017 +0000
|
|
||||||
|
|
||||||
Fix potential illegal memory access in ZLIB because of an erroneous declaration of the size of the input buffer.
|
|
||||||
|
|
||||||
* compress.c (bfd_get_full_section_contents): Remember to reduce
|
|
||||||
compressed size by the sizeof the compression header when
|
|
||||||
decompressing the contents.
|
|
||||||
|
|
||||||
Index: binutils-2.28/binutils/readelf.c
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.28.orig/binutils/readelf.c 2017-03-02 09:23:53.000000000 +0100
|
|
||||||
+++ binutils-2.28/binutils/readelf.c 2017-03-17 16:24:11.000000000 +0100
|
|
||||||
@@ -675,8 +675,14 @@ find_section_in_set (const char * name,
|
|
||||||
if (set != NULL)
|
|
||||||
{
|
|
||||||
while ((i = *set++) > 0)
|
|
||||||
- if (streq (SECTION_NAME (section_headers + i), name))
|
|
||||||
- return section_headers + i;
|
|
||||||
+ {
|
|
||||||
+ /* See PR 21156 for a reproducer. */
|
|
||||||
+ if (i >= elf_header.e_shnum)
|
|
||||||
+ continue; /* FIXME: Should we issue an error message ? */
|
|
||||||
+
|
|
||||||
+ if (streq (SECTION_NAME (section_headers + i), name))
|
|
||||||
+ return section_headers + i;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
return find_section (name);
|
|
||||||
@@ -5708,12 +5714,18 @@ get_elf_section_flags (bfd_vma sh_flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
static unsigned int
|
|
||||||
-get_compression_header (Elf_Internal_Chdr *chdr, unsigned char *buf)
|
|
||||||
+get_compression_header (Elf_Internal_Chdr *chdr, unsigned char *buf, bfd_size_type size)
|
|
||||||
{
|
|
||||||
if (is_32bit_elf)
|
|
||||||
{
|
|
||||||
Elf32_External_Chdr *echdr = (Elf32_External_Chdr *) buf;
|
|
||||||
|
|
||||||
+ if (size < sizeof (* echdr))
|
|
||||||
+ {
|
|
||||||
+ error (_("Compressed section is too small even for a compression header\n"));
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
chdr->ch_type = BYTE_GET (echdr->ch_type);
|
|
||||||
chdr->ch_size = BYTE_GET (echdr->ch_size);
|
|
||||||
chdr->ch_addralign = BYTE_GET (echdr->ch_addralign);
|
|
||||||
@@ -5723,6 +5735,12 @@ get_compression_header (Elf_Internal_Chd
|
|
||||||
{
|
|
||||||
Elf64_External_Chdr *echdr = (Elf64_External_Chdr *) buf;
|
|
||||||
|
|
||||||
+ if (size < sizeof (* echdr))
|
|
||||||
+ {
|
|
||||||
+ error (_("Compressed section is too small even for a compression header\n"));
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
chdr->ch_type = BYTE_GET (echdr->ch_type);
|
|
||||||
chdr->ch_size = BYTE_GET (echdr->ch_size);
|
|
||||||
chdr->ch_addralign = BYTE_GET (echdr->ch_addralign);
|
|
||||||
@@ -6304,7 +6322,7 @@ process_section_headers (FILE * file)
|
|
||||||
{
|
|
||||||
Elf_Internal_Chdr chdr;
|
|
||||||
|
|
||||||
- (void) get_compression_header (&chdr, buf);
|
|
||||||
+ (void) get_compression_header (&chdr, buf, sizeof (buf));
|
|
||||||
|
|
||||||
if (chdr.ch_type == ELFCOMPRESS_ZLIB)
|
|
||||||
printf (" ZLIB, ");
|
|
||||||
@@ -10012,7 +10030,7 @@ process_version_sections (FILE * file)
|
|
||||||
ent.vd_ndx, ent.vd_cnt);
|
|
||||||
|
|
||||||
/* Check for overflow. */
|
|
||||||
- if (ent.vd_aux > (size_t) (endbuf - vstart))
|
|
||||||
+ if (ent.vd_aux + sizeof (* eaux) > (size_t) (endbuf - vstart))
|
|
||||||
break;
|
|
||||||
|
|
||||||
vstart += ent.vd_aux;
|
|
||||||
@@ -11577,16 +11595,32 @@ process_syminfo (FILE * file ATTRIBUTE_U
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
+#define IN_RANGE(START,END,ADDR,OFF) \
|
|
||||||
+ (((ADDR) >= (START)) && ((ADDR) + (OFF) < (END)))
|
|
||||||
+
|
|
||||||
/* Check to see if the given reloc needs to be handled in a target specific
|
|
||||||
manner. If so then process the reloc and return TRUE otherwise return
|
|
||||||
- FALSE. */
|
|
||||||
+ FALSE.
|
|
||||||
+
|
|
||||||
+ If called with reloc == NULL, then this is a signal that reloc processing
|
|
||||||
+ for the current section has finished, and any saved state should be
|
|
||||||
+ discarded. */
|
|
||||||
|
|
||||||
static bfd_boolean
|
|
||||||
target_specific_reloc_handling (Elf_Internal_Rela * reloc,
|
|
||||||
unsigned char * start,
|
|
||||||
- Elf_Internal_Sym * symtab)
|
|
||||||
+ unsigned char * end,
|
|
||||||
+ Elf_Internal_Sym * symtab,
|
|
||||||
+ unsigned long num_syms)
|
|
||||||
{
|
|
||||||
- unsigned int reloc_type = get_reloc_type (reloc->r_info);
|
|
||||||
+ unsigned int reloc_type = 0;
|
|
||||||
+ unsigned long sym_index = 0;
|
|
||||||
+
|
|
||||||
+ if (reloc)
|
|
||||||
+ {
|
|
||||||
+ reloc_type = get_reloc_type (reloc->r_info);
|
|
||||||
+ sym_index = get_reloc_symindex (reloc->r_info);
|
|
||||||
+ }
|
|
||||||
|
|
||||||
switch (elf_header.e_machine)
|
|
||||||
{
|
|
||||||
@@ -11595,6 +11629,12 @@ target_specific_reloc_handling (Elf_Inte
|
|
||||||
{
|
|
||||||
static Elf_Internal_Sym * saved_sym = NULL;
|
|
||||||
|
|
||||||
+ if (reloc == NULL)
|
|
||||||
+ {
|
|
||||||
+ saved_sym = NULL;
|
|
||||||
+ return TRUE;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
switch (reloc_type)
|
|
||||||
{
|
|
||||||
case 10: /* R_MSP430_SYM_DIFF */
|
|
||||||
@@ -11602,7 +11642,12 @@ target_specific_reloc_handling (Elf_Inte
|
|
||||||
break;
|
|
||||||
/* Fall through. */
|
|
||||||
case 21: /* R_MSP430X_SYM_DIFF */
|
|
||||||
- saved_sym = symtab + get_reloc_symindex (reloc->r_info);
|
|
||||||
+ /* PR 21139. */
|
|
||||||
+ if (sym_index >= num_syms)
|
|
||||||
+ error (_("MSP430 SYM_DIFF reloc contains invalid symbol index %lu\n"),
|
|
||||||
+ sym_index);
|
|
||||||
+ else
|
|
||||||
+ saved_sym = symtab + sym_index;
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
case 1: /* R_MSP430_32 or R_MSP430_ABS32 */
|
|
||||||
@@ -11624,13 +11669,24 @@ target_specific_reloc_handling (Elf_Inte
|
|
||||||
handle_sym_diff:
|
|
||||||
if (saved_sym != NULL)
|
|
||||||
{
|
|
||||||
+ int reloc_size = reloc_type == 1 ? 4 : 2;
|
|
||||||
bfd_vma value;
|
|
||||||
|
|
||||||
- value = reloc->r_addend
|
|
||||||
- + (symtab[get_reloc_symindex (reloc->r_info)].st_value
|
|
||||||
- - saved_sym->st_value);
|
|
||||||
+ if (sym_index >= num_syms)
|
|
||||||
+ error (_("MSP430 reloc contains invalid symbol index %lu\n"),
|
|
||||||
+ sym_index);
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ value = reloc->r_addend + (symtab[sym_index].st_value
|
|
||||||
+ - saved_sym->st_value);
|
|
||||||
|
|
||||||
- byte_put (start + reloc->r_offset, value, reloc_type == 1 ? 4 : 2);
|
|
||||||
+ if (IN_RANGE (start, end, start + reloc->r_offset, reloc_size))
|
|
||||||
+ byte_put (start + reloc->r_offset, value, reloc_size);
|
|
||||||
+ else
|
|
||||||
+ /* PR 21137 */
|
|
||||||
+ error (_("MSP430 sym diff reloc contains invalid offset: 0x%lx\n"),
|
|
||||||
+ (long) reloc->r_offset);
|
|
||||||
+ }
|
|
||||||
|
|
||||||
saved_sym = NULL;
|
|
||||||
return TRUE;
|
|
||||||
@@ -11650,24 +11706,45 @@ target_specific_reloc_handling (Elf_Inte
|
|
||||||
{
|
|
||||||
static Elf_Internal_Sym * saved_sym = NULL;
|
|
||||||
|
|
||||||
+ if (reloc == NULL)
|
|
||||||
+ {
|
|
||||||
+ saved_sym = NULL;
|
|
||||||
+ return TRUE;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
switch (reloc_type)
|
|
||||||
{
|
|
||||||
case 34: /* R_MN10300_ALIGN */
|
|
||||||
return TRUE;
|
|
||||||
case 33: /* R_MN10300_SYM_DIFF */
|
|
||||||
- saved_sym = symtab + get_reloc_symindex (reloc->r_info);
|
|
||||||
+ if (sym_index >= num_syms)
|
|
||||||
+ error (_("MN10300_SYM_DIFF reloc contains invalid symbol index %lu\n"),
|
|
||||||
+ sym_index);
|
|
||||||
+ else
|
|
||||||
+ saved_sym = symtab + sym_index;
|
|
||||||
return TRUE;
|
|
||||||
+
|
|
||||||
case 1: /* R_MN10300_32 */
|
|
||||||
case 2: /* R_MN10300_16 */
|
|
||||||
if (saved_sym != NULL)
|
|
||||||
{
|
|
||||||
+ int reloc_size = reloc_type == 1 ? 4 : 2;
|
|
||||||
bfd_vma value;
|
|
||||||
|
|
||||||
- value = reloc->r_addend
|
|
||||||
- + (symtab[get_reloc_symindex (reloc->r_info)].st_value
|
|
||||||
- - saved_sym->st_value);
|
|
||||||
+ if (sym_index >= num_syms)
|
|
||||||
+ error (_("MN10300 reloc contains invalid symbol index %lu\n"),
|
|
||||||
+ sym_index);
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ value = reloc->r_addend + (symtab[sym_index].st_value
|
|
||||||
+ - saved_sym->st_value);
|
|
||||||
|
|
||||||
- byte_put (start + reloc->r_offset, value, reloc_type == 1 ? 4 : 2);
|
|
||||||
+ if (IN_RANGE (start, end, start + reloc->r_offset, reloc_size))
|
|
||||||
+ byte_put (start + reloc->r_offset, value, reloc_size);
|
|
||||||
+ else
|
|
||||||
+ error (_("MN10300 sym diff reloc contains invalid offset: 0x%lx\n"),
|
|
||||||
+ (long) reloc->r_offset);
|
|
||||||
+ }
|
|
||||||
|
|
||||||
saved_sym = NULL;
|
|
||||||
return TRUE;
|
|
||||||
@@ -11687,12 +11764,24 @@ target_specific_reloc_handling (Elf_Inte
|
|
||||||
static bfd_vma saved_sym2 = 0;
|
|
||||||
static bfd_vma value;
|
|
||||||
|
|
||||||
+ if (reloc == NULL)
|
|
||||||
+ {
|
|
||||||
+ saved_sym1 = saved_sym2 = 0;
|
|
||||||
+ return TRUE;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
switch (reloc_type)
|
|
||||||
{
|
|
||||||
case 0x80: /* R_RL78_SYM. */
|
|
||||||
saved_sym1 = saved_sym2;
|
|
||||||
- saved_sym2 = symtab[get_reloc_symindex (reloc->r_info)].st_value;
|
|
||||||
- saved_sym2 += reloc->r_addend;
|
|
||||||
+ if (sym_index >= num_syms)
|
|
||||||
+ error (_("RL78_SYM reloc contains invalid symbol index %lu\n"),
|
|
||||||
+ sym_index);
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ saved_sym2 = symtab[sym_index].st_value;
|
|
||||||
+ saved_sym2 += reloc->r_addend;
|
|
||||||
+ }
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
case 0x83: /* R_RL78_OPsub. */
|
|
||||||
@@ -11702,12 +11791,20 @@ target_specific_reloc_handling (Elf_Inte
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 0x41: /* R_RL78_ABS32. */
|
|
||||||
- byte_put (start + reloc->r_offset, value, 4);
|
|
||||||
+ if (IN_RANGE (start, end, start + reloc->r_offset, 4))
|
|
||||||
+ byte_put (start + reloc->r_offset, value, 4);
|
|
||||||
+ else
|
|
||||||
+ error (_("RL78 sym diff reloc contains invalid offset: 0x%lx\n"),
|
|
||||||
+ (long) reloc->r_offset);
|
|
||||||
value = 0;
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
case 0x43: /* R_RL78_ABS16. */
|
|
||||||
- byte_put (start + reloc->r_offset, value, 2);
|
|
||||||
+ if (IN_RANGE (start, end, start + reloc->r_offset, 2))
|
|
||||||
+ byte_put (start + reloc->r_offset, value, 2);
|
|
||||||
+ else
|
|
||||||
+ error (_("RL78 sym diff reloc contains invalid offset: 0x%lx\n"),
|
|
||||||
+ (long) reloc->r_offset);
|
|
||||||
value = 0;
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
@@ -12324,7 +12421,7 @@ apply_relocations (void *
|
|
||||||
|
|
||||||
reloc_type = get_reloc_type (rp->r_info);
|
|
||||||
|
|
||||||
- if (target_specific_reloc_handling (rp, start, symtab))
|
|
||||||
+ if (target_specific_reloc_handling (rp, start, end, symtab, num_syms))
|
|
||||||
continue;
|
|
||||||
else if (is_none_reloc (reloc_type))
|
|
||||||
continue;
|
|
||||||
@@ -12420,6 +12517,9 @@ apply_relocations (void *
|
|
||||||
}
|
|
||||||
|
|
||||||
free (symtab);
|
|
||||||
+ /* Let the target specific reloc processing code know that
|
|
||||||
+ we have finished with these relocs. */
|
|
||||||
+ target_specific_reloc_handling (NULL, NULL, NULL, NULL, 0);
|
|
||||||
|
|
||||||
if (relocs_return)
|
|
||||||
{
|
|
||||||
@@ -12548,7 +12648,8 @@ dump_section_as_strings (Elf_Internal_Sh
|
|
||||||
{
|
|
||||||
Elf_Internal_Chdr chdr;
|
|
||||||
unsigned int compression_header_size
|
|
||||||
- = get_compression_header (& chdr, (unsigned char *) start);
|
|
||||||
+ = get_compression_header (& chdr, (unsigned char *) start,
|
|
||||||
+ num_bytes);
|
|
||||||
|
|
||||||
if (chdr.ch_type != ELFCOMPRESS_ZLIB)
|
|
||||||
{
|
|
||||||
@@ -12583,10 +12684,20 @@ dump_section_as_strings (Elf_Internal_Sh
|
|
||||||
new_size -= 12;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (uncompressed_size
|
|
||||||
- && uncompress_section_contents (& start,
|
|
||||||
- uncompressed_size, & new_size))
|
|
||||||
- num_bytes = new_size;
|
|
||||||
+ if (uncompressed_size)
|
|
||||||
+ {
|
|
||||||
+ if (uncompress_section_contents (& start,
|
|
||||||
+ uncompressed_size, & new_size))
|
|
||||||
+ num_bytes = new_size;
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ error (_("Unable to decompress section %s\n"),
|
|
||||||
+ printable_section_name (section));
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ else
|
|
||||||
+ start = real_start;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If the section being dumped has relocations against it the user might
|
|
||||||
@@ -12682,7 +12793,7 @@ dump_section_as_bytes (Elf_Internal_Shdr
|
|
||||||
{
|
|
||||||
Elf_Internal_Chdr chdr;
|
|
||||||
unsigned int compression_header_size
|
|
||||||
- = get_compression_header (& chdr, start);
|
|
||||||
+ = get_compression_header (& chdr, start, section_size);
|
|
||||||
|
|
||||||
if (chdr.ch_type != ELFCOMPRESS_ZLIB)
|
|
||||||
{
|
|
||||||
@@ -12717,10 +12828,23 @@ dump_section_as_bytes (Elf_Internal_Shdr
|
|
||||||
new_size -= 12;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (uncompressed_size
|
|
||||||
- && uncompress_section_contents (& start, uncompressed_size,
|
|
||||||
- & new_size))
|
|
||||||
- section_size = new_size;
|
|
||||||
+ if (uncompressed_size)
|
|
||||||
+ {
|
|
||||||
+ if (uncompress_section_contents (& start, uncompressed_size,
|
|
||||||
+ & new_size))
|
|
||||||
+ {
|
|
||||||
+ section_size = new_size;
|
|
||||||
+ }
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ error (_("Unable to decompress section %s\n"),
|
|
||||||
+ printable_section_name (section));
|
|
||||||
+ /* FIXME: Print the section anyway ? */
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ else
|
|
||||||
+ start = real_start;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (relocate)
|
|
||||||
@@ -12835,7 +12959,7 @@ load_specific_debug_section (enum dwarf_
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
- compression_header_size = get_compression_header (&chdr, start);
|
|
||||||
+ compression_header_size = get_compression_header (&chdr, start, size);
|
|
||||||
|
|
||||||
if (chdr.ch_type != ELFCOMPRESS_ZLIB)
|
|
||||||
{
|
|
||||||
@@ -12870,15 +12994,24 @@ load_specific_debug_section (enum dwarf_
|
|
||||||
size -= 12;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (uncompressed_size
|
|
||||||
- && uncompress_section_contents (&start, uncompressed_size,
|
|
||||||
- &size))
|
|
||||||
- {
|
|
||||||
- /* Free the compressed buffer, update the section buffer
|
|
||||||
- and the section size if uncompress is successful. */
|
|
||||||
- free (section->start);
|
|
||||||
- section->start = start;
|
|
||||||
+ if (uncompressed_size)
|
|
||||||
+ {
|
|
||||||
+ if (uncompress_section_contents (&start, uncompressed_size,
|
|
||||||
+ &size))
|
|
||||||
+ {
|
|
||||||
+ /* Free the compressed buffer, update the section buffer
|
|
||||||
+ and the section size if uncompress is successful. */
|
|
||||||
+ free (section->start);
|
|
||||||
+ section->start = start;
|
|
||||||
+ }
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ error (_("Unable to decompress section %s\n"),
|
|
||||||
+ printable_section_name (sec));
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
+
|
|
||||||
section->size = size;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -13077,9 +13210,12 @@ process_section_contents (FILE * file)
|
|
||||||
|
|
||||||
/* Check to see if the user requested a
|
|
||||||
dump of a section that does not exist. */
|
|
||||||
- while (i++ < num_dump_sects)
|
|
||||||
- if (dump_sects[i])
|
|
||||||
- warn (_("Section %d was not dumped because it does not exist!\n"), i);
|
|
||||||
+ while (i < num_dump_sects)
|
|
||||||
+ {
|
|
||||||
+ if (dump_sects[i])
|
|
||||||
+ warn (_("Section %d was not dumped because it does not exist!\n"), i);
|
|
||||||
+ i++;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
|
||||||
Index: binutils-2.28/binutils/nm.c
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.28.orig/binutils/nm.c 2017-03-02 09:23:53.000000000 +0100
|
|
||||||
+++ binutils-2.28/binutils/nm.c 2017-03-17 16:24:11.000000000 +0100
|
|
||||||
@@ -685,7 +685,8 @@ size_forward1 (const void *P_x, const vo
|
|
||||||
|
|
||||||
#define file_symbol(s, sn, snl) \
|
|
||||||
(((s)->flags & BSF_FILE) != 0 \
|
|
||||||
- || ((sn)[(snl) - 2] == '.' \
|
|
||||||
+ || ((snl) > 2 \
|
|
||||||
+ && (sn)[(snl) - 2] == '.' \
|
|
||||||
&& ((sn)[(snl) - 1] == 'o' \
|
|
||||||
|| (sn)[(snl) - 1] == 'a')))
|
|
||||||
|
|
||||||
Index: binutils-2.28/bfd/dwarf2.c
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.28.orig/bfd/dwarf2.c 2017-03-02 09:23:53.000000000 +0100
|
|
||||||
+++ binutils-2.28/bfd/dwarf2.c 2017-03-17 16:24:11.000000000 +0100
|
|
||||||
@@ -4288,6 +4288,10 @@ _bfd_dwarf2_find_nearest_line (bfd *abfd
|
|
||||||
{
|
|
||||||
bfd_byte * new_ptr;
|
|
||||||
|
|
||||||
+ /* PR 21151 */
|
|
||||||
+ if (stash->info_ptr + length > stash->info_ptr_end)
|
|
||||||
+ return FALSE;
|
|
||||||
+
|
|
||||||
each = parse_comp_unit (stash, length, info_ptr_unit,
|
|
||||||
offset_size);
|
|
||||||
if (!each)
|
|
||||||
Index: binutils-2.28/binutils/stabs.c
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.28.orig/binutils/stabs.c 2017-03-02 09:23:53.000000000 +0100
|
|
||||||
+++ binutils-2.28/binutils/stabs.c 2017-03-17 16:24:11.000000000 +0100
|
|
||||||
@@ -232,6 +232,10 @@ parse_number (const char **pp, bfd_boole
|
|
||||||
|
|
||||||
orig = *pp;
|
|
||||||
|
|
||||||
+ /* Stop early if we are passed an empty string. */
|
|
||||||
+ if (*orig == 0)
|
|
||||||
+ return (bfd_vma) 0;
|
|
||||||
+
|
|
||||||
errno = 0;
|
|
||||||
ul = strtoul (*pp, (char **) pp, 0);
|
|
||||||
if (ul + 1 != 0 || errno == 0)
|
|
||||||
@@ -1975,9 +1979,17 @@ parse_stab_enum_type (void *dhandle, con
|
|
||||||
bfd_signed_vma val;
|
|
||||||
|
|
||||||
p = *pp;
|
|
||||||
- while (*p != ':')
|
|
||||||
+ while (*p != ':' && *p != 0)
|
|
||||||
++p;
|
|
||||||
|
|
||||||
+ if (*p == 0)
|
|
||||||
+ {
|
|
||||||
+ bad_stab (orig);
|
|
||||||
+ free (names);
|
|
||||||
+ free (values);
|
|
||||||
+ return DEBUG_TYPE_NULL;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
name = savestring (*pp, p - *pp);
|
|
||||||
|
|
||||||
*pp = p + 1;
|
|
||||||
Index: binutils-2.28/binutils/rddbg.c
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.28.orig/binutils/rddbg.c 2017-03-02 09:23:53.000000000 +0100
|
|
||||||
+++ binutils-2.28/binutils/rddbg.c 2017-03-17 16:24:11.000000000 +0100
|
|
||||||
@@ -299,7 +299,10 @@ read_symbol_stabs_debugging_info (bfd *a
|
|
||||||
*pfound = TRUE;
|
|
||||||
|
|
||||||
s = i.name;
|
|
||||||
+ if (s == NULL || strlen (s) < 1)
|
|
||||||
+ return FALSE;
|
|
||||||
f = NULL;
|
|
||||||
+
|
|
||||||
while (s[strlen (s) - 1] == '\\'
|
|
||||||
&& ps + 1 < symend)
|
|
||||||
{
|
|
||||||
Index: binutils-2.28/binutils/dwarf.c
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.28.orig/binutils/dwarf.c 2017-03-02 09:23:53.000000000 +0100
|
|
||||||
+++ binutils-2.28/binutils/dwarf.c 2017-03-17 16:24:11.000000000 +0100
|
|
||||||
@@ -76,7 +76,6 @@ int dwarf_check = 0;
|
|
||||||
as a zero-terminated list of section indexes comprising one set of debug
|
|
||||||
sections from a .dwo file. */
|
|
||||||
|
|
||||||
-static int cu_tu_indexes_read = 0;
|
|
||||||
static unsigned int *shndx_pool = NULL;
|
|
||||||
static unsigned int shndx_pool_size = 0;
|
|
||||||
static unsigned int shndx_pool_used = 0;
|
|
||||||
@@ -99,7 +98,7 @@ static int tu_count = 0;
|
|
||||||
static struct cu_tu_set *cu_sets = NULL;
|
|
||||||
static struct cu_tu_set *tu_sets = NULL;
|
|
||||||
|
|
||||||
-static void load_cu_tu_indexes (void *file);
|
|
||||||
+static bfd_boolean load_cu_tu_indexes (void *);
|
|
||||||
|
|
||||||
/* Values for do_debug_lines. */
|
|
||||||
#define FLAG_DEBUG_LINES_RAW 1
|
|
||||||
@@ -2715,7 +2714,7 @@ load_debug_info (void * file)
|
|
||||||
return num_debug_info_entries;
|
|
||||||
|
|
||||||
/* If this is a DWARF package file, load the CU and TU indexes. */
|
|
||||||
- load_cu_tu_indexes (file);
|
|
||||||
+ (void) load_cu_tu_indexes (file);
|
|
||||||
|
|
||||||
if (load_debug_section (info, file)
|
|
||||||
&& process_debug_info (&debug_displays [info].section, file, abbrev, 1, 0))
|
|
||||||
@@ -7378,21 +7377,27 @@ process_cu_tu_index (struct dwarf_sectio
|
|
||||||
section sets that we can use to associate a .debug_info.dwo section
|
|
||||||
with its associated .debug_abbrev.dwo section in a .dwp file. */
|
|
||||||
|
|
||||||
-static void
|
|
||||||
+static bfd_boolean
|
|
||||||
load_cu_tu_indexes (void *file)
|
|
||||||
{
|
|
||||||
+ static int cu_tu_indexes_read = -1; /* Tri-state variable. */
|
|
||||||
+
|
|
||||||
/* If we have already loaded (or tried to load) the CU and TU indexes
|
|
||||||
then do not bother to repeat the task. */
|
|
||||||
- if (cu_tu_indexes_read)
|
|
||||||
- return;
|
|
||||||
-
|
|
||||||
- if (load_debug_section (dwp_cu_index, file))
|
|
||||||
- process_cu_tu_index (&debug_displays [dwp_cu_index].section, 0);
|
|
||||||
+ if (cu_tu_indexes_read == -1)
|
|
||||||
+ {
|
|
||||||
+ cu_tu_indexes_read = TRUE;
|
|
||||||
+
|
|
||||||
+ if (load_debug_section (dwp_cu_index, file))
|
|
||||||
+ if (! process_cu_tu_index (&debug_displays [dwp_cu_index].section, 0))
|
|
||||||
+ cu_tu_indexes_read = FALSE;
|
|
||||||
|
|
||||||
- if (load_debug_section (dwp_tu_index, file))
|
|
||||||
- process_cu_tu_index (&debug_displays [dwp_tu_index].section, 0);
|
|
||||||
+ if (load_debug_section (dwp_tu_index, file))
|
|
||||||
+ if (! process_cu_tu_index (&debug_displays [dwp_tu_index].section, 0))
|
|
||||||
+ cu_tu_indexes_read = FALSE;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
- cu_tu_indexes_read = 1;
|
|
||||||
+ return (bfd_boolean) cu_tu_indexes_read;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Find the set of sections that includes section SHNDX. */
|
|
||||||
@@ -7402,7 +7407,8 @@ find_cu_tu_set (void *file, unsigned int
|
|
||||||
{
|
|
||||||
unsigned int i;
|
|
||||||
|
|
||||||
- load_cu_tu_indexes (file);
|
|
||||||
+ if (! load_cu_tu_indexes (file))
|
|
||||||
+ return NULL;
|
|
||||||
|
|
||||||
/* Find SHNDX in the shndx pool. */
|
|
||||||
for (i = 0; i < shndx_pool_used; i++)
|
|
||||||
Index: binutils-2.28/bfd/compress.c
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.28.orig/bfd/compress.c 2017-03-02 09:23:53.000000000 +0100
|
|
||||||
+++ binutils-2.28/bfd/compress.c 2017-03-17 16:24:11.000000000 +0100
|
|
||||||
@@ -300,7 +300,7 @@ bfd_get_full_section_contents (bfd *abfd
|
|
||||||
SHF_COMPRESSED section. */
|
|
||||||
compression_header_size = 12;
|
|
||||||
if (!decompress_contents (compressed_buffer + compression_header_size,
|
|
||||||
- sec->compressed_size, p, sz))
|
|
||||||
+ sec->compressed_size - compression_header_size, p, sz))
|
|
||||||
{
|
|
||||||
bfd_set_error (bfd_error_bad_value);
|
|
||||||
if (p != *ptr)
|
|
@ -1,73 +0,0 @@
|
|||||||
Index: binutils-2.24/ld/ld.texinfo
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.24.orig/ld/ld.texinfo
|
|
||||||
+++ binutils-2.24/ld/ld.texinfo
|
|
||||||
@@ -2117,7 +2117,7 @@ systems may not understand them. If you
|
|
||||||
@option{--enable-new-dtags}, the new dynamic tags will be created as needed
|
|
||||||
and older dynamic tags will be omitted.
|
|
||||||
If you specify @option{--disable-new-dtags}, no new dynamic tags will be
|
|
||||||
-created. By default, the new dynamic tags are not created. Note that
|
|
||||||
+created. By default, the new dynamic tags are created. Note that
|
|
||||||
those options are only available for ELF systems.
|
|
||||||
|
|
||||||
@kindex --hash-size=@var{number}
|
|
||||||
Index: binutils-2.24/ld/ldmain.c
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.24.orig/ld/ldmain.c
|
|
||||||
+++ binutils-2.24/ld/ldmain.c
|
|
||||||
@@ -276,6 +276,7 @@ main (int argc, char **argv)
|
|
||||||
|
|
||||||
link_info.allow_undefined_version = TRUE;
|
|
||||||
link_info.keep_memory = TRUE;
|
|
||||||
+ link_info.new_dtags = TRUE;
|
|
||||||
link_info.combreloc = TRUE;
|
|
||||||
link_info.strip_discarded = TRUE;
|
|
||||||
link_info.emit_hash = TRUE;
|
|
||||||
Index: binutils-2.24/ld/testsuite/ld-elf/now-3.d
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.24.orig/ld/testsuite/ld-elf/now-3.d
|
|
||||||
+++ binutils-2.24/ld/testsuite/ld-elf/now-3.d
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
#source: start.s
|
|
||||||
#readelf: -d -W
|
|
||||||
-#ld: -shared -z now
|
|
||||||
+#ld: -shared -z now --disable-new-dtags
|
|
||||||
#target: *-*-linux* *-*-gnu*
|
|
||||||
|
|
||||||
#failif
|
|
||||||
Index: binutils-2.24/ld/testsuite/ld-elf/now-4.d
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.24.orig/ld/testsuite/ld-elf/now-4.d
|
|
||||||
+++ binutils-2.24/ld/testsuite/ld-elf/now-4.d
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
#source: start.s
|
|
||||||
#readelf: -d -W
|
|
||||||
-#ld: -shared -z now
|
|
||||||
+#ld: -shared -z now --disable-new-dtags
|
|
||||||
#target: *-*-linux* *-*-gnu*
|
|
||||||
|
|
||||||
#...
|
|
||||||
Index: binutils-2.24/ld/testsuite/ld-elf/rpath-1.d
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.24.orig/ld/testsuite/ld-elf/rpath-1.d
|
|
||||||
+++ binutils-2.24/ld/testsuite/ld-elf/rpath-1.d
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
#source: start.s
|
|
||||||
#readelf: -d -W
|
|
||||||
-#ld: -shared -rpath .
|
|
||||||
+#ld: -shared -rpath . --disable-new-dtags
|
|
||||||
#target: *-*-linux* *-*-gnu*
|
|
||||||
|
|
||||||
#failif
|
|
||||||
Index: binutils-2.24/ld/testsuite/ld-elf/rpath-2.d
|
|
||||||
===================================================================
|
|
||||||
--- binutils-2.24.orig/ld/testsuite/ld-elf/rpath-2.d
|
|
||||||
+++ binutils-2.24/ld/testsuite/ld-elf/rpath-2.d
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
#source: start.s
|
|
||||||
#readelf: -d -W
|
|
||||||
-#ld: -shared -rpath .
|
|
||||||
+#ld: -shared -rpath . --disable-new-dtags
|
|
||||||
#target: *-*-linux* *-*-gnu*
|
|
||||||
|
|
||||||
#...
|
|
Loading…
Reference in New Issue
Block a user