aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2004-06-10 06:59:46 +0000
committerH. Peter Anvin <hpa@zytor.com>2004-06-10 06:59:46 +0000
commit2a666037ee9be7d0079c0167311bc04f0026e70d (patch)
treec4ca524c7755a1f5731b26d265e9fbaed319b54e
parent9ee2b8e6fe57fb641206c76c135ebc7c919274ae (diff)
downloadklibc-2a666037ee9be7d0079c0167311bc04f0026e70d.tar.gz
More cris tweaks - need to specify the start address slightly differentlyklibc-0.136
-rw-r--r--klibc/arch/cris/MCONFIG5
1 files changed, 3 insertions, 2 deletions
diff --git a/klibc/arch/cris/MCONFIG b/klibc/arch/cris/MCONFIG
index 618157672a49e..1f68e29ee5a61 100644
--- a/klibc/arch/cris/MCONFIG
+++ b/klibc/arch/cris/MCONFIG
@@ -13,8 +13,9 @@ BITSIZE = 32
# Extra linkflags when building the shared version of the library
# This address needs to be reachable using normal inter-module
# calls, and work on the memory models for this architecture
-# 1008 MB - normal binaries start at 0
-SHAREDFLAGS = -Ttext 0x3f000200
+# 224 MB - normal binaries start at 0
+# (lib?)gcc on cris seems to insist on producing .init and .fini sections
+SHAREDFLAGS = --section-start .init=0x0e000100
# How to tell the linker main() is the entrypoint
EMAIN := -e _main