Change .global to .globl in assembly files
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 28 Oct 2013 06:54:59 +0000 (08:54 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 28 Oct 2013 09:03:01 +0000 (11:03 +0200)
* cipher/blowfish-arm.S: Change '.global' to '.globl'.
* cipher/camellia-aesni-avx-amd64.S: Ditto.
* cipher/camellia-aesni-avx2-amd64.S: Ditto.
* cipher/camellia-arm.S: Ditto.
* cipher/cast5-amd64.S: Ditto.
* cipher/rijndael-amd64.S: Ditto.
* cipher/rijndael-arm.S: Ditto.
* cipher/serpent-avx2-amd64.S: Ditto.
* cipher/serpent-sse2-amd64.S: Ditto.
* cipher/twofish-amd64.S: Ditto.
* cipher/twofish-arm.S: Ditto.
--

The .global keyword is used only in newer versions of GAS, so change these to
older .globl for better portability.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/blowfish-arm.S
cipher/camellia-aesni-avx-amd64.S
cipher/camellia-aesni-avx2-amd64.S
cipher/camellia-arm.S
cipher/cast5-amd64.S
cipher/rijndael-amd64.S
cipher/rijndael-arm.S
cipher/serpent-avx2-amd64.S
cipher/serpent-sse2-amd64.S
cipher/twofish-amd64.S
cipher/twofish-arm.S

index 43090d7..901d0c3 100644 (file)
@@ -296,7 +296,7 @@ _gcry_blowfish_arm_do_encrypt:
 .size _gcry_blowfish_arm_do_encrypt,.-_gcry_blowfish_arm_do_encrypt;
 
 .align 3
-.global _gcry_blowfish_arm_encrypt_block
+.globl _gcry_blowfish_arm_encrypt_block
 .type   _gcry_blowfish_arm_encrypt_block,%function;
 
 _gcry_blowfish_arm_encrypt_block:
@@ -317,7 +317,7 @@ _gcry_blowfish_arm_encrypt_block:
 .size _gcry_blowfish_arm_encrypt_block,.-_gcry_blowfish_arm_encrypt_block;
 
 .align 3
-.global _gcry_blowfish_arm_decrypt_block
+.globl _gcry_blowfish_arm_decrypt_block
 .type   _gcry_blowfish_arm_decrypt_block,%function;
 
 _gcry_blowfish_arm_decrypt_block:
index 9873d98..9be5d14 100644 (file)
@@ -947,7 +947,7 @@ __camellia_dec_blk16:
        vpsubq tmp, x, x;
 
 .align 8
-.global _gcry_camellia_aesni_avx_ctr_enc
+.globl _gcry_camellia_aesni_avx_ctr_enc
 .type   _gcry_camellia_aesni_avx_ctr_enc,@function;
 
 _gcry_camellia_aesni_avx_ctr_enc:
@@ -1062,7 +1062,7 @@ _gcry_camellia_aesni_avx_ctr_enc:
 .size _gcry_camellia_aesni_avx_ctr_enc,.-_gcry_camellia_aesni_avx_ctr_enc;
 
 .align 8
-.global _gcry_camellia_aesni_avx_cbc_dec
+.globl _gcry_camellia_aesni_avx_cbc_dec
 .type   _gcry_camellia_aesni_avx_cbc_dec,@function;
 
 _gcry_camellia_aesni_avx_cbc_dec:
@@ -1126,7 +1126,7 @@ _gcry_camellia_aesni_avx_cbc_dec:
 .size _gcry_camellia_aesni_avx_cbc_dec,.-_gcry_camellia_aesni_avx_cbc_dec;
 
 .align 8
-.global _gcry_camellia_aesni_avx_cfb_dec
+.globl _gcry_camellia_aesni_avx_cfb_dec
 .type   _gcry_camellia_aesni_avx_cfb_dec,@function;
 
 _gcry_camellia_aesni_avx_cfb_dec:
index 7e31323..f0a4fd8 100644 (file)
@@ -926,7 +926,7 @@ __camellia_dec_blk32:
        vpsubq tmp, x, x;
 
 .align 8
-.global _gcry_camellia_aesni_avx2_ctr_enc
+.globl _gcry_camellia_aesni_avx2_ctr_enc
 .type   _gcry_camellia_aesni_avx2_ctr_enc,@function;
 
 _gcry_camellia_aesni_avx2_ctr_enc:
@@ -1110,7 +1110,7 @@ _gcry_camellia_aesni_avx2_ctr_enc:
 .size _gcry_camellia_aesni_avx2_ctr_enc,.-_gcry_camellia_aesni_avx2_ctr_enc;
 
 .align 8
-.global _gcry_camellia_aesni_avx2_cbc_dec
+.globl _gcry_camellia_aesni_avx2_cbc_dec
 .type   _gcry_camellia_aesni_avx2_cbc_dec,@function;
 
 _gcry_camellia_aesni_avx2_cbc_dec:
@@ -1181,7 +1181,7 @@ _gcry_camellia_aesni_avx2_cbc_dec:
 .size _gcry_camellia_aesni_avx2_cbc_dec,.-_gcry_camellia_aesni_avx2_cbc_dec;
 
 .align 8
-.global _gcry_camellia_aesni_avx2_cfb_dec
+.globl _gcry_camellia_aesni_avx2_cfb_dec
 .type   _gcry_camellia_aesni_avx2_cfb_dec,@function;
 
 _gcry_camellia_aesni_avx2_cfb_dec:
index 820c46e..302f436 100644 (file)
        str_output_be(%r1, YL, YR, XL, XR, RT0, RT1);
 
 .align 3
-.global _gcry_camellia_arm_encrypt_block
+.globl _gcry_camellia_arm_encrypt_block
 .type   _gcry_camellia_arm_encrypt_block,%function;
 
 _gcry_camellia_arm_encrypt_block:
@@ -300,7 +300,7 @@ _gcry_camellia_arm_encrypt_block:
 .size _gcry_camellia_arm_encrypt_block,.-_gcry_camellia_arm_encrypt_block;
 
 .align 3
-.global _gcry_camellia_arm_decrypt_block
+.globl _gcry_camellia_arm_decrypt_block
 .type   _gcry_camellia_arm_decrypt_block,%function;
 
 _gcry_camellia_arm_decrypt_block:
index 1bca249..c3b819d 100644 (file)
        movq RLR0,              (RIO);
 
 .align 8
-.global _gcry_cast5_amd64_encrypt_block
+.globl _gcry_cast5_amd64_encrypt_block
 .type   _gcry_cast5_amd64_encrypt_block,@function;
 
 _gcry_cast5_amd64_encrypt_block:
@@ -219,7 +219,7 @@ _gcry_cast5_amd64_encrypt_block:
 .size _gcry_cast5_amd64_encrypt_block,.-_gcry_cast5_amd64_encrypt_block;
 
 .align 8
-.global _gcry_cast5_amd64_decrypt_block
+.globl _gcry_cast5_amd64_decrypt_block
 .type   _gcry_cast5_amd64_decrypt_block,@function;
 
 _gcry_cast5_amd64_decrypt_block:
@@ -417,7 +417,7 @@ __cast5_dec_blk4:
 .size __cast5_dec_blk4,.-__cast5_dec_blk4;
 
 .align 8
-.global _gcry_cast5_amd64_ctr_enc
+.globl _gcry_cast5_amd64_ctr_enc
 .type   _gcry_cast5_amd64_ctr_enc,@function;
 _gcry_cast5_amd64_ctr_enc:
        /* input:
@@ -475,7 +475,7 @@ _gcry_cast5_amd64_ctr_enc:
 .size _gcry_cast5_amd64_ctr_enc,.-_gcry_cast5_amd64_ctr_enc;
 
 .align 8
-.global _gcry_cast5_amd64_cbc_dec
+.globl _gcry_cast5_amd64_cbc_dec
 .type   _gcry_cast5_amd64_cbc_dec,@function;
 _gcry_cast5_amd64_cbc_dec:
        /* input:
@@ -529,7 +529,7 @@ _gcry_cast5_amd64_cbc_dec:
 .size _gcry_cast5_amd64_cbc_dec,.-_gcry_cast5_amd64_cbc_dec;
 
 .align 8
-.global _gcry_cast5_amd64_cfb_dec
+.globl _gcry_cast5_amd64_cfb_dec
 .type   _gcry_cast5_amd64_cfb_dec,@function;
 _gcry_cast5_amd64_cfb_dec:
        /* input:
index 2a7dd90..d360ea8 100644 (file)
        addroundkey((round) + 1, RNA, RNB, RNC, RND);
 
 .align 8
-.global _gcry_aes_amd64_encrypt_block
+.globl _gcry_aes_amd64_encrypt_block
 .type   _gcry_aes_amd64_encrypt_block,@function;
 
 _gcry_aes_amd64_encrypt_block:
@@ -281,7 +281,7 @@ _gcry_aes_amd64_encrypt_block:
        addroundkey(round, RNA, RNB, RNC, RND);
 
 .align 8
-.global _gcry_aes_amd64_decrypt_block
+.globl _gcry_aes_amd64_decrypt_block
 .type   _gcry_aes_amd64_decrypt_block,@function;
 
 _gcry_aes_amd64_decrypt_block:
index 2a747bf..22c350c 100644 (file)
        addroundkey(rna, rnb, rnc, rnd, ra, rb, rc, rd, dummy);
 
 .align 3
-.global _gcry_aes_arm_encrypt_block
+.globl _gcry_aes_arm_encrypt_block
 .type   _gcry_aes_arm_encrypt_block,%function;
 
 _gcry_aes_arm_encrypt_block:
@@ -465,7 +465,7 @@ _gcry_aes_arm_encrypt_block:
        addroundkey(rna, rnb, rnc, rnd, ra, rb, rc, rd, dummy);
 
 .align 3
-.global _gcry_aes_arm_decrypt_block
+.globl _gcry_aes_arm_decrypt_block
 .type   _gcry_aes_arm_decrypt_block,%function;
 
 _gcry_aes_arm_decrypt_block:
index 8a76ab1..532361d 100644 (file)
@@ -588,7 +588,7 @@ __serpent_dec_blk16:
        vpsubq tmp, x, x;
 
 .align 8
-.global _gcry_serpent_avx2_ctr_enc
+.globl _gcry_serpent_avx2_ctr_enc
 .type   _gcry_serpent_avx2_ctr_enc,@function;
 _gcry_serpent_avx2_ctr_enc:
        /* input:
@@ -695,7 +695,7 @@ _gcry_serpent_avx2_ctr_enc:
 .size _gcry_serpent_avx2_ctr_enc,.-_gcry_serpent_avx2_ctr_enc;
 
 .align 8
-.global _gcry_serpent_avx2_cbc_dec
+.globl _gcry_serpent_avx2_cbc_dec
 .type   _gcry_serpent_avx2_cbc_dec,@function;
 _gcry_serpent_avx2_cbc_dec:
        /* input:
@@ -746,7 +746,7 @@ _gcry_serpent_avx2_cbc_dec:
 .size _gcry_serpent_avx2_cbc_dec,.-_gcry_serpent_avx2_cbc_dec;
 
 .align 8
-.global _gcry_serpent_avx2_cfb_dec
+.globl _gcry_serpent_avx2_cfb_dec
 .type   _gcry_serpent_avx2_cfb_dec,@function;
 _gcry_serpent_avx2_cfb_dec:
        /* input:
index 516126b..f2be236 100644 (file)
@@ -605,7 +605,7 @@ __serpent_dec_blk8:
 .size __serpent_dec_blk8,.-__serpent_dec_blk8;
 
 .align 8
-.global _gcry_serpent_sse2_ctr_enc
+.globl _gcry_serpent_sse2_ctr_enc
 .type   _gcry_serpent_sse2_ctr_enc,@function;
 _gcry_serpent_sse2_ctr_enc:
        /* input:
@@ -735,7 +735,7 @@ _gcry_serpent_sse2_ctr_enc:
 .size _gcry_serpent_sse2_ctr_enc,.-_gcry_serpent_sse2_ctr_enc;
 
 .align 8
-.global _gcry_serpent_sse2_cbc_dec
+.globl _gcry_serpent_sse2_cbc_dec
 .type   _gcry_serpent_sse2_cbc_dec,@function;
 _gcry_serpent_sse2_cbc_dec:
        /* input:
@@ -796,7 +796,7 @@ _gcry_serpent_sse2_cbc_dec:
 .size _gcry_serpent_sse2_cbc_dec,.-_gcry_serpent_sse2_cbc_dec;
 
 .align 8
-.global _gcry_serpent_sse2_cfb_dec
+.globl _gcry_serpent_sse2_cfb_dec
 .type   _gcry_serpent_sse2_cfb_dec,@function;
 _gcry_serpent_sse2_cfb_dec:
        /* input:
index 45548d2..c923d22 100644 (file)
        movl x, (4 * (n))(out);
 
 .align 8
-.global _gcry_twofish_amd64_encrypt_block
+.globl _gcry_twofish_amd64_encrypt_block
 .type   _gcry_twofish_amd64_encrypt_block,@function;
 
 _gcry_twofish_amd64_encrypt_block:
@@ -208,7 +208,7 @@ _gcry_twofish_amd64_encrypt_block:
 .size _gcry_twofish_amd64_encrypt_block,.-_gcry_twofish_amd64_encrypt_block;
 
 .align 8
-.global _gcry_twofish_amd64_decrypt_block
+.globl _gcry_twofish_amd64_decrypt_block
 .type   _gcry_twofish_amd64_decrypt_block,@function;
 
 _gcry_twofish_amd64_decrypt_block:
@@ -514,7 +514,7 @@ __twofish_dec_blk3:
 .size __twofish_dec_blk3,.-__twofish_dec_blk3;
 
 .align 8
-.global _gcry_twofish_amd64_ctr_enc
+.globl _gcry_twofish_amd64_ctr_enc
 .type   _gcry_twofish_amd64_ctr_enc,@function;
 _gcry_twofish_amd64_ctr_enc:
        /* input:
@@ -596,7 +596,7 @@ _gcry_twofish_amd64_ctr_enc:
 .size _gcry_twofish_amd64_ctr_enc,.-_gcry_twofish_amd64_ctr_enc;
 
 .align 8
-.global _gcry_twofish_amd64_cbc_dec
+.globl _gcry_twofish_amd64_cbc_dec
 .type   _gcry_twofish_amd64_cbc_dec,@function;
 _gcry_twofish_amd64_cbc_dec:
        /* input:
@@ -662,7 +662,7 @@ _gcry_twofish_amd64_cbc_dec:
 .size _gcry_twofish_amd64_cbc_dec,.-_gcry_twofish_amd64_cbc_dec;
 
 .align 8
-.global _gcry_twofish_amd64_cfb_dec
+.globl _gcry_twofish_amd64_cfb_dec
 .type   _gcry_twofish_amd64_cfb_dec,@function;
 _gcry_twofish_amd64_cfb_dec:
        /* input:
index ee22f56..ead2240 100644 (file)
        ror1(RD);
 
 .align 3
-.global _gcry_twofish_arm_encrypt_block
+.globl _gcry_twofish_arm_encrypt_block
 .type   _gcry_twofish_arm_encrypt_block,%function;
 
 _gcry_twofish_arm_encrypt_block:
@@ -308,7 +308,7 @@ _gcry_twofish_arm_encrypt_block:
 .size _gcry_twofish_arm_encrypt_block,.-_gcry_twofish_arm_encrypt_block;
 
 .align 3
-.global _gcry_twofish_arm_decrypt_block
+.globl _gcry_twofish_arm_decrypt_block
 .type   _gcry_twofish_arm_decrypt_block,%function;
 
 _gcry_twofish_arm_decrypt_block: