diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
22 files changed, 153 insertions, 59 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/ChangeLog b/c/src/lib/libbsp/powerpc/dmv177/ChangeLog index 16add9cc85..883a2667d5 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/ChangeLog +++ b/c/src/lib/libbsp/powerpc/dmv177/ChangeLog @@ -1,3 +1,11 @@ +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. + 2001-04-08 Joel Sherrill <joel@OARcorp.com> * startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame diff --git a/c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds b/c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds index d7ed749b5a..97946156f8 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds @@ -57,13 +57,13 @@ SECTIONS .fini : { _fini = .; *(.fini) } >RAM .eh_frame : { *.(eh_frame) } >RAM - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } >RAM .rodata1 : { *(.rodata1) } >RAM _etext = .; PROVIDE (etext = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } >RAM - .sbss2 : { *(.sbss2) } >RAM + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM PROVIDE (__SBSS2_END__ = .); /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. It would @@ -129,7 +129,7 @@ SECTIONS can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */ PROVIDE (__SDATA_START__ = .); - .sdata : { *(.sdata) } >RAM + .sdata : { *(.sdata) *(.gnu.linkonce.s.*) } >RAM _edata = .; PROVIDE (edata = .); diff --git a/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog b/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog index 9fa00f3c4d..d0fdccb0b2 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog +++ b/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog @@ -1,3 +1,11 @@ +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. + 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * irq/irq.c: Reflect changed to <rtems/score/cpu.h>. diff --git a/c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds b/c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds index 3154efddf3..d7bf5ab939 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/eth_comm/startup/linkcmds @@ -39,7 +39,7 @@ SECTIONS *(.entry) *(.entry2) *(.text) - *(.rodata) + *(.rodata*) *(.eh_frame) *(.gnu.linkonce.r*) *(.rodata1) @@ -79,10 +79,11 @@ SECTIONS *(.gnu.linkonce.d.*) PROVIDE (__SDATA_START__ = .); *(.sdata) + *(.gnu.linkonce.s.*) } > ram PROVIDE (__EXCEPT_START__ = .); - .gcc_except_table : { *(.gcc_except_table) } >RAM + .gcc_except_table : { *(.gcc_except_table) } >ram PROVIDE (__EXCEPT_END__ = .); __GOT_START__ = .; .got : @@ -106,8 +107,8 @@ SECTIONS PROVIDE (__FIXUP_END__ = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } >ram - .sbss2 : { *(.sbss2) } >ram + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >ram + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >ram PROVIDE (__SBSS2_END__ = .); .sbss2 : { *(.sbss2) } >ram diff --git a/c/src/lib/libbsp/powerpc/gen405/ChangeLog b/c/src/lib/libbsp/powerpc/gen405/ChangeLog index bdabf42047..bc1cd41eb2 100644 --- a/c/src/lib/libbsp/powerpc/gen405/ChangeLog +++ b/c/src/lib/libbsp/powerpc/gen405/ChangeLog @@ -1,3 +1,11 @@ +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. + 2001-04-08 Joel Sherrill <joel@OARcorp.com> * startup/linkcmds, startup/linkcmds.dl : Per PR170, PR171, and PR172 diff --git a/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds b/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds index dff7edb56d..ee01d2a87f 100644 --- a/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds @@ -34,7 +34,7 @@ SECTIONS *(.entry) *(.entry2) *(.text) - *(.rodata) + *(.rodata*) *(.rodata1) *.(eh_frame) *(.gnu.linkonce.r*) @@ -75,6 +75,7 @@ SECTIONS *(.gnu.linkonce.d*) PROVIDE (__SDATA_START__ = .); *(.sdata) + *(.gnu.linkonce.s.*) } > RAM PROVIDE (__EXCEPT_START__ = .); @@ -113,11 +114,8 @@ SECTIONS PROVIDE (__FIXUP_END__ = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } >RAM - .sbss2 : { *(.sbss2) } >RAM - PROVIDE (__SBSS2_END__ = .); - - .sbss2 : { *(.sbss2) } >RAM + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM PROVIDE (__SBSS2_END__ = .); __SBSS_START__ = .; diff --git a/c/src/lib/libbsp/powerpc/helas403/ChangeLog b/c/src/lib/libbsp/powerpc/helas403/ChangeLog index c4b3e64f25..6751817f77 100644 --- a/c/src/lib/libbsp/powerpc/helas403/ChangeLog +++ b/c/src/lib/libbsp/powerpc/helas403/ChangeLog @@ -1,3 +1,11 @@ +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. + 2001-04-08 Joel Sherrill <joel@OARcorp.com> * startup/linkcmds, startup/linkcmds.dl : Per PR170, PR171, and PR172 diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds b/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds index 90af758023..f03ac0aced 100644 --- a/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds @@ -34,7 +34,7 @@ SECTIONS text.start = . ; *(.entry2) *(.text) - *(.rodata) + *(.rodata*) *(.rodata1) *.(eh_frame) *(.descriptors) @@ -90,6 +90,7 @@ SECTIONS *(.data1) PROVIDE (__SDATA_START__ = .); *(.sdata) + *(.gnu.linkonce.s.*) . = ALIGN(0x10); copy.tmptop.dat = .; } > RAM diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog b/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog index 47a0199b44..51416fe09d 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog +++ b/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog @@ -1,3 +1,11 @@ +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. + 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * irq/irq.c: Reflect changes to <rtems/score/cpu.h>. diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds b/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds index 7ec04b4416..482c63b2ab 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds @@ -114,7 +114,7 @@ SECTIONS *(.gnu.linkonce.r*) *(.lit) *(.shdata) - *(.rodata) + *(.rodata*) *(.rodata1) *.(eh_frame) *(.descriptors) @@ -143,6 +143,7 @@ SECTIONS PROVIDE (__SDATA_START__ = .); *(.sdata) *(.gnu.linkonce.d*) + *(.gnu.linkonce.s.*) PROVIDE (__SDATA_END__ = .); PROVIDE (__EXCEPT_START__ = .); @@ -173,6 +174,8 @@ SECTIONS */ PROVIDE (__SDATA2_START__ = .); *(.sdata2) + *(.gnu.linkonce.s2.*) + *(.sbss2) PROVIDE (__SDATA2_END__ = .); } > ram diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog index 64d25ade90..33d57d5652 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog @@ -1,3 +1,11 @@ + Eliminated the implicit assumption on the presence of an ISA PIC. + - UART and console driver now supports more than 1 port. The current + maximum of 2 can easily be extended by enlarging a table (it + would even be easier if the ISR API was not broken by design). + - fixed polled_io.c so it correctly supports console on COM2 + - fixed TLB invalidation code (start.S). + - exception handler prints a stack backtrace. + - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance. 2001-05-09 Joel Sherrill <joel@OARcorp.com> diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/startup/linkcmds b/c/src/lib/libbsp/powerpc/motorola_powerpc/startup/linkcmds index 1c8127b273..bd7e2a6fd7 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/startup/linkcmds @@ -38,7 +38,7 @@ SECTIONS .rela.data : { *(.rela.data) *(.rela.gnu.linkonce.d*) } > CODE .rela.rodata : - { *(.rela.rodata) *(.rela.gnu.linkonce.r*) } > CODE + { *(.rela.rodata*) *(.rela.gnu.linkonce.r*) } > CODE .rela.got : { *(.rela.got) } > CODE .rela.got1 : { *(.rela.got1) } > CODE .rela.got2 : { *(.rela.got2) } > CODE @@ -61,13 +61,13 @@ SECTIONS } > CODE .init : { _init = .; *(.init) } >CODE .fini : { _fini = .; *(.fini) } >CODE - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } > CODE + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } > CODE .rodata1 : { *(.rodata1) } > CODE .eh_frame : { *.(eh_frame) } >CODE _etext = .; PROVIDE (etext = .); - .sdata2 : { *(.sdata2) } > CODE - .sbss2 : { *(.sbss2) } > CODE + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >CODE + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >CODE /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. It would be more correct to do this: @@ -117,7 +117,7 @@ SECTIONS /* We want the small data sections together, so single-instruction offsets can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */ - .sdata : { *(.sdata) } > CODE + .sdata : { *(.sdata) *(.gnu.linkonce.s.*) } >CODE _edata = .; PROVIDE (edata = .); .sbss : diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog index c52321b637..eb9b8520aa 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog @@ -1,3 +1,11 @@ +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. + 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * irq/irq.c: Reflect changes to <rtems/score/cpu.h>. diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds index 2e2314166d..141369afc8 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds @@ -55,7 +55,7 @@ SECTIONS *(.text.*) - *(.rodata) + *(.rodata*) *(.rodata1) /* C++ constructors/destructors */ @@ -157,8 +157,8 @@ SECTIONS PROVIDE (__FIXUP_END__ = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } >ram - .sbss2 : { *(.sbss2) } >ram + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >ram + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >ram PROVIDE (__SBSS2_END__ = .); .sbss2 : { *(.sbss2) } >ram @@ -190,7 +190,7 @@ SECTIONS *(.gnu.linkonce.d.*) PROVIDE (__SDATA_START__ = .); *(.sdata) - + *(.gnu.linkonce.s.*) data.end = .; } > ram diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog b/c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog index 42ba5e45fe..6600e100cf 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog @@ -1,3 +1,11 @@ +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. + 2002-04-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * startup/spurious.c: Use defined(mpc604) instead of defined(ppc604). diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds b/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds index 5b66b3e9b3..454f5fe51d 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds @@ -51,13 +51,14 @@ SECTIONS } =0 .init : { _init = .; *(.init) } .fini : { _fini = .; *(.fini) } - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } .rodata1 : { *(.rodata1) } .eh_frame : { *.(eh_frame) } _etext = .; PROVIDE (etext = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } PROVIDE (__SBSS2_START__ = .); .sbss2 : { *(.sbss2) } PROVIDE (__SBSS2_END__ = .); @@ -117,7 +118,7 @@ SECTIONS can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */ PROVIDE (__SDATA_START__ = .); - .sdata : { *(.sdata) } + .sdata : { *(.sdata) *(.gnu.linkonce.s.*) } _edata = .; PROVIDE (edata = .); . = ALIGN(8) + 0x1000; diff --git a/c/src/lib/libbsp/powerpc/psim/ChangeLog b/c/src/lib/libbsp/powerpc/psim/ChangeLog index 97d18a5438..a35f7c57af 100644 --- a/c/src/lib/libbsp/powerpc/psim/ChangeLog +++ b/c/src/lib/libbsp/powerpc/psim/ChangeLog @@ -1,3 +1,11 @@ +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. + 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * startup/bspstart.c: Include <rtems/bspIo.h>. diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds index df01bac13b..4d3db8bcc6 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds @@ -66,14 +66,14 @@ SECTIONS } >RAM .init : { _init = .; __init = .; *(.init) } >RAM .fini : { _fini = .; __fini = .; *(.fini) } >RAM - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } >RAM .rodata1 : { *(.rodata1) } >RAM .eh_frame : { *.(eh_frame) } >RAM PROVIDE (_etext = .); PROVIDE (etext = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } >RAM - .sbss2 : { *(.sbss2) } >RAM + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM PROVIDE (__SBSS2_END__ = .); /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. It would @@ -138,7 +138,7 @@ SECTIONS can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */ PROVIDE (__SDATA_START__ = .); - .sdata : { *(.sdata) } >RAM + .sdata : { *(.sdata) *(.gnu.linkonce.s.*) } >RAM _edata = .; PROVIDE (edata = .); @@ -148,6 +148,7 @@ SECTIONS PROVIDE (__sbss_start = .); *(.sbss) *(.scommon) + *(.gnu.linkonce.sb.*) PROVIDE (__sbss_end = .); } >RAM PROVIDE (__SBSS_END__ = .); diff --git a/c/src/lib/libbsp/powerpc/score603e/ChangeLog b/c/src/lib/libbsp/powerpc/score603e/ChangeLog index ce487eb5e2..a259b05a45 100644 --- a/c/src/lib/libbsp/powerpc/score603e/ChangeLog +++ b/c/src/lib/libbsp/powerpc/score603e/ChangeLog @@ -1,3 +1,11 @@ +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. + 2002-04-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * startup/spurious.c: Use defined(mpc604) instead of defined(ppc604). diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds b/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds index ddc3d8b523..91dc2fafd0 100644 --- a/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds @@ -59,17 +59,17 @@ SECTIONS *(.descriptors) /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) - } - .init : { _init = .; __init = .; *(.init) } - .fini : { _fini = .; __fini = .; *(.fini) } - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } - .rodata1 : { *(.rodata1) } - .eh_frame : { *.(eh_frame) } + } >RAM + .init : { _init = .; __init = .; *(.init) } >RAM + .fini : { _fini = .; __fini = .; *(.fini) } >RAM + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } >RAM + .rodata1 : { *(.rodata1) } >RAM + .eh_frame : { *.(eh_frame) } >RAM _etext = .; PROVIDE (_etext = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } - .sbss2 : { *(.sbss2) } + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM PROVIDE (__SBSS2_END__ = .); /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. It would @@ -92,28 +92,28 @@ SECTIONS *(.data) *(.gnu.linkonce.d.*) CONSTRUCTORS - } + } >RAM PROVIDE (__EXCEPT_START__ = .); - .gcc_except_table : { *(.gcc_except_table) } + .gcc_except_table : { *(.gcc_except_table) } >RAM PROVIDE (__EXCEPT_END__ = .); - .data1 : { *(.data1) } - .got1 : { *(.got1) } - .dynamic : { *(.dynamic) } + .data1 : { *(.data1) } >RAM + .got1 : { *(.got1) } >RAM + .dynamic : { *(.dynamic) } >RAM /* Put .ctors and .dtors next to the .got2 section, so that the pointers get relocated with -mrelocatable. Also put in the .fixup pointers. The current compiler no longer needs this, but keep it around for 2.7.2 */ PROVIDE (_GOT2_START_ = .); - .got2 : { *(.got2) } + .got2 : { *(.got2) } >RAM PROVIDE (__GOT2_END__ = .); PROVIDE (__CTOR_LIST__ = .); - .ctors : { *(.ctors) } + .ctors : { *(.ctors) } >RAM PROVIDE (__CTOR_END__ = .); PROVIDE (__DTOR_LIST__ = .); - .dtors : { *(.dtors) } + .dtors : { *(.dtors) } >RAM PROVIDE (__DTOR_END__ = .); PROVIDE (_FIXUP_START_ = .); - .fixup : { *(.fixup) } + .fixup : { *(.fixup) } >RAM PROVIDE (_FIXUP_END_ = .); PROVIDE (__FIXUP_END__ = .); PROVIDE (_GOT2_END_ = .); @@ -121,8 +121,8 @@ SECTIONS PROVIDE (_GOT_START_ = .); s.got = .; *(.got) - } - .got.plt : { *(.got.plt) } + } >RAM + .got.plt : { *(.got.plt) } >RAM PROVIDE (_GOT_END_ = .); PROVIDE (__GOT_END__ = .); /* We want the small data sections together, so single-instruction offsets @@ -131,8 +131,9 @@ SECTIONS PROVIDE (__SDATA_START__ = .); .sdata : { *(.sdata) + *(.gnu.linkonce.s.*) _edata = .; - } + } >RAM PROVIDE (_edata = .); PROVIDE (RAM_END = ADDR(.text) + 10M); . = ALIGN(8) + 0x1000; @@ -143,7 +144,7 @@ SECTIONS *(.sbss) *(.scommon) PROVIDE (__sbss_end = .); - } + } >RAM PROVIDE (__SBSS_END__ = .); .bss : { @@ -155,11 +156,11 @@ SECTIONS PROVIDE (__stack = .); _end = . ; PROVIDE (end = .); - } + } >RAM /* These are needed for ELF backends which have not yet been converted to the new style linker. */ - .stab 0 : { *(.stab) } + .stab 0 : { *(.stab) } >RAM .stabstr 0 : { *(.stabstr) } /* DWARF debug sections. Symbols in the DWARF debugging sections are relative to the beginning diff --git a/c/src/lib/libbsp/powerpc/shared/ChangeLog b/c/src/lib/libbsp/powerpc/shared/ChangeLog index e578413fe4..ff4fb24d3a 100644 --- a/c/src/lib/libbsp/powerpc/shared/ChangeLog +++ b/c/src/lib/libbsp/powerpc/shared/ChangeLog @@ -1,3 +1,11 @@ + Eliminated the implicit assumption on the presence of an ISA PIC. + - UART and console driver now supports more than 1 port. The current + maximum of 2 can easily be extended by enlarging a table (it + would even be easier if the ISR API was not broken by design). + - fixed polled_io.c so it correctly supports console on COM2 + - fixed TLB invalidation code (start.S). + - exception handler prints a stack backtrace. + - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance. 2001-05-09 Joel Sherrill <joel@OARcorp.com> diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds index 1c8127b273..384c9ef2a5 100644 --- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds @@ -61,13 +61,13 @@ SECTIONS } > CODE .init : { _init = .; *(.init) } >CODE .fini : { _fini = .; *(.fini) } >CODE - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } > CODE + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } > CODE .rodata1 : { *(.rodata1) } > CODE .eh_frame : { *.(eh_frame) } >CODE _etext = .; PROVIDE (etext = .); - .sdata2 : { *(.sdata2) } > CODE - .sbss2 : { *(.sbss2) } > CODE + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >CODE + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >CODE /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. It would be more correct to do this: @@ -117,7 +117,7 @@ SECTIONS /* We want the small data sections together, so single-instruction offsets can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */ - .sdata : { *(.sdata) } > CODE + .sdata : { *(.sdata) *(.gnu.linkonce.s.*) } >CODE _edata = .; PROVIDE (edata = .); .sbss : |