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: Mikael Pettersson <mikpe@...>, Pavel Machek <pavel@...>, Rafael J. Wysocki <rjw@...>
Cc: <tglx@...>, <mingo@...>, <linux-kernel@...>, <sam@...>
Date: Saturday, May 10, 2008 - 4:25 pm

Mikael Pettersson wrote:

This is because the organization of the file was changed, and the linker 
script wasn't changed to match:

SECTIONS
{
         . = HEADER_OFFSET;
         .header : {
                  *(.header)
         }

         . = 0;
         .text : {
                  *(.text*)
         }

This is crap; the sections should be listed *in order* so the linker can 
warn properly when something bad happens.

The code should be correct; reorganizing the linker script correctly 
should fix the problem.

	-hpa
--
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..., H. Peter Anvin, (Sat May 10, 4:25 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..., 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