[x264-devel] Re: rodata section misalignment doesn't appear on x264
jojelino
jojelino at gmail.com
Sat Apr 7 08:32:00 CEST 2007
----- Original Message -----
From: "Gianluigi Tiesi" <mplayer at netfarm.it>
Newsgroups: gmane.comp.video.x264.devel
To: <x264-devel at videolan.org>
Sent: Saturday, April 07, 2007 8:48 AM
Subject: Re: rodata section misalignment doesn't appear on x264
> News about this problem? should we fill a bug for bintuils?
> Regards
> --
> Gianluigi Tiesi <sherpya at netfarm.it>
> EDP Project Leader
> Netfarm S.r.l. - http://www.netfarm.it/
> Free Software: http://oss.netfarm.it/
>
how about this? i modified xvidcore/src/utils/x86_asm/cpuid.asm to align .rodata section.
whatever it actually does: (SECTION .rodata align=16),
vendorAMD does not appear aligned, and mencoder crashes when linked with both of x264 and xvidcore.
following ensures that it is aligned in 16byte boundary.
http://www.tortall.net/projects/yasm/manual/html/manual.html#nasm-stdmac-align
vendorAMD:
db "AuthenticAMD"
+align 16
i see it work on mencoder.
More information about the x264-devel
mailing list