Skip to content

Commit

Permalink
VITIS-11503 - change elf section name from mc_code to control-packet (#…
Browse files Browse the repository at this point in the history
…8054)

Co-authored-by: dezhliao <[email protected]>
  • Loading branch information
dezhiAmd and dezhliao authored Apr 5, 2024
1 parent 56c7e67 commit cb8d4d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/runtime_src/core/common/api/xrt_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -809,10 +809,7 @@ class module_sram : public module_impl
fill_instr_buf(m_instr_buf, data);

if (m_ctrlpkt_buf) {
// The current assembler uses "mc_code" to represent control-packet
// buffer. We should change the name to "control-packet" which is not
// DPU specific. Will change this once assembler fix it.
patch_instr("mc_code", m_ctrlpkt_buf);
patch_instr("control-packet", m_ctrlpkt_buf);
XRT_PRINTF("<- module_sram::create_instr_buf()\n");
}
}
Expand Down

0 comments on commit cb8d4d0

Please sign in to comment.