forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
committed by
Alan Modra
parent
97df7412a1
commit
f6f30f347b
@@ -1402,7 +1402,7 @@ pe_bfd_read_buildid (bfd *abfd)
|
||||
*/
|
||||
if (_bfd_XXi_slurp_codeview_record (abfd,
|
||||
(file_ptr) idd.PointerToRawData,
|
||||
idd.SizeOfData, cvinfo))
|
||||
idd.SizeOfData, cvinfo, NULL))
|
||||
{
|
||||
struct bfd_build_id* build_id = bfd_alloc (abfd,
|
||||
sizeof (struct bfd_build_id) + cvinfo->SignatureLength);
|
||||
|
||||
Reference in New Issue
Block a user