All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] 2.6.22-rc4-mm1 -- ERROR:
Date: Wed, 06 Jun 2007 19:50:41 +0000	[thread overview]
Message-ID: <46671011.6090008@goop.org> (raw)
In-Reply-To: <a44ae5cd0706061058u3566e0a4yf178b9e473d17395@mail.gmail.com>

Andrew Morton wrote:
> On Wed, 6 Jun 2007 10:58:34 -0700 "Miles Lane" <miles.lane@gmail.com> wrote:
>
>   
>>   RELOCS  arch/i386/boot/compressed/vmlinux.relocs
>> WARNING: Absolute relocations present
>> Offset     Info     Type     Sym.Value Sym.Name
>> c0102029 00535201   R_386_32 00000000  xen_irq_disable_direct_reloc
>> c0102043 00722e01   R_386_32 00000000  xen_save_fl_direct_reloc
>>     

I don't know why these two are coming out absolute.  I think they should
be relative.  I'll see what I can do.

>> c040f81c 0064f101   R_386_32 c045a4a4  __per_cpu_end
>> c040f821 00588001   R_386_32 c0453000  __per_cpu_start
>> c040f82d 00588001   R_386_32 c0453000  __per_cpu_start
>>     

These are due to the definition of PERCPU in
include/asm-generic/vmlinux.lds.h.  It should read:

#define PERCPU(align)							\
	. = ALIGN(align);						\
	.data.percpu  : AT(ADDR(.data.percpu) - LOAD_OFFSET) {		\
		__per_cpu_start = .;					\
		*(.data.percpu)						\
		*(.data.percpu.shared_aligned)				\
		__per_cpu_end = .;					\
	}


ie, __per_cpu_start/end should be inside the section, rather than
floating about between sections.

> The others _might_ have
> been triggered by use-the-new-percpu-interface-for-shared-data.patch and
> define-new-percpu-interface-for-shared-data.patch,
define-new-percpu-interface-for-shared-data.patch is the source of the
bad definition of PERCPU.

    J

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2007-06-06 19:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 17:58 [lm-sensors] 2.6.22-rc4-mm1 -- ERROR: Miles Lane
2007-06-06 18:22 ` Andrew Morton
2007-06-06 18:27 ` Miles Lane
2007-06-06 18:39 ` Dmitry Torokhov
2007-06-06 18:58 ` Sam Ravnborg
2007-06-06 19:07 ` Dmitry Torokhov
2007-06-06 19:50 ` Jeremy Fitzhardinge [this message]
2007-06-07  6:47 ` Sam Ravnborg
2007-06-07 14:54 ` Dmitry Torokhov
2007-06-08 16:07 ` Roman Zippel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46671011.6090008@goop.org \
    --to=jeremy@goop.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.