From patchwork Tue Jul 12 14:15:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 71853 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp499977qga; Tue, 12 Jul 2016 07:16:06 -0700 (PDT) X-Received: by 10.66.248.65 with SMTP id yk1mr4484213pac.56.1468332966527; Tue, 12 Jul 2016 07:16:06 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id uq7si996335pac.217.2016.07.12.07.16.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 07:16:06 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-71731-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-71731-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-71731-patch=linaro.org@sourceware.org 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:subject:date:message-id; q=dns; s= default; b=bdTvLipnn//lNHeqw01u7N0dWsuueo0peymSRI1Ew47Nknc4Z/9q5 kJMrepLKG08rNlqxQrJTdGtM9CzdsDv1RAd8HOligU1Hwpndn7SQHylDYWjD+oo6 epcVf2nFiIVmPLucqwRTx4fgwsqwqZm1ExQ+K8aOFlVPovsrWr9edE= 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:subject:date:message-id; s=default; bh=jFAt2yy/ioK6zn5KKkwtsb4Gccg=; b=xID2H7kgJ6v0BVBFcmYktz24oGq5 ZekSsLPxbpyfY4ahY5Jy56YibRsVTILX8UBCQdLczVkM0CltLQ6YZ6eXrePhChTT RXtEyR7hNFumab7cu/xPw5ieLUjozhK4qxiUkcHC/IF3VyEWroNRNOjsj69aJ9DX d07sIN4UPsg9OT8= Received: (qmail 100583 invoked by alias); 12 Jul 2016 14:15:58 -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 100572 invoked by uid 89); 12 Jul 2016 14:15:57 -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, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-wm0-f53.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:subject:date:message-id; bh=tOvRolfpW+ZO55IXrGcozRBioACYcx9b8z75d6d77FE=; b=Kv9/ZDEf3p/4e8HUIOkO60vHrPErizcJneBM+wgLiSu5WZoqM8xynBhUP4ZKYaXR7I hu2RpHyrx++muBZ957wzSlDlvN25k9/5FcqoW+Wt4xOLSvMq3Gyp/MZmeAgQ5DMYrrAX cPTHRqGdLGceclwXU9CpahPuqNonisHbrWN2kkrYDn7ND1jhov+7BA7V5m1u7Rag/Wth w6KEamw5lPEg2mOnCw7gh9sRzsjoAMHjAu3K7u6hgCkDg7hVeQ1ek+3R3TXigSMU6QTB 74tCv5iBkzF5hkDwKwfuIVmUmS8ey1MAt+bVtR+Ly1p/1FD0lTzo+hGU+s6K32X8kn6s CjsA== X-Gm-Message-State: ALyK8tIu/ZZK75osJy9uN6gtSf94f7CZVmjzO4Odr1UTXYMJtScKXoHpSUwRSn9xOgZryYR4 X-Received: by 10.28.131.200 with SMTP id f191mr3968887wmd.80.1468332943771; Tue, 12 Jul 2016 07:15:43 -0700 (PDT) From: Ross Burton To: libc-alpha@sourceware.org Subject: [PATCH] elf.h: add relocations for Imagination META Date: Tue, 12 Jul 2016 15:15:39 +0100 Message-Id: <1468332939-11584-1-git-send-email-ross.burton@intel.com> Adding EM_METAG but not the relocations means the kernel doesn't compile as it guards its own declarations on the presence of EM_METAG. --- ChangeLog | 5 +++++ elf/elf.h | 4 ++++ 2 files changed, 9 insertions(+) -- 2.8.1 diff --git a/ChangeLog b/ChangeLog index af245d9..ba45b1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-07-12 Ross Burton + + * elf/elf.h (R_METAG_NONE, R_METAG_NONE): Add Imagination META + relocations. + 2016-07-12 H.J. Lu [BZ #20309] diff --git a/elf/elf.h b/elf/elf.h index b6112d9..1034812 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -3682,6 +3682,10 @@ enum #define R_BPF_NONE 0 /* No reloc */ #define R_BPF_MAP_FD 1 /* Map fd to pointer */ +/* Imagination META relocations */ +#define R_METAG_ADDR32 2 +#define R_METAG_NONE 3 + __END_DECLS #endif /* elf.h */