Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Andreas_Schwab:Factory
asl
asl-riscv64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File asl-riscv64.patch of Package asl
Index: asl-current/sysdefs.h =================================================================== --- asl-current.orig/sysdefs.h +++ asl-current/sysdefs.h @@ -1458,6 +1458,39 @@ typedef unsigned long long Card64; #endif /* __arm */ /*===========================================================================*/ +/* RISC-V platform */ + +#if defined __riscv && __riscv_xlen == 64 + +#define ARCHPRNAME "riscv64" + +/*---------------------------------------------------------------------------*/ +/* RISC-V 64-bit linux with GCC */ + +#if defined __linux__ +#define ARCHSYSNAME "unknown-linux" +#define DEFSMADE +#define OPENRDMODE "r" +#define OPENWRMODE "w" +#define OPENUPMODE "r+" +#define IEEEFLOAT +typedef signed char Integ8; +typedef unsigned char Card8; +typedef signed short Integ16; +typedef unsigned short Card16; +#define HAS16 +typedef signed int Integ32; +#define PRIInteg32 "d" +typedef unsigned int Card32; +typedef signed long Integ64; +typedef unsigned long Card64; +#define HAS64 +#define LOCALE_NLS +#endif /* __linux__ */ + +#endif /* __riscv */ + +/*===========================================================================*/ /* Misc... */ /*---------------------------------------------------------------------------*/
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor