diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-29 14:27:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-29 14:27:47 +0000 |
commit | 5c2b9045e0a3ddae3b52bce52a3971014b8e1373 (patch) | |
tree | c7594fa0a98f59bb584b07a258dc20dce9ea2d13 /c/src/lib/libbsp/powerpc | |
parent | 2001-10-29 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-5c2b9045e0a3ddae3b52bce52a3971014b8e1373.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/eth_comm/ChangeLog | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/eth_comm/include/bsp.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog b/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog index 184536005f..7af17c219d 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog +++ b/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog @@ -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. diff --git a/c/src/lib/libbsp/powerpc/eth_comm/include/bsp.h b/c/src/lib/libbsp/powerpc/eth_comm/include/bsp.h index 641ef59c13..5bdb3b073b 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/eth_comm/include/bsp.h @@ -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") diff --git a/c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds b/c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds index 00fa37a136..a40d043908 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds @@ -64,8 +64,8 @@ SECTIONS *(.lit) *(.shdata) - .init : { _init = .; *(.init) } - .fini : { _fini = .; *(.fini) } + _init = .; *(.init) + _fini = .; *(.fini) _endtext = .; text.end = .; } > ram |