re-add now statically linked ld

the binary was compiled with -Os, linked against musl, and stripped to
keep size down

compiled with the following script (assuming you are on a musl based host):

VERSION=2.30

curl -LOC - http://ftp.gnu.org/gnu/binutils/binutils-$VERSION.tar.gz
bsdtar xf binutils-$VERSION.tar.gz
cd binutils-$VERSION
./configure --target=mips-linux-musl \
	--with-gnu-ld \
	--enable-64-bit-bfd \
	--enable-multilib \
	--enable-plugins \
	--disable-gold \
	--disable-shared \
	--disable-werror \
	--disable-nls \
	--prefix=$(pwd)/out || exit 1
make configure-host
make CFLAGS=-Os LDFLAGS="-s -all-static" || exit 1
make install
This commit is contained in:
Randy Palamar
2021-07-31 12:36:30 -06:00
parent d8ef396b86
commit d0c2573b9b

BIN
tools/mips64-elf-ld Executable file

Binary file not shown.