[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/16011] [invalid-code] gnu as adds the unexpected offset to oper
From: |
jojelino at gmail dot com |
Subject: |
[Bug gas/16011] [invalid-code] gnu as adds the unexpected offset to operand annotated with .weak directive |
Date: |
Wed, 09 Oct 2013 21:36:22 +0000 |
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.