Philip Blundell said:
> > 1: ldrbt r6,[r6],#0
>
> Technically the results are UNPREDICTABLE if the two registers are the same.
> I guess get_user needs to tell gcc that the input and output regs mustn't
> overlap. If you send me a fragment of code that exhibits the problem I'll
> cook up a fix.
This is not illegal, nor unpredictable. The documentation says that a
post indexed ldr instruction must not have rd the same as rn, except in
one case where it is permitted. The above is an example of the exact
case when it is allowed.
Hence, it's a bug in binutils to be warning this instruction.
--
Russell King ([EMAIL PROTECTED])
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]