------- Additional Comments From nickc at redhat dot com 2009-07-14 16:49 ------- Hi Pierre,
This behaviour appears to be for compatibility with the Irix 5 assembler. By default any symbol declared with the .global (or .globl) pseudo-op is assumed to mark the start of region of data, not code. Hence in your test case objdump believes that it is showing raw data, not instructions, and so it does not disassemble them. The workaround is to add a (code) section name after the symbol name in the .global pseudo-op. Ie change the first line of your test case to: .global write .text This is an (undocumented) extension to the normal behaviour of the .global pseudo-op. So I guess I had better start writing some prose... Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=10379 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils