This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, x86_64] Remove R_X86_64_PC32_BND and R_X86_64_PLT32_BND
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Zamyatin, Igor" <igor dot zamyatin at intel dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 18 Nov 2014 05:59:22 -0800
- Subject: Re: [PATCH, x86_64] Remove R_X86_64_PC32_BND and R_X86_64_PLT32_BND
- Authentication-results: sourceware.org; auth=none
- References: <0EFAB2BDD0F67E4FB6CCC8B9F87D756969C51960 at IRSMSX101 dot ger dot corp dot intel dot com> <CAMe9rOotcQX8zMO4_y0A7sOkTRhkA1uv6rZXiAnFtqy-6JGYnA at mail dot gmail dot com> <0EFAB2BDD0F67E4FB6CCC8B9F87D756969C51C10 at IRSMSX101 dot ger dot corp dot intel dot com> <CAMe9rOrg5THR_GXNX8BfgXqm+dA4QEL3-DprF__Aqy3dU1x7kg at mail dot gmail dot com> <0EFAB2BDD0F67E4FB6CCC8B9F87D756969C6E899 at IRSMSX101 dot ger dot corp dot intel dot com> <CAMe9rOob3gQikA0QdpAMrVazYoDCSh6s7S6nKQxKW-EopuXdbw at mail dot gmail dot com>
On Tue, Nov 18, 2014 at 5:44 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Nov 18, 2014 at 12:09 AM, Zamyatin, Igor
> <igor.zamyatin@intel.com> wrote:
>>>
>>> Please add a proper commit message, like
>>>
>>> https://sourceware.org/ml/binutils-cvs/2014-11/msg00040.html
>>>
>>> Also please update gas not to generate _BND relocations.
>>
>> Updated, please take a look.
>>
>
> I checked it into master for your with update commit log and some change:
>
> Applying: Remove generation of *_BND relocations from gas. Add
> creation of linker option (-z bndplt) which forces linker to create
> extended PLT entry for any call.
> /export/gnu/import/git/sources/binutils-gdb/.git/rebase-apply/patch:706:
> trailing whitespace.
> [ ]*[a-f0-9]+: c3 retq
> /export/gnu/import/git/sources/binutils-gdb/.git/rebase-apply/patch:730:
> new blank line at EOF.
> +
> /export/gnu/import/git/sources/binutils-gdb/.git/rebase-apply/patch:748:
> new blank line at EOF.
> +
> /export/gnu/import/git/sources/binutils-gdb/.git/rebase-apply/patch:791:
> new blank line at EOF.
> +
> /export/gnu/import/git/sources/binutils-gdb/.git/rebase-apply/patch:803:
> new blank line at EOF.
> +
> warning: 5 lines add whitespace errors.
>
> Please compare what I checked in against yours.
>
I checked in another fix for x32 build:
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=de84aee38c50fd306876cdbf92007afaacbfab4d
--
H.J.