diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-04-16 05:52:28 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-17 07:46:14 +1000 |
commit | 366234f657879aeb7a1e2ca582f2f24f3fae9269 (patch) | |
tree | 17dc5ce69cecc5ea61b78d8f71fb7d189e6a8e83 /lib/div64.c | |
parent | d04ceb3fc294ea2c4f538a04343f3a473953a3b0 (diff) | |
download | op-kernel-dev-366234f657879aeb7a1e2ca582f2f24f3fae9269.zip op-kernel-dev-366234f657879aeb7a1e2ca582f2f24f3fae9269.tar.gz |
[POWERPC] Update linker script to properly set physical addresses
We can set LOAD_OFFSET and use the AT attribute on sections and the
linker will properly set the physical address of the LOAD program
header for us.
This allows us to know how the PHYSICAL_START the user configured a
kernel with by just looking at the resulting vmlinux ELF.
This is pretty much stolen from how x86 does things in their linker
scripts.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions