]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[AArch64] Update comment w.r.t SYMBOL_TINY_ABSOLUTE address model.
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Fri, 28 Jun 2013 15:17:19 +0000 (15:17 +0000)
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>
Fri, 28 Jun 2013 15:17:19 +0000 (15:17 +0000)
From-SVN: r200531

gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h

index 129a608212487107b277fd05318f407280b23603..b1ccef8592326ba35012aeb8e6baf9437edd596d 100644 (file)
@@ -1,3 +1,8 @@
+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
index c9d64c667120d7077390c2b43e3c507527ea7a90..e5ae556736c49dff45fbefe4d3c8b40a77894b35 100644 (file)
@@ -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