Peter Michael Green [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Merge binutils (2.37-4+rpi2) import into refs/heads/workingbranch
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
mips-hack
Gbp-Pq: Name mips-hack.diff
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
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
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
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
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
mips64-default-n64
Gbp-Pq: Name mips64-default-n64.diff
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
aarch64-libpath
Gbp-Pq: Name aarch64-libpath.diff
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
gprof-build
# DP: Fix gprof build error.
# DP: Fix gprof build error.
Gbp-Pq: Name gprof-build.diff
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
_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
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
_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
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
_ar_scripts_with_tilde
Gbp-Pq: Name 157_ar_scripts_with_tilde.patch
Balint Reczey [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries
Gbp-Pq: Name 136_bfd_pic.patch
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
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
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Description: Disable build of gold/testsuite
Upstream status: local
Upstream status: local
Gbp-Pq: Name 130_gold_disable_testsuite_build.patch
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
_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
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
_ppc64_powerpc_biarch
Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Explicitly use bash for the ld testsuite.
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch
David Kimdon [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Specify which filename is causing an error if the filename is a
directory. (#45832)
Gbp-Pq: Name 006_better_file_error.patch
Chris Chimelis [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)
Gbp-Pq: Name 003_gprof_see_also_monitor.patch
Chris Chimelis [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Add more documentation about profiling and -fprofile-arcs.
Gbp-Pq: Name 002_gprof_profile_arcs.patch
Peter Michael Green [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Description: correct where ld scripts are installed
Upstream status: N/A
Upstream status: N/A
Date: ??
Gbp-Pq: Name 001_ld_makefile_patch.patch
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
branch-version
# DP: Don't bump the version when doing distro builds
# DP: Don't bump the version when doing distro builds
git diff
acda0027559c6112ea91af13fb32dd4bef8f0b8b 9288e0fae61b716ce75334be906283de8b18b787
Gbp-Pq: Name branch-version.diff
Matthias Klose [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
branch-updates
# DP: updates from the binutils-2.37 branch
# DP: updates from the binutils-2.37 branch
# git diff
116a737f438d03a1bd6aa706b6ea0b4022f3b7e2 07270a9e781a2fe7c92dfe992d7bcbbe9ec9d708
Gbp-Pq: Name branch-updates.diff
Peter Michael Green [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
binutils (2.37-4+rpi2) bookworm-staging; urgency=medium
* Fix merge screwup that left us with no arm64 cross binutils.
[dgit import unpatched binutils 2.37-4+rpi2]
Peter Michael Green [Wed, 1 Sep 2021 12:43:37 +0000 (13:43 +0100)]
Import binutils_2.37-4+rpi2.debian.tar.xz
[dgit import tarball binutils 2.37-4+rpi2 binutils_2.37-4+rpi2.debian.tar.xz]
Peter Michael Green [Mon, 30 Aug 2021 13:54:06 +0000 (13:54 +0000)]
Manual merge of version 2.35.2-2+rpi1 and 2.37-4 to produce 2.37-4+rpi1
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Merge binutils (2.37-4) import into refs/heads/workingbranch
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
mips-hack
Gbp-Pq: Name mips-hack.diff
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
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
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
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
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
mips64-default-n64
Gbp-Pq: Name mips64-default-n64.diff
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
aarch64-libpath
Gbp-Pq: Name aarch64-libpath.diff
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
gprof-build
# DP: Fix gprof build error.
# DP: Fix gprof build error.
Gbp-Pq: Name gprof-build.diff
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
_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
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
_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
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
_ar_scripts_with_tilde
Gbp-Pq: Name 157_ar_scripts_with_tilde.patch
Balint Reczey [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries
Gbp-Pq: Name 136_bfd_pic.patch
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
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
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Description: Disable build of gold/testsuite
Upstream status: local
Upstream status: local
Gbp-Pq: Name 130_gold_disable_testsuite_build.patch
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
_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
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
_ppc64_powerpc_biarch
Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Explicitly use bash for the ld testsuite.
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch
David Kimdon [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Specify which filename is causing an error if the filename is a
directory. (#45832)
Gbp-Pq: Name 006_better_file_error.patch
Chris Chimelis [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)
Gbp-Pq: Name 003_gprof_see_also_monitor.patch
Chris Chimelis [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Add more documentation about profiling and -fprofile-arcs.
Gbp-Pq: Name 002_gprof_profile_arcs.patch
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Description: correct where ld scripts are installed
Upstream status: N/A
Upstream status: N/A
Date: ??
Gbp-Pq: Name 001_ld_makefile_patch.patch
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
branch-version
# DP: Don't bump the version when doing distro builds
# DP: Don't bump the version when doing distro builds
git diff
acda0027559c6112ea91af13fb32dd4bef8f0b8b 9288e0fae61b716ce75334be906283de8b18b787
Gbp-Pq: Name branch-version.diff
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
branch-updates
# DP: updates from the binutils-2.37 branch
# DP: updates from the binutils-2.37 branch
# git diff
116a737f438d03a1bd6aa706b6ea0b4022f3b7e2 07270a9e781a2fe7c92dfe992d7bcbbe9ec9d708
Gbp-Pq: Name branch-updates.diff
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
binutils (2.37-4) unstable; urgency=medium
* Update from the binutils 2.37 branch:
- Revert the ld script expression parsing changes.
[dgit import unpatched binutils 2.37-4]
Matthias Klose [Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)]
Import binutils_2.37-4.debian.tar.xz
[dgit import tarball binutils 2.37-4 binutils_2.37-4.debian.tar.xz]
Matthias Klose [Mon, 19 Jul 2021 06:11:10 +0000 (07:11 +0100)]
Import binutils_2.37.orig.tar.xz
[dgit import orig binutils_2.37.orig.tar.xz]
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
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
Merge binutils (2.35.2-2) import into refs/heads/workingbranch
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
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
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
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
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
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
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
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
mips64-default-n64
Gbp-Pq: Name mips64-default-n64.diff
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
aarch64-libpath
===================================================================
Gbp-Pq: Name aarch64-libpath.diff
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
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
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
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
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
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch
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
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
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
Matthias Klose [Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)]
_ppc64_powerpc_biarch
===================================================================
Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch
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
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
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
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
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
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]
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]
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]
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
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
Merge binutils (2.35.1-7) import into refs/heads/workingbranch
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
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
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
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
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
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
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
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
mips64-default-n64
Gbp-Pq: Name mips64-default-n64.diff
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
aarch64-libpath
===================================================================
Gbp-Pq: Name aarch64-libpath.diff
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
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
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
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
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
Matthias Klose [Wed, 6 Jan 2021 10:57:25 +0000 (10:57 +0000)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch