* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
authorAlan Modra <amodra@gmail.com>
Mon, 19 Nov 2001 03:01:43 +0000 (03:01 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 19 Nov 2001 03:01:43 +0000 (03:01 +0000)
millicode syms as candidates for import stubs.

bfd/ChangeLog
bfd/elf32-hppa.c

index ff5c99ffc48d082587dad5f9476cfeaa7c8f52c4..d1c302525f26acc15bf52e1118d96b773a6a74e7 100644 (file)
@@ -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..
index ea8bb3202e8d5dcc2e29e54ad0530383b823dcc1..cf67af44875ec4a38973d4bedd16ddba28b7bd20 100644 (file)
@@ -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