* src/pa/ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1
commitc350327d6cc9f124cee3543657f97f74e7cb2500
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jul 2005 03:37:20 +0000 (6 03:37 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jul 2005 03:37:20 +0000 (6 03:37 +0000)
tree4623ad894f02fcb1b4f53ee584083ade5a6fc60c
parente6e4c039ebec5b60512235cd5af25dfbb95660a0
* src/pa/ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1
as FFI_TYPE_SMALL_STRUCT3.  Break out handling for 5-7 byte
structures.  Kill compilation warnings.
(ffi_closure_inner_LINUX): Print return values as hex in debug
message.  Rename FFI_TYPE_SMALL_STRUCT1 as FFI_TYPE_SMALL_STRUCT3.
Properly handle 5-7 byte structure returns.
* src/pa/ffitarget.h (FFI_TYPE_SMALL_STRUCT1)
(FFI_TYPE_SMALL_STRUCT2): Remove.
(FFI_TYPE_SMALL_STRUCT3, FFI_TYPE_SMALL_STRUCT5)
(FFI_TYPE_SMALL_STRUCT6, FFI_TYPE_SMALL_STRUCT7): Define.
* src/pa/linux.S: Mark source file as using PA1.1 assembly.
(checksmst1, checksmst2): Remove.
(checksmst3): Optimize handling of 3-byte struct returns.
(checksmst567): Properly handle 5-7 byte struct returns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101650 138bc75d-0d04-0410-961f-82ee72b054a4
libffi/ChangeLog
libffi/src/pa/ffi.c
libffi/src/pa/ffitarget.h
libffi/src/pa/linux.S