This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold, strip] Question about the changed offset when stripping
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Alexander Ivchenko <aivchenk at gmail dot com>, binutils <binutils at sourceware dot org>, Ian Lance Taylor <iant at google dot com>
- Date: Mon, 9 Dec 2013 11:09:32 -0800
- Subject: Re: [gold, strip] Question about the changed offset when stripping
- Authentication-results: sourceware.org; auth=none
- References: <CACysShjNGcO=Y5ZU=QDLWetw31FRZUu7ZYbvo2DyJWZ+eOZZ2Q at mail dot gmail dot com> <20131129134722 dot GN9211 at bubble dot grove dot modra dot org> <CAHACq4qbwykqOcTjuQovsqoE0d2dC4FAAtfZOxr=0XrYsViJqw at mail dot gmail dot com> <20131203100957 dot GA3306 at bubble dot grove dot modra dot org> <CACysShi4sKtg_R6RAhGmgKs0qRuvbsU3fLpC-Hz27YMy-sGtrA at mail dot gmail dot com> <20131203112323 dot GC3306 at bubble dot grove dot modra dot org> <CACysShiAr=iLP2Ju2dWsubV5USXxDhQitmydvRfC2=b07Fp7hA at mail dot gmail dot com> <CACysShiCkBdFOx233aBu02esXboe0dBTgf92grxUoEWRbNgUDQ at mail dot gmail dot com> <CACysShjJS8sYZsPO3e8NL6ZTYXFmgiRTGNg=g_B4a8XDkaMXLw at mail dot gmail dot com> <CAMe9rOq7f6dh3zMSYR5xNFt=33SuiReL=WEHcGL3sGHK4Rxmtg at mail dot gmail dot com> <CAHACq4p5_1XFYsZ_owztgtApUE5rE+QF3VQn-bGKDvVVpBwWeA at mail dot gmail dot com> <CAMe9rOosabiVovfMab0JwjFeu+UJxEb3BmqOUu=cO_Wyuh=oAA at mail dot gmail dot com> <CAHACq4o52M9OrWnqz0USuQ_ViF8-YvPq2rLoAv1d47qCeG_PDQ at mail dot gmail dot com>
On Mon, Dec 9, 2013 at 10:58 AM, Cary Coutant <ccoutant@google.com> wrote:
>>> This sounds related to PR gdb/11786:
>>>
>>> https://sourceware.org/bugzilla/show_bug.cgi?id=11786
>>
>> Hasn't that been fixed in GDB?
>
> It has, for the specific cases where the PF_W bit for the PT_GNU_RELRO
> segment was changed by strip, and where the p_align value was changed.
> But this is yet another instance where strip changes something
> unexpected and innocuous, and GDB thinks the binaries don't match even
> when the two are effectively equivalent.
>
A bug report is needed to investigate it.
--
H.J.
- References:
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping
- Re: [gold, strip] Question about the changed offset when stripping