[U-Boot] [PATCH 00/13] ppc: Fix relocation

Swarthout Edward L-SWARTHOU ed.swarthout at freescale.com
Thu Sep 24 18:05:14 CEST 2009


From: Wolfgang Denk
> 
> All patches applied to "reloc" branch. Thanks for all this work.

With -m relocatable, x86emu crashes because the op codes tables are
forced to GOT2 section:

Video: ATI Radeon video card (1002, 5b60) found @(6:0:0)
videoboot: Booting PCI video card bus 6, function 0, device 0
NIP: 8FFA8120 LR: 3FFB40F8 REGS: 3fe6dbd0 TRAP: 0700 DAR: 00000000
MSR: 00021200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 8FFA8120 3FE6DCC0 3FE6DF68 0000009A 00000003 00000000
GPR08: 00004000 3FE75800 3F000000 3FE6DCC0 84000024 81C5D766
GPR16: 3FFF92E8 3FFCB384 3FE6DDA8 00000000 00000000 00000000
GPR24: 3FFDA09C 3FFE0544 3FFF9A6C 3FFF9A6C 3FE6DD24 3FFF9A6C
** Illegal Instruction **

This patch fixes it:

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/48103

-Ed


More information about the U-Boot mailing list