This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
What's the meaning of "Algn" in "objdump -h"?
- From: "Zuxy Meng" <zuxy dot meng at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 25 Jun 2008 11:33:08 +0800
- Subject: What's the meaning of "Algn" in "objdump -h"?
- Reply-to: "Zuxy Meng" <zuxy dot meng at gmail dot com>
Hi,
Under MinGW32 I got the following results:
C:\MSYS\home\jimeng>type x.c
short b __attribute__((aligned(16)));
C:\MSYS\home\jimeng>objdump -h x.o
x.o: file format pe-i386
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000000 00000000 00000000 00000000 2**2
ALLOC, LOAD, READONLY, CODE
1 .data 00000000 00000000 00000000 00000000 2**2
ALLOC, LOAD, DATA
2 .bss 00000000 00000000 00000000 00000000 2**2
ALLOC
Shouldn't .data be aligned to "2**4" or the "Algn" of an object doesn't mean
too much?
--
Zuxy