From patchwork Tue Jul 12 01:51:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 71766 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp224751qga; Mon, 11 Jul 2016 18:52:08 -0700 (PDT) X-Received: by 10.98.107.129 with SMTP id g123mr40352662pfc.62.1468288328722; Mon, 11 Jul 2016 18:52:08 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ba3si3789315pab.87.2016.07.11.18.52.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 18:52:08 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-71707-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of libc-alpha-return-71707-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-71707-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=itTeJkj0yyJRCaaU8xWGBEpWPEvUNKSpQkZmdfI0oZQSgnqvVWfby ijxDsR970j/gs9rHNHOjhJvbtlVkYOxca5JSuX+XBUopGzYtVWoHoDUFPmu6ENSK /y2tpVTOi7ZyNYda6gqoMGupLrY03B3rOa4hxTlkcfGPiVxk2ejfO8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=dBBliHaAyRG+9c9S0X1gXr6UnrY=; b=g2q5oncYn7GYm8rSwqvrjHUslhhA sDGe2pGoW23MDNBLGwiF250MGHiohMPvp9FFr4LaezbUhY8DrCd/wjXOzYNiauMg vv7sbAor78fHMYGtzs0YTyHrpKUv3LOiD/fMU8MSbmUT+3NMJ1Hrq86PAZAVRUnr iIjKGhBFlz8+Jbs= Received: (qmail 57371 invoked by alias); 12 Jul 2016 01:51:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 57336 invoked by uid 89); 12 Jul 2016 01:51:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=H*RU:209.85.192.193, Hx-spam-relays-external:209.85.192.193, imagination, Meta X-HELO: mail-pf0-f193.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AUBP7ervJqCQVPAcQYiN8qlKGKe/x3PYZYF8PcobYV8=; b=LWXp+73vCrtuE4ip2LbMNpIiS2uLQRRK9g3BaGo3piosYH5LGGJ3fpOHnPG8Ls0TRR L5sLRVv4Zj1TPnehAHVWss8ThydocF0wy6DnO1T/1eYUhyYCpYwj1/1idIu4XctWr75n vpKNNReXGXMFJ2xsVlPd7KfEHN7ezES9tx8xQOkgMk3LCVX02Wq71UYawU1i/fb3B2HJ PhPbfBvuNtUjM8HQNk2/G3XnWQW9phi6P9VF78ybQ+EA/VF/1qhc/mh4Vlo6c43dGqc3 lFvXAPoiDhOHo0qx4GzVxP719hq5VKtuOhKOQTWUTv+TEhf7giCmqOGuORH3HWV6Ee70 VGKQ== X-Gm-Message-State: ALyK8tKHlCIJfMUGS4IvL39T32oYjL+sk7GXt/Rvk/G1g9QounNPSm+VkdEPF48O25yrpg== X-Received: by 10.98.80.220 with SMTP id g89mr11969325pfj.12.1468288302608; Mon, 11 Jul 2016 18:51:42 -0700 (PDT) From: Khem Raj To: libc-alpha@sourceware.org Cc: Khem Raj Subject: [PATCH] elf: Define missing Meta architecture specific relocations Date: Mon, 11 Jul 2016 18:51:36 -0700 Message-Id: <20160712015136.588-1-raj.khem@gmail.com> --- ChangeLog 2016-07-11 Ross Burton Khem Raj * elf/elf.h (R_METAG_NONE, R_METAG_NONE): New. elf/elf.h | 5 +++++ 1 file changed, 5 insertions(+) -- 2.9.0 diff --git a/elf/elf.h b/elf/elf.h index b6112d9..053702d 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -3682,6 +3682,11 @@ enum #define R_BPF_NONE 0 /* No reloc */ #define R_BPF_MAP_FD 1 /* Map fd to pointer */ +/* Imagination Meta specific relocations. */ + +#define R_METAG_ADDR32 2 /* 32bit absolute address */ +#define R_METAG_NONE 3 /* No reloc */ + __END_DECLS #endif /* elf.h */