<!DOCTYPE html>
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;opacity:0;overflow:hidden;">
On 6 Nov 2026, Kris Van Hees verbalised: > On Fri, Nov 06, 2026 at 01: 13: 40PM +0000, Nick Alcock wrote: >> On 30 Oct 2026, Kris Van Hees said: >> >> > Keep independent symbol and address indices for SHT_SYMTAB and SHT_DYNSYM,</div>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;opacity:0;overflow:hidden;"></div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<html>
<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBanneri4muuxq { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #c2d4d4 !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtoni4muuxq:hover, .pfptPrimaryButtoni4muuxq:focus {
background-color: #a2b1b1 !important; }
.pfptPrimaryButtoni4muuxq:active {
background-color: #828e8e !important; }
html:root, html:root>body { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
</head><body><pre style="font-family: sans-serif; font-size: 100%; white-space: pre-wrap; word-wrap: break-word">On 6 Nov 2026, Kris Van Hees verbalised:
> On Fri, Nov 06, 2026 at 01:13:40PM +0000, Nick Alcock wrote:
>> On 30 Oct 2026, Kris Van Hees said:
>>
>> > Keep independent symbol and address indices for SHT_SYMTAB and SHT_DYNSYM,
>> > loading strings through each tableâ?Ts sh_link. Search .symtab before .dynsym
>> > and include dynamic-only names in module symbol iteration.
>>
>> Yet noather place where one or the other strtab was overlooked. These
>> mistakes all date right back to Solaris...
>>
>> > Preserve .symtab indices for CTF, place dynamic and external symbols in
>> > separate ID ranges, and use .dynsym for CTF when .symtab is absent. Allow
>>
>> Except in old dicts (CTFv2, or v3 in the absence of the CTF_F_DYNSTR
>> dict flag), .dynsym should be searched unconditionally for CTF.
>> Preferring the symtab is wrong. (I suspect this code is basically never
>> run, since it's all symtypetab stuff, and the symtypetab isn't emitted
>> for kernel CTF.)
>
> R-b?
Yeah, I guess...
Reviewed-by: Nick Alcock <nix@esperi.org.uk>
... though I really wish you didn't have to, and in future maybe we can
take this out again.
--
NULL && (void)
</pre></body></html>