From: Sam Ravnborg <sam@ravnborg.org>
To: roel kluin <roel.kluin@gmail.com>
Cc: linux-kbuild <linux-kbuild@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [GIT PULL] one kbuild fix for powerpc
Date: Thu, 12 Jun 2008 16:43:17 +0200 [thread overview]
Message-ID: <20080612144317.GA14397@uranus.ravnborg.org> (raw)
In-Reply-To: <25e057c00806120703g27566bd7ie522a7d5d4664d92@mail.gmail.com>
On Thu, Jun 12, 2008 at 04:03:54PM +0200, roel kluin wrote:
> 2008/6/12 Sam Ravnborg <sam@ravnborg.org>:
>
> > diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
> > index 508c589..b763aba 100644
> > --- a/scripts/mod/modpost.c
> > +++ b/scripts/mod/modpost.c
> > @@ -467,6 +467,26 @@ static void parse_elf_finish(struct elf_info *info)
> > release_file(info->hdr, info->size);
> > }
> >
> > +static int ignore_undef_symbol(struct elf_info *info, const char *symname)
> > +{
> > + /* ignore __this_module, it will be resolved shortly */
> > + if (strcmp(symname, MODULE_SYMBOL_PREFIX "__this_module") == 0)
> > + return 1;
> > + /* ignore global offset table */
> > + if (strcmp(symname, "_GLOBAL_OFFSET_TABLE_") == 0)
> > + return 1;
> > + if (info->hdr->e_machine == EM_PPC)
> > + /* Special register function linked on all modules during final link of .ko */
> > + if (strncmp(symname, "_restgpr_", sizeof("_restgpr_") - 1) == 0 ||
> > + strncmp(symname, "_savegpr_", sizeof("_savegpr_") - 1) == 0 ||
> > + strncmp(symname, "_rest32gpr_", sizeof("_rest32gpr_") - 1) == 0 ||
> > + strncmp(symname, "_save32gpr_", sizeof("_save32gpr_") - 1) == 0) {
> > + return 1;
> > + }
>
> Either the indentation is wrong, or you want to move the opening curly
> bracket upwards.
Deleted brackets - they are not needed.
And updated kbuild-fixes.git
Sam
prev parent reply other threads:[~2008-06-12 14:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-12 13:16 [GIT PULL] one kbuild fix for powerpc Sam Ravnborg
2008-06-12 14:03 ` roel kluin
2008-06-12 14:43 ` Sam Ravnborg [this message]
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=20080612144317.GA14397@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=roel.kluin@gmail.com \
--cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).