$ arm-linux-gnueabi-objdump -dr arm.o [...] 0000012c <caml_start_program>: 12c: e59fc138 ldr ip, [pc, #312] ; 26c <caml_ml_array_bound_error [...] 188: e1a0e00f mov lr, pc 18c: e12fff1c bx ip [...] 26c: R_ARM_ABS32 caml_program
I don't see anything wrong there. What is caml_program actually fixed up to during the link?
$ arm-linux- gnueabi- objdump -dr arm.o program> : array_bound_ error
26c: R_ARM_ABS32 caml_program
[...]
0000012c <caml_start_
12c: e59fc138 ldr ip, [pc, #312] ; 26c <caml_ml_
[...]
188: e1a0e00f mov lr, pc
18c: e12fff1c bx ip
[...]
I don't see anything wrong there. What is caml_program actually fixed up to during the link?