New .nops directive, to aid Linux alternatives patching?

H.J. Lu hjl.tools@gmail.com
Thu Feb 8 20:10:00 GMT 2018


On Thu, Feb 8, 2018 at 11:26 AM, Andrew Cooper
<andrew.cooper3@citrix.com> wrote:
> Hello,
>
> I realise this is a little bit niche, but how feasible would it be to
> introduce a new .nops directive which takes a size parameter, and
> outputs long nops covering the number of specified bytes?
>

Sounds to me you want a pseudo NOP instruction:

pseudo-NOP N

which generates a long NOP with N byte.  Is that correct.  If yes,
what is the range of N?

-- 
H.J.



More information about the Binutils mailing list