elf.h 738 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
  3. * Copyright (C) 2008-2009 PetaLogix
  4. * Copyright (C) 2006 Atmark Techno, Inc.
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. */
  10. #ifndef _ASM_MICROBLAZE_ELF_H
  11. #define _ASM_MICROBLAZE_ELF_H
  12. #include <uapi/asm/elf.h>
  13. #ifndef __uClinux__
  14. #ifndef ELF_GREG_T
  15. #endif
  16. #ifndef ELF_NGREG
  17. #endif
  18. #ifndef ELF_GREGSET_T
  19. #endif
  20. #ifndef ELF_FPREGSET_T
  21. #endif
  22. #ifdef __MICROBLAZEEL__
  23. #else
  24. #endif
  25. #define SET_PERSONALITY(ex) \
  26. set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
  27. #endif /* __uClinux__ */
  28. #endif /* _ASM_MICROBLAZE_ELF_H */