]>
Commit | Line | Data |
---|---|---|
0a93a495 JB |
1 | --- Firebird-2.5.0.26074-0/src/jrd/common.h.orig 2010-09-08 10:43:27.000000000 +0200 |
2 | +++ Firebird-2.5.0.26074-0/src/jrd/common.h 2010-10-28 07:51:57.395734339 +0200 | |
3 | @@ -158,6 +158,11 @@ | |
8fdc37dd JB |
4 | #define RISC_ALIGNMENT |
5 | #endif // IA64 | |
67566b4b | 6 | |
67566b4b | 7 | +#ifdef __alpha__ |
0a93a495 | 8 | +#define IMPLEMENTATION isc_info_db_impl_linux_alpha /* 82 */ |
8fdc37dd | 9 | +#define RISC_ALIGNMENT |
67566b4b | 10 | +#endif |
67566b4b | 11 | + |
0a93a495 JB |
12 | #ifndef USE_POSIX_THREADS |
13 | // force pthread detection on Linux for distros that do not provide | |
14 | // POSIX thread compatability | |
15 | --- Firebird-2.5.0.26074-0/src/jrd/inf_pub.h.orig 2010-09-08 10:43:27.000000000 +0200 | |
16 | +++ Firebird-2.5.0.26074-0/src/jrd/inf_pub.h 2010-10-28 07:52:00.183734339 +0200 | |
17 | @@ -213,6 +213,7 @@ | |
67566b4b | 18 | |
0a93a495 JB |
19 | isc_info_db_impl_linux_sh = 80, |
20 | isc_info_db_impl_linux_sheb = 81, | |
21 | + isc_info_db_impl_linux_alpha = 82, | |
67566b4b | 22 | |
8fdc37dd JB |
23 | isc_info_db_impl_last_value // Leave this LAST! |
24 | }; | |
0a93a495 JB |
25 | --- Firebird-2.5.0.26074-0/src/jrd/pag.cpp.orig 2010-09-08 10:43:27.000000000 +0200 |
26 | +++ Firebird-2.5.0.26074-0/src/jrd/pag.cpp 2010-10-28 07:58:22.771734339 +0200 | |
27 | @@ -160,9 +160,10 @@ | |
28 | static const int CLASS_LINUX_S390 = 37; // LINUX/s390 | |
29 | static const int CLASS_LINUX_SH = 38; // LINUX/SH (little-endian) | |
30 | static const int CLASS_LINUX_SHEB = 39; // LINUX/SH (big-endian) | |
31 | +static const int CLASS_LINUX_ALPHA = 40; // LINUX/Alpha | |
67566b4b | 32 | |
8fdc37dd | 33 | static const int CLASS_MAX10 = CLASS_LINUX_AMD64; // This should not be changed, no new ports with ODS10 |
0a93a495 | 34 | -static const int CLASS_MAX = CLASS_LINUX_SHEB; |
8fdc37dd JB |
35 | +static const int CLASS_MAX = CLASS_LINUX_ALPHA; |
36 | ||
37 | // ARCHITECTURE COMPATIBILITY CLASSES | |
38 | ||
0a93a495 JB |
39 | @@ -259,7 +260,8 @@ |
40 | archBigEndian, // CLASS_LINUX_S390X | |
41 | archBigEndian, // CLASS_LINUX_S390 | |
42 | archLittleEndian, // CLASS_LINUX_SH | |
43 | - archBigEndian // CLASS_LINUX_SHEB | |
44 | + archBigEndian, // CLASS_LINUX_SHEB | |
8fdc37dd JB |
45 | + archLittleEndian // CLASS_LINUX_ALPHA |
46 | }; | |
47 | ||
0a93a495 JB |
48 | #ifdef __sun |
49 | @@ -319,6 +321,8 @@ | |
50 | const SSHORT CLASS = CLASS_LINUX_SH; | |
51 | #elif defined(SHEB) | |
52 | const SSHORT CLASS = CLASS_LINUX_SHEB; | |
8fdc37dd JB |
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 |
0a93a495 JB |
58 | --- Firebird-2.5.0.26074-0/src/jrd/utl.cpp.orig 2010-09-08 10:43:27.000000000 +0200 |
59 | +++ Firebird-2.5.0.26074-0/src/jrd/utl.cpp 2010-10-28 07:57:59.231736853 +0200 | |
60 | @@ -225,7 +225,8 @@ | |
61 | "Firebird/linux s390x", // 78 | |
62 | "Firebird/linux s390", // 79 | |
63 | "Firebird/linux SH", // 80 | |
64 | - "Firebird/linux SHEB" // 81 | |
65 | + "Firebird/linux SHEB", // 81 | |
66 | + "Firebird/linux Alpha" // 82 | |
f03fe267 JB |
67 | }; |
68 | ||
69 |