output symbol type and size
That is not available on osx so I tweaked the gas.c api a little to conditionally output the two directives.
This commit is contained in:
parent
7a7a5f4803
commit
6ca9399ed6
3 changed files with 34 additions and 15 deletions
6
all.h
6
all.h
|
@ -523,9 +523,15 @@ void spill(Fn *);
|
|||
void rega(Fn *);
|
||||
|
||||
/* gas.c */
|
||||
enum Asm {
|
||||
Gasmacho,
|
||||
Gaself,
|
||||
};
|
||||
extern char *gasloc;
|
||||
extern char *gassym;
|
||||
void gasinit(enum Asm);
|
||||
void gasemitlnk(char *, Lnk *, char *, FILE *);
|
||||
void gasemitfntail(char *, FILE *);
|
||||
void gasemitdat(Dat *, FILE *);
|
||||
int gasstash(void *, int);
|
||||
void gasemitfin(FILE *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue