This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Pad SEC_MERGE sections to entsize boundary in gas


On Mon, Nov 25, 2002 at 09:54:18AM +1030, Alan Modra wrote:
> On Sun, Nov 24, 2002 at 10:41:59PM +0100, Jakub Jelinek wrote:
> > Ulrich found long double constants on IA-32 in .rodata.cst16 section
> > cause the section not to be multiple of sh_entsize.
> 
> This is presumably just due to lack of alignment padding after the
> last entry, right?  Otherwise the merge code would be rather
> confused...

Yeah. gcc emits something like:
        .section        .rodata.cst16,"aM",@progbits,16
        .align 16
.LC0:
        .long   0
        .long   -939524096
        .long   16389
for long double constants and doesn't put there another .align 16
after it (or another .long 0).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]