This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Inconsistent R_SPARC_RELATIVE addend handling
- From: David Miller <davem at davemloft dot net>
- To: jrtc27 at jrtc27 dot com
- Cc: libc-alpha at sourceware dot org, jose dot marchesi at oracle dot com, amodra at gmail dot com, glaubitz at physik dot fu-berlin dot de, eb at emlix dot com
- Date: Fri, 08 Dec 2017 10:27:01 -0500 (EST)
- Subject: Re: Inconsistent R_SPARC_RELATIVE addend handling
- Authentication-results: sourceware.org; auth=none
- References: <5F79BA05-1EEC-4590-B061-8E37579D11A3@jrtc27.com>
From: James Clarke <jrtc27@jrtc27.com>
Date: Fri, 8 Dec 2017 11:29:37 +0000
> Therefore I am posing two questions:
>
> 1. Can we change sparc32 to assign rather than add, or does it need to stay
> like this for compatibility?
>
> 2. Can we make sparc64 consistent with itself, and if so, should it be
> assigning or adding?
I think we should leave the addition in there for sparc32 to avoid
potentially breaking any existing binaries.
As per sparc64, if it has gotten away with doing an assignment for
RELA all of this time we should keep it that way and make sparc64
consistent with itself.