WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

RE: [Xen-ia64-devel] [PATCH] fixed asm-offset.h asm-xsi-offset.hgenerati

To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] fixed asm-offset.h asm-xsi-offset.hgeneration
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Thu, 15 Dec 2005 11:57:33 -0800
Delivery-date: Thu, 15 Dec 2005 19:59:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYAhHb1AuidzJiDQYOVcJFcbjYdhwBLPXtw
Thread-topic: [Xen-ia64-devel] [PATCH] fixed asm-offset.h asm-xsi-offset.hgeneration
The sed line that is used is exactly the same as in linux
(see sed-y in linux-2.6.14/Kbuild) so I don't think that
the Xen team will change the Makefile.  Does vanilla
binutils work to build Linux?

Thanks,
Dan

> -----Original Message-----
> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf 
> Of Isaku Yamahata
> Sent: Wednesday, December 14, 2005 1:00 AM
> To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-ia64-devel] [PATCH] fixed asm-offset.h 
> asm-xsi-offset.hgeneration
> 
> Hi
> 
> Vanilla binutils refuse to assemble -imm0 - -imm1 as a syntax error,
> so that linux-2.6-sparse/arch/ia64/xen/xenivt.S can't be compiled.
> This patch adds parens to fix it.
> Although it seems that some distributions modify their binutils
> to accept such syntax(at least redhat, debian),
> I think xen should be able to be compiled with vanilla binutils.
> 
> 
> Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
> 
> --
> diff -r 1a6e70e434ad -r 7e68cdd9a405 xen/Makefile
> --- a/xen/Makefile    Thu Dec  1 18:19:35 2005 +0900
> +++ b/xen/Makefile    Thu Dec  1 18:19:47 2005 +0900
> @@ -116,7 +116,7 @@
>         echo "#ifndef __ASM_OFFSETS_H__"; \
>         echo "#define __ASM_OFFSETS_H__"; \
>         echo ""; \
> -       sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) 
> \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \
> +       sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) 
> \(.*\):#define \1 (\2) /* \3 */:; s:->::; p;}"; \
>         echo ""; \
>         echo "#endif") <$< >$@
>  
> diff -r 1a6e70e434ad -r 7e68cdd9a405 xen/arch/ia64/Makefile
> --- a/xen/arch/ia64/Makefile  Thu Dec  1 18:19:35 2005 +0900
> +++ b/xen/arch/ia64/Makefile  Thu Dec  1 18:19:47 2005 +0900
> @@ -58,7 +58,7 @@
>         echo "#ifndef __ASM_XSI_OFFSETS_H__"; \
>         echo "#define __ASM_XSI_OFFSETS_H__"; \
>         echo ""; \
> -       sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) 
> \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \
> +       sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) 
> \(.*\):#define \1 (\2) /* \3 */:; s:->::; p;}"; \
>         echo ""; \
>         echo "#endif") <$< >$@
>  
> 
> 
> -- 
> yamahata
> 
> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel
> 

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>