[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
http://sourceware.org/bugzilla/show_bug.cgi?id=13320 Khem Raj raj.khem at gmail dot com changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #7 from Khem Raj raj.khem at gmail dot com 2012-05-10 01:20:12 UTC --- (In reply to comment #6) Created attachment 6284 [details] working patch, no incremental linker support Rebase against current HEAD. This fails when you link pre-armv5 thumb binaries. e.g. armv4t -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
http://sourceware.org/bugzilla/show_bug.cgi?id=13320 Nathan Froyd froydnj at gmail dot com changed: What|Removed |Added Attachment #6087|0 |1 is obsolete|| --- Comment #6 from Nathan Froyd froydnj at gmail dot com 2012-03-12 14:37:28 UTC --- Created attachment 6284 -- http://sourceware.org/bugzilla/attachment.cgi?id=6284 working patch, no incremental linker support Rebase against current HEAD. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
http://sourceware.org/bugzilla/show_bug.cgi?id=13320 --- Comment #2 from Nathan Froyd froydnj at gmail dot com 2011-12-02 19:03:11 UTC --- Created attachment 6087 -- http://sourceware.org/bugzilla/attachment.cgi?id=6087 working patch, no incremental linker support Here's a patch that gets things going; it works on several testcases I've tried. I haven't run the test suite yet due to native testing requirements yet, but I have tested a wide range of branch distances and such and things look pretty good. I'm also fairly certain this breaks when doing incremental linking. Stubs are now variable-sized when using this scheme, and the incremental linking support is not yet (ever?) ready to handle that. Making all stubs 16 bytes when using the incremental linking support is a possibility. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
http://sourceware.org/bugzilla/show_bug.cgi?id=13320 --- Comment #3 from Doug Kwan dougkwan at google dot com 2011-12-02 19:23:56 UTC --- Thanks for working on this. You can run the test suite using QEMU, it is slow but it does the job. You do need to treat one of test case because it has too many sections that gold runs out of simulated memory. One caveat is that QEMU does not catch unaligned accesses, we had bugs due to unaligned accesses in the past. Incremental linking never works on ARM, BTW. I will take a look at your patch. -Doug On Fri, Dec 2, 2011 at 11:03 AM, froydnj at gmail dot com sourceware-bugzi...@sourceware.org wrote: http://sourceware.org/bugzilla/show_bug.cgi?id=13320 --- Comment #2 from Nathan Froyd froydnj at gmail dot com 2011-12-02 19:03:11 UTC --- Created attachment 6087 -- http://sourceware.org/bugzilla/attachment.cgi?id=6087 working patch, no incremental linker support Here's a patch that gets things going; it works on several testcases I've tried. I haven't run the test suite yet due to native testing requirements yet, but I have tested a wide range of branch distances and such and things look pretty good. I'm also fairly certain this breaks when doing incremental linking. Stubs are now variable-sized when using this scheme, and the incremental linking support is not yet (ever?) ready to handle that. Making all stubs 16 bytes when using the incremental linking support is a possibility. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
http://sourceware.org/bugzilla/show_bug.cgi?id=13320 Nathan Froyd froydnj at gmail dot com changed: What|Removed |Added CC||froydnj at gmail dot com --- Comment #4 from Nathan Froyd froydnj at gmail dot com 2011-12-02 20:14:50 UTC --- I was trying to set things up inside a QEMU VM, but was running into problems because Debian 5.0 uses deprecated relocations that gold does not support. What distribution are you using? Or do you have clever hacks that enable running the testsuite with the QEMU linux-user support? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
http://sourceware.org/bugzilla/show_bug.cgi?id=13320 --- Comment #5 from Doug Kwan dougkwan at google dot com 2011-12-02 20:42:21 UTC --- ubuntu karmic. I wish I could use QEMU linux-user but I right now I had to use the system emulator. On Fri, Dec 2, 2011 at 12:14 PM, froydnj at gmail dot com sourceware-bugzi...@sourceware.org wrote: http://sourceware.org/bugzilla/show_bug.cgi?id=13320 Nathan Froyd froydnj at gmail dot com changed: What |Removed |Added CC| |froydnj at gmail dot com --- Comment #4 from Nathan Froyd froydnj at gmail dot com 2011-12-02 20:14:50 UTC --- I was trying to set things up inside a QEMU VM, but was running into problems because Debian 5.0 uses deprecated relocations that gold does not support. What distribution are you using? Or do you have clever hacks that enable running the testsuite with the QEMU linux-user support? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
http://sourceware.org/bugzilla/show_bug.cgi?id=13320 --- Comment #1 from Mike Hommey mh-sourceware at glandium dot org 2011-10-26 11:41:22 UTC --- BTW, it should be possible, in binaries that are completely compiled as thumb, to have a completely thumb PLT code. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
http://sourceware.org/bugzilla/show_bug.cgi?id=13320 Ian Lance Taylor ian at airs dot com changed: What|Removed |Added CC||ian at airs dot com AssignedTo|ian at airs dot com |dougkwan at google dot com -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils