Open
Description
lld-tst.tar.gz
This is a fully automated test-case.
Just run:
$ ./test.sh
ld.lld -melf_i386 -static -o a.elf --defsym=loadaddr=0x900 -Tkernel.ld kernel.o entry.o io.o console.o serial.o printer.o execrh.o nlssupt.o procsupt.o dosidle.o int2f.o nls_hc.o intr.o irqstack.o cpu.o plt.o cdata.o floppy.o rdpcclk.o wrpcclk.o wratclk.o
nm: warning: a.elf has a corrupt string table index
The "good" run can be achieved
with: LD=ld ./test.sh
.
In this case it uses GNU ld, and
nm
just prints a symbol table.