From patchwork Sun May 6 14:41:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Chen X-Patchwork-Id: 909322 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-92071-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=andestech.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="F6APrxVR"; dkim-atps=neutral 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 40f7mH6JTfz9s0q for ; Mon, 7 May 2018 00:43:43 +1000 (AEST) 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:in-reply-to :references:mime-version:content-type; q=dns; s=default; b=EKATN qPMvC9+C7sOLsj5eGEIqYGl98vxomdqETrFctEv+oUR4qyuelYxlwRwxnBytsoLn lSsRqujXWPBvvrXzjHG9QLI9dxRBr1seeEHOCHs1W8Rt06RZHKmG5p2dkVq02/t2 pNlQhzO+8OKmHUnvhpKtMFP7F6TbVG0ORRIVwQ= 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:in-reply-to :references:mime-version:content-type; s=default; bh=2TQcAh9CSzo mdwBuYI4qu266eDM=; b=F6APrxVRctgdEF+RPlfdMiGpcL+BrW0tzJcYpZbP7bR NpTIZAGyc2Wid+35oEDcAC+8xyxdSJY4Iw1VRMWCHNbGBmXCabfNV7/Hlzx502dk TBZEGDJuPpXohUN1awWa+UhrRNSyttFv+Xj4Nq2Kwg0h/SCXpT9z5pKDTjt/JhyQ = Received: (qmail 37610 invoked by alias); 6 May 2018 14:42:41 -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 37447 invoked by uid 89); 6 May 2018 14:42:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: ATCSQR.andestech.com From: vincentc To: CC: , , vincentc Subject: [PATCH 10/11] Add Andes nds32 dynamic relocation type to elf/elf.h. Date: Sun, 6 May 2018 22:41:24 +0800 Message-ID: <1525617685-32083-11-git-send-email-vincentc@andestech.com> In-Reply-To: <1525617685-32083-1-git-send-email-vincentc@andestech.com> References: <1525617685-32083-1-git-send-email-vincentc@andestech.com> MIME-Version: 1.0 X-DNSRBL: X-MAIL: ATCSQR.andestech.com w46EYedi047233 --- elf/elf.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/elf/elf.h b/elf/elf.h index 954f326..27add77 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -3855,6 +3855,16 @@ enum #define R_METAG_TLS_LE_HI16 60 #define R_METAG_TLS_LE_LO16 61 +/* NDS32 relocations. */ +#define R_NDS32_NONE 0 +#define R_NDS32_32_RELA 20 +#define R_NDS32_COPY 39 +#define R_NDS32_GLOB_DAT 40 +#define R_NDS32_JMP_SLOT 41 +#define R_NDS32_RELATIVE 42 +#define R_NDS32_TLS_TPOFF 102 +#define R_NDS32_TLS_DESC 119 + __END_DECLS #endif /* elf.h */