binutils.git
4 years agoMerge version 2.35.1-7+rpi1 and 2.35.2-2 to produce 2.35.2-2+rpi1 bullseye-staging archive/raspbian/2.35.2-2+rpi1 raspbian/2.35.2-2+rpi1
Raspbian automatic forward porter [Sat, 6 Mar 2021 18:46:08 +0000 (18:46 +0000)]
Merge version 2.35.1-7+rpi1 and 2.35.2-2 to produce 2.35.2-2+rpi1

4 years agoMerge binutils (2.35.2-2) import into refs/heads/workingbranch
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Merge binutils (2.35.2-2) import into refs/heads/workingbranch

4 years agopgo+lto-check-ignore
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
pgo+lto-check-ignore

Gbp-Pq: Name pgo+lto-check-ignore.diff

4 years agolibctf-soname
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
libctf-soname

Gbp-Pq: Name libctf-soname.diff

4 years ago[PATCH 3/3] Support the PGO build for binutils+gdb
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
[PATCH 3/3] Support the PGO build for binutils+gdb

Add the --enable-pgo-build[=lto] configure option.  When binutils+gdb
is not built together with GCC, --enable-pgo-build enables the PGO build:

1. First build with -fprofile-generate.
2. Use "make maybe-check-*" to generate profiling data.
3. Use "make clean" to remove the previous build.
4. Rebuild with -fprofile-use.

With --enable-pgo-build=lto, -flto=jobserver is used together with
-fprofile-generate and -fprofile-use.  Add '+' to the command line for
recursive make to support -flto=jobserver.

NB: --enable-pgo-build=lto enables the PGO build with LTO while
--enable-lto enables LTO support in toolchain.

