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: Warning: unpredictable: identical transfer and status registers --`stxr w4,x5,[x4] using aarch64 poky gcc 8.3


Hi Peng,

> Not sure this is bug or not, is my patch the correct fix? 
> please help.

I think that you have reported this problem to the wrong mailing list...

> I did a fix to the code as below:
> --- a/hypervisor/arch/arm64/include/asm/bitops.h
> +++ b/hypervisor/arch/arm64/include/asm/bitops.h

This is not part of the binutils sources. :-)

For what it is worth, I think that your analysis is correct,
and that the warning message from the assembler is valid.  So
patching the hypervisor code would be in order.  I cannot say
whether the patch itself is correct however.

Cheers
  Nick


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