mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier.adi@gmail.com>
To: arjan@linux.intel.com
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: vmlinux.lds.h initcall update breaks ABI prefixed arches
Date: Wed, 10 Sep 2008 02:49:47 -0400	[thread overview]
Message-ID: <8bd0f97a0809092349y6ea47051m36f93fef19e2bad7@mail.gmail.com> (raw)

commits ac9103dd8e4dc65c110d6cba9a3380c6c617ffa7 and
660625fb93f2fc0e633da9cb71d13d895b385f64 break any arch that has an
ABI prefix (like Blackfin).  when declaring symbols in vmlinux.lds.h,
you must wrap them in VMLINUX_SYMBOL(), else you break a couple of
arches.

in this case, the async/device initcall start/end results in:
init/built-in.o: In function `do_async_initcalls':
init/main.c:(.init.text+0x158): undefined reference to `__async_initcall_end'
init/main.c:(.init.text+0x15c): undefined reference to `__async_initcall_start'
init/main.c:(.init.text+0x160): undefined reference to `__async_initcall_end'
init/main.c:(.init.text+0x164): undefined reference to `__async_initcall_start'
init/built-in.o: In function `do_initcalls':
init/main.c:(.init.text+0x2cc): undefined reference to `__async_initcall_start'
init/main.c:(.init.text+0x2d0): undefined reference to `__async_initcall_start'
init/main.c:(.init.text+0x2f4): undefined reference to `__device_initcall_end'
init/main.c:(.init.text+0x2f8): undefined reference to `__device_initcall_end'
init/main.c:(.init.text+0x30a): undefined reference to `__async_initcall_end'
init/main.c:(.init.text+0x30e): undefined reference to `__async_initcall_end'
make: *** [.tmp_vmlinux1] Error 1
-mike

                 reply	other threads:[~2008-09-10  6:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=8bd0f97a0809092349y6ea47051m36f93fef19e2bad7@mail.gmail.com \
    --to=vapier.adi@gmail.com \
    --cc=arjan@linux.intel.com \
    --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®