elf32-tilepro.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* TILEPro-specific support for 32-bit ELF.
  2. Copyright (C) 2011-2022 Free Software Foundation, Inc.
  3. This file is part of BFD, the Binary File Descriptor library.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
  15. MA 02110-1301, USA. */
  16. #ifndef _ELF32_TILEPRO_H
  17. #define _ELF32_TILEPRO_H
  18. /* This file contains sizes and offsets of Linux data structures. */
  19. #define TILEPRO_PRSTATUS_SIZEOF 332
  20. #define TILEPRO_PRSTATUS_OFFSET_PR_CURSIG 12
  21. #define TILEPRO_PRSTATUS_OFFSET_PR_PID 24
  22. #define TILEPRO_PRSTATUS_OFFSET_PR_REG 72
  23. #define TILEPRO_PRPSINFO_SIZEOF 128
  24. #define TILEPRO_PRPSINFO_OFFSET_PR_FNAME 32
  25. #define TILEPRO_PRPSINFO_OFFSET_PR_PSARGS 48
  26. #define ELF_PR_PSARGS_SIZE 80
  27. #define TILEPRO_GREGSET_T_SIZE 256
  28. #endif /* _ELF32_TILEPRO_H */