x86_64 Linux 下汇编 x32At&t
2013-05-18 22:22
344 查看
做个备忘
as --x32 -o test1.o test1.s
ld -m elf32_x86_64 -o test2 test1.o
loop:loop.o
ld -dynamic-linker /lib/ld-linux.so.2 -m elf_i386 -lc -o loop loop.o
loop.o:loop.s
as --32 -o loop.o loop.s
.PHONY:clean
clean:
rm -rf loop.o loop
as --x32 -o test1.o test1.s
ld -m elf32_x86_64 -o test2 test1.o
loop:loop.o
ld -dynamic-linker /lib/ld-linux.so.2 -m elf_i386 -lc -o loop loop.o
loop.o:loop.s
as --32 -o loop.o loop.s
.PHONY:clean
clean:
rm -rf loop.o loop
相关文章推荐
- (7) linux 编译并安装mysql-5.6.15.tar.gz ---> CentOS-6.6-x86_64 + mysql-5.6.15.tar.gz
- AT&T GNU X86-64,I386 汇编语法简述
- Linux X86_64下的32位汇编环境
- invalid configuration x86_64-unknown-linux-gnu' machine x86_64-unknown' not recognized
- ORA-15025: could not open disk"...." ORA-27041: unable to open file Linux-x86_64 Error: 13: Permiss
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1” in virtualenv
- Cannot run program "/home/mohemi/Program/adt-bundle-linux-x86_64-20130729/sdk//tools/emulator": erro
- [ASM]Linux x86_64平台汇编实例
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- linux下出现architecture of input file `*.o' is incompatible with i386:x86-64 output的解决方法
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- Linux x86_64内核终止D状态的进程
- MySql(30)------linux下安装mysql-5.7.12-linux-glibc2.5-x86_64.tar.gz(centos)
- adt-bundle-linux-x86_64-20131030下新建工程提示找不到adb和R.java问题的解决
- linux x86 ELF 反汇编
- linux下rpm安装报错error: Failed dependencies: python-libs(x86-64) = 2.6.6-64.el6 is needed by python-2.6
- Oracle学习笔记安装篇之在Redhat Enterprise Linux 6.3 x86_64下安装Oracle11g R2
- linux汇编工具之GAS(AT&T 语法)和NASM(Intel 语法)比较
- Ricardo Suite 2015.2 Win64 & Linux64 2DVD