@@ -1034,43 +1034,43 @@ MCELFStreamer &MipsTargetELFStreamer::getStreamer() {
10341034
10351035void MipsTargetELFStreamer::emitGPRel32Value (const MCExpr *Value) {
10361036 MCDataFragment *DF = getStreamer ().getOrCreateDataFragment ();
1037- DF->getFixups (). push_back ( MCFixup::create (
1038- DF-> getContents (). size (), Value, MCFixupKind (Mips::fixup_Mips_GPREL32)));
1037+ DF->addFixup ( MCFixup::create (DF-> getContents (). size (), Value,
1038+ MCFixupKind (Mips::fixup_Mips_GPREL32)));
10391039 DF->appendContents (4 , 0 );
10401040}
10411041
10421042void MipsTargetELFStreamer::emitGPRel64Value (const MCExpr *Value) {
10431043 MCDataFragment *DF = getStreamer ().getOrCreateDataFragment ();
1044- DF->getFixups (). push_back ( MCFixup::create (
1045- DF-> getContents (). size (), Value, MCFixupKind (Mips::fixup_Mips_GPREL32)));
1044+ DF->addFixup ( MCFixup::create (DF-> getContents (). size (), Value,
1045+ MCFixupKind (Mips::fixup_Mips_GPREL32)));
10461046 DF->appendContents (8 , 0 );
10471047}
10481048
10491049void MipsTargetELFStreamer::emitDTPRel32Value (const MCExpr *Value) {
10501050 MCDataFragment *DF = getStreamer ().getOrCreateDataFragment ();
1051- DF->getFixups (). push_back ( MCFixup::create (
1052- DF-> getContents (). size (), Value, MCFixupKind (Mips::fixup_Mips_DTPREL32)));
1051+ DF->addFixup ( MCFixup::create (DF-> getContents (). size (), Value,
1052+ MCFixupKind (Mips::fixup_Mips_DTPREL32)));
10531053 DF->appendContents (4 , 0 );
10541054}
10551055
10561056void MipsTargetELFStreamer::emitDTPRel64Value (const MCExpr *Value) {
10571057 MCDataFragment *DF = getStreamer ().getOrCreateDataFragment ();
1058- DF->getFixups (). push_back ( MCFixup::create (
1059- DF-> getContents (). size (), Value, MCFixupKind (Mips::fixup_Mips_DTPREL64)));
1058+ DF->addFixup ( MCFixup::create (DF-> getContents (). size (), Value,
1059+ MCFixupKind (Mips::fixup_Mips_DTPREL64)));
10601060 DF->appendContents (8 , 0 );
10611061}
10621062
10631063void MipsTargetELFStreamer::emitTPRel32Value (const MCExpr *Value) {
10641064 MCDataFragment *DF = getStreamer ().getOrCreateDataFragment ();
1065- DF->getFixups (). push_back ( MCFixup::create (
1066- DF-> getContents (). size (), Value, MCFixupKind (Mips::fixup_Mips_TPREL32)));
1065+ DF->addFixup ( MCFixup::create (DF-> getContents (). size (), Value,
1066+ MCFixupKind (Mips::fixup_Mips_TPREL32)));
10671067 DF->appendContents (4 , 0 );
10681068}
10691069
10701070void MipsTargetELFStreamer::emitTPRel64Value (const MCExpr *Value) {
10711071 MCDataFragment *DF = getStreamer ().getOrCreateDataFragment ();
1072- DF->getFixups (). push_back ( MCFixup::create (
1073- DF-> getContents (). size (), Value, MCFixupKind (Mips::fixup_Mips_TPREL64)));
1072+ DF->addFixup ( MCFixup::create (DF-> getContents (). size (), Value,
1073+ MCFixupKind (Mips::fixup_Mips_TPREL64)));
10741074 DF->appendContents (8 , 0 );
10751075}
10761076
0 commit comments