summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
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
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
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
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
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
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
mips64-default-n64
Gbp-Pq: Name mips64-default-n64.diff
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
aarch64-libpath
===================================================================
Gbp-Pq: Name aarch64-libpath.diff
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
gprof-build
# DP: Fix gprof build error.
# DP: Fix gprof build error.
Gbp-Pq: Name gprof-build.diff
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +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 [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +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 [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
_ar_scripts_with_tilde
===================================================================
Gbp-Pq: Name 157_ar_scripts_with_tilde.patch
Balint Reczey [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
Build libbfd with -fPIC to allow linking with PIE binaries
Gbp-Pq: Name 136_bfd_pic.patch
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +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 [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
Description: Disable build of gold/testsuite
Upstream status: local
Upstream status: local
Gbp-Pq: Name 130_gold_disable_testsuite_build.patch
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +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 [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
_ppc64_powerpc_biarch
===================================================================
Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
Explicitly use bash for the ld testsuite.
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch
David Kimdon [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +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 [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)
===================================================================
Gbp-Pq: Name 003_gprof_see_also_monitor.patch
Chris Chimelis [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
Add more documentation about profiling and -fprofile-arcs.
===================================================================
Gbp-Pq: Name 002_gprof_profile_arcs.patch
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +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 [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
branch-no-development
Gbp-Pq: Name branch-no-development.diff
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +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
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
binutils (2.35.1-5) unstable; urgency=medium
* Backport the PGO/LTO build patches.
* Configure with --enable-pgo-build=lto, but don't do that for the cross
packages. Takes some time to build ...
[dgit import unpatched binutils 2.35.1-5]
Matthias Klose [Thu, 17 Dec 2020 19:42:32 +0000 (19:42 +0000)]
Import binutils_2.35.1-5.debian.tar.xz
[dgit import tarball binutils 2.35.1-5 binutils_2.35.1-5.debian.tar.xz]
Matthias Klose [Mon, 21 Sep 2020 09:45:07 +0000 (10:45 +0100)]
Import binutils_2.35.1.orig.tar.xz
[dgit import orig binutils_2.35.1.orig.tar.xz]