From patchwork Wed Feb 12 05:34:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fangrui Song X-Patchwork-Id: 37987 Received: (qmail 14662 invoked by alias); 12 Feb 2020 05:35:06 -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 14580 invoked by uid 89); 12 Feb 2020 05:35:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-33.1 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH, FSL_HELO_FAKE, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, USER_IN_DEF_SPF_WL autolearn=ham version=3.3.1 spammy=H*M:google X-HELO: mail-pg1-f172.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=iMAwD1i6X9EKiHuSjjiw1CZ0NRXW6ZWeGw0INjhpmn4=; b=TYLxysC9nu0J4DidImLXYmmd4uM9TfL6VVzVJwCyznSKCbOPKskM5wt6gvNKhxU0lj zn3198TiTQL8PCpQjhTqNiApWSAv8izSDbjyz6Ez/qvJVdAAcfCXv9mlRzQU9DzTV2dP f+d6LGH2WSmuqK/vkXaqk+4JK3/RowAb+u1aYwGNjYYcN8++B0mNCy+fcRPLfeqMI/y6 1NfMpsjE3pO4eiJIwiVAh3/r3Fh6lNepvDJ0c0qg98FLRYO0HK5FNVH/VhVr22MM7zdr FduTedMTL5V2GTxvKzrThdA7kY5jlWZF0BR80xFM8Dip8rcQuhAyPg2/5/caLjHt+DAU KzEw== Return-Path: Date: Tue, 11 Feb 2020 21:34:58 -0800 From: Fangrui Song To: libc-alpha@sourceware.org Cc: Palmer Dabbelt Subject: [PATCH] elf.h: Add R_RISCV_IRELATIVE Message-ID: <20200212053458.s5y25bv262zemycd@google.com> MIME-Version: 1.0 Content-Disposition: inline The number has been officially assigned by https://github.com/riscv/riscv-elf-psabi-doc/pull/131 --- elf/elf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elf/elf.h b/elf/elf.h index 2549a177d6..ab8930463c 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -3946,8 +3946,9 @@ enum #define R_RISCV_SET16 55 #define R_RISCV_SET32 56 #define R_RISCV_32_PCREL 57 +#define R_RISCV_IRELATIVE 58 -#define R_RISCV_NUM 58 +#define R_RISCV_NUM 59 /* BPF specific declarations. */