⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makelst

📁 ARM 嵌入式 系统 设计与实例开发 实验教材 二源码
💻
字号:
#!/bin/bash# A script to dump mixed source code & assembly# with correct relocations from System.map# Requires the following lines in Rules.make.# Author(s): DJ Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com) #            William Stearns <wstearns@pobox.com>#%.lst: %.c#	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -g -c -o $*.o $<#	$(TOPDIR)/scripts/makelst $* $(TOPDIR) $(OBJDUMP)##    Copyright (C) 2000 IBM Corporation#    Author(s): DJ Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com) #t1=`$3 --syms $2/$1.o | grep .text | grep " F " | head -n 1`t2=`echo $t1 | gawk '{ print $6 }'`t3=`grep $t2 $2/System.map`t4=`echo $t3 | gawk '{ print $1 }'`t5=`echo $t1 | gawk '{ print $1 }'`t6=`echo $t4 - $t5 | sed -e s/a/A/g -e s/b/B/g -e s/c/C/g -e s/d/D/g -e s/e/E/g -e s/f/F/g`t7=`( echo  ibase=16 ; echo $t6 ) | bc`$3 --source --adjust-vma=$t7 $2/$1.o > $2/$1.lst

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -