File: gas-uninitialized.patch

package info (click to toggle)
binutils-msp430 2.22~msp20120406-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 19,000 kB
  • ctags: 6
  • sloc: makefile: 70
file content (17 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
X-Git-Url: https://sourceware.org/git/?p=binutils.git;a=blobdiff_plain;f=gas%2Fwrite.c;h=56ebb6c565bea35df43565b53206156270a41b66;hp=a4671475af608ea281caccf8832799caef5c13f7;hb=fec4394d16b8af9ce9b40d5a2974bdc6b70c9d6b;hpb=da72436797450a5858e10815e1c5dc230ad7f1ea

diff --git a/gas/write.c b/gas/write.c
index a467147..56ebb6c 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -406,8 +406,8 @@ chain_frchains_together_1 (segT section, struct frchain *frchp)
 	  prev_fix = frchp->fix_tail;
 	}
     }
-  gas_assert (prev_frag->fr_type != 0);
-  gas_assert (prev_frag != &dummy);
+  gas_assert (prev_frag != &dummy
+	      && prev_frag->fr_type != 0);
   prev_frag->fr_next = 0;
   return prev_frag;
 }