[MIPS64] Dynamic linker

Change-Id: I937c7c776cae3d66e214798d5217a922cd106bfc
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
This commit is contained in:
Chris Dearman
2014-02-06 20:36:51 -08:00
committed by Elliott Hughes
parent c856baeead
commit 9918665a45
5 changed files with 200 additions and 47 deletions

View File

@@ -622,6 +622,10 @@ ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),mips mips64))
libc_common_cflags += -fstrict-aliasing
libc_crt_target_cflags += $(TARGET_GLOBAL_CFLAGS)
endif # mips
ifeq ($(TARGET_ARCH),mips64)
libc_crt_target_ldflags := -melf64ltsmip
endif
ifeq ($(TARGET_ARCH),x86)
libc_crt_target_cflags += -m32