diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-09 21:42:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-09 21:42:24 +0000 |
commit | 2aa61582ef53ea8c129aee4cf7aaf9b96b566cba (patch) | |
tree | 1b364cb5c0c3520468f7dfab5cfadee24535cff7 /c/src/lib/libbsp/i960 | |
parent | 2001-05-09 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-2aa61582ef53ea8c129aee4cf7aaf9b96b566cba.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libbsp/i960')
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/ChangeLog | 10 | ||||
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/clock/ckinit.c | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/startup/linkcmds | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/startup/linkcmds.real | 6 |
4 files changed, 20 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/i960/rxgen960/ChangeLog b/c/src/lib/libbsp/i960/rxgen960/ChangeLog index 30ed46e816..e23b0c4e89 100644 --- a/c/src/lib/libbsp/i960/rxgen960/ChangeLog +++ b/c/src/lib/libbsp/i960/rxgen960/ChangeLog @@ -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> * startup/nulsystbl.c: Fix braces. diff --git a/c/src/lib/libbsp/i960/rxgen960/clock/ckinit.c b/c/src/lib/libbsp/i960/rxgen960/clock/ckinit.c index 842a186db8..73e23185c5 100644 --- a/c/src/lib/libbsp/i960/rxgen960/clock/ckinit.c +++ b/c/src/lib/libbsp/i960/rxgen960/clock/ckinit.c @@ -29,7 +29,7 @@ rtems_unsigned32 Clock_isrs; /* ISRs until next tick */ rtems_unsigned32 Reload_Clock_isrs; i960_isr_entry Old_ticker; -rtems_unsigned32 Clock_driver_ticks; +volatile rtems_unsigned32 Clock_driver_ticks; /* ticks since initialization */ unsigned int clock_isr_global[16]; /* place to store global regs */ diff --git a/c/src/lib/libbsp/i960/rxgen960/startup/linkcmds b/c/src/lib/libbsp/i960/rxgen960/startup/linkcmds index d62b3c4de3..590d062087 100644 --- a/c/src/lib/libbsp/i960/rxgen960/startup/linkcmds +++ b/c/src/lib/libbsp/i960/rxgen960/startup/linkcmds @@ -22,6 +22,10 @@ SECTIONS { CREATE_OBJECT_SYMBOLS *(.text) + _rodata_start = . ; + *(.rodata*) + *(.gnu.linkonce.r*) + _erodata = ALIGN( 0x10 ) ; _etext = .; ___CTOR_LIST__ = .; diff --git a/c/src/lib/libbsp/i960/rxgen960/startup/linkcmds.real b/c/src/lib/libbsp/i960/rxgen960/startup/linkcmds.real index 54be197fba..b47b17acf3 100644 --- a/c/src/lib/libbsp/i960/rxgen960/startup/linkcmds.real +++ b/c/src/lib/libbsp/i960/rxgen960/startup/linkcmds.real @@ -122,7 +122,11 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; - etext = ALIGN( 0x10 ) ; + _rodata_start = . ; + *(.rodata*) + *(.gnu.linkonce.r*) + _erodata = ALIGN( 0x10 ) ; + etext = ALIGN( 0x10 ) ; /* END NEW TEST TEST TEST */ /* 16 byte aligned PRCB. */ |