aboutsummaryrefslogtreecommitdiff
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
commit0d888aac30824dd7fc2481efefd0a0f4808812e8 (patch)
treedcc3c9663cffcbe49a873a805d2391c9c7f990bf /ld/pe-dll.h
parentcedacdc05a9872309cd078e32ce6565266bc9065 (diff)
downloadgdb-0d888aac30824dd7fc2481efefd0a0f4808812e8.zip
gdb-0d888aac30824dd7fc2481efefd0a0f4808812e8.tar.gz
gdb-0d888aac30824dd7fc2481efefd0a0f4808812e8.tar.bz2
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 b1c5c75..f5e9324 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 */