Patchwork [COMMITTED] AArch64 minor update to comment w.r.t address models.

mail settings
Submitter Marcus Shawcroft
Date June 28, 2013, 3:17 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/255423/
State New
Headers show


Marcus Shawcroft - June 28, 2013, 3:17 p.m.
Updating a comment w.r.t address models.

2013-06-28  Marcus Shawcroft  <>

	* config/aarch64/aarch64-protos.h (aarch64_symbol_type):
	Update comment w.r.t SYMBOL_TINY_ABSOLUTE.


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.
+   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