mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-29 12:19:39 +00:00
![Geoff Levand](/assets/img/avatar_default.png)
Change the PS3 linker script to align the DTB at 8 bytes, the same alignment as that of the of the 'generic' powerpc linker script. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/245897ed65e402686a4b114ba618e935cb5c6506.1622822173.git.geoff@infradead.org
51 lines
779 B
ArmAsm
51 lines
779 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
OUTPUT_ARCH(powerpc:common)
|
|
ENTRY(_zimage_start)
|
|
EXTERN(_zimage_start)
|
|
SECTIONS
|
|
{
|
|
_vmlinux_start = .;
|
|
.kernel:vmlinux.bin : { *(.kernel:vmlinux.bin) }
|
|
_vmlinux_end = .;
|
|
|
|
. = ALIGN(8);
|
|
_dtb_start = .;
|
|
.kernel:dtb : { *(.kernel:dtb) }
|
|
_dtb_end = .;
|
|
|
|
. = ALIGN(4096);
|
|
_initrd_start = .;
|
|
.kernel:initrd : { *(.kernel:initrd) }
|
|
_initrd_end = .;
|
|
|
|
_start = .;
|
|
.text :
|
|
{
|
|
*(.text)
|
|
*(.fixup)
|
|
}
|
|
_etext = .;
|
|
. = ALIGN(4096);
|
|
.data :
|
|
{
|
|
*(.rodata*)
|
|
*(.data*)
|
|
*(.sdata*)
|
|
__got2_start = .;
|
|
*(.got2)
|
|
__got2_end = .;
|
|
}
|
|
|
|
. = ALIGN(4096);
|
|
_edata = .;
|
|
|
|
. = ALIGN(4096);
|
|
__bss_start = .;
|
|
.bss :
|
|
{
|
|
*(.sbss)
|
|
*(.bss)
|
|
}
|
|
. = ALIGN(4096);
|
|
_end = . ;
|
|
}
|