blob: 4ccac86ea8b9407e63e0781a041102a407bdce4b (
plain)
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
50
|
# line 1 "plat-TRIGGERS.ljm"
# line 29 "plat-TRIGGERS.ljm"
#ifdef sun
#define PlatformFile plat-sun.jm
#define PlatformIncludeFile <plat-sun.jm>
#undef sun
#define SunArchitecture
#endif /* sun */
# line 45 "plat-TRIGGERS.ljm"
#ifdef linux
#define PlatformFile plat-linux.jm
#define PlatformIncludeFile <plat-linux.jm>
#undef linux
#define LinuxArchitecture
#endif /* linux */
# line 61 "plat-TRIGGERS.ljm"
#if defined(__alpha) && defined(__osf__)
#define PlatformFile plat-alpha.jm
#define PlatformIncludeFile <plat-alpha.jm>
#undef __alpha
#undef __osf__
#define AlphaArchitecture
#endif /* alpha */
# line 85 "plat-TRIGGERS.ljm"
#ifdef mipsriscos
#define PlatformFile plat-mipsriscos.jm
#define PlatformIncludeFile <plat-mipsriscos.jm>
#undef mipsriscos
#undef mips
#define MipsRiscosArchitecture /* for OS type */
#define MipsArchitecture /* for chipset type */
/* now a dubious HostPlatform definition (there are various "mips" machines) ... */
/* ToDo: I admit these are done to suit the Glasgow /bin/arch */
/* It should probably be "umips" or "umipse[bl]", as appropriate */
#ifdef SYSTYPE_SYSV
#define HostPlatform mips3000
#else
#define HostPlatform mips
#endif
#endif /* mipsriscos */
# line 258 "plat-TRIGGERS.ljm"
#ifndef PlatformIncludeFile
#define PlatformFile could-not-determine-the-platform-from-trigger-symbols
#define PlatformIncludeFile PlatformFile
#endif
|