Use unified syntax for Thumb code

Andrew Haley aph at redhat.com
Fri Mar 16 04:57:58 PDT 2012


This allows the same assembler code to build for Thumb or ARM, depending
on the default used in the HotSpot build.  Despite what I said, I'll
commit this to 6 as well as 7 once the big patch is in.

Andrew.


2012-03-16  Andrew Haley  <aph at redhat.com>

        * arm_port/hotspot/src/cpu/zero/vm/arm_cas.S: Use unified syntax
        for thumb code.

diff -r 248d25e53f7e arm_port/hotspot/src/cpu/zero/vm/arm_cas.S
--- a/arm_port/hotspot/src/cpu/zero/vm/arm_cas.S        Thu Mar 15 07:48:08 2012 -0400
+++ b/arm_port/hotspot/src/cpu/zero/vm/arm_cas.S        Fri Mar 16 07:55:20 2012 -0400
@@ -6,6 +6,7 @@
        .pushsection .text
        .global arm_val_compare_and_swap_long
 #ifdef __thumb__
+       .syntax unified
        .thumb_func
 #endif
        .type arm_val_compare_and_swap_long, %function



More information about the distro-pkg-dev mailing list