bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19662] New: elf_link_sort_relocs is insufficient


From: hjl.tools at gmail dot com
Subject: [Bug ld/19662] New: elf_link_sort_relocs is insufficient
Date: Thu, 18 Feb 2016 20:17:47 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19662

            Bug ID: 19662
           Summary: elf_link_sort_relocs is insufficient
           Product: binutils
           Version: 2.27 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

elf_link_sort_relocs is called by

 if (dynamic && info->combreloc && dynobj != NULL)
    relativecount = elf_link_sort_relocs (abfd, info, &reldyn);

There are cases where relocations aren't sorted:

1. When -z nocombreloc is used.
2. Some targets, like x86, have:

  [ 8] .rel.dyn          REL             080494b0 0014b0 000038 08   A  4   0 
4
  [ 9] .rel.plt          REL             080494e8 0014e8 0003d0 08  AI  4  21 
4

with z combreloc.  .rel.plt aren't get sorted.

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