projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f7e948
)
2000-11-22 Philip Blundell <pb@futuretv.com>
author
Phil Blundell
<philb@gnu.org>
Mon, 27 Nov 2000 11:08:15 +0000
(11:08 +0000)
committer
Phil Blundell
<philb@gnu.org>
Mon, 27 Nov 2000 11:08:15 +0000
(11:08 +0000)
* cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
weak undefined symbols.
bfd/ChangeLog
patch
|
blob
|
history
bfd/cofflink.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 3229922c0565515b0d8b0b21b90aefafbc3013c0..99de56774aa2fc5041cf1d08e6b88f5f57e7a724 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2000-11-22 Philip Blundell <pb@futuretv.com>
+
+ * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
+ weak undefined symbols.
+
2000-11-24 Nick Clifton <nickc@redhat.com>
* archures.c (bfd_mach_arm_5TE): Define.
diff --git
a/bfd/cofflink.c
b/bfd/cofflink.c
index 8c825968dd56ab8345db866b6d07ee443fac30a8..05c0689ea944525b6aa9e85d6c9b88e9b3d454e4 100644
(file)
--- a/
bfd/cofflink.c
+++ b/
bfd/cofflink.c
@@
-2937,6
+2937,9
@@
_bfd_coff_generic_relocate_section (output_bfd, info, input_bfd,
+ sec->output_offset);
}
+ else if (h->root.type == bfd_link_hash_undefweak)
+ val = 0;
+
else if (! info->relocateable)
{
if (! ((*info->callbacks->undefined_symbol)