diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2011-04-07 15:08:05 +0100 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2011-04-07 15:08:05 +0100 |
commit | 33ba1e8196878dd5dc210164048aeea703b8d3af (patch) | |
tree | 22431e368254bd42f5043ea1b4010eb6c80b26a4 /xen/arch/x86/apic.c | |
parent | 756f04dbee194f5bb0e6404b428f3ffc43fa8705 (diff) | |
download | xen-33ba1e8196878dd5dc210164048aeea703b8d3af.tar.gz xen-33ba1e8196878dd5dc210164048aeea703b8d3af.tar.bz2 xen-33ba1e8196878dd5dc210164048aeea703b8d3af.zip |
xen/x86: explicitly mark start-of-file asm()s as .text
LLVM and gold between them get confused when asm align commands
are emitted before a section marker.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/apic.c')
-rw-r--r-- | xen/arch/x86/apic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/apic.c b/xen/arch/x86/apic.c index cfdb13abf6..58f809ad42 100644 --- a/xen/arch/x86/apic.c +++ b/xen/arch/x86/apic.c @@ -82,6 +82,7 @@ bool_t __read_mostly directed_eoi_enabled = 0; * is no hardware IRQ pin equivalent for them, they are triggered * through the ICC by us (IPIs) */ +__asm__(".section .text"); BUILD_SMP_INTERRUPT(irq_move_cleanup_interrupt,IRQ_MOVE_CLEANUP_VECTOR) BUILD_SMP_INTERRUPT(event_check_interrupt,EVENT_CHECK_VECTOR) BUILD_SMP_INTERRUPT(invalidate_interrupt,INVALIDATE_TLB_VECTOR) |