What is the difference between Shared object file and Relocatable file?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/
says
The type field tells us what the purpose of the file is. There are a
few common file types.CORE (value 4)
DYN (Shared object file), for libraries (value 3)
EXEC (Executable file), for binaries (value 2)
REL (Relocatable file), before linked into an executable file (value 1)
https://unix.stackexchange.com/a/476157/674 shows that a kernel module is REL. Why is it REL not DYN?
What is the difference between DYN and REL?
Thanks.
linux shared-library elf
add a comment |Â
up vote
0
down vote
favorite
https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/
says
The type field tells us what the purpose of the file is. There are a
few common file types.CORE (value 4)
DYN (Shared object file), for libraries (value 3)
EXEC (Executable file), for binaries (value 2)
REL (Relocatable file), before linked into an executable file (value 1)
https://unix.stackexchange.com/a/476157/674 shows that a kernel module is REL. Why is it REL not DYN?
What is the difference between DYN and REL?
Thanks.
linux shared-library elf
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/
says
The type field tells us what the purpose of the file is. There are a
few common file types.CORE (value 4)
DYN (Shared object file), for libraries (value 3)
EXEC (Executable file), for binaries (value 2)
REL (Relocatable file), before linked into an executable file (value 1)
https://unix.stackexchange.com/a/476157/674 shows that a kernel module is REL. Why is it REL not DYN?
What is the difference between DYN and REL?
Thanks.
linux shared-library elf
https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/
says
The type field tells us what the purpose of the file is. There are a
few common file types.CORE (value 4)
DYN (Shared object file), for libraries (value 3)
EXEC (Executable file), for binaries (value 2)
REL (Relocatable file), before linked into an executable file (value 1)
https://unix.stackexchange.com/a/476157/674 shows that a kernel module is REL. Why is it REL not DYN?
What is the difference between DYN and REL?
Thanks.
linux shared-library elf
linux shared-library elf
asked 7 mins ago
Tim
24.2k67233423
24.2k67233423
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476165%2fwhat-is-the-difference-between-shared-object-file-and-relocatable-file%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password