This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] libffi on XScale (BE)


Hi,

We've discovered a bug in the ffi-library on XScale (BE). When running the 
testcase 'return_ll.c' in testsuite/libffi.call it aborts on line 35. The 
problem is related to 64bit returnvalues which are not handled correctly.

The attached patch (for src/arm/sysv.S) fixes this issue by obtaining the 
correct value for the returntype and the correct address for the returnvalue.

regards,
winkler thomas, quaritsch markus
-- 
|  .''`. | Quaritsch Markus   quam@qwws.net   Student of Telematics |
| : :' : |                                         TU-Graz, Austria |
| `. `'  |                                                          |
|   `-   | "How to Buy and Set Up a Computer". Step One: Get Valium |

Attachment: patch.txt
Description: Text document

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]