Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards before `.text'

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cyrill Gorcunov
Date: Sunday, May 11, 2008 - 11:24 am

[H. Peter Anvin - Sun, May 11, 2008 at 11:15:04AM -0700]

Hi Peter,

actually I only doubt about exactly position of this headers - I mean
meguess it better should be _before_ "_end" not after. Since the others
script uses (acpi/wakeup_rm.S):

	wakeup_code_start:
	.incbin	"arch/x86/kernel/acpi/realmode/wakeup.bin"
	wakeup_code_end:

and kernel uses these wakeup_code_* marks to save/restore memory I think
it should be like

	. = HEADER_OFFSET;
	.header : {
		...
	}
	. = ALIGN(16);
	_end = .;
	/DISCARD/ ...

		- Cyrill -
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.26-rc1 on x86: ld: warning: dot moved backwards before ..., Mikael Pettersson, (Sat May 10, 1:18 pm)
Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards be ..., Rafael J. Wysocki, (Sat May 10, 1:23 pm)
Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards be ..., Rafael J. Wysocki, (Sat May 10, 1:56 pm)
Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards be ..., Cyrill Gorcunov, (Sun May 11, 11:24 am)
Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards be ..., Rafael J. Wysocki, (Sun May 11, 2:22 pm)