summaryrefslogtreecommitdiff
path: root/ld/pe-dll.h
diff options
context:
space:
mode:
authorCharles Wilson <cygwin@cwilson.fastmail.fm>2001-09-12 15:58:10 +0000
committerCharles Wilson <cygwin@cwilson.fastmail.fm>2001-09-12 15:58:10 +0000
commit784a0e6d3711fac90adbda046bef7ca8c89554f8 (patch)
treeb8e358453e6f29ba244e5c93892565ca5041e58e /ld/pe-dll.h
parent001373f811ee1315559bb474e02b83aa463532bc (diff)
downloadbinutils-redhat-784a0e6d3711fac90adbda046bef7ca8c89554f8.tar.gz
2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
* emultempl/pe.em(make_import_fixup): change signature to take asection as well as arelec; we need this for proper error reporting. Only call pe_create_import_fixup() if there is no attempt to add a constant addend to the reloc; otherwise, report error condition. * pe-dll.c(pe_walk_relocs_of_symbol): change signature, since final argument is a pointer to make_import_fixup(). Change call to cb() to match make_import_fixup() signature. (make_import_fixup_mark): make buffer_len unsigned. * pe-dll.h: change signature of pe_walk_relocs_of_symbol. 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add verbose documentation for auto-import direct-addressing workaround, to compliment the terse error message.
Diffstat (limited to 'ld/pe-dll.h')
-rw-r--r--ld/pe-dll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/pe-dll.h b/ld/pe-dll.h
index b1c5c75f87..f5e9324882 100644
--- a/ld/pe-dll.h
+++ b/ld/pe-dll.h
@@ -48,7 +48,7 @@ extern void pe_exe_fill_sections PARAMS ((bfd *, struct bfd_link_info *));
extern void pe_walk_relocs_of_symbol PARAMS ((struct bfd_link_info * info,
CONST char *name,
- int (*cb) (arelent *)));
+ int (*cb) (arelent *, asection *)));
extern void pe_create_import_fixup PARAMS ((arelent * rel));
#endif /* PE_DLL_H */