summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorStephen Rothwell2006-05-19 09:04:48 +0200
committerPaul Mackerras2006-05-24 08:08:57 +0200
commitc4e3ea2553308ba65fea582dc9a42221ef8b49e5 (patch)
treeae8126834cda2638a3f151a6ce24a98a90dbbab6 /arch/powerpc/kernel/vmlinux.lds.S
parent[PATCH] powerpc: split device tree stuff out of iseries/setup.c (diff)
downloadkernel-qcow2-linux-c4e3ea2553308ba65fea582dc9a42221ef8b49e5.tar.gz
kernel-qcow2-linux-c4e3ea2553308ba65fea582dc9a42221ef8b49e5.tar.xz
kernel-qcow2-linux-c4e3ea2553308ba65fea582dc9a42221ef8b49e5.zip
[PATCH] powerpc: make iSeries flattened device tree dynamic
First we capture all the strings from dt.c statically by noting that gcc puts them in a special section of their own. Idea from Michael Ellerman. Then we move the flattened device tree to klimit. Still to come, making the values blob grow as needed. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r--arch/powerpc/kernel/vmlinux.lds.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index fe79c2584cb0..8b25953dc4f0 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -93,6 +93,11 @@ SECTIONS
__ptov_table_begin = .;
*(.ptov_fixup);
__ptov_table_end = .;
+#ifdef CONFIG_PPC_ISERIES
+ __dt_strings_start = .;
+ *(.dt_strings);
+ __dt_strings_end = .;
+#endif
}
. = ALIGN(16);