Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'powerpc-6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fixes from Michael Ellerman:

- Three fixes for various bogosity in our linker script, revealed
by the recent commit which changed discard behaviour with some
toolchains.

* tag 'powerpc-6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
powerpc/vmlinux.lds: Don't discard .comment
powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT

+5 -1
+5 -1
arch/powerpc/kernel/vmlinux.lds.S
··· 8 8 #define BSS_FIRST_SECTIONS *(.bss.prominit) 9 9 #define EMITS_PT_NOTE 10 10 #define RO_EXCEPTION_TABLE_ALIGN 0 11 + #define RUNTIME_DISCARD_EXIT 11 12 12 13 #define SOFT_MASK_TABLE(align) \ 13 14 . = ALIGN(align); \ ··· 411 410 DISCARDS 412 411 /DISCARD/ : { 413 412 *(*.EMB.apuinfo) 414 - *(.glink .iplt .plt .rela* .comment) 413 + *(.glink .iplt .plt) 415 414 *(.gnu.version*) 416 415 *(.gnu.attributes) 417 416 *(.eh_frame) 417 + #ifndef CONFIG_RELOCATABLE 418 + *(.rela*) 419 + #endif 418 420 } 419 421 }