Module Name:    src
Committed By:   rin
Date:           Mon Aug 28 02:07:58 UTC 2023

Modified Files:
        src/external/gpl3/binutils/dist/gas/config: tc-mips.c

Log Message:
binutils/gas: mips: Dedup merge botch

This code segment got duplicated during binutils 2.26 merge.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 \
    src/external/gpl3/binutils/dist/gas/config/tc-mips.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/dist/gas/config/tc-mips.c
diff -u src/external/gpl3/binutils/dist/gas/config/tc-mips.c:1.23 src/external/gpl3/binutils/dist/gas/config/tc-mips.c:1.24
--- src/external/gpl3/binutils/dist/gas/config/tc-mips.c:1.23	Sat Dec 24 20:17:06 2022
+++ src/external/gpl3/binutils/dist/gas/config/tc-mips.c	Mon Aug 28 02:07:58 2023
@@ -5871,13 +5871,6 @@ match_save_restore_list_operand (struct 
     }
   frame_size /= 8;
 
-  /* If the branch is itself the target of a branch, we can not swap.
-     We cheat on this; all we check for is whether there is a label on
-     this instruction.  If there are any branches to anything other than
-     a label, users must use .set noreorder.  */
-  if (seg_info (now_seg)->label_list)
-    return FALSE;
-
   /* Finally build the instruction.  */
   if (mips_opts.mips16)
     opcode |= mips16_encode_save_restore (arg_mask, num_sregs, ra, s0, s1,

Reply via email to