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