out: Elf32 -- Unify struct symlininfo

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2016-03-13 10:22:10 +03:00
parent 583f505155
commit fbbe8fe9e2

View File

@ -108,7 +108,8 @@ struct erel {
struct symlininfo {
int offset;
int section; /* section index */
int section; /* index into sects[] */
int segto; /* internal section number */
char *name; /* shallow-copied pointer of section name */
};
@ -689,6 +690,7 @@ static void elf_out(int32_t segto, const void *data,
/* again some stabs debugging stuff */
sinfo.offset = s->len;
sinfo.section = i;
sinfo.segto = segto;
sinfo.name = s->name;
dfmt->debug_output(TY_STABSSYMLIN, &sinfo);
/* end of debugging stuff */