Automatic date update in version.in
[binutils-gdb.git] / gprofng / src / dbe_types.h
blobdd97adc4d51d862172709d41c3c78d1a8512e1db
1 /* Copyright (C) 2021-2024 Free Software Foundation, Inc.
2 Contributed by Oracle.
4 This file is part of GNU Binutils.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
21 #ifndef _DBE_TYPES_H
22 #define _DBE_TYPES_H
24 #include <stdint.h>
25 #include "gp-time.h"
27 typedef unsigned long long Size; /* object sizes in 64 bit apps */
28 typedef unsigned long long Vaddr; /* process address for 64 bit apps */
30 typedef unsigned long long ull_t;
31 typedef long long ll_t;
32 typedef unsigned long ul_t;
34 // Note: these values are stored in archive files; changing them
35 // may cause old archives to become incompatible.
36 enum Platform_t
38 Unknown = 0,
39 Sparc,
40 Sparcv9,
41 Intel,
42 Sparcv8plus,
43 Java,
44 Amd64,
45 Aarch64
48 enum WSize_t
50 Wnone,
51 W32,
52 W64
55 enum VMode
57 VMODE_MACHINE = 0,
58 VMODE_USER,
59 VMODE_EXPERT
62 #endif /* _DBE_TYPES_H */