[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87liz73tso.fsf@rustcorp.com.au>
Date: Tue, 19 Apr 2011 11:07:43 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: wanlong.gao@...il.com, Alessio Igor Bogani <abogani@...nel.org>
Cc: Tim Abbott <tabbott@...lice.com>,
Anders Kaseorg <andersk@...lice.com>,
Jason Wessel <jason.wessel@...driver.com>,
Tim Bird <tim.bird@...sony.com>,
LKML <linux-kernel@...r.kernel.org>,
Linux Embedded <linux-embedded@...r.kernel.org>
Subject: Re: [PATCH 4/4] module: Use the binary search for symbols resolution
On Sat, 16 Apr 2011 22:32:08 +0800, Wanlong Gao <wanlong.gao@...il.com> wrote:
> > + sym = bsearch(fsa->name, syms->start, syms->stop - syms->start,
> As the bsearch func, why not change the syms->stop to syms->end ?
> Hmm..Just a stupid suggestion.
The names are derived from the linker symbols for end of sections, which
is __stop_<sectionname>.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists