[AArch64][TLSLE][2/3] Rename SYMBOL_TLSLE to SYMBOL_TLSLE24
authorJiong Wang <jiong.wang@arm.com>
Wed, 26 Aug 2015 13:01:56 +0000 (13:01 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Wed, 26 Aug 2015 13:01:56 +0000 (13:01 +0000)
2015-08-26  Jiong Wang  <jiong.wang@arm.com>

gcc/
* config/aarch64/aarch64-protos.h (aarch64_symbol_type): Rename
SYMBOL_TLSLE to SYMBOL_TLSLE24.
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
Likewise.
(aarch64_expand_mov_immediate): Likewise.
(aarch64_print_operand): Likewise.
(aarch64_classify_symbol): Likewise.

From-SVN: r227213

gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c

index 609646b8f2374a726b5e172ecb6d5e7e02fb322e..6eb9645187848f4410efb77e343e03ce0d429036 100644 (file)
@@ -1,3 +1,13 @@
+2015-08-26  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/aarch64/aarch64-protos.h (aarch64_symbol_type): Rename
+       SYMBOL_TLSLE to SYMBOL_TLSLE24.
+       * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
+       Likewise.
+       (aarch64_expand_mov_immediate): Likewise.
+       (aarch64_print_operand): Likewise.
+       (aarch64_classify_symbol): Likewise.
+
 2015-08-26  Jiong Wang  <jiong.wang@arm.com>
 
        * config/aarch64/aarch64.opt (mtls-size): New entry.
index 4b3cbedbd0a5fa186619e05c0c0b400c8257b1c0..55f287e2335eb3e9198aeaaf82671ba13be1aed9 100644 (file)
@@ -74,7 +74,7 @@ enum aarch64_symbol_context
    SYMBOL_SMALL_TLSGD
    SYMBOL_SMALL_TLSDESC
    SYMBOL_SMALL_GOTTPREL
-   SYMBOL_TLSLE
+   SYMBOL_TLSLE24
    Each of these represents a thread-local symbol, and corresponds to the
    thread local storage relocation operator for the symbol being referred to.
 
@@ -111,7 +111,7 @@ enum aarch64_symbol_type
   SYMBOL_SMALL_GOTTPREL,
   SYMBOL_TINY_ABSOLUTE,
   SYMBOL_TINY_GOT,
-  SYMBOL_TLSLE,
+  SYMBOL_TLSLE24,
   SYMBOL_FORCE_TO_MEM
 };
 
index 1df1e8c25df233db85d5ebeb48812ca44cf42f32..b473e4af7d7ad85f59897efcf5ffa52866cbf3f5 100644 (file)
@@ -1114,7 +1114,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
        return;
       }
 
-    case SYMBOL_TLSLE:
+    case SYMBOL_TLSLE24:
       {
        rtx tp = aarch64_load_tp (NULL);
 
@@ -1676,7 +1676,7 @@ aarch64_expand_mov_immediate (rtx dest, rtx imm)
 
        case SYMBOL_SMALL_ABSOLUTE:
        case SYMBOL_TINY_ABSOLUTE:
-       case SYMBOL_TLSLE:
+       case SYMBOL_TLSLE24:
          aarch64_load_symref_appropriately (dest, imm, sty);
          return;
 
@@ -4546,7 +4546,7 @@ aarch64_print_operand (FILE *f, rtx x, char code)
          asm_fprintf (asm_out_file, ":gottprel:");
          break;
 
-       case SYMBOL_TLSLE:
+       case SYMBOL_TLSLE24:
          asm_fprintf (asm_out_file, ":tprel:");
          break;
 
@@ -4579,7 +4579,7 @@ aarch64_print_operand (FILE *f, rtx x, char code)
          asm_fprintf (asm_out_file, ":gottprel_lo12:");
          break;
 
-       case SYMBOL_TLSLE:
+       case SYMBOL_TLSLE24:
          asm_fprintf (asm_out_file, ":tprel_lo12_nc:");
          break;
 
@@ -4597,7 +4597,7 @@ aarch64_print_operand (FILE *f, rtx x, char code)
 
       switch (aarch64_classify_symbolic_expression (x, SYMBOL_CONTEXT_ADR))
        {
-       case SYMBOL_TLSLE:
+       case SYMBOL_TLSLE24:
          asm_fprintf (asm_out_file, ":tprel_hi12:");
          break;
        default:
@@ -8695,7 +8695,7 @@ aarch64_classify_tls_symbol (rtx x)
       return SYMBOL_SMALL_GOTTPREL;
 
     case TLS_MODEL_LOCAL_EXEC:
-      return SYMBOL_TLSLE;
+      return SYMBOL_TLSLE24;
 
     case TLS_MODEL_EMULATED:
     case TLS_MODEL_NONE: