bsp/psim: Use plain symbol for PSIM

This avoids a linker assertion failure in the GCC test suite.
This commit is contained in:
Sebastian Huber
2013-06-28 15:05:30 +02:00
parent 4800ffe1ea
commit 40ce26534e
3 changed files with 2 additions and 27 deletions

View File

@@ -36,8 +36,7 @@ libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
../../shared/bsppredriverhook.c startup/bspstart.c \
../../shared/bspgetworkarea.c ../../shared/bootcard.c \
../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c \
startup/psim_registers.c
../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c
# pclock
libbsp_a_SOURCES += ../shared/clock/p_clock.c

View File

@@ -9,7 +9,6 @@
MEMORY {
RAM : ORIGIN = 0, LENGTH = 16M
PSIM_REGS : ORIGIN = 0x0c000000, LENGTH = 16M
EMPTY : ORIGIN = 0x0, LENGTH = 0
}
@@ -34,16 +33,6 @@ REGION_ALIAS ("REGION_NVRAM", EMPTY);
PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
SECTIONS {
/*
* BSP: PSIM Register Block
*/
.psim_regs (NOLOAD) : {
psim_reg*(.text)
psim_reg*(.data)
psim_reg*(.bss)
psim_reg*(COMMON)
} > PSIM_REGS
}
PSIM = 0x0c000000;
INCLUDE linkcmds.base

View File

@@ -1,13 +0,0 @@
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*/
#include <bsp.h>
#include <psim.h>
psim_registers_t PSIM;