forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user