Skip to main content

Questions tagged [binutils]

Binutils is a GNU project containing a set of low level assembly and debugging tools, including GNU as, GDB and others.

Filter by
Sorted by
Tagged with
-1 votes
1 answer

Errors when unpacking binutils-common

So when i update kali linux with sudo apt update it shows this Get:1 file:/run/live/medium kali-last-snapshot InRelease Ign:1 file:/run/live/medium kali-last-snapshot InRelease Get:2 file:/run/live/...
gatof's user avatar
  • 1
0 votes
0 answers

Getting errors Configuring binutils

I am following this tutorial and I am stuck at the installation part of binutils while getting an error log pointing at a missing input file. gcc: fatal error: no input files compilation terminated. ...
rooren's user avatar
  • 1
0 votes
1 answer

What are the possible scl values in objdump?

The objdump man page gives the following example output from objdump -t: The format of the output depends upon the format of the file being dumped, but there are two main types. One looks like this: [...
Alex Henrie's user avatar
0 votes
1 answer

what target flag should I set to cross compile arm 32 bit code in gcc?

I'm trying to build a cross compiling build server for some 32 bit arm devices, where the architecture is: (from uname -m) "armv5tejl" I have to specify the target for binutils, and gcc, ...
j0h's user avatar
  • 3,669
0 votes
1 answer

What is the .xs and .x* files in ldscripts?

What are these files /lib/x86_64-linux-gnu/ldscripts/elf32_x86_64.xs /lib/x86_64-linux-gnu/ldscripts/elf_x86_64.xs /lib/x86_64-linux-gnu/ldscripts/elf_i386.xs /lib/x86_64-linux-gnu/ldscripts/elf_iamcu....
Evan Carroll's user avatar
  • 31.6k
0 votes
1 answer

What are you supposed to do for "pass 2" sections in LFS

I'm trying to build an LFS system but I've hit a roadbloack, what am I supposed to do for the 2nd passes. I thought maybe I had to re-untar again then compile their but that didn't make a new ...
Seb Ebse's user avatar
3 votes
1 answer

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, ...
wazz's user avatar
  • 31
5 votes
0 answers

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 ...
ulmer-a's user avatar
  • 219
2 votes
1 answer

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=/...
narayanpatra's user avatar
2 votes
1 answer

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/...
Ciro Santilli's user avatar
10 votes
2 answers

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 ...
flashburn's user avatar
  • 671