Message ID | 20220108183838.1920397-2-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=Yedhgmwr; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JWTRg2PKcz9sCD for <incoming@patchwork.ozlabs.org>; Sun, 9 Jan 2022 05:40:31 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 31065386EC3A for <incoming@patchwork.ozlabs.org>; Sat, 8 Jan 2022 18:40:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31065386EC3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1641667229; bh=Do+Y3VLR0PJRAHhibGhFMEAZcC1lR9uXPD/wEOiv52c=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Yedhgmwr/JrUaSDFvQ2jg4dbibdVF5Gair+O2ZYILLACBEvlEq7x/WZFfWRlWlXYl xLUXITDJA3HtStq8s1jOo/5PGRYmElCkEq4P4kw5BZJ/P2QtVKuuCG9c/JqSigffjG /qacoxjiXN6uunRolNeinxf13+fQVSB3WhdXRhbM= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 6178E386EC3A; Sat, 8 Jan 2022 18:38:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6178E386EC3A Received: by mail-pl1-x631.google.com with SMTP id i6so8480761pla.0; Sat, 08 Jan 2022 10:38:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Do+Y3VLR0PJRAHhibGhFMEAZcC1lR9uXPD/wEOiv52c=; b=Iw0w+r1uImjLS8Q3PhZhwGlBIgS885BzWCdph14WiUyzqY/JQ1dUMUdM3e2kZyUz6R bRBFrgX6s6/a+2fteNV9JO7Y7yXtvc6PXnmUWMiIYWoxNP0xJkffoF1uI1+vsOcSWGoi UIJYSVlL92lMbBvFoOaWiBQziVb3qaWqb13Vkq1aKd+hJQRzM4+OkqcliXrWoYasGjiR hA95fgaXoC7TuMEP3UPXL1RtSf0NhOHxtUQX3Qu1nrCWeoewJCS2P4f0vvqXbEZNQ4XM SPCGooObDvy8x6On3aOQYjnd8rsyrUTLyRKIi3AoUDI768HFfFl0I1ZbQyihriSin6J7 UCtw== X-Gm-Message-State: AOAM532LHe+V7XVZprw6Deka4+pzPb9+PcudfIeCbHSCISGFJK8XuSaU ByUWJVObpHlOIU3nOO7AYl7zRDgvgfo= X-Google-Smtp-Source: ABdhPJwtWEzJrXNhfaPX4wAUHP4P/q7lnT0pBHwsXEmdKWpEqJ9CtIn0caGd6qn6rnN2yhfQM84Uyg== X-Received: by 2002:a63:485a:: with SMTP id x26mr61374377pgk.580.1641667120494; Sat, 08 Jan 2022 10:38:40 -0800 (PST) Received: from gnu-tgl-3.localdomain ([172.58.35.133]) by smtp.gmail.com with ESMTPSA id 6sm2061282pgc.90.2022.01.08.10.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jan 2022 10:38:40 -0800 (PST) Received: from gnu-tgl-3.. (localhost [IPv6:::1]) by gnu-tgl-3.localdomain (Postfix) with ESMTP id 0A216C09C5; Sat, 8 Jan 2022 10:38:39 -0800 (PST) To: binutils@sourceware.org Subject: [PATCH v2 1/9] elf: Add .relr.dyn to special_sections_r Date: Sat, 8 Jan 2022 10:38:30 -0800 Message-Id: <20220108183838.1920397-2-hjl.tools@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220108183838.1920397-1-hjl.tools@gmail.com> References: <20220108183838.1920397-1-hjl.tools@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3028.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: "H.J. Lu via Libc-alpha" <libc-alpha@sourceware.org> Reply-To: "H.J. Lu" <hjl.tools@gmail.com> Cc: libc-alpha@sourceware.org, Nick Clifton <nickc@redhat.com>, Alan Modra <amodra@gmail.com> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> |
Series |
ld: Implement DT_RELR for x86
|
expand
|
diff --git a/bfd/elf.c b/bfd/elf.c index 1003bd2cdbe..ef0d18105ba 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -2714,6 +2714,7 @@ static const struct bfd_elf_special_section special_sections_r[] = { { STRING_COMMA_LEN (".rodata"), -2, SHT_PROGBITS, SHF_ALLOC }, { STRING_COMMA_LEN (".rodata1"), 0, SHT_PROGBITS, SHF_ALLOC }, + { STRING_COMMA_LEN (".relr.dyn"), 0, SHT_RELR, SHF_ALLOC }, { STRING_COMMA_LEN (".rela"), -1, SHT_RELA, 0 }, { STRING_COMMA_LEN (".rel"), -1, SHT_REL, 0 }, { NULL, 0, 0, 0, 0 }