From patchwork Fri Jun 28 15:17:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Shawcroft X-Patchwork-Id: 255423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 3C0682C008A for ; Sat, 29 Jun 2013 01:17:35 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=Ruke7/5LH3BvGWZkcXiKqEXbfZ2X2+o85EcO4ycSzgvrhx R3FM5f3e4kuUXqlYC7/kXMe8jL+9Ez/RqrXHcCIxMjhaUyLy7dPbcFvPuJzrSpU7 YtoIBG5of3aWcKqYwl0xPD4xvncwKGGs3aUaQYvvVV+PEDxiT3YdZ/JsJRsNQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=mGz9zK0hIBfSTjU3PYFRybz+nVE=; b=uCyCHbXKun2D4colZTJa UyFtUS1g+6fgd5vTmol086GnGjl9Zy2sMgrroJ5ZtFoXvL2mwNJg1lPTMf3lTj8N vDBuW1hKwM2h618M6YrCLCA6iiVYFee/Hv615K1ZP1SaqK2NI8iiC115W2A64JOm ffDPxFFfYsjcOAV4i60vSHM= Received: (qmail 2908 invoked by alias); 28 Jun 2013 15:17:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 2898 invoked by uid 89); 28 Jun 2013 15:17:28 -0000 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, KAM_STOCKGEN, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.1 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 28 Jun 2013 15:17:27 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 28 Jun 2013 16:17:24 +0100 Received: from [10.1.207.140] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 28 Jun 2013 16:17:21 +0100 Message-ID: <51CDA900.6070806@arm.com> Date: Fri, 28 Jun 2013 16:17:20 +0100 From: Marcus Shawcroft User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [PATCH, COMMITTED] AArch64 minor update to comment w.r.t address models. X-MC-Unique: 113062816172400501 X-Virus-Found: No Updating a comment w.r.t address models. /Marcus 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. + 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