Questions tagged [binutils]

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).

418 questions
0
votes
1 answer

Android ndk building standalone toolchain for ARM

I am trying to build objdump executable for the GT-i9300. I get the following error when I am trying to use the one provided by the Android NDK on the adb shell with su: root@m0:/data/local/tmp # ./arm-linux-androideabi-objdump …
JoachimR
  • 5,150
  • 7
  • 45
  • 50
0
votes
1 answer

How to build binutils for a specific target

I'm trying to configure binutils for an ARM processor, specifically the ARMv5TE. The processor is the Marvell 88F5281. Presently the device is running NetBSD, so I want to make sure I configure binutils for the right target arch / OS. Is there a…
ipatch
  • 3,933
  • 8
  • 60
  • 99
0
votes
1 answer

How do I add a prefix to all symbols in an elf object file but so that debugging still works?

I want to add a prefix to every symbol in an elf object file, how do you do that using Linux (eg debian)? I need the debug information to still work (ie, gdb can still debug effectively albeit using the new names for all the symbols). The elf object…
codeshot
  • 1,183
  • 1
  • 9
  • 20
0
votes
0 answers

how to convert .obj to to .coff (in cygwin platform)

Facing problem to convert .obj to .coff file using objcopy command. Currently i am trying to solve this issue by using OBJCOPY Command. i tried Command objcopy -I input.O -O output. output which will be get converted to COFF format and input is in…
pseudoboom
  • 11
  • 1
0
votes
3 answers

Install binutils on gentoo

How do i install binutils on gentoo? I have tried emerge but it gives an error saying -bash: emerge: command not found I tried install binutils but the syntax is : Usage: install [OPTION]... [-T] SOURCE DEST Please help. I have tried a lot of…
Kevin
  • 566
  • 2
  • 5
  • 13
0
votes
2 answers

Cross-compiling binutils on OS X

I am trying to create a Linux Arm toolchain on OS X Mavericks. I have GCC 4.8.1 binaries in /usr/local/gcc-4.8.1-for-linux64/bin/, and this is the command I use to generate the configure script for binutils: $ ../binutils-2.23.2/configure…
Hanxue
  • 12,243
  • 18
  • 88
  • 130
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.
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…
Excalibur
  • 61
  • 4
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…
ikh
  • 10,119
  • 1
  • 31
  • 70
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…
Dominic
  • 619
  • 5
  • 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?
jaynp
  • 3,275
  • 4
  • 30
  • 43
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…
Craig
  • 4,268
  • 4
  • 36
  • 53
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…
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…
osgx
  • 90,338
  • 53
  • 357
  • 513
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…
fsheikh
  • 416
  • 3
  • 12
1 2 3
27
28