Questions tagged [binutils]
Binutils is a GNU project containing a set of low level assembly and debugging tools, including GNU as, GDB and others. https://sourceware.org/binutils/
5
questions
1
vote
1answer
89 views
How to build only one program in binutils
Since there are many programs that are not related to my interests, I'd like to build a specific program in GNU binutils on Ubuntu.
Program means that one binary file (e.g., ar, objcopy)
for example, ...
1
vote
0answers
1k views
Disassemble ELF binary without section headers (program headers only) using objdump
I've got an ELF binary that contains nothing but two LOAD segments in the program header table, one for code and one for data. readelf -a tells me there's no section headers.
If I attempt do ...
2
votes
1answer
437 views
Linux From Scratch: Error while compiling binutils 2.32
I am working on Linux from Scratch and currently, I am on this page. While compiling binutils-2.32, I am getting this error:
lfs@pop-os:/mnt/lfs/sources/binutils-2.32/build$ ../configure --prefix=/...
2
votes
1answer
322 views
How to build and run the GNU GAS assembler test suite?
I'm at Binutils tag binutils-2_31, and there is a directory:
gas/testsuite
with some tests that I'm interested in.
I've compiled the entire binutils with:
./configure
make
but the directory gas/...
7
votes
2answers
10k views
What tool to use to view an object file?
I'm reading an old book on linkers and loaders and it has images of object code.
But I can't figure out what tools are used to display the contents of these files.
I'd appreciate if someone could ...