.. | .. |
---|
13 | 13 | |
---|
14 | 14 | #define VDSO_VERSION_STRING LINUX_2.6.15 |
---|
15 | 15 | |
---|
16 | | -/* Define if 64 bits VDSO has procedure descriptors */ |
---|
17 | | -#undef VDS64_HAS_DESCRIPTORS |
---|
18 | | - |
---|
19 | 16 | #ifndef __ASSEMBLY__ |
---|
20 | 17 | |
---|
21 | 18 | /* Offsets relative to thread->vdso_base */ |
---|
.. | .. |
---|
28 | 25 | #else /* __ASSEMBLY__ */ |
---|
29 | 26 | |
---|
30 | 27 | #ifdef __VDSO64__ |
---|
31 | | -#ifdef VDS64_HAS_DESCRIPTORS |
---|
32 | | -#define V_FUNCTION_BEGIN(name) \ |
---|
33 | | - .globl name; \ |
---|
34 | | - .section ".opd","a"; \ |
---|
35 | | - .align 3; \ |
---|
36 | | - name: \ |
---|
37 | | - .quad .name,.TOC.@tocbase,0; \ |
---|
38 | | - .previous; \ |
---|
39 | | - .globl .name; \ |
---|
40 | | - .type .name,@function; \ |
---|
41 | | - .name: \ |
---|
42 | | - |
---|
43 | | -#define V_FUNCTION_END(name) \ |
---|
44 | | - .size .name,.-.name; |
---|
45 | | - |
---|
46 | | -#define V_LOCAL_FUNC(name) (.name) |
---|
47 | | - |
---|
48 | | -#else /* VDS64_HAS_DESCRIPTORS */ |
---|
49 | | - |
---|
50 | 28 | #define V_FUNCTION_BEGIN(name) \ |
---|
51 | 29 | .globl name; \ |
---|
52 | 30 | name: \ |
---|
.. | .. |
---|
55 | 33 | .size name,.-name; |
---|
56 | 34 | |
---|
57 | 35 | #define V_LOCAL_FUNC(name) (name) |
---|
58 | | - |
---|
59 | | -#endif /* VDS64_HAS_DESCRIPTORS */ |
---|
60 | 36 | #endif /* __VDSO64__ */ |
---|
61 | 37 | |
---|
62 | 38 | #ifdef __VDSO32__ |
---|