]>
Commit | Line | Data |
---|---|---|
8fdc37dd JB |
1 | --- Firebird-2.1.1.17910-0/src/jrd/common.h.orig 2008-05-27 11:27:23.000000000 +0200 |
2 | +++ Firebird-2.1.1.17910-0/src/jrd/common.h 2008-07-18 22:37:29.266040573 +0200 | |
3 | @@ -151,6 +151,11 @@ | |
4 | #define RISC_ALIGNMENT | |
5 | #endif // IA64 | |
67566b4b | 6 | |
67566b4b | 7 | +#ifdef __alpha__ |
8fdc37dd JB |
8 | +#define IMPLEMENTATION isc_info_db_impl_linux_alpha /* 77 */ |
9 | +#define RISC_ALIGNMENT | |
67566b4b | 10 | +#endif |
67566b4b | 11 | + |
8fdc37dd JB |
12 | #define MEMMOVE(from, to, length) memmove ((void *)to, (void *)from, (size_t) length) |
13 | #define MOVE_FAST(from, to, length) memcpy (to, from, (int) (length)) | |
14 | #define MOVE_FASTER(from, to, length) memcpy (to, from, (int) (length)) | |
15 | --- Firebird-2.1.1.17910-0/src/jrd/inf_pub.h.orig 2008-05-27 11:27:30.000000000 +0200 | |
16 | +++ Firebird-2.1.1.17910-0/src/jrd/inf_pub.h 2008-07-18 22:40:03.810034707 +0200 | |
17 | @@ -205,6 +205,7 @@ enum info_db_implementations | |
67566b4b | 18 | |
8fdc37dd JB |
19 | isc_info_db_impl_linux_arm = 75, |
20 | isc_info_db_impl_linux_ia64 = 76, | |
21 | + isc_info_db_impl_linux_alpha = 77, | |
67566b4b | 22 | |
8fdc37dd JB |
23 | isc_info_db_impl_last_value // Leave this LAST! |
24 | }; | |
25 | --- Firebird-2.1.1.17910-0/src/jrd/pag.cpp.orig 2008-05-27 11:27:37.000000000 +0200 | |
26 | +++ Firebird-2.1.1.17910-0/src/jrd/pag.cpp 2008-07-18 22:42:52.586039735 +0200 | |
27 | @@ -158,9 +158,10 @@ static const int CLASS_DARWIN_X64 = 31; | |
28 | static const int CLASS_SOLARIS_AMD64 = 32; //Solaris/amd64 | |
29 | static const int CLASS_LINUX_ARM = 33; // LINUX/ARM | |
30 | static const int CLASS_LINUX_IA64 = 34; // LINUX/IA64 | |
31 | +static const int CLASS_LINUX_ALPHA = 35; // LINUX/ALPHA | |
67566b4b | 32 | |
8fdc37dd JB |
33 | static const int CLASS_MAX10 = CLASS_LINUX_AMD64; // This should not be changed, no new ports with ODS10 |
34 | -static const int CLASS_MAX = CLASS_LINUX_IA64; | |
35 | +static const int CLASS_MAX = CLASS_LINUX_ALPHA; | |
36 | ||
37 | // ARCHITECTURE COMPATIBILITY CLASSES | |
38 | ||
39 | @@ -250,7 +251,8 @@ static ArchitectureType archMatrix[CLASS | |
40 | archLittleEndian, // CLASS_DARWIN_X64 | |
41 | archLittleEndian, // CLASS_SOLARIS_AMD64 | |
42 | archLittleEndian, // CLASS_LINUX_ARM | |
43 | - archLittleEndian // CLASS_LINUX_IA64 | |
44 | + archLittleEndian, // CLASS_LINUX_IA64 | |
45 | + archLittleEndian // CLASS_LINUX_ALPHA | |
46 | }; | |
47 | ||
48 | #ifdef sun | |
49 | @@ -308,6 +310,8 @@ const SSHORT CLASS = CLASS_LINUX_MIPSEL | |
50 | const SSHORT CLASS = CLASS_LINUX_MIPS; | |
51 | #elif defined(IA64) | |
52 | const SSHORT CLASS = CLASS_LINUX_IA64; | |
53 | +#elif defined(__alpha__) | |
54 | +const SSHORT CLASS = CLASS_LINUX_ALPHA; | |
67566b4b | 55 | #else |
8fdc37dd | 56 | #error no support on other hardware for Linux |
67566b4b | 57 | #endif |
8fdc37dd JB |
58 | --- Firebird-2.1.1.17910-0/src/remote/xdr.cpp.orig 2008-05-27 11:27:51.000000000 +0200 |
59 | +++ Firebird-2.1.1.17910-0/src/remote/xdr.cpp 2008-07-18 22:43:33.910037221 +0200 | |
60 | @@ -42,7 +42,7 @@ | |
61 | // entry_point 'IB_UDF_abs' module_name 'ib_udf'; | |
62 | // select abs2(2.0 / 3.0) from rdb$database; | |
63 | // It will return big strange value in case of invalid define | |
64 | -#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(ARM) || defined(MIPSEL) || defined(DARWIN64) || defined(IA64) | |
65 | +#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(ARM) || defined(MIPSEL) || defined(DARWIN64) || defined(IA64) || defined(__alpha__) | |
66 | #define SWAP_DOUBLE | |
67 | #elif defined(sparc) || defined(PowerPC) || defined(PPC) || defined(__ppc__) || defined(HPUX) || defined(MIPS) | |
68 | #undef SWAP_DOUBLE | |
69 | --- Firebird-2.1.1.17910-0/src/jrd/utl.cpp.orig 2008-05-27 11:27:40.000000000 +0200 | |
70 | +++ Firebird-2.1.1.17910-0/src/jrd/utl.cpp 2008-07-18 22:44:17.890038059 +0200 | |
71 | @@ -243,7 +243,8 @@ static const TEXT* const impl_implementa | |
72 | "Firebird/Darwin/Intel64", /* 73 */ | |
73 | "Firebird/sun/amd64", /* 74 */ | |
74 | "Firebird/linux ARM", /* 75 */ | |
75 | - "Firebird/linux IA64" // 76 | |
76 | + "Firebird/linux IA64", // 76 | |
77 | + "Firebird/linux ALPHA" /* 77 */ | |
f03fe267 JB |
78 | }; |
79 | ||
80 |