Changeset 1391 for branches/GNU/src/gcc/libffi/include
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libffi/include/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 # Makefile.in generated automatically by automake 1.4 from Makefile.am2 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 4 4 # This Makefile.in is free software; the Free Software Foundation 5 5 # gives unlimited permission to copy and/or distribute it, … … 82 82 VERSION = @VERSION@ 83 83 libffi_basedir = @libffi_basedir@ 84 toolexecdir = @toolexecdir@ 85 toolexeclibdir = @toolexeclibdir@ 84 86 85 87 AUTOMAKE_OPTIONS = foreign … … 90 92 91 93 hack_DATA = fficonfig.h ffi.h ffi_mips.h 92 mkinstalldirs = $(SHELL) $(top_srcdir)/ ../mkinstalldirs94 mkinstalldirs = $(SHELL) $(top_srcdir)/${libffi_basedir}../mkinstalldirs 93 95 CONFIG_HEADER = ../fficonfig.h 94 96 CONFIG_CLEAN_FILES = ffi.h … … 100 102 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 101 103 102 TAR = g nutar104 TAR = gtar 103 105 GZIP_ENV = --best 104 106 all: all-redirect -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libffi/include/ffi.h.in
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* -----------------------------------------------------------------*-C-*- 2 libffi @VERSION@ - Copyright (c) 1996-200 2Cygnus Solutions2 libffi @VERSION@ - Copyright (c) 1996-2003 Cygnus Solutions 3 3 4 4 Permission is hereby granted, free of charge, to any person obtaining … … 165 165 #endif 166 166 167 #ifdef S390 168 #if defined (__s390x__) 169 #define S390X 170 #endif 171 #endif 172 173 #ifdef X86_64 174 #if defined (__i386__) 175 #undef X86_64 176 #define X86 177 #endif 178 #endif 179 167 180 #ifndef LIBFFI_ASM 168 181 … … 190 203 #endif 191 204 192 /* ---- Intel x86 ---------------- */193 #ifdef X86194 FFI_SYSV,195 FFI_DEFAULT_ABI = FFI_SYSV,196 #endif197 198 205 /* ---- Intel x86 Win32 ---------- */ 199 206 #ifdef X86_WIN32 200 207 FFI_SYSV, 208 FFI_STDCALL, 209 /* TODO: Add fastcall support for the sake of completeness */ 201 210 FFI_DEFAULT_ABI = FFI_SYSV, 211 #endif 212 213 /* ---- Intel x86 and AMD x86-64 - */ 214 #if !defined(X86_WIN32) && (defined(__i386__) || defined(__x86_64__)) 215 FFI_SYSV, 216 FFI_UNIX64, /* Unix variants all use the same ABI for x86-64 */ 217 #ifdef __i386__ 218 FFI_DEFAULT_ABI = FFI_SYSV, 219 #else 220 FFI_DEFAULT_ABI = FFI_UNIX64, 221 #endif 202 222 #endif 203 223 … … 248 268 /* ---- ARM --------------------- */ 249 269 #ifdef ARM 270 FFI_SYSV, 271 FFI_DEFAULT_ABI = FFI_SYSV, 272 #endif 273 274 /* ---- S390 --------------------- */ 275 #ifdef S390 276 FFI_SYSV, 277 FFI_DEFAULT_ABI = FFI_SYSV, 278 #endif 279 280 /* ---- SuperH ------------------- */ 281 #ifdef SH 250 282 FFI_SYSV, 251 283 FFI_DEFAULT_ABI = FFI_SYSV, … … 265 297 } ffi_type; 266 298 267 /* These are defined in ffi.c */299 /* These are defined in types.c */ 268 300 extern ffi_type ffi_type_void; 269 301 extern ffi_type ffi_type_uint8; … … 374 406 /* ---- Definitions for closures ----------------------------------------- */ 375 407 376 #ifdef X86 377 378 #define FFI_CLOSURES 1 /* x86 supports closures */ 379 #define FFI_TRAMPOLINE_SIZE 10 380 #define FFI_NATIVE_RAW_API 1 /* and has native raw api support */ 381 382 #elif defined(X86_WIN32) 408 #ifdef __i386__ 383 409 384 410 #define FFI_CLOSURES 1 /* x86 supports closures */ … … 423 449 #define FFI_CLOSURES 1 424 450 #define FFI_TRAMPOLINE_SIZE 24 /* see struct below */ 451 #define FFI_NATIVE_RAW_API 0 452 453 #elif defined(SPARC64) 454 455 #define FFI_CLOSURES 1 456 #define FFI_TRAMPOLINE_SIZE 24 457 #define FFI_NATIVE_RAW_API 0 458 459 #elif defined(SPARC) 460 461 #define FFI_CLOSURES 1 462 #define FFI_TRAMPOLINE_SIZE 16 463 #define FFI_NATIVE_RAW_API 0 464 465 #elif defined(S390) 466 467 #define FFI_CLOSURES 1 468 #ifdef S390X 469 #define FFI_TRAMPOLINE_SIZE 32 470 #else 471 #define FFI_TRAMPOLINE_SIZE 16 472 #endif 473 #define FFI_NATIVE_RAW_API 0 474 475 #elif defined(SH) 476 477 #define FFI_CLOSURES 1 478 #define FFI_TRAMPOLINE_SIZE 16 479 #define FFI_NATIVE_RAW_API 0 480 481 #elif defined(__x86_64__) 482 483 #define FFI_CLOSURES 1 484 #define FFI_TRAMPOLINE_SIZE 24 425 485 #define FFI_NATIVE_RAW_API 0 426 486 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.