tccgen: handle __attribute((alias("target")))

This commit is contained in:
Joe Soroka
2011-03-03 01:58:45 -08:00
parent ce8c1886a5
commit c93eca4fe4
3 changed files with 27 additions and 1 deletions

1
tcc.h
View File

@ -285,6 +285,7 @@ typedef struct AttributeDef {
resize : 1,
fill : 10;
struct Section *section;
int alias_target; /* token */
} AttributeDef;
/* gr: wrappers for casting sym->r for other purposes */