ffi.c (OFS_INT16): Set 0 for little endian case.

* src/sh/ffi.c (OFS_INT16): Set 0 for little endian case.  Update
	copyright years.

From-SVN: r70421
This commit is contained in:
Kaz Kojima 2003-08-13 23:36:54 +00:00
parent 872119b16c
commit 996b4f8f5a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org>
* src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update
copyright years.
2003-08-02 Alan Modra <amodra@bigpond.net.au>
* src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc

View File

@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------
ffi.c - Copyright (c) 2002 Kaz Kojima
ffi.c - Copyright (c) 2002, 2003 Kaz Kojima
SuperH Foreign Function Interface
@ -507,7 +507,7 @@ ffi_prep_closure (ffi_closure* closure,
#ifdef __LITTLE_ENDIAN__
#define OFS_INT8 0
#define OFS_INT16 2
#define OFS_INT16 0
#else
#define OFS_INT8 3
#define OFS_INT16 2