[PATCH] Fix build on HPPA
From: Helge Deller <deller@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
On Fri, May 09, 2014 at 11:48:43AM +0200, Pino Toscano wrote:
From: Helge Deller <deller@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
ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
participants (2)
-
Pino Toscano -
Richard W.M. Jones