From 0d888aac30824dd7fc2481efefd0a0f4808812e8 Mon Sep 17 00:00:00 2001 From: Charles Wilson Date: Wed, 12 Sep 2001 15:58:10 +0000 Subject: 2001-09-12 Paul Sokolovsky * 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 * ld.texinfo: add verbose documentation for auto-import direct-addressing workaround, to compliment the terse error message. --- ld/pe-dll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/pe-dll.h') diff --git a/ld/pe-dll.h b/ld/pe-dll.h index b1c5c75f874..f5e9324882b 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 */ -- cgit v1.2.1