[patch ld]: PR/6502
Kai Tietz
Kai.Tietz@onevision.com
Fri May 9 10:58:00 GMT 2008
Hi Nick,
This patch fixes w64 related ImageBase bugs and fixes an address
truncation in quick_relocation() of ld,
ChangeLog
2008-05-09 Kai Tietz <kai.tietz@onevision.com>
ld/PR6502
* emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
of long
and change return type to bfd_vma.
(definfo): Change type of address from long to bfd_vma.
(set_pep_value): Replace strtoul to strtoull.
(gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
* pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
ImageBase.
(quick_reloc): Change argument address from int to bfd_size_type.
I tested this patch on cygwin and saw no regressions.
Is this patch ok for apply?
Cheers,
Kai
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ld6502.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20080509/a46358f2/attachment.txt>
More information about the Binutils
mailing list