Re: [AD] proposed patch for nicer asm symbols exports |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wednesday 04 August 2004 10:45, Chris wrote:
> > - {"#define FUNC(name) .globl " PREFIX "name ; _align_ ; "
PREFIX "name:", 0},
> > + {"#define FUNC(name) .globl " PREFIX "name ;
_align_ ; .type name,@function ; " PREFIX "name:", 0},
>
> This part seems to go for DOS and Windows, as well as Unix, yes? The
> COFF object format won't like the .type construct there like that and
> possibly break compilation.
Yes, I was wondering about that too. I suppose we could do a (pseudo code!)
#if unix
/* new stuff */
#else
/* old stuff */
#endif
Evert