]> git.proxmox.com Git - rustc.git/blobdiff - src/compiler-rt/lib/builtins/arm/switch16.S
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / lib / builtins / arm / switch16.S
index e0ca444a7ee49b1124f7fd38db45c0001a1464f2..3c3a6b10612431147416aeeace868b2ad4af508b 100644 (file)
@@ -29,7 +29,7 @@
 // The table contains signed 2-byte sized elements which are 1/2 the distance
 // from lr to the target label.
 //
-       .align 2
+       .p2align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch16)
        ldrh    ip, [lr, #-1]           // get first 16-bit word in table
        cmp     r0, ip                  // compare with index
@@ -42,5 +42,3 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch16)
        bx      ip                      // jump to computed label
 END_COMPILERRT_FUNCTION(__switch16)
 
-// tell linker it can break up file at label boundaries
-FILE_LEVEL_DIRECTIVE