bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/11549] Allow 32bit relocations in 64bit code


From: hjl dot tools at gmail dot com
Subject: [Bug binutils/11549] Allow 32bit relocations in 64bit code
Date: 5 May 2010 15:59:54 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2010-05-05 
15:59 -------
(In reply to comment #7)
> > You should checkout how other x86-64 low-level loaders deal with it.
> 
> They just don't have cross 32/64 bit relocations. In our case we badly need 
> them 
> :(


What you are trying to do violates x86-64 psABI and it isn't supported
by the x86-64 linker. You have 2 choices:

1. Use a private linker with your changes.
2. Propose a new linker switch to support x86-64 binaries loaded at
virtual addresses lower then 4GB.


-- 


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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]