This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
rodata - address is out of bounds
- From: "suresh chandra" <sureshchandra at engineer dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 01 Apr 2006 11:55:22 -0500
- Subject: rodata - address is out of bounds
Dear friends,
I am using gcc compiler (2.95.3) for a proprieatary processor(32bit RISC). I am facing alignment problems in rodata section.
following is the brief disassembly at the end of rodata section.
3fbe360: 68 5f 73 69 sts %r54, 0x3a5cd78
3fbe364: 7a 65 00 00 adds %r25, %r87, %r64
3fbe368: Address 0x3fbe368 is out of bounds.
Disassembly of section .data:
03fbe36c <irq_table>:
3fbe36c: 58 36 f8 03 unknown
Following is the corresponding linker script
---------------------------------------------------------------
SECTIONS
{
. = 0x00000000;
. = ALIGN(4);
.text :
{ cpu/start.o (.text)
*(.text)
}
. = ALIGN(4);
.rodata : {*(.rodata) }
. = ALIGN(4);
.data : { *(.data) }
_end = .;
. = ALIGN(4);
__bss_start = .;
.bss : { *(.bss) }
_end_bss = .;
}
please provide pointers for the above mentioned problem.
Thanks and regards
Suresh Chandra Mannava
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/