[PATCH, BFD, LD, AArch64, 0/4] Add support for AArch64 BTI and PAC in the linker

Nick Clifton nickc@redhat.com
Thu Mar 7 15:35:00 GMT 2019


Hi Peter,

> I've got LLD work on my backlog at the moment. It will likely need to
> be coordinated with support for Intel CET

That makes sense.

>>> The document does not appear to specify what the loader should do if
>>> there is more than one GNU_PROPERTY_AARCh64_FEATURE_1_AND note in an
>>> executable.  (Which would be there if the executable had been linked
>>> by a linker that does not know how to merge multiple GNU_PROPERTY notes).

> My initial thought is that if there is more than one
> .note.gnu.property section in the executable then the static linker
> didn't understand the section and hence we can't assume it did any of
> the required actions like producing different PLT sections. Hence I
> think acting as if there were no .note.gnu.property sections present
> at all would be a sensible choice.

Agreed.  I would just like to see this clearly specified in the documentation
so that other linker maintainers know where they stand.

Cheers
  Nick




More information about the Binutils mailing list