Don't add DT_NEEDED for unmatched symbol
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index 4ece8197986d37aa8cea4c703dfcfa2f078aaadc..fa14e8dd343f95d0bc7a68cb835628b9678b296c 100644 (file)
@@ -13110,9 +13110,8 @@ static const struct opcode_descriptor bz_insns_16[] = {
 
 /* Switch between a 5-bit register index and its 3-bit shorthand.  */
 
-#define BZ16_REG(opcode) ((((((opcode) >> 7) & 7) + 0x1e) & 0x17) + 2)
-#define BZ16_REG_FIELD(r) \
-  (((2 <= (r) && (r) <= 7) ? (r) : ((r) - 16)) << 7)
+#define BZ16_REG(opcode) ((((((opcode) >> 7) & 7) + 0x1e) & 0xf) + 2)
+#define BZ16_REG_FIELD(r) (((r) & 7) << 7)
 
 
 /* 32-bit instructions with a delay slot.  */
This page took 0.027364 seconds and 4 git commands to generate.