This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] use only one-byte nops for linker code fill on x86 NaCl targets


On Mon, Aug 26, 2013 at 2:58 PM, Roland McGrath <mcgrathr@google.com> wrote:
> For x86 NaCl, no instruction may straddle a 32-byte alignment boundary.
> Since the bfd_arch_info_type.fill hook doesn't know the address where
> the fill will go (and hence its alignment), the only safe thing it can
> do is use only the one-byte nop instruction in the fill.
>
> I found it distressing that creating a whole new CPU variant appears
> to be the only way to make the function for code fill target-specific,
> but the notion of the variants and their names does not appear to have
> any other actual effect.
>
> OK for trunk?
>

It is OK.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]