From 64637c177eaed277fb6ccce394cbb29dd047b893 Mon Sep 17 00:00:00 2001 From: Andy Nguyen Date: Sat, 5 Sep 2026 12:40:23 +0200 Subject: [PATCH] Remove --no-warn-rwx-segments flag. --- shellcode_0607/Makefile | 2 +- shellcode_hv/Makefile | 2 +- shellcode_kernel/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shellcode_0607/Makefile b/shellcode_0607/Makefile index 43d775b..25bda74 100644 --- a/shellcode_0607/Makefile +++ b/shellcode_0607/Makefile @@ -8,7 +8,7 @@ LD = ld OBJCOPY = objcopy endif CFLAGS = -O2 -fno-stack-protector -ffreestanding -nostdlib -fcf-protection=none -mno-sse -mno-sse2 -m64 -LDFLAGS = -T linker.ld -Wl,--no-warn-rwx-segments +LDFLAGS = -T linker.ld TARGET = shellcode_0607.elf TEXT_BIN = shellcode_0607.bin dump = shellcode_0607.h diff --git a/shellcode_hv/Makefile b/shellcode_hv/Makefile index bafd641..74a74d2 100644 --- a/shellcode_hv/Makefile +++ b/shellcode_hv/Makefile @@ -8,7 +8,7 @@ LD = ld OBJCOPY = objcopy endif CFLAGS = -O2 -fno-stack-protector -ffreestanding -nostdlib -fcf-protection=none -mno-sse -mno-sse2 -m64 -LDFLAGS = -T linker.ld -Wl,--no-warn-rwx-segments +LDFLAGS = -T linker.ld TARGET = shellcode_hv.elf TEXT_BIN = shellcode_hv.bin dump = shellcode_hv.h diff --git a/shellcode_kernel/Makefile b/shellcode_kernel/Makefile index c4b0a5e..91732fd 100644 --- a/shellcode_kernel/Makefile +++ b/shellcode_kernel/Makefile @@ -8,7 +8,7 @@ LD = ld OBJCOPY = objcopy endif CFLAGS = -O2 -fno-stack-protector -ffreestanding -nostdlib -fcf-protection=none -mno-sse -mno-sse2 -m64 -LDFLAGS = -T linker.ld -Wl,--no-warn-rwx-segments +LDFLAGS = -T linker.ld TARGET = shellcode_kernel.elf TEXT_BIN = shellcode_kernel.bin dump = shellcode_kernel.h