Top "Binutils" questions

The GNU binary utilities.

objdump and ARM vs Thumb

I'm trying to disassemble an object built for ARM with gcc. Unfortunately, objdump is trying to guess whether the code …

assembly arm objdump binutils thumb
An objcopy equivalent for Mac / iPhone?

I would like to rename symbols inside object files (.o) with something that would be the Mac equivalent of binutils' …

macos arm darwin binutils objcopy
How to link a gas assembly program that uses the C standard library with ld without using gcc?

As an exercise to learn more precisely how c programs work and what minimum level of content must exist for …

assembly ld gnu-assembler binutils
How to compile an assembly file to a raw binary (like DOS .com) format with GNU assembler (as)?

I want to compile this source code in Windows (It just an example): start: NOP NOP When I compile it …

assembly gnu-assembler binutils
cross compiling, why "checking whether we are cross compiling... no"?

I'm trying to compile cross-platform tools-chain by myself. When I compiled binutils-2.22, it success but why appear "checking whether we …

cross-compiling binutils
unable to compile: unrecognized relocation 0x2a in section text

I have received an error message when compiled "make" $ make g++ -fopenmp -o lang.test main.o -I../../../include/Lheader …

gcc ld binutils
Difference between nm and objdump

Looking at the manuals, objdump and nm have overlapping features. When would you use each one? What was the original …

binutils objdump nm
Glibc vs GCC vs binutils compatibility

Is there a sort of official documentation about version compatibility between binutils, glibc and GCC? I found this matrix for …

c++ gcc glibc binutils
When to use --dynamic option in nm

Sometimes when I do nm on a .so file (for example, libstdc++.so.6), it says no symbols, and I need …

linux shared-libraries binutils
Does the order of -l and -L options in the GNU linker matter?

The -l option tells the linker to search the libraries in the standard dirs. And with -L, we can specify …

gcc linker ld binutils