hash table
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue Dec 9 19:02:41 EST 2003
On Tue, 2003-12-09 at 18:56, Benjamin Herrenschmidt wrote:
> Here's a first shot at my rework of __hash_page, if you want
> to have a quick look... It did a few tests but didn't really
> stress the box that badly, so there may be bugs in there.
>
> .../...
And we also want that patch (which can be included in ameslab
asap I suppose). It fixes the .got to be right before the .toc
so that @got accesses done from assembly work properly. According
to Alan Modra, the old stuff with .got in data segment was bogus.
Ben.
===== arch/ppc64/kernel/vmlinux.lds.S 1.18 vs edited =====
--- 1.18/arch/ppc64/kernel/vmlinux.lds.S Fri Sep 12 21:01:40 2003
+++ edited/arch/ppc64/kernel/vmlinux.lds.S Mon Dec 8 19:04:13 2003
@@ -53,7 +53,6 @@
*(.data1)
*(.sdata)
*(.sdata2)
- *(.got.plt) *(.got)
*(.dynamic)
CONSTRUCTORS
}
@@ -126,6 +125,7 @@
/* freed after init ends here */
__toc_start = .;
+ .got : { *(.got.plt) *(.got) }
.toc : { *(.toc) }
. = ALIGN(4096);
__toc_end = .;
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list