diff options
author | Mark Harmstone <mark@harmstone.com> | 2022-10-17 00:24:18 +0100 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-10-20 15:22:37 +1030 |
commit | f6f30f347bb97898a74e59a841982170e42bb265 (patch) | |
tree | 966ab495055389361fb61cc34836818bc7890bc1 /bfd/libpei.h | |
parent | 97df7412a183b73a1bfaeed55a4d951c2aede7d4 (diff) | |
download | gdb-f6f30f347bb97898a74e59a841982170e42bb265.zip gdb-f6f30f347bb97898a74e59a841982170e42bb265.tar.gz gdb-f6f30f347bb97898a74e59a841982170e42bb265.tar.bz2 |
ld: Add --pdb option
Second patch incorporates fixes for endian and UB issues in calc_hash, as per
https://sourceware.org/pipermail/binutils/2022-October/123514.html.
Diffstat (limited to 'bfd/libpei.h')
-rw-r--r-- | bfd/libpei.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bfd/libpei.h b/bfd/libpei.h index dcf42f9..98e951d 100644 --- a/bfd/libpei.h +++ b/bfd/libpei.h @@ -423,9 +423,11 @@ void _bfd_XX_get_symbol_info (bfd *, asymbol *, symbol_info *); bool _bfd_XXi_final_link_postscript (bfd *, struct coff_final_link_info *); void _bfd_XXi_swap_debugdir_in (bfd *, void *, void *); unsigned _bfd_XXi_swap_debugdir_out (bfd *, void *, void *); -unsigned _bfd_XXi_write_codeview_record (bfd *, file_ptr, CODEVIEW_INFO *); +unsigned _bfd_XXi_write_codeview_record + (bfd *, file_ptr, CODEVIEW_INFO *, const char *); CODEVIEW_INFO *_bfd_XXi_slurp_codeview_record - (bfd * abfd, file_ptr where, unsigned long length, CODEVIEW_INFO *cvinfo); + (bfd * abfd, file_ptr where, unsigned long length, CODEVIEW_INFO *cvinfo, + char **pdb); /* The following are needed only for ONE of pe or pei, but don't otherwise vary; peicode.h fixes up ifdefs but we provide the |