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

m68k: Add a missing ELF_DETAILS in link script

Commit c604abc3f6e3 ("vmlinux.lds.h: Split ELF_DETAILS from STABS_DEBUG")
after should add a missing ELF_DETAILS, at the same time, the .comment
section has been included in the ELF_DETAILS.

Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Link: https://lore.kernel.org/r/1605852494-23515-1-git-send-email-tangyouling@loongson.cn
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

authored by

Youling Tang and committed by
Geert Uytterhoeven
428ec5f9 549aeec2

+3 -2
+1 -1
arch/m68k/kernel/vmlinux-nommu.lds
··· 86 86 _end = .; 87 87 88 88 STABS_DEBUG 89 - .comment 0 : { *(.comment) } 89 + ELF_DETAILS 90 90 91 91 /* Sections to be discarded */ 92 92 DISCARDS
+1 -1
arch/m68k/kernel/vmlinux-std.lds
··· 59 59 _end = . ; 60 60 61 61 STABS_DEBUG 62 - .comment 0 : { *(.comment) } 62 + ELF_DETAILS 63 63 64 64 /* Sections to be discarded */ 65 65 DISCARDS
+1
arch/m68k/kernel/vmlinux-sun3.lds
··· 52 52 _end = . ; 53 53 54 54 STABS_DEBUG 55 + ELF_DETAILS 55 56 56 57 /* Sections to be discarded */ 57 58 DISCARDS