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

* include/bsp.h: Modify Install_tm27_vector() so this BSP will link tm27.
	* startup/linkcmds: Fix definition of .init and .fini sections so this
	BSP will properly link with new __USE_INIT_FINI__ support.
This commit is contained in:
Joel Sherrill
2001-10-29 14:27:47 +00:00
parent d8459d059a
commit 5c2b9045e0
3 changed files with 9 additions and 3 deletions
@@ -1,3 +1,9 @@
2001-10-29 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: Modify Install_tm27_vector() so this BSP will link tm27.
* startup/linkcmds: Fix definition of .init and .fini sections so this
BSP will properly link with new __USE_INIT_FINI__ support.
2001-10-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init and _fini.
@@ -73,7 +73,7 @@ extern int rtems_enet_driver_attach (struct rtems_bsdnet_ifconfig *config);
#define MUST_WAIT_FOR_INTERRUPT 0
#define Install_tm27_vector( handler ) set_vector( (handler), PPC_IRQ_SCALL, 1 )
#define Install_tm27_vector( handler ) /* set_vector( (handler), PPC_IRQ_SCALL, 1 ) */
#define Cause_tm27_intr() asm volatile ("sc")
@@ -64,8 +64,8 @@ SECTIONS
*(.lit)
*(.shdata)
.init : { _init = .; *(.init) }
.fini : { _fini = .; *(.fini) }
_init = .; *(.init)
_fini = .; *(.fini)
_endtext = .;
text.end = .;
} > ram