From: Cyrill G. <gor...@gm...> - 2016-04-07 22:17:13
|
Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outelf32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/output/outelf32.c b/output/outelf32.c index ab62b6e..c9d4af6 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -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 */ -- 2.5.5 |