diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2013-06-28 15:17:19 +0000 |
---|---|---|
committer | Marcus Shawcroft <mshawcroft@gcc.gnu.org> | 2013-06-28 15:17:19 +0000 |
commit | c822f852e9b088b78bb529d5edb20f607f5f5d7d (patch) | |
tree | d3462a3b69053a1b4c080a71f14f2f1fa23f4a70 /gcc | |
parent | 946c8f7bffaae8f81ece5c53788ae1a1ba27df52 (diff) | |
download | gcc-c822f852e9b088b78bb529d5edb20f607f5f5d7d.zip gcc-c822f852e9b088b78bb529d5edb20f607f5f5d7d.tar.gz gcc-c822f852e9b088b78bb529d5edb20f607f5f5d7d.tar.bz2 |
[AArch64] Update comment w.r.t SYMBOL_TINY_ABSOLUTE address model.
From-SVN: r200531
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64-protos.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 129a608..b1ccef8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 aarch64_classify_symbol_expression): Define. (aarch64_symbolic_constant_p): Remove. diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h index c9d64c6..e5ae556 100644 --- a/gcc/config/aarch64/aarch64-protos.h +++ b/gcc/config/aarch64/aarch64-protos.h @@ -68,6 +68,13 @@ enum aarch64_symbol_context Each of of these represents a thread-local symbol, and corresponds to the 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 constant pool. All variable addresses are spilled into constant pools. The constant pools themselves are addressed using PC |