+############################################################################
+# Make all regexp matching multi-line aware. This replaces the line below
+# originally found in "sub mangle_asm":
+#
+# local($*) = 1;
+#
+# This used to work, but Perl 5.10 removes support for $*, so we uses an
+# equivalent construct that works in Perl 5.6 and later.
+#
+BEGIN { require overload; overload::constant( qr => sub { "(?m:$_[1])" } ) }
+############################################################################
+