Skip to content

Commit 10508b2

Browse files
Daniel ThompsonRussell King
authored andcommitted
ARM: 8096/1: Describe required sort order for textofs-y (TEXT_OFFSET)
The section of the makefile that determines the TEXT_OFFSET is sorted by address so that, in multi-arch kernel builds, the architecture with the most stringent requirements for the kernel base address gets to define TEXT_OFFSET. The comment should reflect that. Signed-off-by: Daniel Thompson <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent 80d3cb9 commit 10508b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/arm/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ CHECKFLAGS += -D__arm__
127127

128128
#Default value
129129
head-y := arch/arm/kernel/head$(MMUEXT).o
130+
131+
# Text offset. This list is sorted numerically by address in order to
132+
# provide a means to avoid/resolve conflicts in multi-arch kernels.
130133
textofs-y := 0x00008000
131134
textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000
132135
# We don't want the htc bootloader to corrupt kernel during resume

0 commit comments

Comments
 (0)