Skip to contentSkip to conversation

Remove SEARCH_DIR from linker scripts

PATCH New Richard Danter 2 participants 3 messages Apr 11, 2008 – Apr 12, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 at windriver.com)

ftp://ftp.windriver.com/TECH_SUPPORT/rdanter/SEARCH_DIR.patch

#1 lore raw

PATCH 1/1 Remove SEARCH_DIR from linker scripts

Quoted 10 lines · On Fri, 11 Apr 2008 10:27:55 +0100 "Richard Danter" <[email protected]>…

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 at 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

#2 lore raw

PATCH 1/1 Remove SEARCH_DIR from linker scripts

Quoted 10 lines · Kim Phillips
Quoted 7 lines · On Fri, 11 Apr 2008 10:27:55 +0100 "Richard Danter" <[email protected]>…

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.

Quoted 7 lines
Quoted 3 lines

Signed off by: Richard Danter (richard.danter at 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