aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-i370.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2012-04-27 18:03:13 +0000
committerDavid S. Miller <davem@redhat.com>2012-04-27 18:03:13 +0000
commit698544e152e041de8aaaaeea99f6f3c00ee99604 (patch)
tree264045c30492ca6144e246820391c0b5cf651a1d /bfd/elf32-i370.c
parent6cda13266f4d767456ccd5ee9f4c8539b463fc0e (diff)
downloadgdb-698544e152e041de8aaaaeea99f6f3c00ee99604.zip
gdb-698544e152e041de8aaaaeea99f6f3c00ee99604.tar.gz
gdb-698544e152e041de8aaaaeea99f6f3c00ee99604.tar.bz2
Add support for sparc compare-and-branch instructions.
opcodes/ * sparc-opc.c (CBCOND): New define. (CBCOND_XCC): Likewise. (cbcond): New helper macro. (sparc_opcodes): Add compare-and-branch instructions. gas/ * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to sparc4, v8pluse, v8plusv, v9e, and v9v. (sparc_ip): Handle R_SPARC_5 of immediate constants inline in order to accomodate cbcond which otherwise would require two relocations to be handled in a single instruction.. gas/testsuite/ * gas/sparc/cbcond.s: New file. * gas/sparc/cbcond.d: New file. * gas/sparc/sparc.exp: Run cbcond test.
Diffstat (limited to 'bfd/elf32-i370.c')
0 files changed, 0 insertions, 0 deletions