Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From b5887693d90c430291b644c2f5713b5fdd1777ce Mon Sep 17 00:00:00 2001 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 2 | From: Jackie Huang <jackie.huang@windriver.com> |
| 3 | Date: Tue, 4 Nov 2014 00:49:11 -0800 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 4 | Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for |
| 5 | cross compilation |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | |
| 7 | Upstream-Status: Inappropriate [cross compile specific] |
| 8 | |
| 9 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 10 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | --- |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 12 | ldscripts/elf_i386.xB | 1 - |
| 13 | ldscripts/elf_i386.xBDT | 1 - |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | 2 files changed, 2 deletions(-) |
| 15 | |
| 16 | diff --git a/ldscripts/elf_i386.xB b/ldscripts/elf_i386.xB |
| 17 | index 43fe51c..eae0fa8 100644 |
| 18 | --- a/ldscripts/elf_i386.xB |
| 19 | +++ b/ldscripts/elf_i386.xB |
| 20 | @@ -3,7 +3,6 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386", |
| 21 | "elf32-i386") |
| 22 | OUTPUT_ARCH(i386) |
| 23 | ENTRY(_start) |
| 24 | -SEARCH_DIR("/usr/i486-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib"); |
| 25 | INPUT(-lhugetlbfs); |
| 26 | /* Do we need any of these for elf? |
| 27 | __DYNAMIC = 0; */ |
| 28 | diff --git a/ldscripts/elf_i386.xBDT b/ldscripts/elf_i386.xBDT |
| 29 | index d72aebe..3bac1b1 100644 |
| 30 | --- a/ldscripts/elf_i386.xBDT |
| 31 | +++ b/ldscripts/elf_i386.xBDT |
| 32 | @@ -3,7 +3,6 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386", |
| 33 | "elf32-i386") |
| 34 | OUTPUT_ARCH(i386) |
| 35 | ENTRY(_start) |
| 36 | -SEARCH_DIR("/usr/i486-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib"); |
| 37 | INPUT(-lhugetlbfs); |
| 38 | /* Do we need any of these for elf? |
| 39 | __DYNAMIC = 0; */ |