binutils.git
10 months agoMerge binutils (2.43.90.20250127-1) import into refs/heads/workingbranch
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

10 months agopr32599
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
pr32599

Gbp-Pq: Name pr32599.diff

10 months agoGenerate a deterministic gprofng example documentation tarball
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

10 months ago[PATCH RESEND] gold: Support percent-encoded JSON in --package-metadata
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

10 months agoarmhf-64k-alignment
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

10 months agopr32392-workaround
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
pr32392-workaround

Gbp-Pq: Name pr32392-workaround.diff

10 months agoenv-package-metadata
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
env-package-metadata

Gbp-Pq: Name env-package-metadata.diff

10 months agoperl-shebang
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
perl-shebang

Gbp-Pq: Name perl-shebang.diff

10 months agomips-hack
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
mips-hack

Gbp-Pq: Name mips-hack.diff

10 months agolibctf-soname
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
libctf-soname

Gbp-Pq: Name libctf-soname.diff

10 months agogold-no-keep-files-mapped
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

10 months agoaarch64-libpath
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
aarch64-libpath

Gbp-Pq: Name aarch64-libpath.diff

10 months agogprof-build
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

10 months ago_ld_doc_remove_xref
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

10 months ago_gold_dummy_zoption
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

10 months ago_ar_scripts_with_tilde
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

10 months agoBuild libbfd with -fPIC to allow linking with PIE binaries
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

10 months ago_bfd_soversion
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
_bfd_soversion

Gbp-Pq: Name 135_bfd_soversion.patch

10 months agoDescription: Fix ld-bootstrap testsuite when configured with --enable-plugins
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +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

10 months agoDescription: Disable build of gold/testsuite
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Description: Disable build of gold/testsuite

Upstream status: local

Upstream status: local

Gbp-Pq: Name 130_gold_disable_testsuite_build.patch

10 months ago_multiarch_libpath
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +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

10 months ago_ppc64_powerpc_biarch
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
_ppc64_powerpc_biarch

Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch

10 months agoExplicitly use bash for the ld testsuite.
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Explicitly use bash for the ld testsuite.

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

