|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
RE: [Xen-ia64-devel] [PATCH] fixed asm-offset.h asm-xsi-offset.hgenerati
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>
|
- RE: [Xen-ia64-devel] [PATCH] fixed asm-offset.h asm-xsi-offset.hgeneration,
Magenheimer, Dan (HP Labs Fort Collins) <=
|
|
|
|
|