added and modified linker to support SuperH architecture
This commit is contained in:
committed by
Tony Sim
parent
92b10af793
commit
ad13c57298
@@ -9,7 +9,12 @@ LOCAL_SRC_FILES:= \
|
||||
debugger.c \
|
||||
ba.c
|
||||
|
||||
ifeq ($(TARGET_ARCH),sh)
|
||||
# SH-4A series virtual address range from 0x00000000 to 0x7FFFFFFF.
|
||||
LINKER_TEXT_BASE := 0x70000100
|
||||
else
|
||||
LINKER_TEXT_BASE := 0xB0000100
|
||||
endif
|
||||
|
||||
# The maximum size set aside for the linker, from
|
||||
# LINKER_TEXT_BASE rounded down to a megabyte.
|
||||
@@ -31,7 +36,11 @@ else
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
LOCAL_CFLAGS += -DANDROID_X86_LINKER
|
||||
else
|
||||
$(error Unsupported TARGET_ARCH $(TARGET_ARCH))
|
||||
ifeq ($(TARGET_ARCH),sh)
|
||||
LOCAL_CFLAGS += -DANDROID_SH_LINKER
|
||||
else
|
||||
$(error Unsupported TARGET_ARCH $(TARGET_ARCH))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user