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