bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/28601] New: gold: Support DT_RELR relative relocation format


From: i at maskray dot me
Subject: [Bug gold/28601] New: gold: Support DT_RELR relative relocation format
Date: Wed, 17 Nov 2021 23:03:48 +0000

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

            Bug ID: 28601
           Summary: gold: Support DT_RELR relative relocation format
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: i at maskray dot me
                CC: ian at airs dot com
  Target Milestone: ---

gold version of https://sourceware.org/bugzilla/show_bug.cgi?id=27923 (GNU ld
support).

I have a patch which will be posted soon.

The patch implements ld.lld flavored --pack-dyn-relocs=relr.
It doesn't do any "time travel compatibility"
(https://maskray.me/blog/2021-10-31-relative-relocations-and-relr#time-travel-compatibility).
Such mechanism is unnecessary for many groups because they do not want to bump
EI_ABIVERSION or synthesize a glibc flavored versioned symbol.

If glibc (actually some distro, not even necessarily the majority) is really
fond of "time-travel-compatibility", perhaps we can add something like
--pack-dyn-relocs=relr-glibc, but I'd be very sad to see a dedicated option
variant is added (for the first time) for one particular libc implementation.

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