elf格式的可执行文件和可重定位文件有什么区别? [英] What is the difference between executable and relocatable in elf format?

查看:525
本文介绍了elf格式的可执行文件和可重定位文件有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

elf格式的可执行文件与elf格式的可重定位文件有什么区别?

What is the difference between executable file in elf format and relocatable file in elf format?

推荐答案

在下图中,可重定位ELF用作链接器的输入,而可执行ELF是链接器的产品。

As it can be seen in the image below, relocatable ELF goes as the input to the linker, whereas the executable ELF is the product of the linker.

这篇关于elf格式的可执行文件和可重定位文件有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