https://sourceware.org/bugzilla/show_bug.cgi?id=16011

--- Comment #3 from gee <jojelino at gmail dot com> ---
(In reply to H.J. Lu from comment #2)
> When .weak is used, a symbol becomes global.  Do you get
> the same behavior with .globl?

when .weak directive replaced with .globl, i can't see such behavior.

/bin/as weak2.S -o weak.o -v ;objdump -d weak.o|grep mov
GNU assembler version 2.24.51 (i686-pc-cygwin) using BFD version (GNU Binutils)
2.24.51.20131008
  20:   ba 10 00 00 00          mov    $0x10,%edx

-- 
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

Reply via email to