OSDN Git Service

* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
authoramodra <amodra>
Mon, 19 Nov 2001 03:01:41 +0000 (03:01 +0000)
committeramodra <amodra>
Mon, 19 Nov 2001 03:01:41 +0000 (03:01 +0000)
millicode syms as candidates for import stubs.

bfd/ChangeLog
bfd/elf32-hppa.c

index ff5c99f..d1c3025 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 ea8bb32..cf67af4 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