module.h 759 B

12345678910111213141516171819202122232425262728
  1. /* MN10300 Arch-specific module definitions
  2. *
  3. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  4. * Written by Mark Salter (msalter@redhat.com)
  5. * Derived from include/asm-i386/module.h
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public Licence
  9. * as published by the Free Software Foundation; either version
  10. * 2 of the Licence, or (at your option) any later version.
  11. */
  12. #ifndef _ASM_MODULE_H
  13. #define _ASM_MODULE_H
  14. struct mod_arch_specific {
  15. };
  16. #define Elf_Shdr Elf32_Shdr
  17. #define Elf_Sym Elf32_Sym
  18. #define Elf_Ehdr Elf32_Ehdr
  19. /*
  20. * Include the MN10300 architecture version.
  21. */
  22. #define MODULE_ARCH_VERMAGIC __stringify(PROCESSOR_MODEL_NAME) " "
  23. #endif /* _ASM_MODULE_H */