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

2022-07-28 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=11549 Alan Modra changed: What|Removed |Added Resolution|--- |WONTFIX Status|WAITING

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

2010-05-06 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-05-06 12:56 --- (In reply to comment #9) > > 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. Pr

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

2010-05-06 Thread dev at sw dot ru
--- Additional Comments From dev at sw dot ru 2010-05-06 12:47 --- > 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 binar

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

2010-05-05 Thread hjl dot tools at gmail dot com
--- 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

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

2010-05-05 Thread dev at sw dot ru
--- Additional Comments From dev at sw dot ru 2010-05-05 15:44 --- > 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 :( -- http://sourceware.org/bugzilla/show_bug.cgi?id=11549 -

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

2010-05-05 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-05-05 15:39 --- (In reply to comment #5) > > You have > > > > : > >0: a1 00 00 00 00 mov0x0,%eax 1: R_X86_64_32 var > >5: c3 ret > > > > Since yo

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

2010-05-05 Thread dev at sw dot ru
--- Additional Comments From dev at sw dot ru 2010-05-05 15:24 --- > You have > > : >0: a1 00 00 00 00 mov0x0,%eax 1: R_X86_64_32 var >5: c3 ret > > Since you are building PIE, which can be loaded anywhere in > 64bit addres

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

2010-05-05 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-05-05 14:07 --- (In reply to comment #3) > Created an attachment (id=4768) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4768&action=view) > test case > > This is an extracted test case. > 32bit code is built with

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

2010-05-05 Thread dev at sw dot ru
--- Additional Comments From dev at sw dot ru 2010-05-05 13:21 --- Created an attachment (id=4768) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4768&action=view) test case This is an extracted test case. 32bit code is built with nasm (see build script) 64bit is built using gcc.

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

2010-04-28 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-04-28 14:19 --- Please provide a testcase. -- What|Removed |Added CC|

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

2010-04-28 Thread dev at sw dot ru
--- Additional Comments From dev at sw dot ru 2010-04-28 09:06 --- Created an attachment (id=4756) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4756&action=view) patch to fix -- http://sourceware.org/bugzilla/show_bug.cgi?id=11549 --- You are receiving this mail becaus