crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

elfutils-0.190-relr.patch (2930B)


      1 https://www.openwall.com/lists/musl/2023/11/06/3
      2 https://inbox.vuxu.org/musl/20231106113336.3664-2-ncopa@alpinelinux.org/T/#u
      3 https://sourceware.org/bugzilla/show_bug.cgi?id=31034
      4 https://bugs.gentoo.org/916857
      5 
      6 From mboxrd@z Thu Jan  1 00:00:00 1970
      7 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org
      8 X-Spam-Level: 
      9 X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED,
     10 	MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,
     11 	RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham
     12 	autolearn_force=no version=3.4.4
     13 Received: (qmail 5179 invoked from network); 6 Nov 2023 11:46:34 -0000
     14 Received: from second.openwall.net (193.110.157.125)
     15   by inbox.vuxu.org with ESMTPUTF8; 6 Nov 2023 11:46:34 -0000
     16 Received: (qmail 30570 invoked by uid 550); 6 Nov 2023 11:46:29 -0000
     17 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm
     18 Precedence: bulk
     19 List-Post: <mailto:musl@lists.openwall.com>
     20 List-Help: <mailto:musl-help@lists.openwall.com>
     21 List-Unsubscribe: <mailto:musl-unsubscribe@lists.openwall.com>
     22 List-Subscribe: <mailto:musl-subscribe@lists.openwall.com>
     23 List-ID: <musl.lists.openwall.com>
     24 Reply-To: musl@lists.openwall.com
     25 Received: (qmail 30538 invoked from network); 6 Nov 2023 11:46:29 -0000
     26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org;
     27 	s=smtp; t=1699271177;
     28 	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
     29 	 to:to:cc:cc:mime-version:mime-version:
     30 	 content-transfer-encoding:content-transfer-encoding;
     31 	bh=73HDLjg72r1JGckDGbEyPxYrYL7dC7MB3gMwy/yp7hc=;
     32 	b=pSGCs/DrFDbs9eEA89un578pZbyzpmTw81QGH7xK4ZAAkYiXx1ysaXlsllwxGd076F+plw
     33 	kE1QbGVndutc+ieeUOiHomF4O8IP4AqO/8xCy52LlYmnhMTcxgoXD/GWHfVcXmIgFb+8Uc
     34 	jvgM9nXFOXceFSlHLLOwJBQFE2dyBrU=
     35 From: Natanael Copa <ncopa@alpinelinux.org>
     36 To: musl@lists.openwall.com
     37 Cc: Natanael Copa <ncopa@alpinelinux.org>
     38 Date: Mon,  6 Nov 2023 12:33:37 +0100
     39 Message-ID: <20231106113336.3664-2-ncopa@alpinelinux.org>
     40 X-Mailer: git-send-email 2.42.1
     41 MIME-Version: 1.0
     42 Content-Transfer-Encoding: 8bit
     43 Subject: [musl] [PATCH] elf.h: add typedefs for Elf*_Relr
     44 
     45 Add typedefs for Elf32_Relr and Elf64_Relr as a follow-up to commit
     46 d32dadd60efb (ldso: support DT_RELR relative relocation format)
     47 
     48 ---
     49 This fixes build of iproute2 with elfutils 0.190, which assumes that
     50 Elf*_Relr are typedef'ed when SHT_RELR is defined.
     51 
     52 ref: https://sourceware.org/git/?p=elfutils.git;a=commit;h=39f2c500542f69c2f1a13fd0ae4eaa5778d2ed8d
     53 ref: https://sourceware.org/bugzilla/show_bug.cgi?id=31034
     54 
     55  include/elf.h | 3 +++
     56  1 file changed, 3 insertions(+)
     57 
     58 diff --git a/include/elf.h b/include/elf.h
     59 index 23f2c4bc..aa186d9d 100644
     60 --- a/include/elf.h
     61 +++ b/include/elf.h
     62 @@ -32,6 +32,9 @@ typedef uint16_t Elf64_Section;
     63  typedef Elf32_Half Elf32_Versym;
     64  typedef Elf64_Half Elf64_Versym;
     65  
     66 +typedef Elf32_Word Elf32_Relr;
     67 +typedef Elf64_Xword Elf64_Relr;
     68 +
     69  #define EI_NIDENT (16)
     70  
     71  typedef struct {
     72 -- 
     73 2.42.1