[AArch64] Rename SYMBOL_SMALL_GOTTPREL to SYMBOL_SMALL_TLSIE
authorJiong Wang <jiong.wang@arm.com>
Fri, 28 Aug 2015 08:53:37 +0000 (08:53 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Fri, 28 Aug 2015 08:53:37 +0000 (08:53 +0000)
2015-08-28  Jiong Wang  <jiong.wang@arm.com>

* config/aarch64/aarch64-protos.h (aarch64_symbol_context): Rename
SYMBOL_SMALL_GOTTPREL to SYMBOL_SMALL_TLSIE.
(aarch64_symbol_type): Likewise.
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
Likewise.
(aarch64_expand_mov_immediate): Likewise.
(aarch64_print_operand): Likewise.
(aarch64_classify_tls_symbol): Likewise.

From-SVN: r227294

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

index 8a40fd286a5e09581137ffd8828c71e8bfd09f63..4419675e78e7e90fa8cbab2495d6655b85f1400b 100644 (file)
@@ -1,3 +1,14 @@
+2015-08-28  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/aarch64/aarch64-protos.h (aarch64_symbol_context): Rename
+       SYMBOL_SMALL_GOTTPREL to SYMBOL_SMALL_TLSIE.
+       (aarch64_symbol_type): Likewise.
+       * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
+       Likewise.
+       (aarch64_expand_mov_immediate): Likewise.
+       (aarch64_print_operand): Likewise.
+       (aarch64_classify_tls_symbol): Likewise.
+
 2015-08-28  Richard Biener  <rguenther@suse.de>
 
        * cgraphunit.c (symbol_table::compile): Move early debug generation
index 5dde59a185278aad78ffcc5e44a40059b0bd53bc..ff1985137b39f513b3c39decd9013472d3cb60d3 100644 (file)
@@ -73,7 +73,7 @@ enum aarch64_symbol_context
 
    SYMBOL_SMALL_TLSGD
    SYMBOL_SMALL_TLSDESC
-   SYMBOL_SMALL_GOTTPREL
+   SYMBOL_SMALL_TLSIE
    SYMBOL_TINY_TLSIE
    SYMBOL_TLSLE12
    SYMBOL_TLSLE24
@@ -112,7 +112,7 @@ enum aarch64_symbol_type
   SYMBOL_SMALL_GOT_4G,
   SYMBOL_SMALL_TLSGD,
   SYMBOL_SMALL_TLSDESC,
-  SYMBOL_SMALL_GOTTPREL,
+  SYMBOL_SMALL_TLSIE,
   SYMBOL_TINY_ABSOLUTE,
   SYMBOL_TINY_GOT,
   SYMBOL_TINY_TLSIE,
index b046dae315731ee29d7751e614e57bda834b7e15..ce6e1160d10065758fdcbb678e0c5dd3d5927d9f 100644 (file)
@@ -1103,7 +1103,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
        return;
       }
 
-    case SYMBOL_SMALL_GOTTPREL:
+    case SYMBOL_SMALL_TLSIE:
       {
        /* In ILP32, the mode of dest can be either SImode or DImode,
           while the got entry is always of SImode size.  The mode of
@@ -1737,7 +1737,7 @@ aarch64_expand_mov_immediate (rtx dest, rtx imm)
 
         case SYMBOL_SMALL_TLSGD:
         case SYMBOL_SMALL_TLSDESC:
-        case SYMBOL_SMALL_GOTTPREL:
+       case SYMBOL_SMALL_TLSIE:
        case SYMBOL_SMALL_GOT_28K:
        case SYMBOL_SMALL_GOT_4G:
        case SYMBOL_TINY_GOT:
@@ -4623,7 +4623,7 @@ aarch64_print_operand (FILE *f, rtx x, char code)
          asm_fprintf (asm_out_file, ":tlsdesc:");
          break;
 
-       case SYMBOL_SMALL_GOTTPREL:
+       case SYMBOL_SMALL_TLSIE:
          asm_fprintf (asm_out_file, ":gottprel:");
          break;
 
@@ -4656,7 +4656,7 @@ aarch64_print_operand (FILE *f, rtx x, char code)
          asm_fprintf (asm_out_file, ":tlsdesc_lo12:");
          break;
 
-       case SYMBOL_SMALL_GOTTPREL:
+       case SYMBOL_SMALL_TLSIE:
          asm_fprintf (asm_out_file, ":gottprel_lo12:");
          break;
 
@@ -8787,7 +8787,7 @@ aarch64_classify_tls_symbol (rtx x)
        case AARCH64_CMODEL_TINY_PIC:
          return SYMBOL_TINY_TLSIE;
        default:
-         return SYMBOL_SMALL_GOTTPREL;
+         return SYMBOL_SMALL_TLSIE;
        }
 
     case TLS_MODEL_LOCAL_EXEC: