From 5c2b9045e0a3ddae3b52bce52a3971014b8e1373 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 29 Oct 2001 14:27:47 +0000 Subject: 2001-10-29 Joel Sherrill * 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. --- c/src/lib/libbsp/powerpc/eth_comm/ChangeLog | 6 ++++++ c/src/lib/libbsp/powerpc/eth_comm/include/bsp.h | 2 +- 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 + + * 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 * 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 -- cgit v1.2.3