[U-Boot-Users] [PATCH] Remove SEARCH_DIR from linker scripts

Hi all,
Patch to remove SEARCH_DIR directive is rather large since so many linker scripts include it. I have included a link below but our FTP site is frequently "cleaned up" by admin. Please let me know if I need to upload it again.
CHANGELOG
Remove all SEARCH_DIR directives from linker scripts.
Many of the linker scripts included SEARCH_DIR directives making the linker search for libraries in the host tree (/lib, /usr/lib and /usr/local/lib). This made no sense for a cross-compiled and self contained bootloader and causes some toolchains to generate warnings.
Signed off by: Richard Danter (richard.danter@windriver.com)
ftp://ftp.windriver.com/TECH_SUPPORT/rdanter/SEARCH_DIR.patch

On Fri, 11 Apr 2008 10:27:55 +0100 "Richard Danter" radanter@googlemail.com wrote:
Remove all SEARCH_DIR directives from linker scripts.
Many of the linker scripts included SEARCH_DIR directives making the linker search for libraries in the host tree (/lib, /usr/lib and /usr/local/lib). This made no sense for a cross-compiled and self contained bootloader and causes some toolchains to generate warnings.
Signed off by: Richard Danter (richard.danter@windriver.com)
ftp://ftp.windriver.com/TECH_SUPPORT/rdanter/SEARCH_DIR.patch
this patch doesn't apply cleanly on top of WD's git tree. It also misses a few new boards. It seems your tree is not up-to-date.
Kim

On 11/04/2008, Kim Phillips kim.phillips@freescale.com wrote:
On Fri, 11 Apr 2008 10:27:55 +0100 "Richard Danter" radanter@googlemail.com wrote:
Remove all SEARCH_DIR directives from linker scripts.
Many of the linker scripts included SEARCH_DIR directives making the linker search for libraries in the host tree (/lib, /usr/lib and /usr/local/lib). This made no sense for a cross-compiled and self contained bootloader and causes some toolchains to generate warnings.
Signed off by: Richard Danter (richard.danter@windriver.com)
ftp://ftp.windriver.com/TECH_SUPPORT/rdanter/SEARCH_DIR.patch
this patch doesn't apply cleanly on top of WD's git tree. It also misses a few new boards. It seems your tree is not up-to-date.
Yes, I created the patch against the 1.3.2 release. I have now uploaded another patch made against the git://git.denx.de/u-boot.git repository. I didn't use git before so please let me know if I didn't do it correctly.
Rich
participants (2)
-
Kim Phillips
-
Richard Danter