rodata - address is out of bounds

suresh chandra sureshchandra@engineer.com
Sat Apr 1 16:48:00 GMT 2006


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/



More information about the Gcc-help mailing list