summaryrefslogtreecommitdiff
path: root/bfd/elf32-m68hc1x.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2004-08-01 19:32:28 +0000
committerStephane Carrez <stcarrez@nerim.fr>2004-08-01 19:32:28 +0000
commitd77a7f2b822369ad473355703a45ea8f4b48691c (patch)
tree62778ceda26402880f5119efe7687949a3b3875b /bfd/elf32-m68hc1x.c
parentfa5ef965a3a12208e1fe6cc190c27e92532e6284 (diff)
downloadbinutils-redhat-d77a7f2b822369ad473355703a45ea8f4b48691c.tar.gz
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Handle bfd_link_hash_new
Diffstat (limited to 'bfd/elf32-m68hc1x.c')
-rw-r--r--bfd/elf32-m68hc1x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-m68hc1x.c b/bfd/elf32-m68hc1x.c
index 3b453ec0d5..190d257f7f 100644
--- a/bfd/elf32-m68hc1x.c
+++ b/bfd/elf32-m68hc1x.c
@@ -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;