Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
Merge binutils (2.44-3) import into refs/heads/workingbranch
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
gprofng-cross-build
Gbp-Pq: Name gprofng-cross-build.diff
Alan Modra [Tue, 18 Feb 2025 22:04:42 +0000 (08:34 +1030)]
[PATCH] PR32715, ld-elf/pr29072 fail with --disable-default-execstack
--disable-default-stack is an alias for --enable-default-execstack=no.
The existing check only looked for the latter config option.
PR 32715
* testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Look
in config.h for result of --enable-default-execstack.
Gbp-Pq: Name pr32715.diff
James Addison [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
Generate a deterministic gprofng example documentation tarball
Bug-Debian: https://bugs.debian.org/
1090395
Bug-Debian: https://bugs.debian.org/
1092870
Last-Update: 2025-01-13
Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
armhf-64k-alignment
The upstream binutils commit below reduced the section alignment of
armhf executables (including shared libraries) from 64k to 4k, on the
basis that the additional bloat is not justified, given that arm64 hosts
running 64k pagesize kernels with armhf user space are not used in
practice.
However, the situation is slightly different today on Debian, where a
16k pagesize kernel is provided that enables compat support, and is
therefore able to execute armhf user space. The only impediment is the
fact that armhf binaries are no longer compatible with this, due to the
change below.
To accommodate this use case, revert the patch. This makes the generated
executables compatible with compat mode on arm64 systems running 16k
kernels.
Gbp-Pq: Name armhf-64k-alignment.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
pr32392-workaround
Gbp-Pq: Name pr32392-workaround.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
env-package-metadata
Gbp-Pq: Name env-package-metadata.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
perl-shebang
Gbp-Pq: Name perl-shebang.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
mips-hack
Gbp-Pq: Name mips-hack.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
aarch64-libpath
Gbp-Pq: Name aarch64-libpath.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
gprof-build
# DP: Fix gprof build error.
# DP: Fix gprof build error.
Gbp-Pq: Name gprof-build.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +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 [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
_ar_scripts_with_tilde
Gbp-Pq: Name 157_ar_scripts_with_tilde.patch
Balint Reczey [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries
Gbp-Pq: Name 136_bfd_pic.patch
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +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 [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +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 [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
_ppc64_powerpc_biarch
Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
Explicitly use bash for the ld testsuite.
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch
David Kimdon [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +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 [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)
Gbp-Pq: Name 003_gprof_see_also_monitor.patch
Chris Chimelis [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
Add more documentation about profiling and -fprofile-arcs.
Gbp-Pq: Name 002_gprof_profile_arcs.patch
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +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 [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +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
a68d096a0abebd945461e43c0cc9fb2057558c41 815d9a14cbbb3b81843f7566222c87fb22e7255d
Gbp-Pq: Name branch-version.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
branch-updates
# DP: updates from the binutils-2.44 branch
# DP: updates from the binutils-2.44 branch
# git diff
815d9a14cbbb3b81843f7566222c87fb22e7255d d180a356cc757b51aae58484fa201cfbc51c4fc2
Gbp-Pq: Name branch-updates.diff
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
binutils (2.44-3) unstable; urgency=medium
* New upstream snapshot, taken from the 2.44 release branch.
- Fix PR ld/32731, ub sanitizer accessing filenames_reversed.
- Translation updates.
* Don't configure --enable-warn-rwx-segments not enabled on hppa, sparc
and sparc64. Closes: #
1098970.
* Fix cross build for gprofng archs (Helmut Grohne). Closes: #
1098728.
[dgit import unpatched binutils 2.44-3]
Matthias Klose [Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)]
Import binutils_2.44-3.debian.tar.xz
[dgit import tarball binutils 2.44-3 binutils_2.44-3.debian.tar.xz]
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
Merge binutils (2.44-2) import into refs/heads/workingbranch
Alan Modra [Tue, 18 Feb 2025 22:04:42 +0000 (08:34 +1030)]
[PATCH] PR32715, ld-elf/pr29072 fail with --disable-default-execstack
--disable-default-stack is an alias for --enable-default-execstack=no.
The existing check only looked for the latter config option.
PR 32715
* testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Look
in config.h for result of --enable-default-execstack.
Gbp-Pq: Name pr32715.diff
James Addison [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
Generate a deterministic gprofng example documentation tarball
Bug-Debian: https://bugs.debian.org/
1090395
Bug-Debian: https://bugs.debian.org/
1092870
Last-Update: 2025-01-13
Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
armhf-64k-alignment
The upstream binutils commit below reduced the section alignment of
armhf executables (including shared libraries) from 64k to 4k, on the
basis that the additional bloat is not justified, given that arm64 hosts
running 64k pagesize kernels with armhf user space are not used in
practice.
However, the situation is slightly different today on Debian, where a
16k pagesize kernel is provided that enables compat support, and is
therefore able to execute armhf user space. The only impediment is the
fact that armhf binaries are no longer compatible with this, due to the
change below.
To accommodate this use case, revert the patch. This makes the generated
executables compatible with compat mode on arm64 systems running 16k
kernels.
Gbp-Pq: Name armhf-64k-alignment.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
pr32392-workaround
Gbp-Pq: Name pr32392-workaround.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
env-package-metadata
Gbp-Pq: Name env-package-metadata.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
perl-shebang
Gbp-Pq: Name perl-shebang.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
mips-hack
Gbp-Pq: Name mips-hack.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
aarch64-libpath
Gbp-Pq: Name aarch64-libpath.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
gprof-build
# DP: Fix gprof build error.
# DP: Fix gprof build error.
Gbp-Pq: Name gprof-build.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +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, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
_ar_scripts_with_tilde
Gbp-Pq: Name 157_ar_scripts_with_tilde.patch
Balint Reczey [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries
Gbp-Pq: Name 136_bfd_pic.patch
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +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, 19 Feb 2025 06:58:28 +0000 (07:58 +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, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
_ppc64_powerpc_biarch
Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
Explicitly use bash for the ld testsuite.
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch
David Kimdon [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +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, 19 Feb 2025 06:58:28 +0000 (07:58 +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, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
Add more documentation about profiling and -fprofile-arcs.
Gbp-Pq: Name 002_gprof_profile_arcs.patch
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +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, 19 Feb 2025 06:58:28 +0000 (07:58 +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
a68d096a0abebd945461e43c0cc9fb2057558c41 815d9a14cbbb3b81843f7566222c87fb22e7255d
Gbp-Pq: Name branch-version.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
branch-updates
# DP: updates from the binutils-2.44 branch
# DP: updates from the binutils-2.44 branch
# git diff
815d9a14cbbb3b81843f7566222c87fb22e7255d 35057a7cb5fbdf8a1e2561b6dbe2ec3b9f59b421
Gbp-Pq: Name branch-updates.diff
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
binutils (2.44-2) unstable; urgency=medium
* New upstream snapshot, taken from the 2.44 release branch.
- gas: fix rs_fill_nop listing.
- Fix score-elf gas SEGV.
* Configure with --disable-default-execstack --enable-warn-rwx-segments.
* Fix PR ld/32715, test failure with --disable-default-execstack. Taken
from the trunk.
[dgit import unpatched binutils 2.44-2]
Matthias Klose [Wed, 19 Feb 2025 06:58:28 +0000 (07:58 +0100)]
Import binutils_2.44-2.debian.tar.xz
[dgit import tarball binutils 2.44-2 binutils_2.44-2.debian.tar.xz]
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
Import binutils_2.44.orig.tar.xz
[dgit import orig binutils_2.44.orig.tar.xz]
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
Merge binutils (2.44-1) import into refs/heads/workingbranch
James Addison [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
Generate a deterministic gprofng example documentation tarball
Bug-Debian: https://bugs.debian.org/
1090395
Bug-Debian: https://bugs.debian.org/
1092870
Last-Update: 2025-01-13
Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
armhf-64k-alignment
The upstream binutils commit below reduced the section alignment of
armhf executables (including shared libraries) from 64k to 4k, on the
basis that the additional bloat is not justified, given that arm64 hosts
running 64k pagesize kernels with armhf user space are not used in
practice.
However, the situation is slightly different today on Debian, where a
16k pagesize kernel is provided that enables compat support, and is
therefore able to execute armhf user space. The only impediment is the
fact that armhf binaries are no longer compatible with this, due to the
change below.
To accommodate this use case, revert the patch. This makes the generated
executables compatible with compat mode on arm64 systems running 16k
kernels.
Gbp-Pq: Name armhf-64k-alignment.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
pr32392-workaround
Gbp-Pq: Name pr32392-workaround.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
env-package-metadata
Gbp-Pq: Name env-package-metadata.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
perl-shebang
Gbp-Pq: Name perl-shebang.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
mips-hack
Gbp-Pq: Name mips-hack.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
aarch64-libpath
Gbp-Pq: Name aarch64-libpath.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
gprof-build
# DP: Fix gprof build error.
# DP: Fix gprof build error.
Gbp-Pq: Name gprof-build.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +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 [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
_ar_scripts_with_tilde
Gbp-Pq: Name 157_ar_scripts_with_tilde.patch
Balint Reczey [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries
Gbp-Pq: Name 136_bfd_pic.patch
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +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 [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +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 [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
_ppc64_powerpc_biarch
Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
Explicitly use bash for the ld testsuite.
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch
David Kimdon [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +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 [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)
Gbp-Pq: Name 003_gprof_see_also_monitor.patch
Chris Chimelis [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
Add more documentation about profiling and -fprofile-arcs.
Gbp-Pq: Name 002_gprof_profile_arcs.patch
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +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 [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +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
a68d096a0abebd945461e43c0cc9fb2057558c41 815d9a14cbbb3b81843f7566222c87fb22e7255d
Gbp-Pq: Name branch-version.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
branch-updates
# DP: updates from the binutils-2.44 branch
# DP: updates from the binutils-2.44 branch
# git diff
815d9a14cbbb3b81843f7566222c87fb22e7255d ff4e56e76604111b45af933975999fc97d9819ca
Gbp-Pq: Name branch-updates.diff
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
binutils (2.44-1) unstable; urgency=medium
* New upstream release.
* Drop build dependency on binutils-gold.
* Remove gold chunks from debian patches.
* Ignore testsuite regression on sh4.
[dgit import unpatched binutils 2.44-1]
Matthias Klose [Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)]
Import binutils_2.44-1.debian.tar.xz
[dgit import tarball binutils 2.44-1 binutils_2.44-1.debian.tar.xz]
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Merge binutils (2.43.90.
20250127-1) import into refs/heads/workingbranch
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
pr32599
Gbp-Pq: Name pr32599.diff
James Addison [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Generate a deterministic gprofng example documentation tarball
Bug-Debian: https://bugs.debian.org/
1090395
Bug-Debian: https://bugs.debian.org/
1092870
Last-Update: 2025-01-13
Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff
Benjamin Drung [Tue, 17 Dec 2024 15:27:46 +0000 (15:27 +0000)]
[PATCH RESEND] gold: Support percent-encoded JSON in --package-metadata
From benjamin.drung@canonical.com Tue Dec 17 15:27:46 2024
Message-ID: <
20241217152746.98360-1-benjamin.drung@canonical.com>
Specifying the compiler flag `-Wl,--package-metadata=<JSON>` will not
work in case the JSON contains a comma, because compiler drivers eat
commas. Example:
```
$ echo "void main() { }" > test.c
$ gcc -fuse-ld=gold '-Wl,--package-metadata={"type":"deb","os":"ubuntu"}' test.c
/usr/bin/ld.gold: error: cannot open "os":"ubuntu"}: No such file or directory
/usr/bin/ld.gold: fatal error: error: --package-metadata={"type":"deb" does not contain valid JSON: '}' expected near end of file
collect2: error: ld returned 1 exit status
```
The quotation marks in the JSON value do not work well with shell nor
make. Specifying the `--package-metadata` linker flag in a `LDFLAGS`
environment variable might loose its quotation marks when it hits the
final compiler call.
Following the same format as the implementation in ld:
b0cc81e87087bb8a6b12dc1e4fd7f2591927977b
So support percent-encoded and %[string] encoded JSON data in the
`--package-metadata` linker flag. Percent-encoding is used because it is
a standard, simple to implement, and does take too many additional
characters. %[string] encoding is supported for having a more readable
encoding.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32003
Bug-Ubutru: https://bugs.launchpad.net/bugs/
2071468
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
Gbp-Pq: Name gold-package-metadata.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
armhf-64k-alignment
The upstream binutils commit below reduced the section alignment of
armhf executables (including shared libraries) from 64k to 4k, on the
basis that the additional bloat is not justified, given that arm64 hosts
running 64k pagesize kernels with armhf user space are not used in
practice.
However, the situation is slightly different today on Debian, where a
16k pagesize kernel is provided that enables compat support, and is
therefore able to execute armhf user space. The only impediment is the
fact that armhf binaries are no longer compatible with this, due to the
change below.
To accommodate this use case, revert the patch. This makes the generated
executables compatible with compat mode on arm64 systems running 16k
kernels.
Gbp-Pq: Name armhf-64k-alignment.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
pr32392-workaround
Gbp-Pq: Name pr32392-workaround.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
env-package-metadata
Gbp-Pq: Name env-package-metadata.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
perl-shebang
Gbp-Pq: Name perl-shebang.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
mips-hack
Gbp-Pq: Name mips-hack.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +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 [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
aarch64-libpath
Gbp-Pq: Name aarch64-libpath.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
gprof-build
# DP: Fix gprof build error.
# DP: Fix gprof build error.
Gbp-Pq: Name gprof-build.diff
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +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 [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +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 [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
_ar_scripts_with_tilde
Gbp-Pq: Name 157_ar_scripts_with_tilde.patch
Balint Reczey [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries
Gbp-Pq: Name 136_bfd_pic.patch
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch