Hi all,
I have encountered a problem linking a binary format executable with
target ARM. No matter whatever I link, when I use --oformat binary
the result is always the same: segmentation fault.
I've used binutils 2.18, compiled by myself in two flavours (arm-
linux-elf and arm-angstrom-linux-gnueabi) and the one compiled by
Openmoko MokoMakeFile. A friend of mine get the same results.
I get the same results both with object files created with as and
with gcc.
example (source.c)
int a,b,c;
int main(void){
b=1;
c=2;
a=b+c;
return 0;
}
#arm-angstrom-linux-gnueabi-gcc -c source.c -o source.o; arm-angstrom-
linux-gnueabi-ld -o source.bin --oformat binary source.o
segmentation fault
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils