forked from Imagelibrary/rtems
bsp/psim: Use plain symbol for PSIM
This avoids a linker assertion failure in the GCC test suite.
This commit is contained in:
@@ -36,8 +36,7 @@ libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
|
|||||||
../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
|
../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
|
||||||
../../shared/bsppredriverhook.c startup/bspstart.c \
|
../../shared/bsppredriverhook.c startup/bspstart.c \
|
||||||
../../shared/bspgetworkarea.c ../../shared/bootcard.c \
|
../../shared/bspgetworkarea.c ../../shared/bootcard.c \
|
||||||
../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c \
|
../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c
|
||||||
startup/psim_registers.c
|
|
||||||
|
|
||||||
# pclock
|
# pclock
|
||||||
libbsp_a_SOURCES += ../shared/clock/p_clock.c
|
libbsp_a_SOURCES += ../shared/clock/p_clock.c
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
MEMORY {
|
MEMORY {
|
||||||
RAM : ORIGIN = 0, LENGTH = 16M
|
RAM : ORIGIN = 0, LENGTH = 16M
|
||||||
PSIM_REGS : ORIGIN = 0x0c000000, LENGTH = 16M
|
|
||||||
EMPTY : ORIGIN = 0x0, LENGTH = 0
|
EMPTY : ORIGIN = 0x0, LENGTH = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -34,16 +33,6 @@ REGION_ALIAS ("REGION_NVRAM", EMPTY);
|
|||||||
|
|
||||||
PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
|
PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
|
||||||
|
|
||||||
SECTIONS {
|
PSIM = 0x0c000000;
|
||||||
/*
|
|
||||||
* BSP: PSIM Register Block
|
|
||||||
*/
|
|
||||||
.psim_regs (NOLOAD) : {
|
|
||||||
psim_reg*(.text)
|
|
||||||
psim_reg*(.data)
|
|
||||||
psim_reg*(.bss)
|
|
||||||
psim_reg*(COMMON)
|
|
||||||
} > PSIM_REGS
|
|
||||||
}
|
|
||||||
|
|
||||||
INCLUDE linkcmds.base
|
INCLUDE linkcmds.base
|
||||||
|
|||||||
@@ -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;
|
|
||||||
Reference in New Issue
Block a user