浏览代码

m68k: Add NOTES to init data so its discarded at boot

Add .note.gnu.build-id to init data so it's discarded at boot.

[Andreas Schwab] Use NOTES macro

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Roman Zippel 16 年之前
父节点
当前提交
08a3db94f2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/m68k/kernel/vmlinux-std.lds

+ 1 - 0
arch/m68k/kernel/vmlinux-std.lds

@@ -74,6 +74,7 @@ SECTIONS
   .init.ramfs : { *(.init.ramfs) }
   __initramfs_end = .;
 #endif
+  NOTES
   . = ALIGN(8192);
   __init_end = .;