gcc for PPC750 simulator from microlib.org

Jay.Kulpinski@gd-ais.com Jay.Kulpinski@gd-ais.com
Wed Aug 18 19:33:00 GMT 2004


On Wednesday 18 August 2004 12:36 pm, Sven Heithecker wrote:
> Hi,
>
> we are using a crossgcc-build gcc to compile programms to us with the
> PowerPC 750 simulator/emulator from www.microlib.org. Unfortunately, only
> very small programs run, serious programs crash with the following message:
>
> Attempted to execute a bogus opcode at 0x1001c180 (OPCD = 31, XO_10 = 246,
> XO_9 = 246, XO_5 = 22)
> 0x1001c180 : 0x7c0831ec    ????
> 0x1001c184 : 0x9086fffc    stw r4, -4(r6)
> 0x1001c188 : 0x9086fff8    stw r4, -8(r6)
> 0x1001c18c : 0x9086fff4    stw r4, -12(r6)
> 0x1001c190 : 0x9086fff0    stw r4, -16(r6)
> 0x1001c194 : 0x60000000    ori r0, r0, 0
> 0x1001c198 : 0x9086ffec    stw r4, -20(r6)
> 0x1001c19c : 0x9086ffe8    stw r4, -24(r6)
> 0x1001c1a0 : 0x60000000    ori r0, r0, 0
> 0x1001c1a4 : 0x9086ffe4    stw r4, -28(r6)
>
> Does someone have a clue what to do about this ? Unfortunately, I dont get
> any answer from emails to microlib.org.
>
> Regards, Sven

Sven,

Are you sure the program starts from the _start label like it should?
I had problems with mine since _start was not the first instruction
in the text section.  This patch fixes that, along with a couple of
other bug fixes.  I got no response from the author when I sent in the
patch.

- Jay

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc750sim.patch
Type: text/x-diff
Size: 3994 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20040818/8d8ea055/attachment.bin>
-------------- next part --------------
------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


More information about the crossgcc mailing list