Commit 79496620 by Jiong Wang Committed by Jiong Wang

[AArch64] Rename SYMBOL_SMALL_GOTTPREL to SYMBOL_SMALL_TLSIE

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
parent 9ba01f82
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> 2015-08-28 Richard Biener <rguenther@suse.de>
* cgraphunit.c (symbol_table::compile): Move early debug generation * cgraphunit.c (symbol_table::compile): Move early debug generation
......
...@@ -73,7 +73,7 @@ enum aarch64_symbol_context ...@@ -73,7 +73,7 @@ enum aarch64_symbol_context
SYMBOL_SMALL_TLSGD SYMBOL_SMALL_TLSGD
SYMBOL_SMALL_TLSDESC SYMBOL_SMALL_TLSDESC
SYMBOL_SMALL_GOTTPREL SYMBOL_SMALL_TLSIE
SYMBOL_TINY_TLSIE SYMBOL_TINY_TLSIE
SYMBOL_TLSLE12 SYMBOL_TLSLE12
SYMBOL_TLSLE24 SYMBOL_TLSLE24
...@@ -112,7 +112,7 @@ enum aarch64_symbol_type ...@@ -112,7 +112,7 @@ enum aarch64_symbol_type
SYMBOL_SMALL_GOT_4G, SYMBOL_SMALL_GOT_4G,
SYMBOL_SMALL_TLSGD, SYMBOL_SMALL_TLSGD,
SYMBOL_SMALL_TLSDESC, SYMBOL_SMALL_TLSDESC,
SYMBOL_SMALL_GOTTPREL, SYMBOL_SMALL_TLSIE,
SYMBOL_TINY_ABSOLUTE, SYMBOL_TINY_ABSOLUTE,
SYMBOL_TINY_GOT, SYMBOL_TINY_GOT,
SYMBOL_TINY_TLSIE, SYMBOL_TINY_TLSIE,
......
...@@ -1103,7 +1103,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm, ...@@ -1103,7 +1103,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
return; return;
} }
case SYMBOL_SMALL_GOTTPREL: case SYMBOL_SMALL_TLSIE:
{ {
/* In ILP32, the mode of dest can be either SImode or DImode, /* In ILP32, the mode of dest can be either SImode or DImode,
while the got entry is always of SImode size. The mode of while the got entry is always of SImode size. The mode of
...@@ -1737,7 +1737,7 @@ aarch64_expand_mov_immediate (rtx dest, rtx imm) ...@@ -1737,7 +1737,7 @@ aarch64_expand_mov_immediate (rtx dest, rtx imm)
case SYMBOL_SMALL_TLSGD: case SYMBOL_SMALL_TLSGD:
case SYMBOL_SMALL_TLSDESC: case SYMBOL_SMALL_TLSDESC:
case SYMBOL_SMALL_GOTTPREL: case SYMBOL_SMALL_TLSIE:
case SYMBOL_SMALL_GOT_28K: case SYMBOL_SMALL_GOT_28K:
case SYMBOL_SMALL_GOT_4G: case SYMBOL_SMALL_GOT_4G:
case SYMBOL_TINY_GOT: case SYMBOL_TINY_GOT:
...@@ -4623,7 +4623,7 @@ aarch64_print_operand (FILE *f, rtx x, char code) ...@@ -4623,7 +4623,7 @@ aarch64_print_operand (FILE *f, rtx x, char code)
asm_fprintf (asm_out_file, ":tlsdesc:"); asm_fprintf (asm_out_file, ":tlsdesc:");
break; break;
case SYMBOL_SMALL_GOTTPREL: case SYMBOL_SMALL_TLSIE:
asm_fprintf (asm_out_file, ":gottprel:"); asm_fprintf (asm_out_file, ":gottprel:");
break; break;
...@@ -4656,7 +4656,7 @@ aarch64_print_operand (FILE *f, rtx x, char code) ...@@ -4656,7 +4656,7 @@ aarch64_print_operand (FILE *f, rtx x, char code)
asm_fprintf (asm_out_file, ":tlsdesc_lo12:"); asm_fprintf (asm_out_file, ":tlsdesc_lo12:");
break; break;
case SYMBOL_SMALL_GOTTPREL: case SYMBOL_SMALL_TLSIE:
asm_fprintf (asm_out_file, ":gottprel_lo12:"); asm_fprintf (asm_out_file, ":gottprel_lo12:");
break; break;
...@@ -8787,7 +8787,7 @@ aarch64_classify_tls_symbol (rtx x) ...@@ -8787,7 +8787,7 @@ aarch64_classify_tls_symbol (rtx x)
case AARCH64_CMODEL_TINY_PIC: case AARCH64_CMODEL_TINY_PIC:
return SYMBOL_TINY_TLSIE; return SYMBOL_TINY_TLSIE;
default: default:
return SYMBOL_SMALL_GOTTPREL; return SYMBOL_SMALL_TLSIE;
} }
case TLS_MODEL_LOCAL_EXEC: case TLS_MODEL_LOCAL_EXEC:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment