m68k: Add a missing ELF_DETAILS in link script
authorYouling Tang <tangyouling@loongson.cn>
Fri, 20 Nov 2020 06:08:14 +0000 (14:08 +0800)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 23 Nov 2020 10:31:00 +0000 (11:31 +0100)
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>
arch/m68k/kernel/vmlinux-nommu.lds
arch/m68k/kernel/vmlinux-std.lds
arch/m68k/kernel/vmlinux-sun3.lds

index 247e19f0d0ea62a7539771c7e41b74fb5f2aa098..396e126a4258a03a862682413463ae568de86c86 100644 (file)
@@ -86,7 +86,7 @@ SECTIONS {
        _end = .;
 
        STABS_DEBUG
-       .comment 0 : { *(.comment) }
+       ELF_DETAILS
 
        /* Sections to be discarded */
        DISCARDS
index 15113468d326f4cdf9af245d449450fdd0067b96..ed1d9eda319083f4ceca0aed8c53bc18fe8fe6ef 100644 (file)
@@ -59,7 +59,7 @@ SECTIONS
   _end = . ;
 
   STABS_DEBUG
-  .comment 0 : { *(.comment) }
+  ELF_DETAILS
 
   /* Sections to be discarded */
   DISCARDS
index 90ff8e54995a25d2125e9f4b414946d963edf594..4a52f44f2ef07fc64927c5888ccff0c6f5287567 100644 (file)
@@ -52,6 +52,7 @@ __init_begin = .;
   _end = . ;
 
   STABS_DEBUG
+  ELF_DETAILS
 
   /* Sections to be discarded */
   DISCARDS