* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Handle bfd_link_hash_new
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 1 Aug 2004 19:32:28 +0000 (19:32 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sun, 1 Aug 2004 19:32:28 +0000 (19:32 +0000)
bfd/ChangeLog
bfd/elf32-m68hc1x.c

index c723589e35a605a8e1e3e700f386e4d7f80b5aff..caa9bc47195106c44648d9fa1269f6f182c36fd0 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-01  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Handle bfd_link_hash_new
+
 2004-07-31  Joel Brobecker <brobecker@gnat.com>
            Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
 
index 3b453ec0d5670eff61d2b42bfef569c1ebd7a2d7..190d257f7f74af4854e99dc9b117e1ca8235aadd 100644 (file)
@@ -471,7 +471,8 @@ elf32_m68hc11_size_stubs (bfd *output_bfd, bfd *stub_bfd,
                             hash->root.u.i.link);
 
                   if (hash->root.type == bfd_link_hash_defined
-                      || hash->root.type == bfd_link_hash_defweak)
+                      || hash->root.type == bfd_link_hash_defweak
+                      || hash->root.type == bfd_link_hash_new)
                     {
                       if (!(hash->other & STO_M68HC12_FAR))
                         continue;