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: 647166 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rpQ1w3sdmz9s9Z for ; Tue, 12 Jul 2016 11:52:04 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=kjur5zB7; dkim-atps=neutral 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=RG27AYnZ9NRzfL4JLH7Mp7R0Nr8OrQxU0jx4Pds0ixwxZHB99P+mm 8yRc5xdQ2sXDTUVbOlKtzkL6e2Vpyp+nqnzEBCC2MzucykIed554DjGg/IPC7b1f agI+QGPGKerTNnfaZERXQ45os4xVgcthNLsgcQXFyr+/NHXmx1BKWs= 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=kjur5zB7a465jVrj9SWA2dkDzaIJ r23eoEAPlUsezGS6WW5Yljg1EyfzR4bL3ajaH/IZwQ2LQr1W7ricsq2FItnlYqc+ LBdYiMwVlChgdw0SnN9GJZ3ahzuYFalHkdq1JiDTb7lVHUU7N1PZIRlUPeAmIMYZ 4A8qNvKo9FilZQo= 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(+) 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 */