aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/triplet/x86_64-linux-gnu.c
blob: c22bc93d6db6137f4a74217cc5eb3c063c0667b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "triplet/prv.h"
#include "parse.h"

const struct type x86_64_linux_gnu[] =
{
    {.type = BUILTIN, .u.b = {"void"}},
    {.type = BUILTIN, .u.b = {"char"}, .sz = 1, .sign = 1, .align = 1},
    {.type = BUILTIN, .u.b = {"schar"}, .sz = 1, .sign = 1, .align = 1},
    {.type = BUILTIN, .u.b = {"short"}, .sz = 2, .sign = 1, .align = 2},
    {.type = BUILTIN, .u.b = {"int"}, .sz = 4, .sign = 1, .align = 4},
    {.type = BUILTIN, .u.b = {"long"}, .sz = 8, .sign = 1, .align = 8},
    {.type = BUILTIN, .u.b = {"longlong"}, .sz = 8, .sign = 1, .align = 8},
    {.type = BUILTIN, .u.b = {"uchar"}, .sz = 1, .align = 1},
    {.type = BUILTIN, .u.b = {"ushort"}, .sz = 2, .align = 2},
    {.type = BUILTIN, .u.b = {"uint"}, .sz = 4, .align = 4},
    {.type = BUILTIN, .u.b = {"ulong"}, .sz = 8, .align = 8},
    {.type = BUILTIN, .u.b = {"ulonglong"}, .sz = 8, .align = 8}
};