[FFmpeg-devel] PIC and YASM

Diego Biurrun diego
Mon Nov 9 13:42:24 CET 2009


On Sun, Nov 08, 2009 at 07:34:35PM +0100, Reimar D?ffinger wrote:
> On Sun, Nov 08, 2009 at 01:16:39PM -0500, David Conrad wrote:
> > On Nov 8, 2009, at 9:35 AM, M?ns Rullg?rd wrote:
> > 
> > >Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> > >>
> > >>and the macho64 special-case.
> > >
> > >I don't know the story behind that one.
> > 
> > Mach-o doesn't support 32-bit absolute relocations on x86_64, only
> > 64-bit absolute which most instructions don't support.
> 
> Well, but since there is no issue with the inline-assembly, that must
> mean that our inline assembly must be using PIC-relative addressing,
> which in turn must mean that one of __PIC__ __pic__ or PIC is defined,
> which in yet another turn means that my suggested patch would
> detect that system/compiler as using PIC and enabling it properly,
> no need for special-case hackery.

Remove the special case and let us find out.

Diego



More information about the ffmpeg-devel mailing list