[Libguestfs] [PATCH] Fix build on HPPA

Pino Toscano ptoscano at redhat.com
Fri May 9 09:48:43 UTC 2014


From: Helge Deller <deller at gmx.de>

The HPPA assembler syntax is slightly different than the GNU as to keep
compatibility to the HP-UX assembler.

Reported in https://bugs.debian.org/742797.
---
 src/bin2s.pl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin2s.pl b/src/bin2s.pl
index 1b1c253..0f892f8 100755
--- a/src/bin2s.pl
+++ b/src/bin2s.pl
@@ -43,7 +43,11 @@ print $ofh <<"EOF";
 
 _binary_${infile}_end:
 
+#if defined(__hppa__)
+\t_binary_${infile}_size: .equ $sz
+#else
 \t.equ _binary_${infile}_size, $sz
+#endif
 EOF
 
 close $ofh;
-- 
1.9.0




More information about the Libguestfs mailing list