175fd0b74Schristos /* TILE-Gx-specific support for 32-bit ELF. 2*e992f068Schristos Copyright (C) 2011-2022 Free Software Foundation, Inc. 375fd0b74Schristos 475fd0b74Schristos This file is part of BFD, the Binary File Descriptor library. 575fd0b74Schristos 675fd0b74Schristos This program is free software; you can redistribute it and/or modify 775fd0b74Schristos it under the terms of the GNU General Public License as published by 875fd0b74Schristos the Free Software Foundation; either version 3 of the License, or 975fd0b74Schristos (at your option) any later version. 1075fd0b74Schristos 1175fd0b74Schristos This program is distributed in the hope that it will be useful, 1275fd0b74Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 1375fd0b74Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1475fd0b74Schristos GNU General Public License for more details. 1575fd0b74Schristos 1675fd0b74Schristos You should have received a copy of the GNU General Public License 1775fd0b74Schristos along with this program; if not, write to the Free Software 1875fd0b74Schristos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 1975fd0b74Schristos MA 02110-1301, USA. */ 2075fd0b74Schristos 2175fd0b74Schristos #ifndef _ELF32_TILEGX_H 2275fd0b74Schristos #define _ELF32_TILEGX_H 2375fd0b74Schristos 2475fd0b74Schristos /* This file contains sizes and offsets of Linux data structures. */ 2575fd0b74Schristos 2675fd0b74Schristos #define TILEGX_PRSTATUS_SIZEOF 592 2775fd0b74Schristos #define TILEGX_PRSTATUS_OFFSET_PR_CURSIG 12 2875fd0b74Schristos #define TILEGX_PRSTATUS_OFFSET_PR_PID 24 2975fd0b74Schristos #define TILEGX_PRSTATUS_OFFSET_PR_REG 72 3075fd0b74Schristos 3175fd0b74Schristos #define TILEGX_PRPSINFO_SIZEOF 128 3275fd0b74Schristos #define TILEGX_PRPSINFO_OFFSET_PR_FNAME 32 3375fd0b74Schristos #define TILEGX_PRPSINFO_OFFSET_PR_PSARGS 48 3475fd0b74Schristos #define ELF_PR_PSARGS_SIZE 80 3575fd0b74Schristos 3675fd0b74Schristos #define TILEGX_GREGSET_T_SIZE 512 3775fd0b74Schristos 3875fd0b74Schristos #endif /* _ELF32_TILEGX_H */ 39