Binutils: [Patch, microblaze, gas, opcodes] Add support for slr and shr registers

David Holsgrove david.holsgrove@xilinx.com
Thu Nov 8 12:48:00 GMT 2012


Add stack high register and stack low register for MicroBlaze
hardware assisted stack protection, stores stack low / stack high limits
for detecting stack overflow / underflow

Added to gas/testsuite/microblaze/gas/allinsns to check awareness of
registers



binutils/opcodes/Changelog

 2012-11-08  Edgar E. Iglesias <edgar.iglesias@gmail.com>

          * microblaze-opcm.h: Add REG_SLR_MASK, REG_SHR_MASK,
            REG_SHR and REG_SLR
          * microblaze-dis.c (get_field_special): Handle REG_SLR_MASK
            and REG_SHR_MASK

binutils/gas/Changelog

 2012-11-08  Edgar E. Iglesias <edgar.iglesias@gmail.com>

          * config/tc-microblaze.c (parse_reg): Parse REG_SLR, REG_SHR

binutils/gas/testsuite/Changelog

 2012-11-08  David Holsgrove  <david.holsgrove@xilinx.com>

          * gas/microblaze/allinsn.s: Test use of SHR, SLR
          * gas/microblaze/allinsn.d: Likewise

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-opcodes-config-tc-microblaze.c-Add-support-for-slr-a.patch
Type: text/x-patch
Size: 5195 bytes
Desc: 0005-opcodes-config-tc-microblaze.c-Add-support-for-slr-a.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20121108/bc6bb263/attachment.bin>


More information about the Binutils mailing list