lkml.org 
[lkml]   [2008]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
Mike Travis wrote:
> The syntax error is at this "DATA(0)" statement. I don't find this as a
> linker script command or a macro. What is it we're trying to do with this?
>

In Eric's sample, it's intended to prevent there being an empty section,
which can cause linker bugs. In your case it probably isn't necessary,
since you're also putting the percpu data in that section.

"DATA" is probably a typo. It should be "LONG" or something like that.
(See "3.6.5 Output Section Data" in the linker manual.)

J


\
 
 \ /
  Last update: 2008-06-23 21:45    [W:0.085 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site