Skip to content
Snippets Groups Projects
Commit 7cb714a5 authored by Khem Raj's avatar Khem Raj Committed by Anatolij Gustschin
Browse files

config: Always use GNU ld


This patch makes sure that we always use the GNU ld. U-Boot uses certain
construct e.g. OVERLAY which are not implemented in gold therefore it
always needs GNU ld for linking.

It works well if default linker in toolchain is GNU ld but in some
cases we can have gold to be the default linker and also ship GNU ld
but not as default in such cases its called $(PREFIX)ld.bfd, with this
patch we make sure that if $(PREFIX)ld.bfd exists than we use that for
our ld.

This way it does not matter what the default ld is.

Signed-off-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 578f35a3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment