Skip to contentSkip to conversation

vmlinux.lds cleanup

DISCUSSION Cyrill Gorcunov 2 participants 3 messages Feb 25, 2008 – Feb 26, 2008

lore
Share & tools
lore
#0 lore raw

Hi Sam,

you know I've just take a look on different architectures and I suddenly realized that I even can't test my changes I'm bringnin in. For example - xtensa arch, most of lds numeric constants could (and should) be changed to PAGE_SIZE and THREAD_SIZE but this requires to include additional heades in lds script and I'm not even sure if it link without errors... (actually, i'm absolutely sure there would be errors ;)

I'm not sure, but maybe it would be more convenient to ask mainteiners fix their scripts? At least their have access to an appropriate hardware to test.

- Cyrill -

#1 lore raw
Quoted 9 lines · Cyrill Gorcunov

Hi Sam,

you know I've just take a look on different architectures and I suddenly realized that I even can't test my changes I'm bringnin in. For example - xtensa arch, most of lds numeric constants could (and should) be changed to PAGE_SIZE and THREAD_SIZE but this requires to include additional heades in lds script and I'm not even sure if it link without errors... (actually, i'm absolutely sure there would be errors ;)

Quoted 3 lines

I'm not sure, but maybe it would be more convenient to ask mainteiners fix their scripts? At least their have access to an appropriate hardware to test.

I have in most cases the relevant toolchains and then I manually inspect the generated .lds file.
In other cases I just do my best to make it correct and tell in my submisison that htis is not build tested. (This type of
info belongs below the three dasches '---').

Sam

#2 lore raw

[Sam Ravnborg - Mon, Feb 25, 2008 at 09:33:07PM +0100]

| On Mon, Feb 25, 2008 at 12:58:00PM +0300, Cyrill Gorcunov wrote:
| > Hi Sam,
| > 
| > you know I've just take a look on different architectures and I suddenly
| > realized that I even can't test my changes I'm bringnin in. For example -
| > xtensa arch, most of lds numeric constants could (and should) be changed
| > to PAGE_SIZE and THREAD_SIZE but this requires to include additional
| > heades in lds script and I'm not even sure if it link without errors...
| > (actually, i'm absolutely sure there would be errors ;)
| > 
| > I'm not sure, but maybe it would be more convenient to ask mainteiners
| > fix their scripts? At least their have access to an appropriate hardware
| > to test.
| 
| I have in most cases the relevant toolchains and then I manually inspect
| the generated .lds file.
| In other cases I just do my best to make it correct and tell in my
| submisison that htis is not build tested. (This type of
| info belongs below the three dasches '---').
| 
| 	Sam
| 

got it, thanks ;)

- Cyrill -