From c822f852e9b088b78bb529d5edb20f607f5f5d7d Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Fri, 28 Jun 2013 15:17:19 +0000 Subject: [PATCH] [AArch64] Update comment w.r.t SYMBOL_TINY_ABSOLUTE address model. From-SVN: r200531 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64-protos.h | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 129a6082124..b1ccef85923 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-06-28 Marcus Shawcroft + + * config/aarch64/aarch64-protos.h (aarch64_symbol_type): + Update comment w.r.t SYMBOL_TINY_ABSOLUTE. + 2013-06-28 Marcus Shawcroft * config/aarch64/aarch64-protos.h diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h index c9d64c66712..e5ae556736c 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 -- 2.30.2