------- Additional Comments From drow at sources dot redhat dot com  2010-09-23 
00:37 -------
Here's a minimal version that demonstrates the wrong value.

        .text
        .globl _start
_start:
        leaq _DYNAMIC(%rip), %rsi
        movq _GLOBAL_OFFSET_TABLE_(%rip), %rcx
        subq %rcx, %rsi
        .globl breakpoint
breakpoint:
        movq $60, %rax
        movq %rsi, %rdi
        andq $63, %rdi
        syscall
        .size _start,.-_start

The exit code should be zero (load address 64-byte aligned).  But actually I get
9.  You might get zero, but check %rsi at *breakpoint.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drow at sources dot redhat
                   |                            |dot com


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

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

Reply via email to