V2 [PATCH] x86: Support GNU_PROPERTY_X86_ISA_1_V[234] marker:

H.J. Lu hjl.tools@gmail.com
Tue Oct 13 11:23:54 GMT 2020


On Tue, Oct 13, 2020 at 3:48 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu via Binutils:
>
> > Here is the updated patch with -z x86-64-v[234] linker command line
> > option to mark x86-64-v[234] ISA level as needed.
>
> I think this needs a marker for the baseline as well.  Currently, a
> missing marker can either mean “the programmer did not specify a marker”
> or “the object uses the baseline ABI”.
>

“the object uses the baseline ABI” and “the programmer did not specify a marker”
mean the same thing to ld.so since a baseline or x86-64-v[234] objects
may contain
ANY instructions.  With or Without the baseline maker, ld.so assumes
that the object
can run on any x86-64 processors.

-- 
H.J.


More information about the Binutils mailing list