From: Jiong Wang Date: Fri, 28 Aug 2015 08:53:37 +0000 (+0000) Subject: [AArch64] Rename SYMBOL_SMALL_GOTTPREL to SYMBOL_SMALL_TLSIE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79496620facaa86cead7c47345167e50476833ad;p=gcc.git [AArch64] Rename SYMBOL_SMALL_GOTTPREL to SYMBOL_SMALL_TLSIE 2015-08-28 Jiong Wang * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8a40fd286a5..4419675e78e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2015-08-28 Jiong Wang + + * 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 * cgraphunit.c (symbol_table::compile): Move early debug generation diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h index 5dde59a1852..ff1985137b3 100644 --- a/gcc/config/aarch64/aarch64-protos.h +++ b/gcc/config/aarch64/aarch64-protos.h @@ -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, diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index b046dae3157..ce6e1160d10 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -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: