]> git.proxmox.com Git - rustc.git/blobdiff - src/compiler-rt/lib/builtins/arm/switchu8.S
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / lib / builtins / arm / switchu8.S
index daaf605fbf0aaba2783bc22f8a04ff2ba46d5abe..1844f11c604e71021fc8ad855d5775e408c39df9 100644 (file)
@@ -29,7 +29,7 @@
 // The table contains unsigned byte sized elements which are 1/2 the distance
 // from lr to the target label.
 //
-       .align 2
+       .p2align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switchu8)
        ldrb    ip, [lr, #-1]           // get first byte in table
        cmp     r0, ip                  // compare with index
@@ -40,6 +40,3 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switchu8)
        bx      ip                      // jump to computed label
 END_COMPILERRT_FUNCTION(__switchu8)
 
-// tell linker it can break up file at label boundaries
-FILE_LEVEL_DIRECTIVE
-