[PATCH] hppa64: Set has_local_dynsyms when adding __text_seg/__data_seg

John David Anglin dave.anglin@bell.net
Thu Dec 4 21:22:38 GMT 2025


On 2025-11-30 10:10 p.m., H.J. Lu wrote:
> commit 54fbc12d6404b645363f901110a21f4410067df5
> Author: H.J. Lu <hjl.tools@gmail.com>
> Date:   Fri Nov 28 16:07:57 2025 +0800
> 
>     elf: Renumber local dynamic symbols only if needed
> 
> caused regressions for hppa64-linux which adds local dynamic symbols,
> __text_seg and __data_seg in elf64_hppa_late_size_sections.  Set
> has_local_dynsyms to true when adding __text_seg and __data_seg.
> 
> * elf64-hppa.c (elf64_hppa_late_size_sections): Set
> has_local_dynsyms to true when adding __text_seg and __data_seg.

Okay.  I was wondering how to fix this.  Yesterday, I was thinking that
the renumber routines should ignore local dynamic symbols that were marked
to prevent garbage collection.

Thanks,
Dave
-- 
John David Anglin  dave.anglin@bell.net


More information about the Binutils mailing list