aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-11-19 03:01:43 +0000
committerAlan Modra <amodra@gmail.com>2001-11-19 03:01:43 +0000
commit2a5aaecb4aabbc6320ef34a5c127bfae1e7748b6 (patch)
tree8b2a14f8d4d549ae44d8ccc3148495d3b1b1827d /bfd
parente5ee5df1907fdda58597ffe44a32e3ca6d4eee68 (diff)
downloadgdb-2a5aaecb4aabbc6320ef34a5c127bfae1e7748b6.zip
gdb-2a5aaecb4aabbc6320ef34a5c127bfae1e7748b6.tar.gz
gdb-2a5aaecb4aabbc6320ef34a5c127bfae1e7748b6.tar.bz2
* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
millicode syms as candidates for import stubs.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/elf32-hppa.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ff5c99f..d1c3025 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
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.
(allocate_PIC_calls): Rename to allocate_plt_static.
(allocate_dynrelocs): Move most of code handling .plt entries to..
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index ea8bb32..cf67af4 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -3025,7 +3025,8 @@ elf32_hppa_size_stubs (output_bfd, stub_bfd, info, multi_subspace, group_size,
if (! (info->shared
&& !info->no_undefined
&& (ELF_ST_VISIBILITY (hash->elf.other)
- == STV_DEFAULT)))
+ == STV_DEFAULT)
+ && hash->elf.type != STT_PARISC_MILLI))
continue;
}
else