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
commit6ad7294be17719a6fa760f9232572806d85a6dd5 (patch)
tree1eb964d3d70ccbb5f2186727b40b860a8bc55521 /bfd/elf32-m68hc1x.c
parent0fcbb84ac6bc3d0fd3799bf50d2983525de3a9f9 (diff)
downloadgdb-6ad7294be17719a6fa760f9232572806d85a6dd5.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 3b453ec0d56..190d257f7f7 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;