gas: put zero data into .bss by default
This allows frontends to use BSS generically, without knowledge of platform-dependent details.
This commit is contained in:
parent
9fc0394d7e
commit
7aceb24c50
3 changed files with 20 additions and 11 deletions
6
all.h
6
all.h
|
@ -387,6 +387,8 @@ struct Dat {
|
|||
DL,
|
||||
DZ
|
||||
} type;
|
||||
char *name;
|
||||
Lnk *lnk;
|
||||
union {
|
||||
int64_t num;
|
||||
double fltd;
|
||||
|
@ -396,10 +398,6 @@ struct Dat {
|
|||
char *name;
|
||||
int64_t off;
|
||||
} ref;
|
||||
struct {
|
||||
char *name;
|
||||
Lnk *lnk;
|
||||
} start;
|
||||
} u;
|
||||
char isref;
|
||||
char isstr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue