Actually, descsz should not contain the padding. The note still needs to

be padded out.
This commit is contained in:
skrll 2016-02-09 10:20:03 +00:00
parent 9c4cd06355
commit 19b4c45621
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysident.h,v 1.18 2016/02/08 11:59:39 skrll Exp $ */
/* $NetBSD: sysident.h,v 1.19 2016/02/09 10:20:03 skrll Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou
@ -98,8 +98,8 @@ __asm(
"\t.long\t" __S(ELF_NOTE_TYPE_MARCH_TAG) "\n"
"\t.ascii\t" __S(ELF_NOTE_MARCH_NAME) "\n"
"1:\t.asciz\t" __S(ELF_NOTE_MARCH_DESC) "\n"
"\t.p2align\t2\n\n"
"2:\n"
"\t.p2align\t2\n\n"
"\t.popsection\n"
);