-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgcc.diff
More file actions
49 lines (49 loc) · 1.5 KB
/
gcc.diff
File metadata and controls
49 lines (49 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
*** gcc/gcc/config.gcc 2017-09-02 23:47:40.335076700 -0700
--- gcc/gcc/config.gcc 2017-09-03 13:00:02.398115100 -0700
***************
*** 825,826 ****
--- 825,832 ----
;;
+ *-*-os216*)
+ gas=yes
+ gnu_ld=yes
+ default_use_cxa_atexit=yes
+ use_gcc_stdint=provide
+ ;;
*-*-rtems*)
***************
*** 1440,1441 ****
--- 1446,1450 ----
;;
+ i[34567]86-*-os216)
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h os216.h"
+ ;;
i[34567]86-*-elfiamcu)
*** /dev/null 2017-09-03 14:20:18.000000000 -0700
--- gcc/gcc/config/os216.h 2017-09-03 02:12:29.407052900 -0700
***************
*** 0 ****
--- 1,12 ----
+ #undef TARGET_OS216
+ #define TARGET_OS216 1
+
+ #undef NO_IMPLICIT_EXTERN_C
+ #define NO_IMPLICIT_EXTERN_C 1
+
+ #undef TARGET_OS_CPP_BUILTINS
+ #define TARGET_OS_CPP_BUILTINS() {\
+ builtin_define("__os216__");\
+ builtin_assert("system=os216");\
+ \
+ }
*** gcc/config.sub 2016-12-29 03:04:53.000000000 -0800
--- gcc/config.sub 2017-09-02 23:41:03.564631700 -0700
***************
*** 1388,1390 ****
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
! | -sym* | -kopensolaris* | -plan9* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
--- 1388,1390 ----
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
! | -sym* | -kopensolaris* | -plan9* | -os216* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \