aboutsummaryrefslogtreecommitdiff
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
commit83774818e59e0a3426b32d1a712537af7abb1b76 (patch)
tree3f3265ed45c3342a908359f63134fdd0c068567e /bfd/elf32-m68hc1x.c
parenteec63939978d10db2aa1802c46c6f84c43d47f2e (diff)
downloadgdb-83774818e59e0a3426b32d1a712537af7abb1b76.zip
gdb-83774818e59e0a3426b32d1a712537af7abb1b76.tar.gz
gdb-83774818e59e0a3426b32d1a712537af7abb1b76.tar.bz2
* 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 3b453ec..190d257 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;