[Bug libffi/28313] libffi has not been ported to mips64-linux-gnu

2007-09-29 Thread daney at gcc dot gnu dot org


-- 

daney at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28313



[Bug libffi/28313] libffi has not been ported to mips64-linux-gnu

2007-08-10 Thread daney at gcc dot gnu dot org


--- Comment #4 from daney at gcc dot gnu dot org  2007-08-10 15:36 ---
Subject: Bug 28313

Author: daney
Date: Fri Aug 10 15:35:55 2007
New Revision: 127336

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127336
Log:
PR libffi/28313
* configure.ac: Don't treat mips64 as a special case.
* Makefile.am (nodist_libffi_la_SOURCES): Add n32.S.
* configure: Regenerate
* Makefile.in: Ditto.
* fficonfig.h.in: Ditto.
* src/mips/ffitarget.h (REG_L, REG_S, SUBU, ADDU, SRL, LI): Indent.
(LA, EH_FRAME_ALIGN, FDE_ADDR_BYTES): New preprocessor macros.
(FFI_DEFAULT_ABI): Set for n64 case.
(FFI_CLOSURES, FFI_TRAMPOLINE_SIZE): Define for n32 and n64 cases.
* src/mips/n32.S (ffi_call_N32): Add debug macros and labels for FDE.
(ffi_closure_N32): New function.
(.eh_frame): New section
* src/mips/o32.S: Clean up comments.
(ffi_closure_O32): Pass ffi_closure parameter in $12.
* src/mips/ffi.c: Use FFI_MIPS_N32 instead of
_MIPS_SIM == _ABIN32 throughout.
(FFI_MIPS_STOP_HERE): New, use in place of
ffi_stop_here.
(ffi_prep_args): Use unsigned long to hold pointer values.  Rewrite
to support n32/n64 ABIs.
(calc_n32_struct_flags): Rewrite.
(calc_n32_return_struct_flags): Remove unused variable.  Reverse
position of flag bits.
(ffi_prep_cif_machdep): Rewrite n32 portion.
(ffi_call): Enable for n64.  Add special handling for small structure
return values.
(ffi_prep_closure_loc): Add n32 and n64 support.
(ffi_closure_mips_inner_O32): Add cast to silence warning.
(copy_struct_N32, ffi_closure_mips_inner_N32): New functions.

Modified:
trunk/libffi/ChangeLog
trunk/libffi/Makefile.am
trunk/libffi/Makefile.in
trunk/libffi/configure
trunk/libffi/configure.ac
trunk/libffi/fficonfig.h.in
trunk/libffi/src/mips/ffi.c
trunk/libffi/src/mips/ffitarget.h
trunk/libffi/src/mips/n32.S
trunk/libffi/src/mips/o32.S


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28313



[Bug libffi/28313] libffi has not been ported to mips64-linux-gnu

2007-08-10 Thread daney at gcc dot gnu dot org


--- Comment #5 from daney at gcc dot gnu dot org  2007-08-10 15:42 ---
It should be working now.


-- 

daney at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28313



[Bug libffi/28313] libffi has not been ported to mips64-linux-gnu

2007-08-09 Thread daney at gcc dot gnu dot org


--- Comment #3 from daney at gcc dot gnu dot org  2007-08-09 17:06 ---
I will commit n32/n64 support shortly.


-- 

daney at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |daney at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-07-08 14:28:04 |2007-08-09 17:06:17
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28313



[Bug libffi/28313] libffi has not been ported to mips64-linux-gnu

2006-07-11 Thread ro at gcc dot gnu dot org


--- Comment #2 from ro at gcc dot gnu dot org  2006-07-11 18:27 ---
This affects IRIX 6 as well (i.e. the N32 and N64 ABIs).

  Rainer


-- 

ro at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ro at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28313



[Bug libffi/28313] libffi has not been ported to mips64-linux-gnu

2006-07-08 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-07-08 14:28 ---
mips64*-*);;
mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS_IRIX; TARGETDIR=mips;;
mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;;


So yes.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-07-08 14:28:04
   date||
Summary|libffi doesn't support  |libffi has not been ported
   |mips64-linux|to mips64-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28313