Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b4db3aec8351c78df77bbd95f1951a4dd0246853
Commit: b4db3aec8351c78df77bbd95f1951a4dd0246853
Parent: 6694e8250e37058d5a8db23245a349db4e112fe4
Author: Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 20 15:38:11 2007 +0900
Committer: Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 13:18:49 2008 +0900
sh: Fix up the _stext references for SH-5.
Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
arch/sh/Makefile | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 4da3bc6..15161f1 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -74,15 +74,21 @@ OBJCOPYFLAGS := -O binary -R .note -R
.note.gnu.build-id -R .comment -R .stab -R
# never be used by anyone. Use a board-specific defconfig that has a
# reasonable chance of being current instead.
#
-KBUILD_DEFCONFIG := r7780rp_defconfig
+KBUILD_DEFCONFIG := r7780rp_defconfig
-KBUILD_IMAGE := arch/sh/boot/zImage
+KBUILD_IMAGE := arch/sh/boot/zImage
#
# Choosing incompatible machines durings configuration will result in
# error messages during linking.
#
-LDFLAGS_vmlinux += -e _stext
+ifdef CONFIG_SUPERH32
+LDFLAGS_vmlinux += -e _stext
+else
+LDFLAGS_vmlinux += --defsym
phys_stext=_stext-$(CONFIG_CACHED_MEMORY_OFFSET) \
+ --defsym phys_stext_shmedia=phys_stext+1 \
+ -e phys_stext_shmedia
+endif
ifdef CONFIG_CPU_LITTLE_ENDIAN
LDFLAGS_vmlinux += --defsym 'jiffies=jiffies_64'
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html