* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined

millicode syms as candidates for import stubs.
This commit is contained in:
Alan Modra
2001-11-19 03:01:43 +00:00
parent e5ee5df190
commit 2a5aaecb4a
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2001-11-19 Alan Modra <amodra@bigpond.net.au> 2001-11-19 Alan Modra <amodra@bigpond.net.au>
* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
millicode syms as candidates for import stubs.
* elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete. * elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.
(allocate_PIC_calls): Rename to allocate_plt_static. (allocate_PIC_calls): Rename to allocate_plt_static.
(allocate_dynrelocs): Move most of code handling .plt entries to.. (allocate_dynrelocs): Move most of code handling .plt entries to..

View File

@ -3025,7 +3025,8 @@ elf32_hppa_size_stubs (output_bfd, stub_bfd, info, multi_subspace, group_size,
if (! (info->shared if (! (info->shared
&& !info->no_undefined && !info->no_undefined
&& (ELF_ST_VISIBILITY (hash->elf.other) && (ELF_ST_VISIBILITY (hash->elf.other)
== STV_DEFAULT))) == STV_DEFAULT)
&& hash->elf.type != STT_PARISC_MILLI))
continue; continue;
} }
else else