]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: bfin: fix up linux-fixed-code.h generation more [PR sim/13160]
authorMike Frysinger <vapier@gentoo.org>
Tue, 10 Mar 2015 05:41:48 +0000 (01:41 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 10 Mar 2015 05:43:31 +0000 (01:43 -0400)
Add a trailing semi-colon to the sed print command as the BSD sed
implementation wants it.  It's a nop otherwise and works fine on
GNU/etc... implementations too.

sim/bfin/ChangeLog
sim/bfin/Makefile.in

index ff967d9a9d816d9310d05a095b217e0273240bf0..649cb6e068bbe0173f917e3d5409a3a11c8df14a 100644 (file)
@@ -1,3 +1,9 @@
+2015-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/13160
+       * Makefile.in ($(srcdir)/linux-fixed-code.h): Put a ; after the
+       print sed command for BSD compatibility.
+
 2015-03-08  Mike Frysinger  <vapier@gentoo.org>
 
        PR sim/13160
index a7f852d223b129e30b156413d247d42b3779177c..941ffea373920a19af45b27deb16c2e45e390bde 100644 (file)
@@ -58,7 +58,7 @@ $(srcdir)/linux-fixed-code.h: @MAINTAINER_MODE_TRUE@ $(srcdir)/linux-fixed-code.
                $(OBJDUMP_FOR_TARGET) -d -z linux-fixed-code.o > $@.dis; \
                sed -n \
                        -e 's:^[^       ]*      :0x:' \
-                       -e '/^0x/{s:    .*::;s: *$$:,:;s: :, 0x:g;p}' \
+                       -e '/^0x/{s:    .*::;s: *$$:,:;s: :, 0x:g;p;}' \
                        $@.dis; \
                rm -f $@.dis; \
                echo "};" \