* [QUESTION] FRV: linking error?
@ 2008-02-18 20:03 Cyrill Gorcunov
2008-02-20 13:01 ` David Howells
0 siblings, 1 reply; 9+ messages in thread
From: Cyrill Gorcunov @ 2008-02-18 20:03 UTC (permalink / raw)
To: David Howells; +Cc: Sam Ravnborg, LKML
Hi David,
being see over vmlinux.lds for FRV architecture I found the string:
. = ALIGN(4096);
.data.page_aligned : { *(.data.idt) }
though the PAGE_SIZE is 16K. Can't figure out why is that...
Do you have a few spare minutes to explain, please?
- Cyrill -
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [QUESTION] FRV: linking error?
2008-02-18 20:03 [QUESTION] FRV: linking error? Cyrill Gorcunov
@ 2008-02-20 13:01 ` David Howells
2008-02-20 13:14 ` Sam Ravnborg
2008-02-20 17:52 ` Cyrill Gorcunov
0 siblings, 2 replies; 9+ messages in thread
From: David Howells @ 2008-02-20 13:01 UTC (permalink / raw)
To: Cyrill Gorcunov; +Cc: dhowells, Sam Ravnborg, LKML
Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> being see over vmlinux.lds for FRV architecture I found the string:
>
> . = ALIGN(4096);
> .data.page_aligned : { *(.data.idt) }
>
> though the PAGE_SIZE is 16K. Can't figure out why is that...
> Do you have a few spare minutes to explain, please?
Ummm... Good question. Probably a legacy thing. I think the .data.idt
section is also an x86-only thing and should be dispensed with for FRV.
Leastways, the section has nothing in it according to the link map.
David
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [QUESTION] FRV: linking error?
2008-02-20 13:01 ` David Howells
@ 2008-02-20 13:14 ` Sam Ravnborg
2008-02-20 17:51 ` Cyrill Gorcunov
2008-02-20 17:52 ` Cyrill Gorcunov
1 sibling, 1 reply; 9+ messages in thread
From: Sam Ravnborg @ 2008-02-20 13:14 UTC (permalink / raw)
To: David Howells; +Cc: Cyrill Gorcunov, LKML
On Wed, Feb 20, 2008 at 01:01:05PM +0000, David Howells wrote:
> Cyrill Gorcunov <gorcunov@gmail.com> wrote:
>
> > being see over vmlinux.lds for FRV architecture I found the string:
> >
> > . = ALIGN(4096);
> > .data.page_aligned : { *(.data.idt) }
> >
> > though the PAGE_SIZE is 16K. Can't figure out why is that...
> > Do you have a few spare minutes to explain, please?
>
> Ummm... Good question. Probably a legacy thing. I think the .data.idt
> section is also an x86-only thing and should be dispensed with for FRV.
> Leastways, the section has nothing in it according to the link map.
A quick grep agree with you.
I see it used only in x86 in traps_32 for the F0 0F bug.
It exist in several .lds files - including frv.
Sam
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [QUESTION] FRV: linking error?
2008-02-20 13:14 ` Sam Ravnborg
@ 2008-02-20 17:51 ` Cyrill Gorcunov
2008-02-20 18:13 ` David Howells
0 siblings, 1 reply; 9+ messages in thread
From: Cyrill Gorcunov @ 2008-02-20 17:51 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: David Howells, LKML
[Sam Ravnborg - Wed, Feb 20, 2008 at 02:14:42PM +0100]
| On Wed, Feb 20, 2008 at 01:01:05PM +0000, David Howells wrote:
| > Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| >
| > > being see over vmlinux.lds for FRV architecture I found the string:
| > >
| > > . = ALIGN(4096);
| > > .data.page_aligned : { *(.data.idt) }
| > >
| > > though the PAGE_SIZE is 16K. Can't figure out why is that...
| > > Do you have a few spare minutes to explain, please?
| >
| > Ummm... Good question. Probably a legacy thing. I think the .data.idt
| > section is also an x86-only thing and should be dispensed with for FRV.
| > Leastways, the section has nothing in it according to the link map.
|
| A quick grep agree with you.
| I see it used only in x86 in traps_32 for the F0 0F bug.
| It exist in several .lds files - including frv.
|
| Sam
|
Sam, maybe we should just eliminate this section at least for FRV?
- Cyrill -
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [QUESTION] FRV: linking error?
2008-02-20 13:01 ` David Howells
2008-02-20 13:14 ` Sam Ravnborg
@ 2008-02-20 17:52 ` Cyrill Gorcunov
1 sibling, 0 replies; 9+ messages in thread
From: Cyrill Gorcunov @ 2008-02-20 17:52 UTC (permalink / raw)
To: David Howells; +Cc: Sam Ravnborg, LKML
[David Howells - Wed, Feb 20, 2008 at 01:01:05PM +0000]
| Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > being see over vmlinux.lds for FRV architecture I found the string:
| >
| > . = ALIGN(4096);
| > .data.page_aligned : { *(.data.idt) }
| >
| > though the PAGE_SIZE is 16K. Can't figure out why is that...
| > Do you have a few spare minutes to explain, please?
|
| Ummm... Good question. Probably a legacy thing. I think the .data.idt
| section is also an x86-only thing and should be dispensed with for FRV.
| Leastways, the section has nothing in it according to the link map.
|
| David
|
Oops ;) Thanks, David
- Cyrill -
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [QUESTION] FRV: linking error?
2008-02-20 17:51 ` Cyrill Gorcunov
@ 2008-02-20 18:13 ` David Howells
2008-02-20 18:15 ` Cyrill Gorcunov
0 siblings, 1 reply; 9+ messages in thread
From: David Howells @ 2008-02-20 18:13 UTC (permalink / raw)
To: Cyrill Gorcunov; +Cc: dhowells, Sam Ravnborg, LKML
Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> Sam, maybe we should just eliminate this section at least for FRV?
You should have a patch in your inbox to do just that.
David
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [QUESTION] FRV: linking error?
2008-02-20 18:13 ` David Howells
@ 2008-02-20 18:15 ` Cyrill Gorcunov
2008-02-20 19:19 ` Sam Ravnborg
0 siblings, 1 reply; 9+ messages in thread
From: Cyrill Gorcunov @ 2008-02-20 18:15 UTC (permalink / raw)
To: David Howells; +Cc: Sam Ravnborg, LKML
[David Howells - Wed, Feb 20, 2008 at 06:13:15PM +0000]
| Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > Sam, maybe we should just eliminate this section at least for FRV?
|
| You should have a patch in your inbox to do just that.
|
| David
|
Thanks David! I've got them all.
I think Sam will take care of them to be included in mainline.
Thanks.
- Cyrill -
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [QUESTION] FRV: linking error?
2008-02-20 18:15 ` Cyrill Gorcunov
@ 2008-02-20 19:19 ` Sam Ravnborg
2008-02-20 19:21 ` Cyrill Gorcunov
0 siblings, 1 reply; 9+ messages in thread
From: Sam Ravnborg @ 2008-02-20 19:19 UTC (permalink / raw)
To: Cyrill Gorcunov; +Cc: David Howells, LKML
On Wed, Feb 20, 2008 at 09:15:00PM +0300, Cyrill Gorcunov wrote:
> [David Howells - Wed, Feb 20, 2008 at 06:13:15PM +0000]
> | Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> |
> | > Sam, maybe we should just eliminate this section at least for FRV?
> |
> | You should have a patch in your inbox to do just that.
> |
> | David
> |
>
> Thanks David! I've got them all.
> I think Sam will take care of them to be included in mainline.
arch stuff like this is preferably going via the arch maintainer.
Sometimes I do all-arch patches but when they are independent
like this one they should go via the arch maintainer.
Cyrill - I would like you to do the same cleanup for
m32r + mn10300 + s390
and send the patch to the respective maintainers with a cc to me.
Thanks,
Sam
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [QUESTION] FRV: linking error?
2008-02-20 19:19 ` Sam Ravnborg
@ 2008-02-20 19:21 ` Cyrill Gorcunov
0 siblings, 0 replies; 9+ messages in thread
From: Cyrill Gorcunov @ 2008-02-20 19:21 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: David Howells, LKML
[Sam Ravnborg - Wed, Feb 20, 2008 at 08:19:38PM +0100]
| On Wed, Feb 20, 2008 at 09:15:00PM +0300, Cyrill Gorcunov wrote:
| > [David Howells - Wed, Feb 20, 2008 at 06:13:15PM +0000]
| > | Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > |
| > | > Sam, maybe we should just eliminate this section at least for FRV?
| > |
| > | You should have a patch in your inbox to do just that.
| > |
| > | David
| > |
| >
| > Thanks David! I've got them all.
| > I think Sam will take care of them to be included in mainline.
|
| arch stuff like this is preferably going via the arch maintainer.
| Sometimes I do all-arch patches but when they are independent
| like this one they should go via the arch maintainer.
|
| Cyrill - I would like you to do the same cleanup for
| m32r + mn10300 + s390
| and send the patch to the respective maintainers with a cc to me.
|
| Thanks,
| Sam
|
ok, I will do it
- Cyrill -
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-02-20 19:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-18 20:03 [QUESTION] FRV: linking error? Cyrill Gorcunov
2008-02-20 13:01 ` David Howells
2008-02-20 13:14 ` Sam Ravnborg
2008-02-20 17:51 ` Cyrill Gorcunov
2008-02-20 18:13 ` David Howells
2008-02-20 18:15 ` Cyrill Gorcunov
2008-02-20 19:19 ` Sam Ravnborg
2008-02-20 19:21 ` Cyrill Gorcunov
2008-02-20 17:52 ` Cyrill Gorcunov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox