摘要:记录下动态延迟加载,在unicore上没运行起来,所以在x86上运行函数test.c1 #include<stdio.h>23 int main(void)4 {5 printf("abcdefg\n");6 return 0;7 }反汇编(省略了相当一部分,因为没看懂且与PLT无关)207 080482e0 <puts@plt-0x10>:208 80482e0: ff 35 f8 9f 04 08 pushl 0x8049ff8209 80482e6: ff 25 fc 9f 04 08 jmp *0x8049ffc210 80482ec: 00
阅读全文
摘要:在查阅unicore的memcpy函数时,感觉学到了不少东西,今天把一周的东西整理下,留下了这个文档,方便以后查阅文件 asm/hwcap.h/** linux/arch/unicore/include/asm/hwcap.h** Code specific to PKUnity SoC and UniCore ISA* Fragments that appear the same as the files in arm or x86** Copyright (C) 2001-2008 GUAN Xue-tao** This program is free software; you can
阅读全文
摘要:可以说我无聊,还是最近脑子发热,代码看不下去了,总之把电脑的系统给换了。host:ubuntu12.04,guest:win7 双屏虚拟机是我在笔记本上做好的win7.ova本想做个镜像把笔记本上的系统完全做到台式机上,但是还是有不便之处,所以重装了,正好留下记录,下次也方便。1、安装ubuntu1...
阅读全文