>binutils 2.9.1.0.19a and 2.9.1.0.25 suffer from a case of the random
>changing opcode syndrome.  I've checked the surface of the machine for
>bacteria and viruses ;)
>
>Anyway, what seems to be happening is that certain 'b' instructions get
>converted to 'bl', since it appears that for PC_ARM_24 relocations in
>a relocatable link just have the correction added to them.  ie,
>
>       eafffffe -> eb000043 instead of ea000043
>
>This oddity seems to be fixed in binutils 2.9.5.0.16.

Yes, this is an old and fairly common problem.  From what I remember it
occurs mainly with inter-section branches; this is one of the reasons the 
.text.init thing didn't use to work too well.  There is a patch in my 
directory on netwinder.org that helps a bit with this but as you have 
observed a better solution is just to use the newer tools.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to