OpenCores
no use no use 1/1 no use no use
elf loader bug in or1ksim
by Unknown on Nov 12, 2004
Not available!
Hi.

I think I've found a bug in or1ksim. If two sections are adjacent but
not aligned on a 4 byte boundary the elf loader of or1ksim will not work
since it will write 4 bytes at a time and thus overwrite the previous
section. (If I understand the code correctly in or1ksim/cpu/common/parse.c)

I can work around the bug by manually specifying that all
sections should be 4 byte aligned in the link script. (I found the bug
because the .rodata.str1.1 section was not aligned in my original
link script.)


regards
Andreas Ehliar
no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.