_math_inc.h 401 B

12345678910111213141516171819202122232425
  1. /*
  2. * Setup some glibc defines so we can just drop in the
  3. * asm files from glibc without any modification.
  4. */
  5. #include <features.h>
  6. #define __ASSEMBLY__
  7. #include <asm/traps.h>
  8. /* Is alignment really needed? */
  9. #define ENTRY_ALIGN 4
  10. #define ENTRY(sym) \
  11. .global sym; \
  12. .align ENTRY_ALIGN; \
  13. .type sym,%function; \
  14. sym:
  15. #define LOC(sym) \
  16. .L ## sym
  17. #define END(sym) \
  18. .size sym,.-sym;