Which information is provided bout the object file by the "-h" option in the objdump line command objdump ""b oasys ""m vax ""h fu.o?
Click on the arrows to vote for the correct answer
A. B. C. D.D.
https://sourceware.org/binutils/docs/binutils/objdump.htmlThe objdump
command is used to display information about object files (i.e., binary files that contain executable code and/or data) in various formats. The -h
option is used to display the header information of the object file.
In the given command, objdump ""b oasys ""m vax ""h fu.o
, the -h
option specifies that the header information of the object file fu.o
should be displayed. The other options (-b
and -m
) specify the format of the object file (oasys
and vax
, respectively).
The header information typically includes details about the sections (i.e., segments of the object file containing specific types of data, such as code or data) that make up the object file. This can include the section names, addresses, sizes, and attributes (such as whether the section is read-only or read-write).
Therefore, the correct answer to the question is D, "headers". The -h
option in the objdump
command displays information about the headers of the object file.