148596154Schristos /* TILEPro-specific support for 32-bit ELF.
2*1424dfb3Schristos    Copyright (C) 2011-2020 Free Software Foundation, Inc.
348596154Schristos 
448596154Schristos    This file is part of BFD, the Binary File Descriptor library.
548596154Schristos 
648596154Schristos    This program is free software; you can redistribute it and/or modify
748596154Schristos    it under the terms of the GNU General Public License as published by
848596154Schristos    the Free Software Foundation; either version 3 of the License, or
948596154Schristos    (at your option) any later version.
1048596154Schristos 
1148596154Schristos    This program is distributed in the hope that it will be useful,
1248596154Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
1348596154Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1448596154Schristos    GNU General Public License for more details.
1548596154Schristos 
1648596154Schristos    You should have received a copy of the GNU General Public License
1748596154Schristos    along with this program; if not, write to the Free Software
1848596154Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
1948596154Schristos    MA 02110-1301, USA.  */
2048596154Schristos 
2148596154Schristos #ifndef _ELF32_TILEPRO_H
2248596154Schristos #define _ELF32_TILEPRO_H
2348596154Schristos 
2448596154Schristos /* This file contains sizes and offsets of Linux data structures.  */
2548596154Schristos 
2648596154Schristos #define TILEPRO_PRSTATUS_SIZEOF		  332
2748596154Schristos #define TILEPRO_PRSTATUS_OFFSET_PR_CURSIG  12
2848596154Schristos #define TILEPRO_PRSTATUS_OFFSET_PR_PID	   24
2948596154Schristos #define TILEPRO_PRSTATUS_OFFSET_PR_REG	   72
3048596154Schristos 
3148596154Schristos #define TILEPRO_PRPSINFO_SIZEOF		  128
3248596154Schristos #define TILEPRO_PRPSINFO_OFFSET_PR_FNAME   32
3348596154Schristos #define TILEPRO_PRPSINFO_OFFSET_PR_PSARGS  48
3448596154Schristos #define ELF_PR_PSARGS_SIZE		80
3548596154Schristos 
3648596154Schristos #define TILEPRO_GREGSET_T_SIZE		  256
3748596154Schristos 
3848596154Schristos #endif /* _ELF32_TILEPRO_H */
39