Fix problem where -relax could reorder multiple consecutive sets of the
authorJoern Rennecke <joern.rennecke@embecosm.com>
Thu, 10 Feb 2000 20:17:33 +0000 (20:17 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Thu, 10 Feb 2000 20:17:33 +0000 (20:17 +0000)
commit84dcfba7a2922c53645c9ea80aeded80e6085e1c
tree9b16fc189ceb10ee4157e2cee308015d6dd8be30
parent09f99d3f446170c2a816243f855d8fdd5cbc5aef
Fix problem where -relax could reorder multiple consecutive sets of the
same register:
* coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG,
USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros.
* (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes.
* (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg,
sh_insns_uses_or_sets_freg): New functions.
* (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros.
* (sh_insns_conflict): Use new functions and new macros to
detect conflicts when two instructions both set same integer registers,
both set same fp register, and both set special register.
bfd/ChangeLog
bfd/coff-sh.c
This page took 0.040689 seconds and 4 git commands to generate.