From 7d15d0a9c6699b3f05db9f93fcfbaae7722f0578 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Fri, 23 May 2008 07:33:45 +0000 Subject: [PATCH] Change the alignment of the NOTE to match what gcc does. --- lib/libelf/libelf_align.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libelf/libelf_align.c b/lib/libelf/libelf_align.c index 525c258aa131..94a82ab53f4c 100644 --- a/lib/libelf/libelf_align.c +++ b/lib/libelf/libelf_align.c @@ -122,7 +122,7 @@ static struct align falign[ELF_T_NUM] = { #endif [ELF_T_MOVEP] = UNSUPPORTED(), #if __FreeBSD_version >= 700025 - [ELF_T_NOTE] = FALIGN(4,4), + [ELF_T_NOTE] = FALIGN(1,1), #endif [ELF_T_OFF] = FALIGN(4,8), [ELF_T_PHDR] = FALIGN(4,8),