aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-30 13:27:52 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-30 13:27:52 +0100
commit48a3742d8f453f46da9ed5f375777788ca4d87a7 (patch)
tree6c2b984128c694af2acc3faabda4736abc0cc0c9 /Makefile
parentdab51b1932cb82af152b0b6cbdb687083f79a290 (diff)
downloadrpi-MMU-example-48a3742d8f453f46da9ed5f375777788ca4d87a7.tar.gz
rpi-MMU-example-48a3742d8f453f46da9ed5f375777788ca4d87a7.zip
don't perform unneeded section renaming for embedded files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e48dd2d..d44fc2b 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ all : kernel.img
arm-none-eabi-as -mcpu=cortex-a7 $^ -o $@
%_embeddable.o : %.img
- arm-none-eabi-objcopy -I binary -O elf32-littlearm -B arm --rename-section .data=.rodata $^ $@
+ arm-none-eabi-objcopy -I binary -O elf32-littlearm -B arm $^ $@
PL_0_test.elf : PL0_test.ld PL0_test.o uart.o
arm-none-eabi-gcc -T $< -o $@ $(ELFFLAGS) PL0_test.o uart.o