diff options
| author | Michael Matz <matz@suse.de> | 2017-05-08 20:26:59 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2017-05-08 20:26:59 +0200 |
| commit | dfb75d9b6ccbf57fe2ec2768a118224034d72829 (patch) | |
| tree | f235b3d203cc8851d4446365e5459f89ec5c1786 /tccelf.c | |
| parent | 377e8e5e68c52fe05bb33d87b4e29a7dd0db5f71 (diff) | |
| download | tinycc-dfb75d9b6ccbf57fe2ec2768a118224034d72829.tar.gz tinycc-dfb75d9b6ccbf57fe2ec2768a118224034d72829.tar.bz2 | |
Remove some unused arguments
these ones are really superfluous.
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -870,7 +870,7 @@ static void build_got(TCCState *s1) relocation, use 'size' and 'info' for the corresponding symbol metadata. Returns the offset of the GOT or (if any) PLT entry. */ static struct sym_attr * put_got_entry(TCCState *s1, int dyn_reloc_type, - int reloc_type, unsigned long size, + unsigned long size, int info, int sym_index) { int need_plt_entry; @@ -1044,7 +1044,7 @@ ST_FUNC void build_got_entries(TCCState *s1) if (gotplt_entry == BUILD_GOT_ONLY) continue; - attr = put_got_entry(s1, reloc_type, type, sym->st_size, sym->st_info, + attr = put_got_entry(s1, reloc_type, sym->st_size, sym->st_info, sym_index); if (reloc_type == R_JMP_SLOT) |
