summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/psim/startup/linkcmds
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-05 14:42:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-05 14:42:59 +0000
commit39cc10ab8a4ca0e6a7bc504a53e41c1a57f8060e (patch)
tree73568bc762bac4ef9afe155d8f87453fe5d0f4c0 /c/src/lib/libbsp/powerpc/psim/startup/linkcmds
parent2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-39cc10ab8a4ca0e6a7bc504a53e41c1a57f8060e.tar.bz2
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, shmsupp/getcfg.c, shmsupp/lock.c, startup/linkcmds: Now running mptests using new memory layout with updates patches against gdb 6.8. * include/psim.h, startup/psim_registers.c: New files.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/startup/linkcmds')
-rw-r--r--c/src/lib/libbsp/powerpc/psim/startup/linkcmds26
1 files changed, 17 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds
index 5a7205633f..42f052798f 100644
--- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds
@@ -1,6 +1,5 @@
/*
- *
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -10,18 +9,17 @@
* $Id$
*/
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
+OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
OUTPUT_ARCH(powerpc)
ENTRY(_start)
/* Do we need any of these for elf?
__DYNAMIC = 0; */
-PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000); /* 100); */
-PROVIDE (CPU_PPC_CLICKS_PER_MS = 16667);
+PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
MEMORY
{
- RAM : ORIGIN = 0, LENGTH = 8M
- EPROM : ORIGIN = 0xFFF00000, LENGTH = 0x20000
+ RAM : ORIGIN = 0, LENGTH = 8M
+ PSIM_REGS : ORIGIN = 0x0c000000, LENGTH = 16M
+ VECTORS : ORIGIN = 0xFFF00000, LENGTH = 0x20000
}
SECTIONS
@@ -29,7 +27,17 @@ SECTIONS
.entry_point_section :
{
*(.entry_point_section)
- } > EPROM
+ } > VECTORS
+
+ /*
+ * BSP: PSIM Register Block
+ */
+ .psim_regs (NOLOAD) : {
+ psim_reg*(.text)
+ psim_reg*(.data)
+ psim_reg*(.bss)
+ psim_reg*(COMMON)
+ } > PSIM_REGS
/* Read-only sections, merged into text segment: */
/* . = 0x40000 + SIZEOF_HEADERS; */