PR binutils/26766
* Makefile.tpl (BUILD_CFLAGS): New.
(CFLAGS): Append $(BUILD_CFLAGS).
(CXXFLAGS): Likewise.
(PGO_BUILD_GEN_FLAGS_TO_PASS): New.
(PGO_BUILD_TRAINING_CFLAGS): Likewise.
(PGO_BUILD_TRAINING_CXXFLAGS): Likewise.
(PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise.
(PGO_BUILD_USE_FLAGS_TO_PASS): Likewise.
(PGO-TRAINING-TARGETS): Likewise.
(PGO_BUILD_TRAINING): Likewise.
(all): Add '+' to the command line for recursive make.  Support
the PGO build.
* configure.ac: Add --enable-pgo-build[=lto].
AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and
PGO_BUILD_LTO_CFLAGS.  Enable the PGO build in Makefile.
* Makefile.in: Regenerated.
* configure: Likewise.

Gbp-Pq: Name pgo+lto-3.diff

4 years ago[PATCH 2/3] Binutils: Pass --plugin to AR and RANLIB
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
[PATCH 2/3] Binutils: Pass --plugin to AR and RANLIB

Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
build.

bfd/

* configure: Regenerated.

binutils/

* configure: Regenerated.

gas/

* configure: Regenerated.

gprof/

* configure: Regenerated.

ld/

* configure: Regenerated.

libctf/

* configure: Regenerated.

opcodes/

* configure: Regenerated.

Gbp-Pq: Name pgo+lto-2.diff

4 years ago[PATCH 1/3] GCC: Pass --plugin to AR and RANLIB
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
[PATCH 1/3] GCC: Pass --plugin to AR and RANLIB

Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
build.

* Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@
(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
* configure.ac: Include config/gcc-plugin.m4.
AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION.
* libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and
RANLIB if possible.
* Makefile.in: Regenerated.
* configure: Likewise.

config/

* gcc-plugin.m4 (GCC_PLUGIN_OPTION): New.

libiberty/

* Makefile.in (AR): Add @AR_PLUGIN_OPTION@
(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
(configure_deps): Depend on ../config/gcc-plugin.m4.
* aclocal.m4: Include ../config/gcc-plugin.m4.
* configure.ac: AC_SUBST AR_PLUGIN_OPTION and
RANLIB_PLUGIN_OPTION.
* configure: Regenerated.

zlib/

* configure: Regenerated.

Gbp-Pq: Name pgo+lto-1.diff

4 years agogold-no-keep-files-mapped
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
gold-no-keep-files-mapped

# DP: gold on 32bit archs: Release mapped files after each pass.

# DP: gold on 32bit archs: Release mapped files after each pass.

Gbp-Pq: Name gold-no-keep-files-mapped.diff

4 years agogold-mips
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
gold-mips

# DP: Fix gold on mips64 targets.

# DP: Fix gold on mips64 targets.

gold/

2016-08-09  Aurelien Jarno  <aurelien@aurel32.net>

* configure.tgt: Add mips64el*-*-*|mips64le*-*-* and mips64*-*-*.

Gbp-Pq: Name gold-mips.diff

4 years agomips64-default-n64
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
mips64-default-n64

Gbp-Pq: Name mips64-default-n64.diff

4 years agoaarch64-libpath
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
aarch64-libpath

===================================================================

Gbp-Pq: Name aarch64-libpath.diff

4 years agogprof-build
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
gprof-build

# DP: Fix gprof build error.

# DP: Fix gprof build error.

Gbp-Pq: Name gprof-build.diff

4 years ago_ld_doc_remove_xref
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
_ld_doc_remove_xref

# DP: In ld.texi, remove cross reference to BFD internals documentation.

# DP: In ld.texi, remove cross reference to BFD internals documentation.

Gbp-Pq: Name 164_ld_doc_remove_xref.diff

4 years ago_gold_dummy_zoption
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
_gold_dummy_zoption

# DP: let gold accept a dummy -z buildd-<random-string> option.

# DP: let gold accept a dummy -z buildd-<random-string> option.

Gbp-Pq: Name 161_gold_dummy_zoption.diff

4 years ago_ar_scripts_with_tilde
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
_ar_scripts_with_tilde

===================================================================

Gbp-Pq: Name 157_ar_scripts_with_tilde.patch

4 years agoBuild libbfd with -fPIC to allow linking with PIE binaries
Balint Reczey [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Build libbfd with -fPIC to allow linking with PIE binaries

Gbp-Pq: Name 136_bfd_pic.patch

4 years ago_bfd_soversion
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
_bfd_soversion

Gbp-Pq: Name 135_bfd_soversion.patch

4 years agoDescription: Fix ld-bootstrap testsuite when configured with --enable-plugins
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Description: Fix ld-bootstrap testsuite when configured with --enable-plugins

Upstream status: proposed patch

Upstream status: proposed patch

Gbp-Pq: Name 131_ld_bootstrap_testsuite.patch

4 years agoDescription: Disable build of gold/testsuite
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Description: Disable build of gold/testsuite

Upstream status: local

Upstream status: local

Gbp-Pq: Name 130_gold_disable_testsuite_build.patch

4 years ago_multiarch_libpath
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
_multiarch_libpath

# DP: Add multiarch directories to linker search path for ld and gold.

# DP: Add multiarch directories to linker search path for ld and gold.

Gbp-Pq: Name 129_multiarch_libpath.patch

4 years ago_ppc64_powerpc_biarch
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
_ppc64_powerpc_biarch

===================================================================

Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch

4 years agoExplicitly use bash for the ld testsuite.
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Explicitly use bash for the ld testsuite.

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

4 years agoSpecify which filename is causing an error if the filename is a
David Kimdon [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Specify which filename is causing an error if the filename is a

directory. (#45832)

Gbp-Pq: Name 006_better_file_error.patch

4 years agoDon't mention monitor(3) which doesn't exist in Debian. (#160654)
Chris Chimelis [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)

===================================================================

Gbp-Pq: Name 003_gprof_see_also_monitor.patch

4 years agoAdd more documentation about profiling and -fprofile-arcs.
Chris Chimelis [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Add more documentation about profiling and -fprofile-arcs.

===================================================================

Gbp-Pq: Name 002_gprof_profile_arcs.patch

4 years agoDescription: correct where ld scripts are installed
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Description: correct where ld scripts are installed

Upstream status: N/A

Upstream status: N/A
Date: ??

Gbp-Pq: Name 001_ld_makefile_patch.patch

4 years agobinutils (2.35.2-2) unstable; urgency=medium
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
binutils (2.35.2-2) unstable; urgency=medium

  * Add debugedit as dependency for the build autopkg test.

[dgit import unpatched binutils 2.35.2-2]

4 years agoImport binutils_2.35.2-2.debian.tar.xz
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Import binutils_2.35.2-2.debian.tar.xz

[dgit import tarball binutils 2.35.2-2 binutils_2.35.2-2.debian.tar.xz]

4 years agoImport binutils_2.35.2.orig.tar.xz
Matthias Klose [Fri, 19 Feb 2021 16:55:20 +0000 (16:55 +0000)]
Import binutils_2.35.2.orig.tar.xz

[dgit import orig binutils_2.35.2.orig.tar.xz]

4 years agoMerge version 2.35.1-6+rpi1 and 2.35.1-7 to produce 2.35.1-7+rpi1 archive/raspbian/2.35.1-7+rpi1 raspbian/2.35.1-7+rpi1
Raspbian automatic forward porter [Sun, 10 Jan 2021 04:50:19 +0000 (04:50 +0000)]
Merge version 2.35.1-6+rpi1 and 2.35.1-7 to produce 2.35.1-7+rpi1

4 years agoMerge binutils (2.35.1-7) import into refs/heads/workingbranch
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Merge binutils (2.35.1-7) import into refs/heads/workingbranch

4 years agopgo+lto-check-ignore
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
pgo+lto-check-ignore

Gbp-Pq: Name pgo+lto-check-ignore.diff

4 years agolibctf-soname
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
libctf-soname

Gbp-Pq: Name libctf-soname.diff

4 years ago[PATCH 3/3] Support the PGO build for binutils+gdb
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
[PATCH 3/3] Support the PGO build for binutils+gdb

Add the --enable-pgo-build[=lto] configure option.  When binutils+gdb
is not built together with GCC, --enable-pgo-build enables the PGO build:

1. First build with -fprofile-generate.
2. Use "make maybe-check-*" to generate profiling data.
3. Use "make clean" to remove the previous build.
4. Rebuild with -fprofile-use.

With --enable-pgo-build=lto, -flto=jobserver is used together with
-fprofile-generate and -fprofile-use.  Add '+' to the command line for
recursive make to support -flto=jobserver.

NB: --enable-pgo-build=lto enables the PGO build with LTO while
--enable-lto enables LTO support in toolchain.

PR binutils/26766
* Makefile.tpl (BUILD_CFLAGS): New.
(CFLAGS): Append $(BUILD_CFLAGS).
(CXXFLAGS): Likewise.
(PGO_BUILD_GEN_FLAGS_TO_PASS): New.
(PGO_BUILD_TRAINING_CFLAGS): Likewise.
(PGO_BUILD_TRAINING_CXXFLAGS): Likewise.
(PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise.
(PGO_BUILD_USE_FLAGS_TO_PASS): Likewise.
(PGO-TRAINING-TARGETS): Likewise.
(PGO_BUILD_TRAINING): Likewise.
(all): Add '+' to the command line for recursive make.  Support
the PGO build.
* configure.ac: Add --enable-pgo-build[=lto].
AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and
PGO_BUILD_LTO_CFLAGS.  Enable the PGO build in Makefile.
* Makefile.in: Regenerated.
* configure: Likewise.

Gbp-Pq: Name pgo+lto-3.diff

4 years ago[PATCH 2/3] Binutils: Pass --plugin to AR and RANLIB
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
[PATCH 2/3] Binutils: Pass --plugin to AR and RANLIB

Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
build.

bfd/

* configure: Regenerated.

binutils/

* configure: Regenerated.

gas/

* configure: Regenerated.

gprof/

* configure: Regenerated.

ld/

* configure: Regenerated.

libctf/

* configure: Regenerated.

opcodes/

* configure: Regenerated.

Gbp-Pq: Name pgo+lto-2.diff

4 years ago[PATCH 1/3] GCC: Pass --plugin to AR and RANLIB
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
[PATCH 1/3] GCC: Pass --plugin to AR and RANLIB

Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
build.

* Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@
(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
* configure.ac: Include config/gcc-plugin.m4.
AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION.
* libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and
RANLIB if possible.
* Makefile.in: Regenerated.
* configure: Likewise.

config/

* gcc-plugin.m4 (GCC_PLUGIN_OPTION): New.

libiberty/

* Makefile.in (AR): Add @AR_PLUGIN_OPTION@
(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
(configure_deps): Depend on ../config/gcc-plugin.m4.
* aclocal.m4: Include ../config/gcc-plugin.m4.
* configure.ac: AC_SUBST AR_PLUGIN_OPTION and
RANLIB_PLUGIN_OPTION.
* configure: Regenerated.

zlib/

* configure: Regenerated.

Gbp-Pq: Name pgo+lto-1.diff

4 years agogold-no-keep-files-mapped
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
gold-no-keep-files-mapped

# DP: gold on 32bit archs: Release mapped files after each pass.

# DP: gold on 32bit archs: Release mapped files after each pass.

Gbp-Pq: Name gold-no-keep-files-mapped.diff

4 years agogold-mips
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
gold-mips

# DP: Fix gold on mips64 targets.

# DP: Fix gold on mips64 targets.

gold/

2016-08-09  Aurelien Jarno  <aurelien@aurel32.net>

* configure.tgt: Add mips64el*-*-*|mips64le*-*-* and mips64*-*-*.

Gbp-Pq: Name gold-mips.diff

4 years agomips64-default-n64
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
mips64-default-n64

Gbp-Pq: Name mips64-default-n64.diff

4 years agoaarch64-libpath
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
aarch64-libpath

===================================================================

Gbp-Pq: Name aarch64-libpath.diff

4 years agogprof-build
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
gprof-build

# DP: Fix gprof build error.

# DP: Fix gprof build error.

Gbp-Pq: Name gprof-build.diff

4 years ago_ld_doc_remove_xref
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
_ld_doc_remove_xref

# DP: In ld.texi, remove cross reference to BFD internals documentation.

# DP: In ld.texi, remove cross reference to BFD internals documentation.

Gbp-Pq: Name 164_ld_doc_remove_xref.diff

4 years ago_gold_dummy_zoption
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
_gold_dummy_zoption

# DP: let gold accept a dummy -z buildd-<random-string> option.

# DP: let gold accept a dummy -z buildd-<random-string> option.

Gbp-Pq: Name 161_gold_dummy_zoption.diff

4 years ago_ar_scripts_with_tilde
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
_ar_scripts_with_tilde

===================================================================

Gbp-Pq: Name 157_ar_scripts_with_tilde.patch

4 years agoBuild libbfd with -fPIC to allow linking with PIE binaries
Balint Reczey [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Build libbfd with -fPIC to allow linking with PIE binaries

Gbp-Pq: Name 136_bfd_pic.patch

4 years ago_bfd_soversion
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
_bfd_soversion

Gbp-Pq: Name 135_bfd_soversion.patch

4 years agoDescription: Fix ld-bootstrap testsuite when configured with --enable-plugins
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Description: Fix ld-bootstrap testsuite when configured with --enable-plugins

Upstream status: proposed patch

Upstream status: proposed patch

Gbp-Pq: Name 131_ld_bootstrap_testsuite.patch

4 years agoDescription: Disable build of gold/testsuite
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Description: Disable build of gold/testsuite

Upstream status: local

Upstream status: local

Gbp-Pq: Name 130_gold_disable_testsuite_build.patch

4 years ago_multiarch_libpath
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
_multiarch_libpath

# DP: Add multiarch directories to linker search path for ld and gold.

# DP: Add multiarch directories to linker search path for ld and gold.

Gbp-Pq: Name 129_multiarch_libpath.patch

4 years ago_ppc64_powerpc_biarch
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
_ppc64_powerpc_biarch

===================================================================

Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch

4 years agoExplicitly use bash for the ld testsuite.
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Explicitly use bash for the ld testsuite.

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

4 years agoSpecify which filename is causing an error if the filename is a
David Kimdon [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Specify which filename is causing an error if the filename is a

directory. (#45832)

Gbp-Pq: Name 006_better_file_error.patch

4 years agoDon't mention monitor(3) which doesn't exist in Debian. (#160654)
Chris Chimelis [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)

===================================================================

Gbp-Pq: Name 003_gprof_see_also_monitor.patch

4 years agoAdd more documentation about profiling and -fprofile-arcs.
Chris Chimelis [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Add more documentation about profiling and -fprofile-arcs.

===================================================================

Gbp-Pq: Name 002_gprof_profile_arcs.patch

4 years agoDescription: correct where ld scripts are installed
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Description: correct where ld scripts are installed

Upstream status: N/A

Upstream status: N/A
Date: ??

Gbp-Pq: Name 001_ld_makefile_patch.patch

4 years agobranch-no-development
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
branch-no-development

Gbp-Pq: Name branch-no-development.diff

4 years agobranch-updates
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
branch-updates

# DP: updates from the binutils-2.35 branch

# DP: updates from the binutils-2.35 branch

# git diff 7e46a74aa3713c563940960e361e08defda019c2 f0b8ea109fbcd6ae6d226234428061f88ebfd3cc

Gbp-Pq: Name branch-updates.diff

4 years agobinutils (2.35.1-7) unstable; urgency=medium
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
binutils (2.35.1-7) unstable; urgency=medium

  * Update from the binutils 2.35 branch:
    - Fix PR gold/27140, ppc32 segmentation fault in make_stub. Closes: #973746.
    - PR binutils/27128, nm -P portable output format regression.
    - PR ld/26382, elf: Keep only one '@' for undefined versioned symbols.
    - nm: Remove --with-symbol-versions.

[dgit import unpatched binutils 2.35.1-7]

4 years agoImport binutils_2.35.1-7.debian.tar.xz
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Import binutils_2.35.1-7.debian.tar.xz

[dgit import tarball binutils 2.35.1-7 binutils_2.35.1-7.debian.tar.xz]

4 years agoMerge version 2.35.1-5+rpi1 and 2.35.1-6 to produce 2.35.1-6+rpi1 archive/raspbian/2.35.1-6+rpi1 raspbian/2.35.1-6+rpi1
Raspbian automatic forward porter [Tue, 29 Dec 2020 11:21:42 +0000 (11:21 +0000)]
Merge version 2.35.1-5+rpi1 and 2.35.1-6 to produce 2.35.1-6+rpi1

4 years agoMerge binutils (2.35.1-6) import into refs/heads/workingbranch
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Merge binutils (2.35.1-6) import into refs/heads/workingbranch

4 years agopgo+lto-check-ignore
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
pgo+lto-check-ignore

Gbp-Pq: Name pgo+lto-check-ignore.diff

4 years agolibctf-soname
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
libctf-soname

Gbp-Pq: Name libctf-soname.diff

4 years ago[PATCH 3/3] Support the PGO build for binutils+gdb
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
[PATCH 3/3] Support the PGO build for binutils+gdb

Add the --enable-pgo-build[=lto] configure option.  When binutils+gdb
is not built together with GCC, --enable-pgo-build enables the PGO build:

1. First build with -fprofile-generate.
2. Use "make maybe-check-*" to generate profiling data.
3. Use "make clean" to remove the previous build.
4. Rebuild with -fprofile-use.

With --enable-pgo-build=lto, -flto=jobserver is used together with
-fprofile-generate and -fprofile-use.  Add '+' to the command line for
recursive make to support -flto=jobserver.

NB: --enable-pgo-build=lto enables the PGO build with LTO while
--enable-lto enables LTO support in toolchain.

PR binutils/26766
* Makefile.tpl (BUILD_CFLAGS): New.
(CFLAGS): Append $(BUILD_CFLAGS).
(CXXFLAGS): Likewise.
(PGO_BUILD_GEN_FLAGS_TO_PASS): New.
(PGO_BUILD_TRAINING_CFLAGS): Likewise.
(PGO_BUILD_TRAINING_CXXFLAGS): Likewise.
(PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise.
(PGO_BUILD_USE_FLAGS_TO_PASS): Likewise.
(PGO-TRAINING-TARGETS): Likewise.
(PGO_BUILD_TRAINING): Likewise.
(all): Add '+' to the command line for recursive make.  Support
the PGO build.
* configure.ac: Add --enable-pgo-build[=lto].
AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and
PGO_BUILD_LTO_CFLAGS.  Enable the PGO build in Makefile.
* Makefile.in: Regenerated.
* configure: Likewise.

Gbp-Pq: Name pgo+lto-3.diff

4 years ago[PATCH 2/3] Binutils: Pass --plugin to AR and RANLIB
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
[PATCH 2/3] Binutils: Pass --plugin to AR and RANLIB

Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
build.

bfd/

* configure: Regenerated.

binutils/

* configure: Regenerated.

gas/

* configure: Regenerated.

gprof/

* configure: Regenerated.

ld/

* configure: Regenerated.

libctf/

* configure: Regenerated.

opcodes/

* configure: Regenerated.

Gbp-Pq: Name pgo+lto-2.diff

4 years ago[PATCH 1/3] GCC: Pass --plugin to AR and RANLIB
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
[PATCH 1/3] GCC: Pass --plugin to AR and RANLIB

Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
build.

* Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@
(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
* configure.ac: Include config/gcc-plugin.m4.
AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION.
* libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and
RANLIB if possible.
* Makefile.in: Regenerated.
* configure: Likewise.

config/

* gcc-plugin.m4 (GCC_PLUGIN_OPTION): New.

libiberty/

* Makefile.in (AR): Add @AR_PLUGIN_OPTION@
(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
(configure_deps): Depend on ../config/gcc-plugin.m4.
* aclocal.m4: Include ../config/gcc-plugin.m4.
* configure.ac: AC_SUBST AR_PLUGIN_OPTION and
RANLIB_PLUGIN_OPTION.
* configure: Regenerated.

zlib/

* configure: Regenerated.

Gbp-Pq: Name pgo+lto-1.diff

4 years agogold-no-keep-files-mapped
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
gold-no-keep-files-mapped

# DP: gold on 32bit archs: Release mapped files after each pass.

# DP: gold on 32bit archs: Release mapped files after each pass.

Gbp-Pq: Name gold-no-keep-files-mapped.diff

4 years agogold-mips
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
gold-mips

# DP: Fix gold on mips64 targets.

# DP: Fix gold on mips64 targets.

gold/

2016-08-09  Aurelien Jarno  <aurelien@aurel32.net>

* configure.tgt: Add mips64el*-*-*|mips64le*-*-* and mips64*-*-*.

Gbp-Pq: Name gold-mips.diff

4 years agomips64-default-n64
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
mips64-default-n64

Gbp-Pq: Name mips64-default-n64.diff

4 years agoaarch64-libpath
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
aarch64-libpath

===================================================================

Gbp-Pq: Name aarch64-libpath.diff

4 years agogprof-build
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
gprof-build

# DP: Fix gprof build error.

# DP: Fix gprof build error.

Gbp-Pq: Name gprof-build.diff

4 years ago_ld_doc_remove_xref
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
_ld_doc_remove_xref

# DP: In ld.texi, remove cross reference to BFD internals documentation.

# DP: In ld.texi, remove cross reference to BFD internals documentation.

Gbp-Pq: Name 164_ld_doc_remove_xref.diff

4 years ago_gold_dummy_zoption
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
_gold_dummy_zoption

# DP: let gold accept a dummy -z buildd-<random-string> option.

# DP: let gold accept a dummy -z buildd-<random-string> option.

Gbp-Pq: Name 161_gold_dummy_zoption.diff

4 years ago_ar_scripts_with_tilde
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
_ar_scripts_with_tilde

===================================================================

Gbp-Pq: Name 157_ar_scripts_with_tilde.patch

4 years agoBuild libbfd with -fPIC to allow linking with PIE binaries
Balint Reczey [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Build libbfd with -fPIC to allow linking with PIE binaries

Gbp-Pq: Name 136_bfd_pic.patch

4 years ago_bfd_soversion
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
_bfd_soversion

Gbp-Pq: Name 135_bfd_soversion.patch

4 years agoDescription: Fix ld-bootstrap testsuite when configured with --enable-plugins
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Description: Fix ld-bootstrap testsuite when configured with --enable-plugins

Upstream status: proposed patch

Upstream status: proposed patch

Gbp-Pq: Name 131_ld_bootstrap_testsuite.patch

4 years agoDescription: Disable build of gold/testsuite
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Description: Disable build of gold/testsuite

Upstream status: local

Upstream status: local

Gbp-Pq: Name 130_gold_disable_testsuite_build.patch

4 years ago_multiarch_libpath
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
_multiarch_libpath

# DP: Add multiarch directories to linker search path for ld and gold.

# DP: Add multiarch directories to linker search path for ld and gold.

Gbp-Pq: Name 129_multiarch_libpath.patch

4 years ago_ppc64_powerpc_biarch
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
_ppc64_powerpc_biarch

===================================================================

Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch

4 years agoExplicitly use bash for the ld testsuite.
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Explicitly use bash for the ld testsuite.

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

4 years agoSpecify which filename is causing an error if the filename is a
David Kimdon [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Specify which filename is causing an error if the filename is a

directory. (#45832)

Gbp-Pq: Name 006_better_file_error.patch

4 years agoDon't mention monitor(3) which doesn't exist in Debian. (#160654)
Chris Chimelis [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)

===================================================================

Gbp-Pq: Name 003_gprof_see_also_monitor.patch

4 years agoAdd more documentation about profiling and -fprofile-arcs.
Chris Chimelis [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Add more documentation about profiling and -fprofile-arcs.

===================================================================

Gbp-Pq: Name 002_gprof_profile_arcs.patch

4 years agoDescription: correct where ld scripts are installed
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Description: correct where ld scripts are installed

Upstream status: N/A

Upstream status: N/A
Date: ??

Gbp-Pq: Name 001_ld_makefile_patch.patch

4 years agobranch-no-development
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
branch-no-development

Gbp-Pq: Name branch-no-development.diff

4 years agobranch-updates
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
branch-updates

# DP: updates from the binutils-2.35 branch

# DP: updates from the binutils-2.35 branch

# git diff 7e46a74aa3713c563940960e361e08defda019c2 28193e11686698fe41133bbdae49f128de87bbb3

Gbp-Pq: Name branch-updates.diff

4 years agobinutils (2.35.1-6) unstable; urgency=medium
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
binutils (2.35.1-6) unstable; urgency=medium

  * Fix FTCBFS: Disable pgo for cross builds (Helmut Grohne). Closes: #977822.
  * 'nopgo' in DEB_BUILD_OPTIONS also disables the pgo builds.

[dgit import unpatched binutils 2.35.1-6]

4 years agoImport binutils_2.35.1-6.debian.tar.xz
Matthias Klose [Wed, 23 Dec 2020 08:38:22 +0000 (08:38 +0000)]
Import binutils_2.35.1-6.debian.tar.xz

[dgit import tarball binutils 2.35.1-6 binutils_2.35.1-6.debian.tar.xz]

4 years agoTouch yyscript.h and yyscript.c in clean target. archive/raspbian/2.35.1-5+rpi1 raspbian/2.35.1-5+rpi1
Peter Michael Green [Sun, 20 Dec 2020 11:14:08 +0000 (11:14 +0000)]
Touch yyscript.h and yyscript.c in clean target.

4 years agoManual merge of version 2.35.1-4+rpi1 and 2.35.1-5 to produce 2.35.1-5+rpi1
Peter Michael Green [Sun, 20 Dec 2020 09:36:21 +0000 (09:36 +0000)]
Manual merge of version 2.35.1-4+rpi1 and 2.35.1-5 to produce 2.35.1-5+rpi1

5 years agoMerge binutils (2.35.1-5) import into refs/heads/workingbranch
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
Merge binutils (2.35.1-5) import into refs/heads/workingbranch

5 years agopgo+lto-check-ignore
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
pgo+lto-check-ignore

Gbp-Pq: Name pgo+lto-check-ignore.diff

5 years agolibctf-soname
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
libctf-soname

Gbp-Pq: Name libctf-soname.diff

5 years ago[PATCH 3/3] Support the PGO build for binutils+gdb
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
[PATCH 3/3] Support the PGO build for binutils+gdb

Add the --enable-pgo-build[=lto] configure option.  When binutils+gdb
is not built together with GCC, --enable-pgo-build enables the PGO build:

1. First build with -fprofile-generate.
2. Use "make maybe-check-*" to generate profiling data.
3. Use "make clean" to remove the previous build.
4. Rebuild with -fprofile-use.

With --enable-pgo-build=lto, -flto=jobserver is used together with
-fprofile-generate and -fprofile-use.  Add '+' to the command line for
recursive make to support -flto=jobserver.

NB: --enable-pgo-build=lto enables the PGO build with LTO while
--enable-lto enables LTO support in toolchain.

PR binutils/26766
* Makefile.tpl (BUILD_CFLAGS): New.
(CFLAGS): Append $(BUILD_CFLAGS).
(CXXFLAGS): Likewise.
(PGO_BUILD_GEN_FLAGS_TO_PASS): New.
(PGO_BUILD_TRAINING_CFLAGS): Likewise.
(PGO_BUILD_TRAINING_CXXFLAGS): Likewise.
(PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise.
(PGO_BUILD_USE_FLAGS_TO_PASS): Likewise.
(PGO-TRAINING-TARGETS): Likewise.
(PGO_BUILD_TRAINING): Likewise.
(all): Add '+' to the command line for recursive make.  Support
the PGO build.
* configure.ac: Add --enable-pgo-build[=lto].
AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and
PGO_BUILD_LTO_CFLAGS.  Enable the PGO build in Makefile.
* Makefile.in: Regenerated.
* configure: Likewise.

Gbp-Pq: Name pgo+lto-3.diff

5 years ago[PATCH 2/3] Binutils: Pass --plugin to AR and RANLIB
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
[PATCH 2/3] Binutils: Pass --plugin to AR and RANLIB

Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
build.

bfd/

* configure: Regenerated.

binutils/

* configure: Regenerated.

gas/

* configure: Regenerated.

gprof/

* configure: Regenerated.

ld/

* configure: Regenerated.

libctf/

* configure: Regenerated.

opcodes/

* configure: Regenerated.

Gbp-Pq: Name pgo+lto-2.diff

5 years ago[PATCH 1/3] GCC: Pass --plugin to AR and RANLIB
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
[PATCH 1/3] GCC: Pass --plugin to AR and RANLIB

Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
build.

* Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@
(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
* configure.ac: Include config/gcc-plugin.m4.
AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION.
* libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and
RANLIB if possible.
* Makefile.in: Regenerated.
* configure: Likewise.

config/

* gcc-plugin.m4 (GCC_PLUGIN_OPTION): New.

libiberty/

* Makefile.in (AR): Add @AR_PLUGIN_OPTION@
(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
(configure_deps): Depend on ../config/gcc-plugin.m4.
* aclocal.m4: Include ../config/gcc-plugin.m4.
* configure.ac: AC_SUBST AR_PLUGIN_OPTION and
RANLIB_PLUGIN_OPTION.
* configure: Regenerated.

zlib/

* configure: Regenerated.

Gbp-Pq: Name pgo+lto-1.diff

5 years agogold-no-keep-files-mapped
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
gold-no-keep-files-mapped

# DP: gold on 32bit archs: Release mapped files after each pass.

# DP: gold on 32bit archs: Release mapped files after each pass.

Gbp-Pq: Name gold-no-keep-files-mapped.diff

5 years agogold-mips
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
gold-mips

# DP: Fix gold on mips64 targets.

# DP: Fix gold on mips64 targets.

gold/

2016-08-09  Aurelien Jarno  <aurelien@aurel32.net>

* configure.tgt: Add mips64el*-*-*|mips64le*-*-* and mips64*-*-*.

Gbp-Pq: Name gold-mips.diff

5 years agomips64-default-n64
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
mips64-default-n64

Gbp-Pq: Name mips64-default-n64.diff