Fixing start address of .data section in a Leon3 program

Rafael Morales rmorales at iaa.es
Fri Nov 29 12:45:57 UTC 2013


Hi RTEMS users,

I'm trying to fix the start address of the .data section in a program 
running Leon3 processor.

I've tried the easy way: modify the "linkcmds.base"  file

.data *0x400C8000* :  {

}

The section map seems correct, but at run time, it generates a ugly:

BAD_TRAP ! 29 - 2B  undefined

I supposed that there is an external dependence (out of linkcmds.base)  
to the start of the ".data" section, that causes the bad trap.

Any advice?
Thanks in advance.

Saludos Rafael from Spain.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20131129/899c91b7/attachment-0001.html>


More information about the users mailing list