mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-07 09:48:28 +00:00
* elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.
This commit is contained in:
parent
2a5aaecb4a
commit
a0e94dc00c
@ -1,5 +1,7 @@
|
|||||||
2001-11-19 Alan Modra <amodra@bigpond.net.au>
|
2001-11-19 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.
|
||||||
|
|
||||||
* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
|
* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
|
||||||
millicode syms as candidates for import stubs.
|
millicode syms as candidates for import stubs.
|
||||||
|
|
||||||
|
@ -2225,9 +2225,13 @@ clobber_millicode_symbols (h, info)
|
|||||||
Therefore we do not leave ELF_LINK_FORCED_LOCAL set. */
|
Therefore we do not leave ELF_LINK_FORCED_LOCAL set. */
|
||||||
if (h->type == STT_PARISC_MILLI)
|
if (h->type == STT_PARISC_MILLI)
|
||||||
{
|
{
|
||||||
|
struct elf32_hppa_link_hash_table *htab;
|
||||||
unsigned short oldflags = h->elf_link_hash_flags;
|
unsigned short oldflags = h->elf_link_hash_flags;
|
||||||
|
|
||||||
h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
|
h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
|
||||||
elf32_hppa_hide_symbol (info, h);
|
elf32_hppa_hide_symbol (info, h);
|
||||||
|
htab = hppa_link_hash_table (info);
|
||||||
|
_bfd_elf_strtab_delref (htab->elf.dynstr, h->dynstr_index);
|
||||||
h->elf_link_hash_flags &= ~ELF_LINK_FORCED_LOCAL;
|
h->elf_link_hash_flags &= ~ELF_LINK_FORCED_LOCAL;
|
||||||
h->elf_link_hash_flags |= oldflags & ELF_LINK_FORCED_LOCAL;
|
h->elf_link_hash_flags |= oldflags & ELF_LINK_FORCED_LOCAL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user