10 months agoSpecify which filename is causing an error if the filename is a
David Kimdon [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Specify which filename is causing an error if the filename is a

directory. (#45832)

Gbp-Pq: Name 006_better_file_error.patch

10 months agoDon't mention monitor(3) which doesn't exist in Debian. (#160654)
Chris Chimelis [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)

Gbp-Pq: Name 003_gprof_see_also_monitor.patch

10 months agoAdd more documentation about profiling and -fprofile-arcs.
Chris Chimelis [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Add more documentation about profiling and -fprofile-arcs.

Gbp-Pq: Name 002_gprof_profile_arcs.patch

10 months agoDescription: correct where ld scripts are installed
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +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

10 months agobinutils (2.43.90.20250127-1) unstable; urgency=medium
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
binutils (2.43.90.20250127-1) unstable; urgency=medium

  * New upstream snapshot, taken from the 2.44 release branch..
  * Fix build failure on x32.
  * Fix substitution of @gold_archs@ in targeted cross toolchains (Helmut
    Grohne). Closes: #1093841.
  * Fix PR 32599, taken from the trunk. Closes: #1093895.

[dgit import unpatched binutils 2.43.90.20250127-1]

10 months agoImport binutils_2.43.90.20250127.orig.tar.xz
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Import binutils_2.43.90.20250127.orig.tar.xz

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

10 months agoImport binutils_2.43.90.20250127-1.debian.tar.xz
Matthias Klose [Mon, 27 Jan 2025 10:12:03 +0000 (11:12 +0100)]
Import binutils_2.43.90.20250127-1.debian.tar.xz

[dgit import tarball binutils 2.43.90.20250127-1 binutils_2.43.90.20250127-1.debian.tar.xz]

11 months agoMerge binutils (2.43.50.20250108-1) import into refs/heads/workingbranch
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Merge binutils (2.43.50.20250108-1) import into refs/heads/workingbranch

11 months agoGenerate a deterministic gprofng example documentation tarball
James Addison [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Generate a deterministic gprofng example documentation tarball

Bug-Debian: https://bugs.debian.org/1090395

Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff

11 months ago[PATCH RESEND] gold: Support percent-encoded JSON in --package-metadata
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

11 months agoarmhf-64k-alignment
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +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

11 months agopr32392-workaround
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
pr32392-workaround

Gbp-Pq: Name pr32392-workaround.diff

11 months agoenv-package-metadata
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
env-package-metadata

Gbp-Pq: Name env-package-metadata.diff

11 months agoperl-shebang
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
perl-shebang

Gbp-Pq: Name perl-shebang.diff

11 months agomips-hack
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
mips-hack

Gbp-Pq: Name mips-hack.diff

11 months agolibctf-soname
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
libctf-soname

Gbp-Pq: Name libctf-soname.diff

11 months agogold-no-keep-files-mapped
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +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

11 months agoaarch64-libpath
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
aarch64-libpath

Gbp-Pq: Name aarch64-libpath.diff

11 months agogprof-build
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
gprof-build

# DP: Fix gprof build error.

# DP: Fix gprof build error.

Gbp-Pq: Name gprof-build.diff

11 months ago_ld_doc_remove_xref
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +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

11 months ago_gold_dummy_zoption
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +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

11 months ago_ar_scripts_with_tilde
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
_ar_scripts_with_tilde

Gbp-Pq: Name 157_ar_scripts_with_tilde.patch

11 months agoBuild libbfd with -fPIC to allow linking with PIE binaries
Balint Reczey [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries

Gbp-Pq: Name 136_bfd_pic.patch

11 months ago_bfd_soversion
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
_bfd_soversion

Gbp-Pq: Name 135_bfd_soversion.patch

11 months agoDescription: Fix ld-bootstrap testsuite when configured with --enable-plugins
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +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

11 months agoDescription: Disable build of gold/testsuite
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Description: Disable build of gold/testsuite

Upstream status: local

Upstream status: local

Gbp-Pq: Name 130_gold_disable_testsuite_build.patch

11 months ago_multiarch_libpath
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +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

11 months ago_ppc64_powerpc_biarch
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
_ppc64_powerpc_biarch

Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch

11 months agoExplicitly use bash for the ld testsuite.
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Explicitly use bash for the ld testsuite.

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

11 months agoSpecify which filename is causing an error if the filename is a
David Kimdon [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Specify which filename is causing an error if the filename is a

directory. (#45832)

Gbp-Pq: Name 006_better_file_error.patch

11 months agoDon't mention monitor(3) which doesn't exist in Debian. (#160654)
Chris Chimelis [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)

Gbp-Pq: Name 003_gprof_see_also_monitor.patch

11 months agoAdd more documentation about profiling and -fprofile-arcs.
Chris Chimelis [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Add more documentation about profiling and -fprofile-arcs.

Gbp-Pq: Name 002_gprof_profile_arcs.patch

11 months agoDescription: correct where ld scripts are installed
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +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

11 months agobinutils (2.43.50.20250108-1) unstable; urgency=medium
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
binutils (2.43.50.20250108-1) unstable; urgency=medium

  * New upstream snapshot, taken from the trunk.
  * Avoid warning in env-package-metadata.diff patch (Nicolas Boulenguez).
Closes: #1090761.
  * binutils-doc: Make package reproducible. Closes: #1090395.

[dgit import unpatched binutils 2.43.50.20250108-1]

11 months agoImport binutils_2.43.50.20250108.orig.tar.xz
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Import binutils_2.43.50.20250108.orig.tar.xz

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

11 months agoImport binutils_2.43.50.20250108-1.debian.tar.xz
Matthias Klose [Wed, 8 Jan 2025 23:34:21 +0000 (00:34 +0100)]
Import binutils_2.43.50.20250108-1.debian.tar.xz

[dgit import tarball binutils 2.43.50.20250108-1 binutils_2.43.50.20250108-1.debian.tar.xz]

11 months agoMerge binutils (2.43.50.20241230-1) import into refs/heads/workingbranch
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Merge binutils (2.43.50.20241230-1) import into refs/heads/workingbranch

11 months ago[PATCH] gas: Revert PR 32391 related commits to fix 3 regressions
H.J. Lu [Thu, 26 Dec 2024 08:12:36 +0000 (16:12 +0800)]
[PATCH] gas: Revert PR 32391 related commits to fix 3 regressions

From hjl.tools@gmail.com  Thu Dec 26 08:12:36 2024
Message-ID: <20241226081236.495980-1-hjl.tools@gmail.com>

9f2e3c21f65 Fix the handling or arguments and macro pseudo-variables inside nested assembler macros.

introduced 3 regressions of PR gas/32484, PR gas/32486 and PR gas/32487.
Revert all PR 32391 related commits and add tests for PR gas/32484,
PR gas/32486, PR gas/32487.

PR gas/32484
PR gas/32486
PR gas/32487
* testsuite/gas/macros/macros.exp: Run nesting1, nesting2 and
nesting3.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Gbp-Pq: Name pr32391-revert.diff

11 months ago[PATCH RESEND] gold: Support percent-encoded JSON in --package-metadata
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

11 months agoarmhf-64k-alignment
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +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

11 months agopr32392-workaround
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
pr32392-workaround

Gbp-Pq: Name pr32392-workaround.diff

11 months agoenv-package-metadata
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
env-package-metadata

Gbp-Pq: Name env-package-metadata.diff

11 months agoperl-shebang
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
perl-shebang

Gbp-Pq: Name perl-shebang.diff

11 months agomips-hack
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
mips-hack

Gbp-Pq: Name mips-hack.diff

11 months agolibctf-soname
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
libctf-soname

Gbp-Pq: Name libctf-soname.diff

11 months agogold-no-keep-files-mapped
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +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

11 months agoaarch64-libpath
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
aarch64-libpath

Gbp-Pq: Name aarch64-libpath.diff

11 months agogprof-build
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
gprof-build

# DP: Fix gprof build error.

# DP: Fix gprof build error.

Gbp-Pq: Name gprof-build.diff

11 months ago_ld_doc_remove_xref
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +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

11 months ago_gold_dummy_zoption
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +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

11 months ago_ar_scripts_with_tilde
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
_ar_scripts_with_tilde

Gbp-Pq: Name 157_ar_scripts_with_tilde.patch

11 months agoBuild libbfd with -fPIC to allow linking with PIE binaries
Balint Reczey [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries

Gbp-Pq: Name 136_bfd_pic.patch

11 months ago_bfd_soversion
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
_bfd_soversion

Gbp-Pq: Name 135_bfd_soversion.patch

11 months agoDescription: Fix ld-bootstrap testsuite when configured with --enable-plugins
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +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

11 months agoDescription: Disable build of gold/testsuite
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Description: Disable build of gold/testsuite

Upstream status: local

Upstream status: local

Gbp-Pq: Name 130_gold_disable_testsuite_build.patch

11 months ago_multiarch_libpath
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +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

11 months ago_ppc64_powerpc_biarch
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
_ppc64_powerpc_biarch

Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch

11 months agoExplicitly use bash for the ld testsuite.
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Explicitly use bash for the ld testsuite.

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

11 months agoSpecify which filename is causing an error if the filename is a
David Kimdon [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Specify which filename is causing an error if the filename is a

directory. (#45832)

Gbp-Pq: Name 006_better_file_error.patch

11 months agoDon't mention monitor(3) which doesn't exist in Debian. (#160654)
Chris Chimelis [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)

Gbp-Pq: Name 003_gprof_see_also_monitor.patch

11 months agoAdd more documentation about profiling and -fprofile-arcs.
Chris Chimelis [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Add more documentation about profiling and -fprofile-arcs.

Gbp-Pq: Name 002_gprof_profile_arcs.patch

11 months agoDescription: correct where ld scripts are installed
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +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

11 months agobinutils (2.43.50.20241230-1) unstable; urgency=medium
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
binutils (2.43.50.20241230-1) unstable; urgency=medium

  * New upstream snapshot, taken from the trunk.
  * Revert the fix for PR gas/32391. Closes: #1090999, #1091488.
  * Build with GCC 14.2.0-12 on ARM32. Closes: #1091281.

[dgit import unpatched binutils 2.43.50.20241230-1]

11 months agoImport binutils_2.43.50.20241230.orig.tar.xz
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Import binutils_2.43.50.20241230.orig.tar.xz

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

11 months agoImport binutils_2.43.50.20241230-1.debian.tar.xz
Matthias Klose [Mon, 30 Dec 2024 11:18:11 +0000 (12:18 +0100)]
Import binutils_2.43.50.20241230-1.debian.tar.xz

[dgit import tarball binutils 2.43.50.20241230-1 binutils_2.43.50.20241230-1.debian.tar.xz]

12 months agoMerge binutils (2.43.50.20241215-1) import into refs/heads/workingbranch
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +0100)]
Merge binutils (2.43.50.20241215-1) import into refs/heads/workingbranch

12 months agoarmhf-64k-alignment
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +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

12 months agopr32392-workaround
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +0100)]
pr32392-workaround

Gbp-Pq: Name pr32392-workaround.diff

12 months agoenv-package-metadata
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +0100)]
env-package-metadata

Gbp-Pq: Name env-package-metadata.diff

12 months agoperl-shebang
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +0100)]
perl-shebang

Gbp-Pq: Name perl-shebang.diff

12 months agomips-hack
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +0100)]
mips-hack

Gbp-Pq: Name mips-hack.diff

12 months agolibctf-soname
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +0100)]
libctf-soname

Gbp-Pq: Name libctf-soname.diff

12 months agogold-no-keep-files-mapped
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +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

12 months agoaarch64-libpath
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +0100)]
aarch64-libpath

Gbp-Pq: Name aarch64-libpath.diff

12 months agogprof-build
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +0100)]
gprof-build

# DP: Fix gprof build error.

# DP: Fix gprof build error.

Gbp-Pq: Name gprof-build.diff

12 months ago_ld_doc_remove_xref
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +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

12 months ago_gold_dummy_zoption
Matthias Klose [Sun, 15 Dec 2024 10:00:07 +0000 (11:00 +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