diff options
author | jb <jb@FreeBSD.org> | 2008-05-23 07:33:45 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2008-05-23 07:33:45 +0000 |
commit | 5b8646dc2492198f61e3dd90f733e0a81e32f2d9 (patch) | |
tree | adf086b82174ecf2cb0f8df8e67d138107a09249 /lib/libelf/libelf_align.c | |
parent | 1fbc3c9d6018343bd5078fe1823c473eac92adfc (diff) | |
download | FreeBSD-src-5b8646dc2492198f61e3dd90f733e0a81e32f2d9.zip FreeBSD-src-5b8646dc2492198f61e3dd90f733e0a81e32f2d9.tar.gz |
Change the alignment of the NOTE to match what gcc does.
Diffstat (limited to 'lib/libelf/libelf_align.c')
-rw-r--r-- | lib/libelf/libelf_align.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/libelf_align.c b/lib/libelf/libelf_align.c index 525c258..94a82ab 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), |