[llvm-bugs] [Bug 30414] New: LLD, ld.bfd, gold interpret fill expressions differently

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 16 08:05:30 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30414

            Bug ID: 30414
           Summary: LLD, ld.bfd, gold interpret fill expressions
                    differently
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Using ld.bfd (2.17.50, 2.25.1) in ELF/linkerscript/sections-padding.s on the
first block (Check that padding value works) produces this output:

Contents of section .mysec:
 0000 66112211 22112211 22112211 22112211  f.".".".".".".".
 0010 6690                                 f.

ld.gold (2.25.1) produces:

Contents of section .mysec:
 0020 66000011 22000011 22000011 22000011  f..."..."..."...
 0030 6690                                 f.

while lld produces:

Contents of section .mysec:
 0120 66001122 00001122 00001122 00001122  f.."..."..."..."
 0130 6690                                 f.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160916/b17e0ac4/attachment.html>


More information about the llvm-bugs mailing list