Make linking error when an unused section is found

This commit is contained in:
pjht 2023-03-27 14:33:27 -05:00
parent 6aaf71f214
commit 34fe67fafb
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -1,6 +1,6 @@
.gitignore
LDFLAGS = -z max-page-size=4096
ASFLAGS = -m68010 --register-prefix-optional
LDFLAGS = -z max-page-size=4096 --orphan-handling=error
ASFLAGS = -m68010 --register-prefix-optional
!as = |> m68k-elf-as $(ASFLAGS) -o %o %f |> %B.o
!ld = |> m68k-elf-ld $(LDFLAGS) -o %o %f |>