@@ -695,7 +695,7 @@ void PPC64::relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) const {
695695 if (pcRelInsn == UINT64_C (-1 )) {
696696 Err (ctx)
697697 << " unrecognized instruction for R_PPC64_PCREL_OPT relaxation: 0x"
698- << Twine:: utohexstr (accessInsn);
698+ << utohexstr (accessInsn, true );
699699 break ;
700700 }
701701
@@ -1337,7 +1337,7 @@ void PPC64::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
13371337 if (isInstructionUpdateForm (insn))
13381338 Err (ctx) << getErrorLoc (ctx, loc)
13391339 << " can't toc-optimize an update instruction: 0x"
1340- << utohexstr (insn);
1340+ << utohexstr (insn, true );
13411341 writeFromHalf16 (ctx, loc, (insn & 0xffe00000 ) | 0x00020000 | lo (val));
13421342 } else {
13431343 write16 (ctx, loc, lo (val));
@@ -1356,8 +1356,8 @@ void PPC64::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
13561356 // pointer register r2, as the base register.
13571357 if (isInstructionUpdateForm (insn))
13581358 Err (ctx) << getErrorLoc (ctx, loc)
1359- << " Can 't toc-optimize an update instruction: 0x"
1360- << Twine:: utohexstr (insn);
1359+ << " can 't toc-optimize an update instruction: 0x"
1360+ << utohexstr (insn, true );
13611361 insn &= 0xffe00000 | mask;
13621362 writeFromHalf16 (ctx, loc, insn | 0x00020000 | lo (val));
13631363 } else {
0 commit comments