_glibc_inc.h 350 B

123456789101112131415161718192021
  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. #include <bits/wordsize.h>
  7. #define ENTRY(sym) \
  8. .global sym; \
  9. .type sym,%function; \
  10. sym:
  11. #define BP_SYM(sym) sym
  12. #define L(sym) LOC(sym)
  13. #define LOC(sym) \
  14. .L ## sym
  15. #define END(sym) \
  16. .size sym,.-sym;