------- Additional Comments From hjl dot tools at gmail dot com 2010-09-23 04:02 ------- (In reply to comment #4) > 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. >
Does this work if there are no GOT/PLT sections at all? -- 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