Re: [PATCH 1/4] build system: section garbage collection for vmlinux

2007-09-12 Thread Daniel Walker
On Wed, 2007-09-12 at 21:18 +0100, Denys Vlasenko wrote:
> On Tuesday 11 September 2007 22:47, Daniel Walker wrote:
> > On Tue, 2007-09-11 at 21:07 +0100, Denys Vlasenko wrote:
> > > This patch is needed for --gc-sections to work, regardless
> > > of which final form that support will have.
> > > 
> > > This patch renames .text.xxx and .data.xxx sections
> > > into .xxx.text and .xxx.data, respectively.
> > 
> > I think you'll have better luck with this if you focus on a single
> > architecture (i386 would be best) .. 
> 
> I did exactly that. I focused on x86_64.
> 
> Of course, section name fixes cannot be done per-arch, as they
> are scattered across entire tree.

This is want I'm talking about .. Why can't you do this per
architecture?

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/4] build system: section garbage collection for vmlinux

2007-09-12 Thread Denys Vlasenko
On Tuesday 11 September 2007 22:47, Daniel Walker wrote:
> On Tue, 2007-09-11 at 21:07 +0100, Denys Vlasenko wrote:
> > This patch is needed for --gc-sections to work, regardless
> > of which final form that support will have.
> > 
> > This patch renames .text.xxx and .data.xxx sections
> > into .xxx.text and .xxx.data, respectively.
> 
> I think you'll have better luck with this if you focus on a single
> architecture (i386 would be best) .. 

I did exactly that. I focused on x86_64.

Of course, section name fixes cannot be done per-arch, as they
are scattered across entire tree.

Apart from that, it was x86_64 only.

By now, I also have patches for i386 in hand too.
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/4] build system: section garbage collection for vmlinux

2007-09-12 Thread Denys Vlasenko
On Tuesday 11 September 2007 22:47, Daniel Walker wrote:
 On Tue, 2007-09-11 at 21:07 +0100, Denys Vlasenko wrote:
  This patch is needed for --gc-sections to work, regardless
  of which final form that support will have.
  
  This patch renames .text.xxx and .data.xxx sections
  into .xxx.text and .xxx.data, respectively.
 
 I think you'll have better luck with this if you focus on a single
 architecture (i386 would be best) .. 

I did exactly that. I focused on x86_64.

Of course, section name fixes cannot be done per-arch, as they
are scattered across entire tree.

Apart from that, it was x86_64 only.

By now, I also have patches for i386 in hand too.
--
vda
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/4] build system: section garbage collection for vmlinux

2007-09-12 Thread Daniel Walker
On Wed, 2007-09-12 at 21:18 +0100, Denys Vlasenko wrote:
 On Tuesday 11 September 2007 22:47, Daniel Walker wrote:
  On Tue, 2007-09-11 at 21:07 +0100, Denys Vlasenko wrote:
   This patch is needed for --gc-sections to work, regardless
   of which final form that support will have.
   
   This patch renames .text.xxx and .data.xxx sections
   into .xxx.text and .xxx.data, respectively.
  
  I think you'll have better luck with this if you focus on a single
  architecture (i386 would be best) .. 
 
 I did exactly that. I focused on x86_64.
 
 Of course, section name fixes cannot be done per-arch, as they
 are scattered across entire tree.

This is want I'm talking about .. Why can't you do this per
architecture?

Daniel

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/4] build system: section garbage collection for vmlinux

2007-09-11 Thread Daniel Walker
On Tue, 2007-09-11 at 21:07 +0100, Denys Vlasenko wrote:
> This patch is needed for --gc-sections to work, regardless
> of which final form that support will have.
> 
> This patch renames .text.xxx and .data.xxx sections
> into .xxx.text and .xxx.data, respectively.

I think you'll have better luck with this if you focus on a single
architecture (i386 would be best) .. 

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/4] build system: section garbage collection for vmlinux

2007-09-11 Thread Daniel Walker
On Tue, 2007-09-11 at 21:07 +0100, Denys Vlasenko wrote:
 This patch is needed for --gc-sections to work, regardless
 of which final form that support will have.
 
 This patch renames .text.xxx and .data.xxx sections
 into .xxx.text and .xxx.data, respectively.

I think you'll have better luck with this if you focus on a single
architecture (i386 would be best) .. 

Daniel

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/