diff --git a/Makefile b/Makefile index b12f0f0..e365a9e 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SRC := $(wildcard $(SRCDIR)/*.asm) OBJ := $(patsubst $(SRCDIR)/%.asm,$(OBJDIR)/%.o,$(SRC)) CC = gcc -CFLAGS = -g +CFLAGS = -g -no-pie AS = nasm ASFLAGS = -f elf64 -g diff --git a/src/ft_strcpy.asm b/src/ft_strcpy.asm index f668e4e..43379e1 100644 --- a/src/ft_strcpy.asm +++ b/src/ft_strcpy.asm @@ -1,4 +1,3 @@ - section .note.GNU-stack noalloc noexec nowrite progbits section .text global ft_strcpy diff --git a/src/ft_strlen.asm b/src/ft_strlen.asm index 131132b..e70693c 100644 --- a/src/ft_strlen.asm +++ b/src/ft_strlen.asm @@ -1,4 +1,3 @@ - section .note.GNU-stack noalloc noexec nowrite progbits section .text global ft_strlen diff --git a/src/ft_write.asm b/src/ft_write.asm index f160552..9d2c76a 100644 --- a/src/ft_write.asm +++ b/src/ft_write.asm @@ -1,4 +1,3 @@ - section .note.GNU-stack noalloc noexec progbits section .text global ft_write