Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 909528 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (+12 lines)
Lines 249-254 dnl CPU_TYPE=ppc64 Link Here
249
    libdir=/usr/lib64
249
    libdir=/usr/lib64
250
    ;;
250
    ;;
251
251
252
  riscv64*-*-linux*)
253
    MAKEFILE_PREFIX=linux_riscv64
254
    INSTALL_PREFIX=linux
255
    PLATFORM=LINUX
256
    AC_DEFINE(LINUX, 1, [Define this if OS is Linux])
257
    EDITLINE_FLG=Y
258
    SHRLIB_EXT=so
259
    STD_EDITLINE=true
260
    STD_ICU=true
261
    libdir=/usr/lib64
262
    ;;
263
252
  powerpc64le-*-linux*)
264
  powerpc64le-*-linux*)
253
    MAKEFILE_PREFIX=linux_powerpc64el
265
    MAKEFILE_PREFIX=linux_powerpc64el
254
    INSTALL_PREFIX=linux
266
    INSTALL_PREFIX=linux
(-)a/src/common/classes/DbImplementation.cpp (-13 / +15 lines)
Lines 49-54 static const UCHAR CpuAlpha = 14; Link Here
49
static const UCHAR CpuArm64 = 15;
49
static const UCHAR CpuArm64 = 15;
50
static const UCHAR CpuPowerPc64el = 16;
50
static const UCHAR CpuPowerPc64el = 16;
51
static const UCHAR CpuM68k = 17;
51
static const UCHAR CpuM68k = 17;
52
static const UCHAR CpuRiscV64 = 18;
52
53
53
static const UCHAR OsWindows = 0;
54
static const UCHAR OsWindows = 0;
54
static const UCHAR OsLinux = 1;
55
static const UCHAR OsLinux = 1;
Lines 89-95 const char* hardware[] = { Link Here
89
	"Alpha",
90
	"Alpha",
90
	"ARM64",
91
	"ARM64",
91
	"PowerPC64el",
92
	"PowerPC64el",
92
	"M68k"
93
	"M68k",
94
        "RiscV64"
93
};
95
};
94
96
95
const char* operatingSystem[] = {
97
const char* operatingSystem[] = {
Lines 117-138 Link Here
117
// This table lists pre-fb3 implementation codes
117
// This table lists pre-fb3 implementation codes
118
const UCHAR backwardTable[FB_NELEM(hardware) * FB_NELEM(operatingSystem)] =
118
const UCHAR backwardTable[FB_NELEM(hardware) * FB_NELEM(operatingSystem)] =
119
{
119
{
120
//				Intel	AMD		Sparc	PPC		PPC64	MIPSEL	MIPS	ARM		IA64	s390	s390x	SH		SHEB	HPPA	Alpha	ARM64	PowerPC64el
120
//				Intel	AMD		Sparc	PPC		PPC64	MIPSEL	MIPS	ARM		IA64	s390	s390x	SH		SHEB	HPPA	Alpha	ARM64	PowerPC64el	RiscV64 
121
/* Windows */	50,		68,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
121
/* Windows */	50,		68,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
122
/* Linux */		60,		66,		65,		69,		86,		71,		72,		75, 	76,		79, 	78,		80,		81,		82,		83,		84,		85,
122
/* Linux */		60,		66,		65,		69,		86,		71,		72,		75, 	76,		79, 	78,		80,		81,		82,		83,		84,		85,		88,
123
/* Darwin */	70,		73,		0,		63,		77,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
123
/* Darwin */	70,		73,		0,		63,		77,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
124
/* Solaris */	0,		0,		30,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
124
/* Solaris */	0,		0,		30,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
125
/* HPUX */		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		31,		0,		0,		0,
125
/* HPUX */		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		31,		0,		0,		0,		0,
126
/* AIX */			0,		0,		0,		35,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
126
/* AIX */			0,		0,		0,		35,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
127
/* MVS */			0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
127
/* MVS */			0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
128
/* FreeBSD */	61,		67,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
128
/* FreeBSD */	61,		67,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,
129
/* NetBSD */	62,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0
129
/* NetBSD */	62,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0,		0
130
};
130
};
131
131
132
const UCHAR backEndianess[FB_NELEM(hardware)] =
132
const UCHAR backEndianess[FB_NELEM(hardware)] =
133
{
133
{
134
//	Intel	AMD		Sparc	PPC		PPC64	MIPSEL	MIPS	ARM		IA64	s390	s390x	SH		SHEB	HPPA	Alpha	ARM64	PowerPC64el	M68k
134
//	Intel	AMD		Sparc	PPC		PPC64	MIPSEL	MIPS	ARM		IA64	s390	s390x	SH		SHEB	HPPA	Alpha	ARM64	PowerPC64el	M68k	RiscV64 
135
	0,		0,		1,		1,		1,		0,		1,		0,		0,		1,		1,		0,		1,		1,		0,		0,		0,		1
135
	0,		0,		1,		1,		1,		0,		1,		0,		0,		1,		1,		0,		1,		1,		0,		0,		0,		1,		0
136
};
136
};
137
137
138
} // anonymous namespace
138
} // anonymous namespace
(-)a/src/common/common.h (+4 lines)
Lines 139-144 Link Here
139
#define FB_CPU CpuArm64
139
#define FB_CPU CpuArm64
140
#endif /* ARM64 */
140
#endif /* ARM64 */
141
141
142
#ifdef RISCV64
143
#define FB_CPU CpuRiscV64
144
#endif /* RISCV64 */
145
142
#ifdef sparc
146
#ifdef sparc
143
#define FB_CPU CpuUltraSparc
147
#define FB_CPU CpuUltraSparc
144
#define RISC_ALIGNMENT
148
#define RISC_ALIGNMENT
(-)a/src/jrd/inf_pub.h (-2 / +1 lines)
Lines 256-262 enum info_db_implementations Link Here
256
	isc_info_db_impl_linux_ppc64el = 85,
256
	isc_info_db_impl_linux_ppc64el = 85,
257
	isc_info_db_impl_linux_ppc64 = 86,
257
	isc_info_db_impl_linux_ppc64 = 86,
258
	isc_info_db_impl_linux_m68k = 87,
258
	isc_info_db_impl_linux_m68k = 87,
259
259
        isc_info_db_impl_linux_riscv64 = 88,
260
260
261
	isc_info_db_impl_last_value   // Leave this LAST!
261
	isc_info_db_impl_last_value   // Leave this LAST!
262
};
262
};
263
- 

Return to bug 909528