Fix empfile[EF_VERSION].flags and .csize

csize was 0 instead of 1, and flags was 0 instead of EFF_STATIC.
xdump didn't care.
This commit is contained in:
Markus Armbruster 2008-08-31 21:08:55 -04:00
parent f9beb03d45
commit 02254398e8

View file

@ -195,14 +195,15 @@ struct empfile empfile[] = {
{EF_TABLE, "table", NULL, empfile_ca, {EF_TABLE, "table", NULL, empfile_ca,
ARRAY_TABLE(empfile, EFF_CFG)}, ARRAY_TABLE(empfile, EFF_CFG)},
{EF_VERSION, "version", NULL, NULL, {EF_VERSION, "version", NULL, NULL,
sizeof(PACKAGE_STRING), 0, version, 0, 0, 1, 1, -1, NULL, NULL}, sizeof(PACKAGE_STRING), EFF_STATIC, version, 1, 0, 1, 1, -1,
NULL, NULL},
{EF_META, "meta", NULL, mdchr_ca, {EF_META, "meta", NULL, mdchr_ca,
PTR_CACHE(mdchr_ca, EFF_CFG)}, PTR_CACHE(mdchr_ca, EFF_CFG)},
/* /*
* Symbol tables * Symbol tables
* *
* These get bogus size, cids and fids here. Fixed up by * These get bogus csize, cids and fids here. Fixed up by
* empfile_init(). * empfile_init().
*/ */
#define SYMTAB(type, name, tab) \ #define SYMTAB(type, name, tab) \