comparison gcc/config/rs6000/ppc-auxv.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* PowerPC support for accessing the AUXV AT_PLATFORM, AT_HWCAP and AT_HWCAP2 1 /* PowerPC support for accessing the AUXV AT_PLATFORM, AT_HWCAP and AT_HWCAP2
2 values from the Thread Control Block (TCB). 2 values from the Thread Control Block (TCB).
3 3
4 Copyright (C) 2016-2017 Free Software Foundation, Inc. 4 Copyright (C) 2016-2018 Free Software Foundation, Inc.
5 Contributed by Peter Bergner <bergner@vnet.ibm.com>. 5 Contributed by Peter Bergner <bergner@vnet.ibm.com>.
6 6
7 This file is part of GCC. 7 This file is part of GCC.
8 8
9 GCC is free software; you can redistribute it and/or modify it 9 GCC is free software; you can redistribute it and/or modify it
89 #define PPC_FEATURE2_HTM_NOSC 0x01000000 89 #define PPC_FEATURE2_HTM_NOSC 0x01000000
90 #define PPC_FEATURE2_ARCH_3_00 0x00800000 90 #define PPC_FEATURE2_ARCH_3_00 0x00800000
91 #define PPC_FEATURE2_HAS_IEEE128 0x00400000 91 #define PPC_FEATURE2_HAS_IEEE128 0x00400000
92 #define PPC_FEATURE2_DARN 0x00200000 92 #define PPC_FEATURE2_DARN 0x00200000
93 #define PPC_FEATURE2_SCV 0x00100000 93 #define PPC_FEATURE2_SCV 0x00100000
94 #define PPC_FEATURE2_HTM_NO_SUSPEND 0x00080000
94 95
95 96
96 /* Thread Control Block (TCB) offsets of the AT_PLATFORM, AT_HWCAP and 97 /* Thread Control Block (TCB) offsets of the AT_PLATFORM, AT_HWCAP and
97 AT_HWCAP2 values. These must match the values defined in GLIBC. */ 98 AT_HWCAP2 values. These must match the values defined in GLIBC. */
98 #define TCB_PLATFORM_OFFSET ((TARGET_64BIT) ? -28764 : -28724) 99 #define TCB_PLATFORM_OFFSET ((TARGET_64BIT) ? -28764 : -28724)