Package: binutils-gold / 2.44-3
Metadata
Package | Version | Patches format |
---|---|---|
binutils-gold | 2.44-3 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
branch updates.diff | (download) |
bfd/configure |
20 10 + 10 - 0 ! |
--- |
branch version.diff | (download) |
bfd/configure |
20 10 + 10 - 0 ! |
--- |
001_ld_makefile_patch.patch | (download) |
ld/Makefile.am |
2 1 + 1 - 0 ! |
|
002_gprof_profile_arcs.patch | (download) |
gprof/gprof.texi |
9 9 + 0 - 0 ! |
add more documentation about profiling and -fprofile-arcs. |
003_gprof_see_also_monitor.patch | (download) |
gprof/gprof.texi |
2 1 + 1 - 0 ! |
don't mention monitor(3) which doesn't exist in debian. (#160654) |
006_better_file_error.patch | (download) |
bfd/opncls.c |
7 7 + 0 - 0 ! |
specify which filename is causing an error if the filename is a directory. (#45832) |
013_bash_in_ld_testsuite.patch | (download) |
ld/testsuite/config/default.exp |
2 1 + 1 - 0 ! |
explicitly use bash for the ld testsuite. |
128_ppc64_powerpc_biarch.patch | (download) |
ld/emulparams/elf32ppccommon.sh |
9 9 + 0 - 0 ! |
--- |
129_multiarch_libpath.patch | (download) |
gold/Makefile.am |
1 1 + 0 - 0 ! |
--- |
130_gold_disable_testsuite_build.patch | (download) |
gold/Makefile.am |
2 1 + 1 - 0 ! |
|
131_ld_bootstrap_testsuite.patch | (download) |
ld/testsuite/ld-bootstrap/bootstrap.exp |
18 18 + 0 - 0 ! |
|
135_bfd_soversion.patch | (download) |
bfd/Makefile.am |
4 2 + 2 - 0 ! |
--- |
136_bfd_pic.patch | (download) |
bfd/Makefile.am |
2 1 + 1 - 0 ! |
build libbfd with -fpic to allow linking with pie binaries |
157_ar_scripts_with_tilde.patch | (download) |
binutils/arlex.l |
2 1 + 1 - 0 ! |
--- |
161_gold_dummy_zoption.diff | (download) |
gold/options.cc |
2 2 + 0 - 0 ! |
--- |
164_ld_doc_remove_xref.diff | (download) |
ld/ld.texi |
3 2 + 1 - 0 ! |
--- |
gprof build.diff | (download) |
gprof/gconfig.in |
3 0 + 3 - 0 ! |
--- |
aarch64 libpath.diff | (download) |
ld/emulparams/aarch64linux.sh |
17 10 + 7 - 0 ! |
--- |
gold no keep files mapped.diff | (download) |
gold/options.h |
3 2 + 1 - 0 ! |
--- |
libctf soname.diff | (download) |
binutils/Makefile.am |
4 2 + 2 - 0 ! |
--- |
mips hack.diff | (download) |
gas/config/tc-mips.c |
3 3 + 0 - 0 ! |
--- |
perl shebang.diff | (download) |
gprofng/gp-display-html/gp-display-html.in |
2 1 + 1 - 0 ! |
--- |
env package metadata.diff | (download) |
Makefile.in |
50 50 + 0 - 0 ! |
--- |
pr32392 workaround.diff | (download) |
gprofng/libcollector/Makefile.in |
2 1 + 1 - 0 ! |
--- |
armhf 64k alignment.diff | (download) |
bfd/elf32-arm.c |
4 4 + 0 - 0 ! |
--- |
gold package metadata.diff | (download) |
gold/options.cc |
72 72 + 0 - 0 ! |
[patch resend] gold: support percent-encoded json in --package-metadata 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> |
gprofng examples tgz deterministic.diff | (download) |
gprofng/doc/Makefile.am |
2 1 + 1 - 0 ! |
generate a deterministic gprofng example documentation tarball Bug-Debian: https://bugs.debian.org/1090395 Bug-Debian: https://bugs.debian.org/1092870 |