Skip to content

Commit

Permalink
get rid of Position-independent code sections
Browse files Browse the repository at this point in the history
  • Loading branch information
purplewall1206 committed Jul 2, 2019
1 parent 7fe556b commit 2672d8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/chapt10/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CC = gcc
LD = ld
ASM = nasm

C_FLAGS = -c -Wall -m32 -ggdb -gstabs+ -nostdinc -fno-builtin -fno-stack-protector -I include
C_FLAGS = -c -Wall -m32 -ggdb -gstabs+ -nostdinc -fno-pic -fno-builtin -fno-stack-protector -I include
LD_FLAGS = -T scripts/kernel.ld -m elf_i386 -nostdlib
ASM_FLAGS = -f elf -g -F stabs

Expand Down
2 changes: 1 addition & 1 deletion code/chapt11/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CC = gcc
LD = ld
ASM = nasm

C_FLAGS = -c -Wall -m32 -ggdb -gstabs+ -nostdinc -fno-builtin -fno-stack-protector -I include
C_FLAGS = -c -Wall -m32 -ggdb -gstabs+ -nostdinc -fno-pic -fno-builtin -fno-stack-protector -I include
LD_FLAGS = -T scripts/kernel.ld -m elf_i386 -nostdlib
ASM_FLAGS = -f elf -g -F stabs

Expand Down
2 changes: 1 addition & 1 deletion code/chapt12/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CC = gcc
LD = ld
ASM = nasm

C_FLAGS = -c -Wall -m32 -ggdb -gstabs+ -nostdinc -fno-builtin -fno-stack-protector -I include
C_FLAGS = -c -Wall -m32 -ggdb -gstabs+ -nostdinc -fno-pic -fno-builtin -fno-stack-protector -I include
LD_FLAGS = -T scripts/kernel.ld -m elf_i386 -nostdlib
ASM_FLAGS = -f elf -g -F stabs

Expand Down

0 comments on commit 2672d8e

Please sign in to comment.