bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/11812] Unused .got.plt section generated by linker


From: drow at sources dot redhat dot com
Subject: [Bug ld/11812] Unused .got.plt section generated by linker
Date: 23 Sep 2010 00:37:25 -0000

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



reply via email to

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