[AArch64][TLSLE][2/3] Rename SYMBOL_TLSLE to SYMBOL_TLSLE24

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
This commit is contained in:
Jiong Wang 2015-08-26 13:01:56 +00:00 committed by Jiong Wang
parent 5eee3c3413
commit d18ba28414
3 changed files with 18 additions and 8 deletions

View 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.

View 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
};

View 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: