bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/19823] New: gold doesn't consider copy reloc of protected symb


From: rafael.espindola at gmail dot com
Subject: [Bug gold/19823] New: gold doesn't consider copy reloc of protected symbols
Date: Tue, 15 Mar 2016 00:28:11 +0000

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

            Bug ID: 19823
           Summary: gold doesn't consider copy reloc of protected symbols
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: rafael.espindola at gmail dot com
                CC: ian at airs dot com
  Target Milestone: ---

Given

local:
        .global internal
        .internal internal
internal:
        .global hidden
        .hidden hidden
hidden:
        .global protected
        .protected protected
protected
        .global default
default:
        .quad local
        .quad internal
        .quad hidden
        .quad protected
        .quad default

and linking with

ld test.o -o test.so -shared

gold and bfd agree on every relocation, except for protected where bfd produces

000000000268  000100000001 R_X86_64_64       0000000000000250 protected + 0

and gold produces

0000000002a0  000000000008 R_X86_64_RELATIVE                    288

The issue is that protected symbols cat still show up in copy relocations and
in undefined plt entries.

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