sysdep.h 707 B

1234567891011121314151617181920212223242526
  1. #include <common/sysdep.h>
  2. #ifdef __ASSEMBLER__
  3. /* Define an entry point visible from C.
  4. There is currently a bug in gdb which prevents us from specifying
  5. incomplete stabs information. Fake some entries here which specify
  6. the current source file. */
  7. # define ENTRY(name) \
  8. .globl C_SYMBOL_NAME(name); \
  9. .type C_SYMBOL_NAME(name),@function; \
  10. .p2align 2; \
  11. C_LABEL(name) \
  12. cfi_startproc; \
  13. # undef END
  14. # define END(name) \
  15. cfi_endproc; \
  16. .size name,.-name
  17. /* Load the address of the GOT into register R. */
  18. # define LOAD_GOT(R) \
  19. lea _GLOBAL_OFFSET_TABLE_@GOTPC (%pc), R
  20. #endif