Re: Mach-O and SECTON .rotext

Michael Militzer <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
Takashi,

I have reworked the x86 asm to make it compatible with yasm and have readded
yasm support to the CVS HEAD code. Further I have macro'ed the 'SECTION
.rotext' so it can be controlled from a central place (see macro TEXT in
nasm.inc).

You may want to give this a try and report if this works better for Mach-O.

Regards,
Michael


Quoting Takashi Mochizuki <[email protected]>:

> Hi,
> I moved to nasm now. And I am struggling to build new 1.2.1 src,
> under MacOS X 10.5.5 + macport + nasm 2.5.1.
>
> //
>
> I have found every x86 asm uses "SECTION .rotext align=SECTION_ALIGN".
> But under Mach-O binary, nasm says "panic: invalid section
> name .rotext".
>
> So, I have embed simple macro into src/nasm.inc:25, as:
> + %define .rotext .text
> (I am not sure if this macro is useful or meaningless, though.)
>
> //
>
> Now I think I can build static library (libxvidcore.a) under MacOS X
> env.,
> ... but not dynamic link library yet (libxvidcore.dylib).
>
> Do you anyone have any idea?
>
> Takashi Mochizuki
> _______________________________________________
> Xvid-devel mailing list
> [email protected]
> http://list.xvid.org/mailman/listinfo/xvid-devel
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.