diff options
author | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2007-01-03 23:53:27 +0000 |
---|---|---|
committer | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2007-01-03 23:53:27 +0000 |
commit | 72c07f413879d47a5bd472ff8971a0c5bb4b205d (patch) | |
tree | fba8b087a5acbe6b68cc29c0163c291a437943c4 /xen/include/asm-x86/init.h | |
parent | 0550678b74b1afac96ff8e823bf50b436f66dc57 (diff) | |
download | xen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.tar.gz xen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.tar.bz2 xen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.zip |
[XEN] Make labels _start,_end,_stext,_etext,_sinittext,_einittext generic.
Also sync the tools/symbol.c symbol table generator with Linux.
Make section names generic (e.e.g, .init.text, .init.data, ...).
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/init.h')
-rw-r--r-- | xen/include/asm-x86/init.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/xen/include/asm-x86/init.h b/xen/include/asm-x86/init.h index 8f1e764080..5295b35e63 100644 --- a/xen/include/asm-x86/init.h +++ b/xen/include/asm-x86/init.h @@ -1,29 +1,4 @@ #ifndef _XEN_ASM_INIT_H #define _XEN_ASM_INIT_H -/* - * Mark functions and data as being only used at initialization - * or exit time. - */ -#define __init \ - __attribute__ ((__section__ (".init.text"))) -#define __exit \ - __attribute_used__ __attribute__ ((__section__(".text.exit"))) -#define __initdata \ - __attribute__ ((__section__ (".init.data"))) -#define __exitdata \ - __attribute_used__ __attribute__ ((__section__ (".data.exit"))) -#define __initsetup \ - __attribute_used__ __attribute__ ((__section__ (".setup.init"))) -#define __init_call \ - __attribute_used__ __attribute__ ((__section__ (".initcall.init"))) -#define __exit_call \ - __attribute_used__ __attribute__ ((__section__ (".exitcall.exit"))) - -/* For assembly routines -#define __INIT .section ".text.init","ax" -#define __FINIT .previous -#define __INITDATA .section ".data.init","aw" -*/ - #endif /* _XEN_ASM_INIT_H */ |