diff options
author | Chris Packham <judge.packham@gmail.com> | 2024-01-30 12:57:27 +1300 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2024-03-12 13:04:25 +1300 |
commit | ecc5e416181f39bed1b9690f4a9fd0178d797365 (patch) | |
tree | 9f05801f56e1c54f5457fa6188ba1d3bf703dafa /packages/binutils/2.42/0001-check_ldrunpath_length.patch | |
parent | c64500d94be92ed1bcdfdef911048a14e216a5e1 (diff) | |
download | crosstool-ng-ecc5e416181f39bed1b9690f4a9fd0178d797365.tar.gz crosstool-ng-ecc5e416181f39bed1b9690f4a9fd0178d797365.tar.bz2 crosstool-ng-ecc5e416181f39bed1b9690f4a9fd0178d797365.zip |
binutils: Add 2.42 release
Add the new release and rebase the local patches. Add a new patch which
resolves a build issue on macOS.
https://sourceware.org/pipermail/binutils/2024-January/132213.html
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'packages/binutils/2.42/0001-check_ldrunpath_length.patch')
-rw-r--r-- | packages/binutils/2.42/0001-check_ldrunpath_length.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/binutils/2.42/0001-check_ldrunpath_length.patch b/packages/binutils/2.42/0001-check_ldrunpath_length.patch new file mode 100644 index 00000000..477019ed --- /dev/null +++ b/packages/binutils/2.42/0001-check_ldrunpath_length.patch @@ -0,0 +1,29 @@ +From db50df5d5a92328f2804e4e466e8e5f6e42ea1a4 Mon Sep 17 00:00:00 2001 +From: Chris Packham <judge.packham@gmail.com> +Date: Mon, 8 Aug 2022 20:36:31 +1200 +Subject: [PATCH] check_ldrunpath_length + +--- + ld/ldelf.c | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/ld/ldelf.c ++++ b/ld/ldelf.c +@@ -1130,6 +1130,8 @@ + && command_line.rpath == NULL) + { + path = (const char *) getenv ("LD_RUN_PATH"); ++ if (path && *path == '\0') ++ path = NULL; + if (path + && ldelf_search_needed (path, &n, force, + is_linux, elfsize)) +@@ -1805,6 +1807,8 @@ + rpath = command_line.rpath; + if (rpath == NULL) + rpath = (const char *) getenv ("LD_RUN_PATH"); ++ if (rpath && *rpath == '\0') ++ rpath = NULL; + + for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) + if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) |