ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1 as FFI_TYPE_SMALL_STRUCT3.
authorRandolph Chung <tausq@debian.org>
Wed, 6 Jul 2005 03:37:20 +0000 (03:37 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 6 Jul 2005 03:37:20 +0000 (03:37 +0000)
commitb65da304410d189aa76e4c5fcfe4047529a9f6d1
tree4623ad894f02fcb1b4f53ee584083ade5a6fc60c
parent00518cb11760cbc6b2827727116c28a12e2558cc
ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1 as FFI_TYPE_SMALL_STRUCT3.

* 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.

From-SVN: r101650
libffi/ChangeLog
libffi/src/pa/ffi.c
libffi/src/pa/ffitarget.h
libffi/src/pa/linux.S