keep the note section

This commit is contained in:
christos 2006-12-02 04:49:37 +00:00
parent 5d02b2963e
commit 6420383ae6
3 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern.ldscript,v 1.5 2006/05/26 09:22:42 pavel Exp $ */
/* $NetBSD: kern.ldscript,v 1.6 2006/12/02 04:49:37 christos Exp $ */
OUTPUT_FORMAT("elf32-i386", "elf32-i386",
"elf32-i386")
@ -41,4 +41,8 @@ SECTIONS
. = ALIGN(32 / 8);
_end = . ;
PROVIDE (end = .) ;
.note.netbsd.ident :
{
KEEP(*(.note.netbsd.ident));
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern.ldscript.4MB,v 1.7 2006/05/26 09:22:42 pavel Exp $ */
/* $NetBSD: kern.ldscript.4MB,v 1.8 2006/12/02 04:49:37 christos Exp $ */
OUTPUT_FORMAT("elf32-i386", "elf32-i386",
"elf32-i386")
@ -42,4 +42,8 @@ SECTIONS
. = ALIGN(32 / 8);
_end = . ;
PROVIDE (end = .) ;
.note.netbsd.ident :
{
KEEP(*(.note.netbsd.ident));
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern.ldscript.Xen,v 1.1 2006/05/28 14:00:13 pavel Exp $ */
/* $NetBSD: kern.ldscript.Xen,v 1.2 2006/12/02 04:49:38 christos Exp $ */
OUTPUT_FORMAT("elf32-i386", "elf32-i386",
"elf32-i386")
@ -37,4 +37,8 @@ SECTIONS
. = ALIGN(32 / 8);
_end = . ;
PROVIDE (end = .) ;
.note.netbsd.ident :
{
KEEP(*(.note.netbsd.ident));
}
}