[Ffmpeg-devel] Re: [PATCH] Fix compilation when using --disable-opts

Michael Niedermayer michaelni
Sun Apr 1 11:21:05 CEST 2007


Hi

On Sun, Apr 01, 2007 at 10:09:16AM +0200, Reimar D?ffinger wrote:
> Hello,
> On Sun, Apr 01, 2007 at 02:23:48AM +0200, Alexis Ballier wrote:
> > >It might compile but that's because it ends up disabling the asm.
> > 
> > which asm was disabled when building pic before
> > http://svn.mplayerhq.hu/ffmpeg?view=rev&revision=8549
> > 
> > that changed from :
> > #if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__))
> > to :
> > #if defined(ARCH_X86) && defined(CONFIG_7REGS) && 
> > defined(CONFIG_EBX_AVAILABLE)
> 
> It seems that for some of the code the right condition is
> #if defined(ARCH_X86) && defined(PIC)
> since due to the addressing modes used not allowing an extra offset due
> to PIC, no matter how many registers are available.

which code are you talking about?
and dont forget that data can be copied onto the stack that is nothing in
the gcc asm docs forbids it

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070401/56e374f4/attachment.pgp>



More information about the ffmpeg-devel mailing list