elf.h 602 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2008-2009 Michal Simek <[email protected]>
  4. * Copyright (C) 2008-2009 PetaLogix
  5. * Copyright (C) 2006 Atmark Techno, Inc.
  6. */
  7. #ifndef _ASM_MICROBLAZE_ELF_H
  8. #define _ASM_MICROBLAZE_ELF_H
  9. #include <uapi/asm/elf.h>
  10. #ifndef __uClinux__
  11. #ifndef ELF_GREG_T
  12. #endif
  13. #ifndef ELF_NGREG
  14. #endif
  15. #ifndef ELF_GREGSET_T
  16. #endif
  17. #ifndef ELF_FPREGSET_T
  18. #endif
  19. #ifdef __MICROBLAZEEL__
  20. #else
  21. #endif
  22. #define SET_PERSONALITY(ex) \
  23. set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
  24. #endif /* __uClinux__ */
  25. #endif /* _ASM_MICROBLAZE_ELF_H */