Hi,

I've just been trying to debug a kernel problem that someone reported
against 2.3.18 on the latest kernel (2.3.22), but hit a rather major
snag.

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.

If you intend to build 2.3.xx kernels, please do not use binutils 2.9.1.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |  http://www.arm.linux.org.uk/~rmk/armlinux.html    /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to