mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 04:02:25 +00:00
Revert "new system types tested on x86 and armv6, bootstrap binaries updated. --"
This reverts commitec6f3220cd[formerly5a6725d7da]. Former-commit-id:b899460455
This commit is contained in:
parent
ec6f3220cd
commit
cfe72ae364
14 changed files with 9 additions and 56 deletions
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
//#include <string.h>
|
//#include <string.h>
|
||||||
|
|
||||||
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
||||||
|
|
@ -53,10 +52,6 @@ typedef void *SYSTEM_PTR;
|
||||||
//#define *SYSTEM_PTR void
|
//#define *SYSTEM_PTR void
|
||||||
//typedef unsigned char SYSTEM_BYTE;
|
//typedef unsigned char SYSTEM_BYTE;
|
||||||
#define SYSTEM_BYTE unsigned char
|
#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 */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
//#include <alloca.h>
|
//#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
//#include <string.h>
|
//#include <string.h>
|
||||||
|
|
||||||
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
||||||
|
|
@ -53,10 +52,6 @@ typedef void *SYSTEM_PTR;
|
||||||
//#define *SYSTEM_PTR void
|
//#define *SYSTEM_PTR void
|
||||||
//typedef unsigned char SYSTEM_BYTE;
|
//typedef unsigned char SYSTEM_BYTE;
|
||||||
#define SYSTEM_BYTE unsigned char
|
#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 */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
|
|
||||||
//extern void *memcpy(void *dest, const void *src, long n);
|
//extern void *memcpy(void *dest, const void *src, long n);
|
||||||
extern void *memcpy(void *dest, const void *src, size_t n);
|
extern void *memcpy(void *dest, const void *src, size_t n);
|
||||||
|
|
@ -38,10 +37,6 @@ typedef double LONGREAL;
|
||||||
typedef unsigned long SET;
|
typedef unsigned long SET;
|
||||||
typedef void *SYSTEM_PTR;
|
typedef void *SYSTEM_PTR;
|
||||||
typedef unsigned char SYSTEM_BYTE;
|
typedef unsigned char SYSTEM_BYTE;
|
||||||
typedef int8_t SYSTEM_INT8;
|
|
||||||
typedef int16_t SYSTEM_INT16;
|
|
||||||
typedef int32_t SYSTEM_INT32;
|
|
||||||
typedef int64_t SYSTEM_INT64;
|
|
||||||
|
|
||||||
/* runtime system routines */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
|
|
||||||
//extern void *memcpy(void *dest, const void *src, long n);
|
//extern void *memcpy(void *dest, const void *src, long n);
|
||||||
extern void *memcpy(void *dest, const void *src, size_t n);
|
extern void *memcpy(void *dest, const void *src, size_t n);
|
||||||
|
|
@ -38,10 +37,6 @@ typedef double LONGREAL;
|
||||||
typedef unsigned long SET;
|
typedef unsigned long SET;
|
||||||
typedef void *SYSTEM_PTR;
|
typedef void *SYSTEM_PTR;
|
||||||
typedef unsigned char SYSTEM_BYTE;
|
typedef unsigned char SYSTEM_BYTE;
|
||||||
typedef int8_t SYSTEM_INT8;
|
|
||||||
typedef int16_t SYSTEM_INT16;
|
|
||||||
typedef int32_t SYSTEM_INT32;
|
|
||||||
typedef int64_t SYSTEM_INT64;
|
|
||||||
|
|
||||||
/* runtime system routines */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
|
|
||||||
//extern void *memcpy(void *dest, const void *src, long n);
|
//extern void *memcpy(void *dest, const void *src, long n);
|
||||||
extern void *memcpy(void *dest, const void *src, size_t n);
|
extern void *memcpy(void *dest, const void *src, size_t n);
|
||||||
|
|
@ -38,10 +37,6 @@ typedef double LONGREAL;
|
||||||
typedef unsigned long SET;
|
typedef unsigned long SET;
|
||||||
typedef void *SYSTEM_PTR;
|
typedef void *SYSTEM_PTR;
|
||||||
typedef unsigned char SYSTEM_BYTE;
|
typedef unsigned char SYSTEM_BYTE;
|
||||||
typedef int8_t SYSTEM_INT8;
|
|
||||||
typedef int16_t SYSTEM_INT16;
|
|
||||||
typedef int32_t SYSTEM_INT32;
|
|
||||||
typedef int64_t SYSTEM_INT64;
|
|
||||||
|
|
||||||
/* runtime system routines */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
|
|
||||||
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
||||||
extern void *malloc(unsigned long size);
|
extern void *malloc(unsigned long size);
|
||||||
|
|
@ -52,10 +51,6 @@ typedef void *SYSTEM_PTR;
|
||||||
//#define *SYSTEM_PTR void
|
//#define *SYSTEM_PTR void
|
||||||
//typedef unsigned char SYSTEM_BYTE;
|
//typedef unsigned char SYSTEM_BYTE;
|
||||||
#define SYSTEM_BYTE unsigned char
|
#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 */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
|
|
||||||
//extern void *memcpy(void *dest, const void *src, long n);
|
//extern void *memcpy(void *dest, const void *src, long n);
|
||||||
extern void *memcpy(void *dest, const void *src, size_t n);
|
extern void *memcpy(void *dest, const void *src, size_t n);
|
||||||
|
|
@ -38,10 +37,6 @@ typedef double LONGREAL;
|
||||||
typedef unsigned long SET;
|
typedef unsigned long SET;
|
||||||
typedef void *SYSTEM_PTR;
|
typedef void *SYSTEM_PTR;
|
||||||
typedef unsigned char SYSTEM_BYTE;
|
typedef unsigned char SYSTEM_BYTE;
|
||||||
typedef int8_t SYSTEM_INT8;
|
|
||||||
typedef int16_t SYSTEM_INT16;
|
|
||||||
typedef int32_t SYSTEM_INT32;
|
|
||||||
typedef int64_t SYSTEM_INT64;
|
|
||||||
|
|
||||||
/* runtime system routines */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
|
|
||||||
//extern void *memcpy(void *dest, const void *src, long n);
|
//extern void *memcpy(void *dest, const void *src, long n);
|
||||||
extern void *memcpy(void *dest, const void *src, size_t n);
|
extern void *memcpy(void *dest, const void *src, size_t n);
|
||||||
|
|
@ -38,10 +37,6 @@ typedef double LONGREAL;
|
||||||
typedef unsigned long SET;
|
typedef unsigned long SET;
|
||||||
typedef void *SYSTEM_PTR;
|
typedef void *SYSTEM_PTR;
|
||||||
typedef unsigned char SYSTEM_BYTE;
|
typedef unsigned char SYSTEM_BYTE;
|
||||||
typedef int8_t SYSTEM_INT8;
|
|
||||||
typedef int16_t SYSTEM_INT16;
|
|
||||||
typedef int32_t SYSTEM_INT32;
|
|
||||||
typedef int64_t SYSTEM_INT64;
|
|
||||||
|
|
||||||
/* runtime system routines */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
|
||||||
|
|
||||||
//extern void *memcpy(void *dest, const void *src, long n);
|
//extern void *memcpy(void *dest, const void *src, long n);
|
||||||
extern void *memcpy(void *dest, const void *src, size_t n);
|
extern void *memcpy(void *dest, const void *src, size_t n);
|
||||||
|
|
@ -38,10 +37,6 @@ typedef double LONGREAL;
|
||||||
typedef unsigned long SET;
|
typedef unsigned long SET;
|
||||||
typedef void *SYSTEM_PTR;
|
typedef void *SYSTEM_PTR;
|
||||||
typedef unsigned char SYSTEM_BYTE;
|
typedef unsigned char SYSTEM_BYTE;
|
||||||
typedef int8_t SYSTEM_INT8;
|
|
||||||
typedef int16_t SYSTEM_INT16;
|
|
||||||
typedef int32_t SYSTEM_INT32;
|
|
||||||
typedef int64_t SYSTEM_INT64;
|
|
||||||
|
|
||||||
/* runtime system routines */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,7 @@ uses double # as concatenation operator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <stdint.h> /* for type sizes -- noch */
|
#include <stdint.h>
|
||||||
|
|
||||||
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
extern void *memcpy(void *dest, const void *src, unsigned long n);
|
||||||
extern void *malloc(unsigned long size);
|
extern void *malloc(unsigned long size);
|
||||||
extern void exit(int status);
|
extern void exit(int status);
|
||||||
|
|
@ -52,11 +51,10 @@ typedef void *SYSTEM_PTR;
|
||||||
//#define *SYSTEM_PTR void
|
//#define *SYSTEM_PTR void
|
||||||
//typedef unsigned char SYSTEM_BYTE;
|
//typedef unsigned char SYSTEM_BYTE;
|
||||||
#define SYSTEM_BYTE unsigned char
|
#define SYSTEM_BYTE unsigned char
|
||||||
typedef int8_t SYSTEM_INT8;
|
#define SYSTEM_INT8 int8_t
|
||||||
typedef int16_t SYSTEM_INT16;
|
#define SYSTEM_INT16 int16_t
|
||||||
typedef int32_t SYSTEM_INT32;
|
#define SYSTEM_INT32 int32_t
|
||||||
typedef int64_t SYSTEM_INT64;
|
#define SYSTEM_INT64 int64_t
|
||||||
|
|
||||||
/* runtime system routines */
|
/* runtime system routines */
|
||||||
extern long SYSTEM_DIV();
|
extern long SYSTEM_DIV();
|
||||||
extern long SYSTEM_MOD();
|
extern long SYSTEM_MOD();
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
45b2d2727e8f8537a182291c49032f1618ecc880
|
70f95b7f098514cbf57aeb0108e969c76033c940
|
||||||
|
|
@ -1 +1 @@
|
||||||
f7898249327a77d199e3b9cc1a85f7b788d8ba1e
|
298e0f0fec276d16d090e85b34af3341fc6f2f0e
|
||||||
|
|
@ -1 +1 @@
|
||||||
a823b7bda0ccc984d4832ab10c73fe590f45367f
|
4bacfbffebb82fe3863b5e4a6460310b75d6c19c
|
||||||
|
|
@ -1 +1 @@
|
||||||
45b2d2727e8f8537a182291c49032f1618ecc880
|
7ce73aa13bfab8e21eda71e0e351d5d5395e6bd3
|
||||||
Loading…
Add table
Add a link
Reference in a new issue