Commit c822f852 by Marcus Shawcroft Committed by Marcus Shawcroft

[AArch64] Update comment w.r.t SYMBOL_TINY_ABSOLUTE address model.

From-SVN: r200531
parent 946c8f7b
2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/aarch64/aarch64-protos.h (aarch64_symbol_type):
Update comment w.r.t SYMBOL_TINY_ABSOLUTE.
2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/aarch64/aarch64-protos.h * config/aarch64/aarch64-protos.h
aarch64_classify_symbol_expression): Define. aarch64_classify_symbol_expression): Define.
(aarch64_symbolic_constant_p): Remove. (aarch64_symbolic_constant_p): Remove.
......
...@@ -68,6 +68,13 @@ enum aarch64_symbol_context ...@@ -68,6 +68,13 @@ enum aarch64_symbol_context
Each of of these represents a thread-local symbol, and corresponds to the Each of of these represents a thread-local symbol, and corresponds to the
thread local storage relocation operator for the symbol being referred to. thread local storage relocation operator for the symbol being referred to.
SYMBOL_TINY_ABSOLUTE
Generate symbol accesses as a PC relative address using a single
instruction. To compute the address of symbol foo, we generate:
ADR x0, foo
SYMBOL_FORCE_TO_MEM : Global variables are addressed using SYMBOL_FORCE_TO_MEM : Global variables are addressed using
constant pool. All variable addresses are spilled into constant constant pool. All variable addresses are spilled into constant
pools. The constant pools themselves are addressed using PC pools. The constant pools themselves are addressed using PC
......
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