2001-05-09 Joel Sherrill <joel@OARcorp.com>

* startup/linkcmds: In support of gcc 3.1, added one of more
	of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
	.gnu.linkonce.sb2.*, and .gnu.linkonce.s.*.  Spacing corrections
	and direction of segments to memory regions may also have been
	addressed.  This was a sweep across all BSPs.
	* startup/linkcmds.real: Ditto.
	* clock/ckinit.c: Add volatile to Clock_driver_ticks.
This commit is contained in:
Joel Sherrill
2002-05-09 21:42:24 +00:00
parent a2a8c5b417
commit 2aa61582ef
4 changed files with 20 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
2001-05-09 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: In support of gcc 3.1, added one of more
of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
.gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections
and direction of segments to memory regions may also have been
addressed. This was a sweep across all BSPs.
* startup/linkcmds.real: Ditto.
* clock/ckinit.c: Add volatile to Clock_driver_ticks.
2002-04-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-04-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* startup/nulsystbl.c: Fix braces. * startup/nulsystbl.c: Fix braces.

View File

@@ -29,7 +29,7 @@ rtems_unsigned32 Clock_isrs; /* ISRs until next tick */
rtems_unsigned32 Reload_Clock_isrs; rtems_unsigned32 Reload_Clock_isrs;
i960_isr_entry Old_ticker; i960_isr_entry Old_ticker;
rtems_unsigned32 Clock_driver_ticks; volatile rtems_unsigned32 Clock_driver_ticks;
/* ticks since initialization */ /* ticks since initialization */
unsigned int clock_isr_global[16]; /* place to store global regs */ unsigned int clock_isr_global[16]; /* place to store global regs */

View File

@@ -22,6 +22,10 @@ SECTIONS
{ {
CREATE_OBJECT_SYMBOLS CREATE_OBJECT_SYMBOLS
*(.text) *(.text)
_rodata_start = . ;
*(.rodata*)
*(.gnu.linkonce.r*)
_erodata = ALIGN( 0x10 ) ;
_etext = .; _etext = .;
___CTOR_LIST__ = .; ___CTOR_LIST__ = .;

View File

@@ -122,6 +122,10 @@ SECTIONS
*(.dtors) *(.dtors)
LONG(0) LONG(0)
__DTOR_END__ = .; __DTOR_END__ = .;
_rodata_start = . ;
*(.rodata*)
*(.gnu.linkonce.r*)
_erodata = ALIGN( 0x10 ) ;
etext = ALIGN( 0x10 ) ; etext = ALIGN( 0x10 ) ;
/* END NEW TEST TEST TEST */ /* END NEW TEST TEST TEST */
/* 16 byte aligned PRCB. /* 16 byte aligned PRCB.