freebsd-dev/sys/boot/mips
Alexander Kabaev f20a27e327 Use compiler driver to link BERI boot loaders
Do not hardcode elf64-tradbigmips as output format in BERI linker scrips.
Unfortunately, in-tree toolchain and external newer versions of binutils
mean two different things under that. When creating elf binaries using
external toolchain, gcc uses elf64-tradbigmips-freebsd and so linker
script file has to match in order for ld to be able to create the final loader
binary.

Rather than trying to guess, remove hardcoded output format directive from
the linker directive files and use CC to invoke the linker instead.

Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D9050
2017-01-05 19:17:14 +00:00
..
beri Use compiler driver to link BERI boot loaders 2017-01-05 19:17:14 +00:00
uboot Deduplicate loader vers.c Makefile rules 2016-12-19 14:40:59 +00:00
Makefile This review aims at introducing ubldr (loader with U-Boot interface) for MIPS 2016-02-29 07:47:04 +00:00
Makefile.inc