ld supports the --image-base and associated options to control DLL addresses.  
They are represented as type 'long', however, which is 32bits on both 32-bit 
and 64-bit versions of Windows.  On 64-bit versions of Windows, long is still 
32 bits while pointers are 64 bits.  A more appropriate type should be used 
that is cross platform between the two.

Without this change, dll's cannot be based appropriately.  binutils 2.18 
supports 64-bit windows, so this affects 2.18 and 2.19(HEAD).

-- 
           Summary: image-base and enable-auto-image_base restricted to 32
                    bits
           Product: binutils
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: nightstrike at gmail dot com
                CC: bug-binutils at gnu dot org
GCC target triplet: x86_64-pc-mingw32


http://sourceware.org/bugzilla/show_bug.cgi?id=6502

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to