Rename GotPCRel4 to GOTPCRel4.

This emphasizes that GOT is being used as an abbreviation rather than
the word "got".
This commit is contained in:
Dan Gohman
2017-12-14 06:43:55 -06:00
parent fc857247e4
commit 76e31cc1ad
3 changed files with 10 additions and 10 deletions

View File

@@ -565,7 +565,7 @@ got_fnaddr8 = TailRecipe(
emit='''
PUT_OP(bits, rex2(0, out_reg0), sink);
modrm_riprel(out_reg0, sink);
sink.reloc_external(Reloc::IntelGotPCRel4,
sink.reloc_external(Reloc::IntelGOTPCRel4,
&func.dfg.ext_funcs[func_ref].name);
sink.put4(0);
''')
@@ -597,7 +597,7 @@ got_gvaddr8 = TailRecipe(
emit='''
PUT_OP(bits, rex2(0, out_reg0), sink);
modrm_rm(5, out_reg0, sink);
sink.reloc_external(Reloc::IntelGotPCRel4,
sink.reloc_external(Reloc::IntelGOTPCRel4,
&func.global_vars[global_var].symbol_name());
sink.put4(0);
''')