aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-18 00:32:23 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-18 00:32:23 +0200
commit6fabd7c08a087278a44260335769d0e78aa355ee (patch)
tree9785f35954de7c435fa1cec735018f5a0888bb5f /qtmips_machine
parentfab8cb529772dee9a3e28d471cf82796f0ce257d (diff)
downloadqtmips-6fabd7c08a087278a44260335769d0e78aa355ee.tar.gz
qtmips-6fabd7c08a087278a44260335769d0e78aa355ee.tar.bz2
qtmips-6fabd7c08a087278a44260335769d0e78aa355ee.zip
Remove forgotten debug print in relocation code.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine')
-rw-r--r--qtmips_machine/instruction.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qtmips_machine/instruction.cpp b/qtmips_machine/instruction.cpp
index 547c666..b098687 100644
--- a/qtmips_machine/instruction.cpp
+++ b/qtmips_machine/instruction.cpp
@@ -1386,8 +1386,6 @@ ssize_t Instruction::code_from_string(std::uint32_t *code, size_t buffsize,
bool Instruction::update(std::int64_t val, RelocExpression *relocexp) {
std::int64_t mask = (((std::int64_t)1 << relocexp->bits) - 1) << relocexp->lsb_bit;
dt &= ~ mask;
- if (relocexp->shift)
- printf("reloc shift\n");
val += relocexp->offset;
if ((val & ((1 << relocexp->shift) - 1)) &&
!(relocexp->options & CFS_OPTION_SILENT_MASK)) {