History

Remove some unused arguments

these ones are really superfluous.

Michael Matz committed 9 years ago

Commit dfb75d91 parent 377e8e52 files · +3 −4Browse files

Unified · Split

2 files
  1. tccasm.c +1 −2
  2. tccelf.c +2 −2
tccasm.c+1−2
@@ -1087,7 +1087,6 @@ ST_FUNC int find_constraint(ASMOperand *operands, int nb_operands, · 1086 unmodified lines
1087}1087}
1088 1088
1089static void subst_asm_operands(ASMOperand *operands, int nb_operands, 1089static void subst_asm_operands(ASMOperand *operands, int nb_operands,
1090 int nb_outputs,
1091 CString *out_str, CString *in_str)1090 CString *out_str, CString *in_str)
1092{1091{
1093 int c, index, modifier;1092 int c, index, modifier;
@@ -1256,7 +1255,7 @@ ST_FUNC void asm_instr(void) · 162 unmodified lines
1256 printf("asm: \"%s\"\n", (char *)astr.data);1255 printf("asm: \"%s\"\n", (char *)astr.data);
1257#endif1256#endif
1258 if (must_subst) {1257 if (must_subst) {
1259 subst_asm_operands(operands, nb_operands, nb_outputs, &astr1, &astr);1258 subst_asm_operands(operands, nb_operands, &astr1, &astr);
1260 cstr_free(&astr);1259 cstr_free(&astr);
1261 } else {1260 } else {
1262 astr1 = astr;1261 astr1 = astr;
tccelf.c+2−2
@@ -870,7 +870,7 @@ static void build_got(TCCState *s1) · 869 unmodified lines
870 relocation, use 'size' and 'info' for the corresponding symbol metadata.870 relocation, use 'size' and 'info' for the corresponding symbol metadata.
871 Returns the offset of the GOT or (if any) PLT entry. */871 Returns the offset of the GOT or (if any) PLT entry. */
872static struct sym_attr * put_got_entry(TCCState *s1, int dyn_reloc_type,872static struct sym_attr * put_got_entry(TCCState *s1, int dyn_reloc_type,
873 int reloc_type, unsigned long size,873 unsigned long size,
874 int info, int sym_index)874 int info, int sym_index)
875{875{
876 int need_plt_entry;876 int need_plt_entry;
@@ -1044,7 +1044,7 @@ ST_FUNC void build_got_entries(TCCState *s1) · 167 unmodified lines
1044 if (gotplt_entry == BUILD_GOT_ONLY)1044 if (gotplt_entry == BUILD_GOT_ONLY)
1045 continue;1045 continue;
1046 1046
1047 attr = put_got_entry(s1, reloc_type, type, sym->st_size, sym->st_info,1047 attr = put_got_entry(s1, reloc_type, sym->st_size, sym->st_info,
1048 sym_index);1048 sym_index);
1049 1049
1050 if (reloc_type == R_JMP_SLOT)1050 if (reloc_type == R_JMP_SLOT)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t