[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/13320] Please support thumb entry points in PLT instead of usi
dougkwan at google dot com
[Bug gold/13320] Please support thumb entry points in PLT instead of using (more or less randomly located) stubs
Fri, 02 Dec 2011 19:23:56 +0000
--- Comment #3 from Doug Kwan <dougkwan at google dot com> 2011-12-02 19:23:56
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.
On Fri, Dec 2, 2011 at 11:03 AM, froydnj at gmail dot com
> --- 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.