Skip to content

Commit

Permalink
build: when disassemble elf file show no alias instructions
Browse files Browse the repository at this point in the history
eg. the compressed instructions will be show as c.xx

Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jan 19, 2024
1 parent 0d02fc8 commit 424bf5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build/Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ $(ALL_CXX_OBJS): %.o: % $(COMMON_PREREQS)
$(Q)$(CXX) $(CXXFLAGS) $(MKDEP_OPT) -c -o $@ $<

dasm: $(TARGET_ELF)
-$(OBJDUMP) -S -d $< > $(TARGET).dump
-$(OBJDUMP) -d $< > $(TARGET).dasm
-$(OBJDUMP) -S -d -M no-aliases $< > $(TARGET).dump
-$(OBJDUMP) -d -M no-aliases $< > $(TARGET).dasm
-$(OBJCOPY) $< -O ihex $(TARGET).hex
-$(OBJCOPY) $< -O srec $(TARGET).srec
-$(OBJCOPY) $< -O verilog $(TARGET).verilog
Expand Down

0 comments on commit 424bf5d

Please sign in to comment.