freebsd-dev/sys/boot/mips/beri/loader
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
..
arch.c sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
beri_console.c
beri_disk_cfi.c dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
beri_disk_sdcard.c dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
devicename.c
exec.c
help.mips
loader.h Reduce boot loader version string duplication 2016-12-18 13:57:23 +00:00
loader.ldscript Use compiler driver to link BERI boot loaders 2017-01-05 19:17:14 +00:00
main.c Reduce boot loader version string duplication 2016-12-18 13:57:23 +00:00
Makefile Deduplicate loader vers.c Makefile rules 2016-12-19 14:40:59 +00:00
metadata.c
start.S
version