aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-m68hc1x.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c723589..caa9bc4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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>
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;