Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2021 01:25:07 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 838ceecf2ab5 - stable/13 - link_elf_obj: Add a case missing from 5e6989ba4f26
Message-ID:  <202103180125.12I1P7xG083602@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=838ceecf2ab5742af3ff5a9ad978268942cb1654

commit 838ceecf2ab5742af3ff5a9ad978268942cb1654
Author:     Mark Johnston <markjdb@gmail.com>
AuthorDate: 2021-03-16 19:01:41 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-03-18 01:24:55 +0000

    link_elf_obj: Add a case missing from 5e6989ba4f26
    
    Fixes:          5e6989ba4f26
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 4aa157dd5b4e72b85dd07ce3c106b742ca371bca)
---
 sys/kern/link_elf_obj.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c
index 337588bd5c00..65b997b513e3 100644
--- a/sys/kern/link_elf_obj.c
+++ b/sys/kern/link_elf_obj.c
@@ -472,6 +472,7 @@ link_elf_link_preload(linker_class_t cls, const char *filename,
 #ifdef __amd64__
 		case SHT_X86_64_UNWIND:
 #endif
+		case SHT_INIT_ARRAY:
 		case SHT_FINI_ARRAY:
 			if (shdr[i].sh_addr == 0)
 				break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103180125.12I1P7xG083602>