1
0
Fork 0
mirror of https://gitlab.com/bztsrc/bootboot.git synced 2023-02-13 20:54:32 -05:00

Removed nostartfiles, nostdlib should imply that

This commit is contained in:
bzt 2022-07-11 09:37:40 +02:00
parent a8bea0f525
commit 87d3316b67
7 changed files with 5 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View file

@ -29,7 +29,7 @@
# #
ADAFLAGS = -Wall -fpic -fno-stack-protector -nostdinc -nostdlib ADAFLAGS = -Wall -fpic -fno-stack-protector -nostdinc -nostdlib
LDFLAGS = -nostdlib -nostartfiles -T link.ld LDFLAGS = -nostdlib -n -T link.ld
STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack
all: mykernel.x86_64.elf mykernel.aarch64.elf all: mykernel.x86_64.elf mykernel.aarch64.elf

View file

@ -29,7 +29,7 @@
# #
CFLAGS = -Wall -fpic -ffreestanding -fno-stack-protector -nostdinc -nostdlib -I../../dist/ CFLAGS = -Wall -fpic -ffreestanding -fno-stack-protector -nostdinc -nostdlib -I../../dist/
LDFLAGS = -nostdlib -nostartfiles -T link.ld LDFLAGS = -nostdlib -n -T link.ld
STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack
all: mykernel.x86_64.elf mykernel.aarch64.elf mykernel.riscv64.elf all: mykernel.x86_64.elf mykernel.aarch64.elf mykernel.riscv64.elf

View file

@ -29,7 +29,7 @@
# #
CPPFLAGS = -Wall -fpic -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -nostdinc -nostdlib -I../../dist/ CPPFLAGS = -Wall -fpic -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -nostdinc -nostdlib -I../../dist/
LDFLAGS = -nostdlib -nostartfiles -T link.ld LDFLAGS = -nostdlib -n -T link.ld
STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack
all: mykernel.x86_64.elf mykernel.aarch64.elf all: mykernel.x86_64.elf mykernel.aarch64.elf

View file

@ -29,7 +29,7 @@
# #
GOFLAGS = -Wall -fpic -fno-stack-protector -static -nostdinc -nostdlib -nostartfiles -nodefaultlibs GOFLAGS = -Wall -fpic -fno-stack-protector -static -nostdinc -nostdlib -nostartfiles -nodefaultlibs
LDFLAGS = -nostdlib -nostartfiles -T link.ld LDFLAGS = -nostdlib -n -T link.ld
STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack
all: mykernel.x86_64.elf mykernel.aarch64.elf all: mykernel.x86_64.elf mykernel.aarch64.elf

View file

@ -29,7 +29,7 @@
# #
PASFLAGS = -Aelf -n -O3 -Xd -CX -XXs -Tlinux PASFLAGS = -Aelf -n -O3 -Xd -CX -XXs -Tlinux
LDFLAGS = -nostdlib -nostartfiles -T link.ld LDFLAGS = -nostdlib -n -T link.ld
STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack STRIPFLAGS = -s -K mmio -K fb -K bootboot -K environment -K initstack
all: mykernel.x86_64.elf mykernel.aarch64.elf all: mykernel.x86_64.elf mykernel.aarch64.elf