Skip to contentSkip to conversation

binutils: arc: fix custom patch

PATCH New Vlad Zakharov 2 participants 2 messages Apr 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binutils: arc: fix custom patch

This commit fixes another brown-paper-bag issue that I've introduced by my following patch:
toolchain: Bump ARC tools to arc-2017.03-rc1 (5f8ef7e25c5cc5c2e4ae4c8b6e8caa029ddf9a94)

arc-2017.03-rc1 differs a bit from 2.28. And so corresponding of-the-tree patch should be updated appropriately.

Fixes target binutils build for arc:
http://autobuild.buildroot.net/results/f67/f67c905979870936d8050a505b61186be6dad85d//

---
 .../binutils/arc-2017.03-rc1/0301-PATCH-check-ldrunpath-length.patch  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/binutils/arc-2017.03-rc1/0301-PATCH-check-ldrunpath-length.patch +2 -2
index f54b1b3..9bb2341 100644
@@ -17,8 +17,8 @@ index d4837d0..937da8a 100644
  	      && command_line.rpath == NULL)
  	    {
  	      path = (const char *) getenv ("LD_RUN_PATH");
-+	      if ((lib_path) && (strlen (lib_path) == 0))
-+	        lib_path = NULL;
++	      if ((path) && (strlen (path) == 0))
++	        path = NULL;
  	      if (path
  		  && gld${EMULATION_NAME}_search_needed (path, &n, force))
  		break;
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 binutils: arc: fix custom patch

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vlad" == Vlad Zakharov <[email protected]> writes:

This commit fixes another brown-paper-bag issue that I've introduced by my following patch:
toolchain: Bump ARC tools to arc-2017.03-rc1 (5f8ef7e25c5cc5c2e4ae4c8b6e8caa029ddf9a94)

Quoted 7 lines

arc-2017.03-rc1 differs a bit from 2.28. And so corresponding of-the-tree patch should be updated appropriately.

Fixes target binutils build for arc:
http://autobuild.buildroot.net/results/f67/f67c905979870936d8050a505b61186be6dad85d//

Committed after tweaking the commit message, thanks.

Signature · 1 line
Bye, Peter Korsgaard