Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-27 Thread Chen Gang
On 08/27/2013 02:22 PM, Chen Gang wrote: > On 08/27/2013 01:12 PM, Rusty Russell wrote: >> Chen Gang writes: >>> If this implementation is correct, the implementation still can be >>> improved (at least, it is not quite well to hard code the architecture >>> related code in "kernel/" and "usr/"

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-27 Thread Chen Gang
On 08/27/2013 01:12 PM, Rusty Russell wrote: > Chen Gang writes: >> If this implementation is correct, the implementation still can be >> improved (at least, it is not quite well to hard code the architecture >> related code in "kernel/" and "usr/" sub-directory). >> >> But it seems, I have no

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-27 Thread Chen Gang
On 08/27/2013 01:12 PM, Rusty Russell wrote: Chen Gang gang.c...@asianux.com writes: If this implementation is correct, the implementation still can be improved (at least, it is not quite well to hard code the architecture related code in kernel/ and usr/ sub-directory). But it seems, I have

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-27 Thread Chen Gang
On 08/27/2013 02:22 PM, Chen Gang wrote: On 08/27/2013 01:12 PM, Rusty Russell wrote: Chen Gang gang.c...@asianux.com writes: If this implementation is correct, the implementation still can be improved (at least, it is not quite well to hard code the architecture related code in kernel/ and

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Rusty Russell
Chen Gang writes: > If this implementation is correct, the implementation still can be > improved (at least, it is not quite well to hard code the architecture > related code in "kernel/" and "usr/" sub-directory). > > But it seems, I have no right to add or move files, so welcome any > members

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
After check binutils-2.22 source code, can pass "-no-warn-mismatch" to 'ld' to avoid this error. I will send patch v2 for it. :-) On 08/27/2013 10:14 AM, Chen Gang wrote: > On 08/26/2013 06:46 PM, Chen Gang wrote: >> >> If this implementation is correct, the implementation still can be >>

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
On 08/26/2013 06:46 PM, Chen Gang wrote: > > If this implementation is correct, the implementation still can be > improved (at least, it is not quite well to hard code the architecture > related code in "kernel/" and "usr/" sub-directory). > > But it seems, I have no right to add or move files,

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
If this implementation is correct, the implementation still can be improved (at least, it is not quite well to hard code the architecture related code in "kernel/" and "usr/" sub-directory). But it seems, I have no right to add or move files, so welcome any members help do it. And welcome any

[PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
Need add related prefix for h8300, or can not pass compiling by the latest linker. The related error (allmodconfig for h8300): /usr/local/bin/h8300-gchen-elf-ld: h8300 architecture of input file `usr/initramfs_data.o' is incompatible with h8300h output /usr/local/bin/h8300-gchen-elf-ld:

[PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
Need add related prefix for h8300, or can not pass compiling by the latest linker. The related error (allmodconfig for h8300): /usr/local/bin/h8300-gchen-elf-ld: h8300 architecture of input file `usr/initramfs_data.o' is incompatible with h8300h output /usr/local/bin/h8300-gchen-elf-ld:

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
If this implementation is correct, the implementation still can be improved (at least, it is not quite well to hard code the architecture related code in kernel/ and usr/ sub-directory). But it seems, I have no right to add or move files, so welcome any members help do it. And welcome any

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
On 08/26/2013 06:46 PM, Chen Gang wrote: If this implementation is correct, the implementation still can be improved (at least, it is not quite well to hard code the architecture related code in kernel/ and usr/ sub-directory). But it seems, I have no right to add or move files, so welcome

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
After check binutils-2.22 source code, can pass -no-warn-mismatch to 'ld' to avoid this error. I will send patch v2 for it. :-) On 08/27/2013 10:14 AM, Chen Gang wrote: On 08/26/2013 06:46 PM, Chen Gang wrote: If this implementation is correct, the implementation still can be improved (at

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Rusty Russell
Chen Gang gang.c...@asianux.com writes: If this implementation is correct, the implementation still can be improved (at least, it is not quite well to hard code the architecture related code in kernel/ and usr/ sub-directory). But it seems, I have no right to add or move files, so welcome any