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 247e19f..396e126 100644 (file)
@@ -86,7 +86,7 @@ SECTIONS {
        _end = .;
 
        STABS_DEBUG
-       .comment 0 : { *(.comment) }
+       ELF_DETAILS
 
        /* Sections to be discarded */
        DISCARDS
index 1511346..ed1d9ed 100644 (file)
@@ -59,7 +59,7 @@ SECTIONS
   _end = . ;
 
   STABS_DEBUG
-  .comment 0 : { *(.comment) }
+  ELF_DETAILS
 
   /* Sections to be discarded */
   DISCARDS
index 90ff8e5..4a52f44 100644 (file)
@@ -52,6 +52,7 @@ __init_begin = .;
   _end = . ;
 
   STABS_DEBUG
+  ELF_DETAILS
 
   /* Sections to be discarded */
   DISCARDS