WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xen/x86: explicitly mark start-of-file as

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xen/x86: explicitly mark start-of-file asm()s as .text
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sat, 09 Apr 2011 09:20:23 +0100
Delivery-date: Sat, 09 Apr 2011 01:25:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxx>
# Date 1302185285 -3600
# Node ID 76ac8a4b8daea08ac55a59e4616a471c3db2cd6f
# Parent  42aff5c76897ca5ea8692e8644633728611d577e
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@xxxxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 42aff5c76897 -r 76ac8a4b8dae xen/arch/x86/apic.c
--- a/xen/arch/x86/apic.c       Thu Apr 07 15:06:47 2011 +0100
+++ b/xen/arch/x86/apic.c       Thu Apr 07 15:08:05 2011 +0100
@@ -82,6 +82,7 @@
  * 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)
diff -r 42aff5c76897 -r 76ac8a4b8dae xen/arch/x86/i8259.c
--- a/xen/arch/x86/i8259.c      Thu Apr 07 15:06:47 2011 +0100
+++ b/xen/arch/x86/i8259.c      Thu Apr 07 15:08:05 2011 +0100
@@ -33,6 +33,8 @@
  * interrupt-controller happy.
  */
 
+__asm__(".section .text");
+
 BUILD_COMMON_IRQ()
 
 #define BI(x,y) \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xen/x86: explicitly mark start-of-file asm()s as .text, Xen patchbot-unstable <=