Properly mark the .note.netbsd.ident section as ELF NOTE section.
While there, enable the mark for sparc64.
This commit is contained in:
parent
05b1899256
commit
884e5dfbd6
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: newvers.sh,v 1.43 2006/12/02 04:48:34 christos Exp $
|
||||
# $NetBSD: newvers.sh,v 1.44 2006/12/05 16:15:53 martin Exp $
|
||||
#
|
||||
# Copyright (c) 1984, 1986, 1990, 1993
|
||||
# The Regents of the University of California. All rights reserved.
|
||||
@ -80,13 +80,13 @@ const char copyright[] =
|
||||
${copyright}
|
||||
"\n";
|
||||
|
||||
#ifdef __i386__
|
||||
#if defined(__i386__) || defined(__sparc64__)
|
||||
/*
|
||||
* NetBSD identity note.
|
||||
*/
|
||||
#define _S(TAG) __STRING(TAG)
|
||||
__asm(
|
||||
".section\t\".note.netbsd.ident\", \"a\"\n"
|
||||
".section\t\".note.netbsd.ident\", \"\",@note\n"
|
||||
"\t.p2align\t2\n"
|
||||
"\t.long\t" _S(ELF_NOTE_NETBSD_NAMESZ) "\n"
|
||||
"\t.long\t" _S(ELF_NOTE_NETBSD_DESCSZ) "\n"
|
||||
|
Loading…
Reference in New Issue
Block a user