[Flac-dev] patches for flac build
Josh Coalson
xflac at yahoo.com
Tue Jul 10 15:27:05 PDT 2001
> > libtool would not link the "plain" nasm-generated object files for
> > the i386
> > assembly optimizations. I've patched src/libFLAC/i386/Makefile.am
> > to operate
> > similarly to the automake file used for the SDL assembly routines.
> >
> > I saw a post to the FLAC mailing list saying that automake expects
> > the suffix
> > to be .s, so .nasm files were renamed to .s files. automake can be
> > told to
> > accept other suffixes using the SUFFIXES variable. libtool
> > recognizes files
> > with .asm suffixes, so I renamed .s files to .asm files.
>
> Unfortunately, there is a bigger problem that affects both SDL and
> FLAC, which
> is that the assembly routines are not PIC.
It's not? I think all the IA32 code only references data
on the stack, and it doesn't call outside the library
or export any functions outside the library. The only
absolute addresses should be the routine entry points
private to the library which I thought were always
relocatable.
Josh
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
More information about the Flac-dev
mailing list