mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-18 18:50:23 +08:00
out: Elf32 -- Unify struct symlininfo
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
583f505155
commit
fbbe8fe9e2
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user