mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 15:42:25 +00:00
new system types tested on x86 and armv6, bootstrap binaries updated. --
noch
Former-commit-id: 5a6725d7da
This commit is contained in:
parent
060ec5134d
commit
ec6f3220cd
14 changed files with 56 additions and 9 deletions
|
|
@ -12,6 +12,7 @@ uses double # as concatenation operator
|
|||
*/
|
||||
#include <stdlib.h>
|
||||
//#include <alloca.h>
|
||||
#include <stdint.h> /* for type sizes -- noch */
|
||||
//#include <string.h>
|
||||
|
||||
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
||||
|
|
@ -52,6 +53,10 @@ typedef void *SYSTEM_PTR;
|
|||
//#define *SYSTEM_PTR void
|
||||
//typedef unsigned char SYSTEM_BYTE;
|
||||
#define SYSTEM_BYTE unsigned char
|
||||
typedef int8_t SYSTEM_INT8;
|
||||
typedef int16_t SYSTEM_INT16;
|
||||
typedef int32_t SYSTEM_INT32;
|
||||
typedef int64_t SYSTEM_INT64;
|
||||
|
||||
/* runtime system routines */
|
||||
extern long SYSTEM_DIV();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue