[lkml]   [2009]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH 05/15] arm: convert to use __HEAD and HEAD_TEXT macros.
>> Does .head.text actually need its own output section here?
> Probably not. Does the ARM build system massage the end result some way
> looking for that .text.head section in the end? As you note, nobody else
> cares, and the proper patch may be more along the lines of something
> below.

ia64 doesn't seem to care ... I changed the one use of .text.head
to be just .text. There are a couple of new "section mismatches"
(start_ap -> start_secondary and start_ap -> start_kernel), but
it still boots.

> Of course, most other architectures put the "init" section at the end, and
> leave the HEAD_TEXT in the regular text section, but I suspect the ARM way
> of laying things out (init text first) is probably better, since it allows
> you to free that head code too.

The start_ap code is still needed for hotplug cpu on ia64. So .text.init
won't work for me.


 \ /
  Last update: 2009-04-27 19:33    [W:0.113 / U:28.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site