]> git.wh0rd.org - ICEs.git/blobdiff - bfin-text-sect-attrs/reduce-ice
more
[ICEs.git] / bfin-text-sect-attrs / reduce-ice
diff --git a/bfin-text-sect-attrs/reduce-ice b/bfin-text-sect-attrs/reduce-ice
new file mode 100755 (executable)
index 0000000..3548bff
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Run like:
+#  multidelta -level=# ./reduce-ice $FILE
+#  levels: 0 0 1 1 2 2 10 10
+#
+
+FILE=ldso.i
+CC=bfin-uclinux-gcc
+CFLAGS=""
+STRING="Warning: ignoring changed section attributes for .text"
+
+$CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"