SIGILL on an assembly instruction on Linux PPC64

Steve Munroe sjmunroe at us.ibm.com
Thu Jun 24 23:09:59 EST 2004


Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center


umut aymakoglu <umutaymak at yahoo.com> wrote on 06/23/2004 05:14:26 PM:

>
> Hi -
> I am trying to convert an existing assembly file
> written for 64bit AIX on rs6000 to 64bit Linux on
> ppc64. In the aix file there is an instruction as:
>
> 1) bl ._savef14 which stores the floating point
> registers 14-31 to the stack frame and
> 2) bl ._restf14 which loads the floating point
> registers 14-31
>
> The problem i have is: at (1) the code goes into
> .fsav() which stores only the fp14 and at (2) it goes
> into .fres() and gives SIGILL.
>
> Does anybody know what is going wrong? I would also
> like to know if there are any kind of documentation on
> the assembly for linux on ppc64
>

Read the following carefully ;-)

GNU Not UNIX

Also not AIX

Linux uses the ELF ABI
http://www.linuxbase.org/spec/ELF/ppc64/spec/book1.html

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list