diff options
author | Alexey Neyman <stilor@att.net> | 2018-01-28 19:42:24 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-01-29 03:25:47 (GMT) |
commit | 66ad1ff51411c24bfad7c1892f7481a9cdc924f8 (patch) | |
tree | 56ba7ceb17e192a9b3eafe01064aeb27f33ab033 /packages/binutils/2.30/0002-012_check_ldrunpath_length.patch | |
parent | ba165ed4c0bfa8a83e61a2efd1ad205777978486 (diff) |
Upgrade to new releases
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng
MPC vs MPFR dependencies required modifications in auto-generated templates
to also provide non-inclusive older-than/newer-than specifications.
Also correct MPC URLs, the website seems to have adjusted its directory
layout.
Currently, newlib 3.0.0 doesn't build for arm-nano-eabi.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/binutils/2.30/0002-012_check_ldrunpath_length.patch')
-rw-r--r-- | packages/binutils/2.30/0002-012_check_ldrunpath_length.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/binutils/2.30/0002-012_check_ldrunpath_length.patch b/packages/binutils/2.30/0002-012_check_ldrunpath_length.patch new file mode 100644 index 0000000..026f279 --- /dev/null +++ b/packages/binutils/2.30/0002-012_check_ldrunpath_length.patch @@ -0,0 +1,24 @@ +--- + ld/emultempl/elf32.em | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/ld/emultempl/elf32.em ++++ b/ld/emultempl/elf32.em +@@ -1470,6 +1470,8 @@ + && command_line.rpath == NULL) + { + path = (const char *) getenv ("LD_RUN_PATH"); ++ if ((path) && (strlen (path) == 0)) ++ path = NULL; + if (path + && gld${EMULATION_NAME}_search_needed (path, &n, force)) + break; +@@ -1750,6 +1752,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) |