This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The problem isn't the address of the hardware_init_hook, though, but of the return address that was set up by the mov lr, pc instruction. It looks to me as though the pc value (transferred to the lr) does not have the low bit set, and so a function that returns with bx lr rather than mov pc, lr will fault.
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |