mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
sim: bfin: fix up linux-fixed-code.h generation more [PR sim/13160]
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.
This commit is contained in:
@ -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>
|
2015-03-08 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
PR sim/13160
|
PR sim/13160
|
||||||
|
@ -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; \
|
$(OBJDUMP_FOR_TARGET) -d -z linux-fixed-code.o > $@.dis; \
|
||||||
sed -n \
|
sed -n \
|
||||||
-e 's:^[^ ]* :0x:' \
|
-e 's:^[^ ]* :0x:' \
|
||||||
-e '/^0x/{s: .*::;s: *$$:,:;s: :, 0x:g;p}' \
|
-e '/^0x/{s: .*::;s: *$$:,:;s: :, 0x:g;p;}' \
|
||||||
$@.dis; \
|
$@.dis; \
|
||||||
rm -f $@.dis; \
|
rm -f $@.dis; \
|
||||||
echo "};" \
|
echo "};" \
|
||||||
|
Reference in New Issue
Block a user