------- Additional Comments From boris dot leidner at formenos dot de
2006-08-23 11:05 -------
Hi Nick,
you're right. The problem was not shown in my example. The relocations are
correct:
$ arm-wince-pe-objdump -d armtest.o -r
armtest.o: file format pe-arm-little
Disassembly of section .text:
00000000 <_start>:
0: e1a01001 mov r1, r1
4: ea000000 b 8 <_start+0x8>
4: ARM_26D _start
BTW: I provided the same o-file to GDB. That, of course, makes absolutely no
sense...I see.
In my special case I do not need linking, because the code is injected into a
process. So I just copy it out of the object file. GAS did not use relocations
in my code and even if I linked it, the binary contained faulty branches.
However, I noticed that this has truly been fixed in the repository. I'm sorry,
I did not check that first.
Greetings,
Boris
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3109
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils