[PATCH, binutils/ARM] Remove legacy basepri_mask MRS/MSR special reg

Thomas Preudhomme thomas.preudhomme@foss.arm.com
Tue Sep 20 17:58:00 GMT 2016


Hi,

When support for Cortex-M was originally added, a mistake was made in the 
assembler and BASEPRI_MASK was used as an MRS/MSR special register instead of 
the correct BASEPRI_MAX. This was back in 2010/11 timeframe. The code was fixed 
fairly quickly but the incorrect name was left in place. I think it is now time 
for the incorrect name to be dropped.

ChangeLog entry is as follows:

*** gas/ChangeLog ***

2016-09-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>

         * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
         register and redundant basepri_max.


Is this ok for trunk?

Best regards,

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_legacy_baseprimask_special_reg.patch
Type: text/x-patch
Size: 659 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160920/86169833/attachment.bin>


More information about the Binutils mailing list