The GNU binary utilities. A collection of tools for operating on object files. Most notably they include the GNU assembler and linker. They are typically used in conjunction with the GNU compiler collection (GCC).
Questions tagged [binutils]
380 questions
0
votes
1 answer
How to add a new target in binutils?
I want to add a new targets in binutils version 2.23.
Please tell me the list of files that require modification.
I really hope someone can give me some advice, Thanks.
![](../../users/profiles/2862536.webp)
K. Nohmi
- 11
- 2
0
votes
0 answers
How to add a new target to GCC/Binutils
I'm trying to get the cross compiler for Windows RT beside Visual Studio. Unfortunately there is no MinGW-ARM so I have to do it by myself. I pretty much know what I want: PE32+, Thumb2 code always. Pretty sure that GCC can handle both so I thought…
![](../../users/profiles/1561744.webp)
Excalibur
- 61
- 3
0
votes
0 answers
binutils cross-compile error
I install cygwin-x86: source/binary binutils, flex, bison, source/binary gcc, etc..
In order to cross-compile binutils, I run the follwing commands:
export PREFIX=/usr/cross
export TARGET=x86_64-pc-linux
cd /usr/src/binutils-2.23.51-1
./configure…
![](../../users/profiles/2729109.webp)
ikh
- 9,139
- 1
- 28
- 64
0
votes
1 answer
How to relocate the bfd size symbols?
When embedding binary files in a elf image with gcc, is there a way to change the address of the automatically generated _binary_*_size symbols? Unlike the _binary_*_start and _binary_*_end symbols, the _binary_*_size symbols don't seem to follow…
![](../../users/profiles/828575.webp)
Dominic
- 491
- 4
- 4
0
votes
1 answer
at command not working for me
I am trying to test the at command with the following:
echo 'touch hi' | at now + 1 minute
I receive back a job id and time : job 7 at Wed Sep 11 01:35:00 2013.
But when I ls after the time has passed, I don't see the new file hi.
What gives?
![](../../users/profiles/1850672.webp)
jaynp
- 3,045
- 3
- 26
- 40
0
votes
1 answer
binutils bfd links against system iberty instead of built iberty
When building binutils, the bfd component is failing to link because it is linking against the system version of libiberty instead of the built version under binutuils/libiberty/lib64/libiberty.a.
I can't see a configure argument to allow me to…
![](../../users/profiles/1489354.webp)
Craig
- 3,800
- 4
- 30
- 47
0
votes
1 answer
Unable to install binutils on my ubuntu
I am trying to install binutils on my ubuntu:
Downloaded the package binutils-2.22
I run ./configure & I get an error saying C compiler cannot create executables.
Confused with the config.log really.
Looks like it looking for some extra…
![](../../users/profiles/2688166.webp)
sam_bit
- 1
- 1
- 1
- 1
0
votes
1 answer
count of external symbol usages by shared library
I want to find some external symbols, used by one shared library (.so) in another. I easily can run
nm -D ./lib_the_one.so
and get list of used symbols by grepping, for example ' U ' (undefined symbols):
U The_external_symbol
Now I want…
![](../../users/profiles/196561.webp)
osgx
- 80,853
- 42
- 303
- 470
0
votes
2 answers
Comparing ELF/binary files generated from different versions of a toolchain
I have two binary files generated via 'objcopy -O binary' from respective ELF files. The ELF files are built with arm-none-linux-gnueabi toolchains; one is from linaro gcc 4.6.2 and other is from codesourcery gcc 4.6.3.
I load the binary files into…
![](../../users/profiles/1339091.webp)
fsheikh
- 406
- 3
- 11
0
votes
1 answer
Error compiling gold in binutils
I am trying to compile the project KernelGen (http://hpcforge.org/plugins/mediawiki/wiki/kernelgen/index.php/Compiling) for some research project I am doing , the build script is using rpmbuild and it looks like it has a dependency on gold from…
![](../../users/profiles/202500.webp)
Sameer Asal
- 103
- 1
- 7
0
votes
1 answer
Proper usage of ARMv6 equates: .equ .reg .set
Using the GNU Assembler Manual, v2.19.51, I was not able to find a definitive difference between these types of equates:
.equ
.reg
.set
Does anyone know the difference and proper usage?
![](../../users/profiles/2445446.webp)
bluestar
- 11
- 3
0
votes
1 answer
ld: undefined symbol vs ld: undefined reference
What is the difference between these errors in GNU Binutils ld ?
undefined reference
undefined symbol
I have a good understanding of undefined reference: This occurs for example when the loader cannot find the implementation of a function. I am…
![](../../users/profiles/2240689.webp)
Adam
- 57
- 7
0
votes
1 answer
Why binutils or gcc is installed in two locations?
I'm learning linux knowledges, when I compile binutils or gcc and install them, they always appear in two locations.
I think it must be a reason and I don't know why?
Actually I'm learning lfs. When I compile the pass I of binutils, the book's…
![](../../users/profiles/1430232.webp)
Tian Yong
- 719
- 6
- 19
0
votes
1 answer
i386-pc-mingw32-objdump pe disassembling aborted
I am trying to disassemble Sid Meiers Railroads 1.1 original binary from 1C disc
file RailRoads.exe
>>PE32 executable (GUI) Intel 80386, for MS Windows
sudo crossdev i386-pc-mingw32
i386-pc-mingw32-objdump -D RailRoads.exe >…
![](../../users/profiles/404949.webp)
puchu
- 2,801
- 6
- 30
- 55
0
votes
1 answer
How do I find which version of gcc corressponds to which version of binutils?
Exactly as the question sounds.
If there isn't a generic way to answer this question for any given version pair, can someone at least answer the specific question of whether gcc 3.4.6 and ld 2.15.92.0.2 correspond to each other?
Thanks.
I'm…
![](../../users/profiles/1098524.webp)
owagh
- 3,206
- 2
- 26
- 51