mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: mikpe@csd.uu.se
To: CaT <cat@zip.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.69-bk[89]: software suspend compile error
Date: Thu, 15 May 2003 17:03:21 +0200	[thread overview]
Message-ID: <16067.44089.914992.464224@gargle.gargle.HOWL> (raw)
In-Reply-To: <20030515144933.GB632@zip.com.au>

CaT writes:
 > tried to see if I could fix this myself but couldn't figure out what was
 > happening. the ld line that creates the built-in.o has suspend_asm.o in
 > it which, in turn, seems to contain the right labels so I'm a bit lost.
 > Anyhow, here's part of the output and the relevant (I hope) bit of the
 > .config.
 > 
 > ...
 > arch/i386/kernel/built-in.o: In function `do_suspend_lowlevel':
 > arch/i386/kernel/built-in.o(.data+0x160a): undefined reference to `saved_context_esp'
 > arch/i386/kernel/built-in.o(.data+0x160f): undefined reference to `saved_context_eax'
 > arch/i386/kernel/built-in.o(.data+0x1615): undefined reference to `saved_context_ebx'
etc

Known problem (my fault). Apply the patch below. I'm submitting it to Linus
shortly so hopefully it will be included in -bk11 or 2.5.70.

--- linux-2.5.69-bk9/arch/i386/kernel/suspend_asm.S.~1~	2003-05-15 11:07:04.000000000 +0200
+++ linux-2.5.69-bk9/arch/i386/kernel/suspend_asm.S	2003-05-15 11:09:29.000000000 +0200
@@ -7,6 +7,12 @@
 #include <asm/page.h>
 
 	.data
+	.align	4
+	.globl	saved_context_eax, saved_context_ebx
+	.globl	saved_context_ecx, saved_context_edx
+	.globl	saved_context_esp, saved_context_ebp
+	.globl	saved_context_esi, saved_context_edi
+	.globl	saved_context_eflags
 saved_context_eax:
 	.long	0
 saved_context_ebx:

  reply	other threads:[~2003-05-15 14:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15 14:49 CaT
2003-05-15 15:03 ` mikpe [this message]
2003-05-15 15:05 ` CaT

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=16067.44089.914992.464224@gargle.gargle.HOWL \
    --to=mikpe@csd.uu.se \
    --cc=cat@zip.com.au \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®