http://sourceware.org/bugzilla/show_bug.cgi?id=15217
Bug #: 15217 Summary: branch-to-arm-from-thumb for typeless symbol is missing a stub Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sourceware.org ReportedBy: h...@sourceware.org Classification: Unclassified Target: arm-unknown-linux-gnueabi Created attachment 6908 --> http://sourceware.org/bugzilla/attachment.cgi?id=6908 test-case See the run_dump_test test-case patch in the attachment. Note that the type-specifiers for the symbol types are commented out; the code is derived from mixed-lib.s but with function names swapped, calling arm from thumb and thumb from arm. The call from app_tfunc (in thumb mode) to lib_func2 (in arm mode) doesn't get a stub with "todays" sources. The expected test-case output is observed by adding back the type specifiers causing a proper thumb-to-arm stub being generated with the test passing. The real-world code is somewhat sloppy hand-written assembly-code; no symbol decorations, just .global where necessary, but which worked with a toolchain using pre-2.19 binutils. -- 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