login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Sam Ravnborg <sam@...>, Mikael Pettersson <mikpe@...>, Pavel Machek <pavel@...>, Rafael J. Wysocki <rjw@...>, <tglx@...>, <mingo@...>, <linux-kernel@...>
Date: Sunday, May 11, 2008 - 2:24 pm

[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, 4:18 pm)
Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards befo..., Rafael J. Wysocki, (Sat May 10, 4:56 pm)
Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards befo..., Cyrill Gorcunov, (Sun May 11, 2:24 pm)
Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards befo..., Rafael J. Wysocki, (Sun May 11, 5:22 pm)
Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards befo..., Rafael J. Wysocki, (Sat May 10, 4:23 pm)
speck-geostationary