|
From: | nickc at redhat dot com |
Subject: | [Bug ld/13049] Generates R_ARM_NONE relocations for stub_* symbols when using -fdata-sections |
Date: | Tue, 18 Oct 2011 15:44:20 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13049 Nick Clifton <nickc at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |nickc at redhat dot com --- Comment #2 from Nick Clifton <nickc at redhat dot com> 2011-10-18 15:44:20 UTC --- Hi Mike, This was an interesting one. It turns out that using the word "stub" at the start of your variable was significant. With -fdata-sections enabled the variable was placed into a section called .data.rel.local.stub_foo which confused the linker into thinking that it was a special section for containing other stubs. I have uploaded a patch which should fix the problem by choosing a name for the stub section suffix which is not valid as the start of the name of a C variable. (Ie "__stub"). Please can you try it out and let me know if it works for you. Cheers Nick -- 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.
[Prev in Thread] | Current Thread | [Next in Thread] |