"Joseph S. Myers" <jos...@codesourcery.com> writes: > On Fri, 28 Aug 2009, Ian Lance Taylor wrote: > >> Link a small program with -rdynamic, one which defines a globally >> visible function which is not called. Run objdump -T and see if you can >> see that symbol in the output. >> >> If you follow this path you must do the in_tree_ld/ld_ver dance so that >> cross-compilers continue to work. > > This is testing properties of the *host* linker (build-x-host in the > Canadian cross case), so in-tree tools (which will be built as > host-x-target) are irrelevant, and you can always assume that the host > tools are already installed (of course you need to make sure you use the > correct objdump, not that for build or target).
Ah, you're quite right, sorry. Ian