Fix libgcc linkage issue

This commit is contained in:
mintsuki 2020-01-22 00:56:20 +01:00
parent f7b0f240d3
commit 9339c093fe
2 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ OBJ := $(C_FILES:.c=.o)
all: qloader2.bin
qloader2.bin: bootsect/bootsect.bin $(OBJ)
$(CC) $(LDFLAGS) $(INTERNAL_LDFLAGS) $(OBJ) -o stage2.bin
$(CC) $(OBJ) $(LDFLAGS) $(INTERNAL_LDFLAGS) -o stage2.bin
cat bootsect/bootsect.bin stage2.bin > $@
bootsect/bootsect.bin: bootsect/bootsect.asm

View File

@ -25,6 +25,7 @@ SECTIONS
.bss : {
bss_begin = .;
*(COMMON)
*(.bss*)
bss_end = .;
}