bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/15685] New: R_X86_64_DTPOFF64 incorrectly handled


From: dblaikie at gmail dot com
Subject: [Bug ld/15685] New: R_X86_64_DTPOFF64 incorrectly handled
Date: Wed, 26 Jun 2013 22:03:06 +0000

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

            Bug ID: 15685
           Summary: R_X86_64_DTPOFF64 incorrectly handled
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: dblaikie at gmail dot com

Given the following simpl.s:

        .file   "simpl.c"
        .globl  thrd
        .section        .tdata,"awT",@progbits
        .align 4
        .type   thrd, @object
        .size   thrd, 4
thrd:
        .long   2
        .text
        .globl  func
        .type   func, @function
func:
        .byte 0x42
        .quad address@hidden
        .byte 0x42
        .long address@hidden
        .byte 0x42

Assembled with gas and then linked with gold produces:
00000e0 0004 0000 0000 0000 fc42 ffff ffff ffff
00000f0 42ff fffc ffff 0042 0002 0000 0004 0000

ie: fffffffffffffffc
            fffffffc

Whereas with binutils-ld:
00000e0 0004 0000 0000 0000 f842 6000 0000 0000
00000f0 4200 fffc ffff 0042 0002 0000 2e00 7973

ie: 00000000006000f8
            fffffffc

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