summaryrefslogtreecommitdiff
path: root/packages/arm-kernel-shim/files/place-boot-section.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/arm-kernel-shim/files/place-boot-section.patch')
-rw-r--r--packages/arm-kernel-shim/files/place-boot-section.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/arm-kernel-shim/files/place-boot-section.patch b/packages/arm-kernel-shim/files/place-boot-section.patch
new file mode 100644
index 0000000000..6e6c9460a5
--- /dev/null
+++ b/packages/arm-kernel-shim/files/place-boot-section.patch
@@ -0,0 +1,12 @@
+--- arm-kernel-shim-1.2/Makefile~ 2007-02-06 16:44:31.000000000 +1030
++++ arm-kernel-shim-1.2/Makefile 2007-02-06 16:56:12.000000000 +1030
+@@ -9,7 +9,8 @@
+ OBJCOPY=$(TOOLS)objcopy
+
+ CFLAGS:=-g -Os -nostartfiles -nostdlib
+-LDFLAGS:= -g -X -Map shim.map -Ttext 0
++# LDFLAGS:= -g -X -Map shim.map -Ttext 0
++LDFLAGS:= -g -X -Map shim.map -Ttext 0 --section-start .boot=1fb
+
+ SRCS:= shim.lds main.c
+ OBJS:=$(SRCS:.c=.o)