Motorola PowerPC asm warning

Joel Sherrill joel at rtems.org
Sat Apr 8 15:26:59 UTC 2023


On Fri, Apr 7, 2023, 6:55 PM Joel Sherrill <joel at rtems.org> wrote:

>
>
> On Fri, Apr 7, 2023, 5:54 PM Chris Johns <chrisj at rtems.org> wrote:
>
>> Hi
>>
>> Building the motorola_powerpc BSPs I noticed this warning:
>>
>> ../../../bsps/powerpc/shared/exceptions/ppc_exc.S: Assembler messages:
>> ../../../bsps/powerpc/shared/exceptions/ppc_exc.S:132: Warning: invalid
>> register
>> expression
>> ../../../bsps/powerpc/shared/exceptions/ppc_exc.S:135: Warning: invalid
>> register
>> expression
>>
>>
>> https://git.rtems.org/rtems/tree/bsps/powerpc/shared/exceptions/ppc_exc.S#n132
>>
>> Can someone with an understanding of the PowerPC processors please
>> comment if
>> this is an issue or how we can remove the warning?
>>
>
> It's from something in the macro. Any chance of a cut down of the
> preprocessed output and command it fails with?
>

With that, we can compare the PPC model being compiled against with the
instructions and registers.

If it is Book E for an old PPC model, I don't think they will work since
Book E is way newer.



>> Thanks
>> Chris
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230408/22a6f2cf/attachment.htm>


More information about the devel mailing list