aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/i8259.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-04-07 15:08:05 +0100
committerTim Deegan <Tim.Deegan@citrix.com>2011-04-07 15:08:05 +0100
commit33ba1e8196878dd5dc210164048aeea703b8d3af (patch)
tree22431e368254bd42f5043ea1b4010eb6c80b26a4 /xen/arch/x86/i8259.c
parent756f04dbee194f5bb0e6404b428f3ffc43fa8705 (diff)
downloadxen-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/i8259.c')
-rw-r--r--xen/arch/x86/i8259.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/x86/i8259.c b/xen/arch/x86/i8259.c
index 824e1faba1..24f4f6d54c 100644
--- a/xen/arch/x86/i8259.c
+++ b/xen/arch/x86/i8259.c
@@ -33,6 +33,8 @@
* interrupt-controller happy.
*/
+__asm__(".section .text");
+
BUILD_COMMON_IRQ()
#define BI(x,y) \