From: Marcus Shawcroft Date: Fri, 28 Jun 2013 15:17:19 +0000 (+0000) Subject: [AArch64] Update comment w.r.t SYMBOL_TINY_ABSOLUTE address model. X-Git-Tag: releases/gcc-4.9.0~5196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c822f852e9b088b78bb529d5edb20f607f5f5d7d;p=thirdparty%2Fgcc.git [AArch64] Update comment w.r.t SYMBOL_TINY_ABSOLUTE address model. From-SVN: r200531 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 129a60821248..b1ccef859232 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 c9d64c667120..e5ae556736c4 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