2001-10-25 Joel Sherrill <joel@OARcorp.com>

* startup/linkcmds: Added _init and _fini.
This commit is contained in:
Joel Sherrill
2001-10-25 22:05:52 +00:00
parent 859c7d8869
commit ac9253e785
20 changed files with 60 additions and 18 deletions

View File

@@ -1,3 +1,7 @@
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * .cvsignore: Add autom4te.cache for autoconf > 2.52.

View File

@@ -41,6 +41,8 @@ SECTIONS
_ram_data_offset = 0x0; _ram_data_offset = 0x0;
_ram_data_location = _ram_data_segment * 16 + _ram_data_offset; _ram_data_location = _ram_data_segment * 16 + _ram_data_offset;
.init : { _init = .; *(.init) } = 0x9090
.fini : { _fini = .; *(.fini) } = 0x9090
.data : .data :
AT ( _rom_data_start ) AT ( _rom_data_start )
{ {

View File

@@ -1,3 +1,7 @@
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * .cvsignore: Add autom4te.cache for autoconf > 2.52.

View File

@@ -53,8 +53,8 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */ /* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning) *(.gnu.warning)
} >RAM } >RAM
.init : { *(.init) } >RAM .init : { _init = .; *(.init) } >RAM
.fini : { *(.fini) } >RAM .fini : { _fini = .; *(.fini) } >RAM
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM
.rodata1 : { *(.rodata1) } >RAM .rodata1 : { *(.rodata1) } >RAM
_etext = .; _etext = .;

View File

@@ -1,3 +1,7 @@
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
2001-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2001-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* vectors/Makefile.am: Remove bogus VPATH. * vectors/Makefile.am: Remove bogus VPATH.

View File

@@ -64,8 +64,8 @@ SECTIONS
*(.lit) *(.lit)
*(.shdata) *(.shdata)
*(.init) .init : { _init = .; *(.init) }
*(.fini) .fini : { _fini = .; *(.fini) }
_endtext = .; _endtext = .;
text.end = .; text.end = .;
} > ram } > ram

View File

@@ -1,3 +1,7 @@
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * .cvsignore: Add autom4te.cache for autoconf > 2.52.

View File

@@ -56,8 +56,8 @@ SECTIONS
*(.lit) *(.lit)
*(.shdata) *(.shdata)
*(.init) _init = .; *(.init)
*(.fini) _fini = .; *(.fini)
. = ALIGN(0x10); . = ALIGN(0x10);
_endtext = .; _endtext = .;
text.end = .; text.end = .;

View File

@@ -1,3 +1,7 @@
* configure.ac: Add bspopts.h.
* include/.cvsignore: Add stamp-h* and bspopts.h*.
* include/Makefile.am: Add bspopts.h.
* pci/Makefile.am: Append -O2 to AM_CFLAGS.
2001-11-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2001-11-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

View File

@@ -59,8 +59,8 @@ SECTIONS
*(.gnu.warning) *(.gnu.warning)
*(.gnu.linkonce.t*) *(.gnu.linkonce.t*)
} > CODE } > CODE
.init : { *(.init) } > CODE .init : { _init = .; *(.init) } >CODE
.fini : { *(.fini) } > CODE .fini : { _fini = .; *(.fini) } >CODE
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } > CODE .rodata : { *(.rodata) *(.gnu.linkonce.r*) } > CODE
.rodata1 : { *(.rodata1) } > CODE .rodata1 : { *(.rodata1) } > CODE
_etext = .; _etext = .;

View File

@@ -1,3 +1,7 @@
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * .cvsignore: Add autom4te.cache for autoconf > 2.52.

View File

@@ -56,8 +56,8 @@ SECTIONS
*(.lit) *(.lit)
*(.shdata) *(.shdata)
*(.init) _init = .; *(.init)
*(.fini) _fini = .; *(.fini)
_endtext = .; _endtext = .;
} > RAM } > RAM

View File

@@ -1,3 +1,7 @@
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
2001-10-12 Joel Sherrill <joel@OARcorp.com> 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c, console/console.c, console/debugio.c, * clock/clock.c, console/console.c, console/debugio.c,

View File

@@ -49,8 +49,8 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */ /* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning) *(.gnu.warning)
} =0 } =0
.init : { *(.init) } =0 .init : { _init = .; *(.init) }
.fini : { *(.fini) } =0 .fini : { _fini = .; *(.fini) }
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
.rodata1 : { *(.rodata1) } .rodata1 : { *(.rodata1) }
_etext = .; _etext = .;

View File

@@ -1,3 +1,7 @@
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
2001-10-12 Joel Sherrill <joel@OARcorp.com> 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* shmsupp/lock.c, shmsupp/mpisr.c: Fixed typo. * shmsupp/lock.c, shmsupp/mpisr.c: Fixed typo.

View File

@@ -64,8 +64,8 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */ /* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning) *(.gnu.warning)
} >RAM } >RAM
.init : { __init = .; *(.init) } >RAM .init : { _init = .; __init = .; *(.init) } >RAM
.fini : { __fini = .; *(.fini) } >RAM .fini : { _fini = .; __fini = .; *(.fini) } >RAM
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM
.rodata1 : { *(.rodata1) } >RAM .rodata1 : { *(.rodata1) } >RAM
PROVIDE (_etext = .); PROVIDE (_etext = .);

View File

@@ -1,3 +1,7 @@
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
2001-10-12 Joel Sherrill <joel@OARcorp.com> 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* PCI_bus/PCI.h, clock/clock.c, console/85c30.c, console/console.c, * PCI_bus/PCI.h, clock/clock.c, console/85c30.c, console/console.c,

View File

@@ -60,8 +60,8 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */ /* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning) *(.gnu.warning)
} }
.init : { __init = .; *(.init) } .init : { _init = .; __init = .; *(.init) }
.fini : { __fini = .; *(.fini) } .fini : { _fini = .; __fini = .; *(.fini) }
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
.rodata1 : { .rodata1 : {
*(.rodata1) *(.rodata1)

View File

@@ -1,3 +1,7 @@
* startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
* vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
2001-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Use _HEADER instead of H_FILES. * include/Makefile.am: Use _HEADER instead of H_FILES.
* irq/Makefile.am: Ditto. * irq/Makefile.am: Ditto.

View File

@@ -59,8 +59,8 @@ SECTIONS
*(.gnu.warning) *(.gnu.warning)
*(.gnu.linkonce.t*) *(.gnu.linkonce.t*)
} > CODE } > CODE
.init : { *(.init) } > CODE .init : { _init = .; *(.init) } >CODE
.fini : { *(.fini) } > CODE .fini : { _fini = .; *(.fini) } >CODE
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } > CODE .rodata : { *(.rodata) *(.gnu.linkonce.r*) } > CODE
.rodata1 : { *(.rodata1) } > CODE .rodata1 : { *(.rodata1) } > CODE
_etext = .; _etext = .;