bug-binutils
[Top][All Lists]
Advanced

[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: Tue, 08 Oct 2013 02:50:10 +0000

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

--- Comment #1 from gee <jojelino at gmail dot com> ---
(gdb) p & i.op[0].imms.X_add_symbol->sy_value->X_add_number
$51 = (offsetT *) 0x2003cb48
(gdb) watch *0x2003cb48
Hardware watchpoint 31: *0x2003cb48

(gdb) c
Continuing.
Hardware watchpoint 31: *0x2003cb48

Old value = 0x0
New value = 0x10
S_SET_VALUE (s=<optimized out>, address@hidden, address@hidden)
    at symbols.c:1967
1967      S_CLEAR_WEAKREFR (s);
(gdb) bt
#0  S_SET_VALUE (s=<optimized out>, address@hidden, address@hidden)
    at symbols.c:1967
#1  0x0041db85 in resolve_symbol_value (address@hidden)
    at symbols.c:1457
#2  0x00421929 in write_object_file () at write.c:1975
#3  0x004c38ca in main (argc=0x2, argv=0x2003a650) at as.c:1299
#4  0x61007fb5 in cygwin_exit_return () from /usr/bin/cygwin1.dll
#5  0x00000002 in ?? ()
#6  0x2003a650 in ?? ()
#7  0x61005c5f in _cygtls::call2(unsigned long (*)(void*, void*), void*,
void*)@

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]