[haiku-development] PPC kernel relocation type invalid.

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Sun, 20 Dec 2009 22:34:50 -0600

I've been going over the PPC Haiku elf kernel with a fine-tooth comb
trying to figure out why the booloader is locking up jumping into the elf
kernel. No kernel functions get called... as soon as we attempt the jump
all hell breaks loose. 

Does this mean anything to anyone? More exactly the "relocation type
invalid for the file type" lines. 

$ eu-elflint -d kernel_ppc 
section [ 6] '.rela.dyn': relocation 6266: relocation type invalid for the
file type
section [ 6] '.rela.dyn': relocation 6267: relocation type invalid for the
file type
section [ 6] '.rela.dyn': relocation 6268: relocation type invalid for the
file type
section [ 6] '.rela.dyn': relocation 6269: relocation type invalid for the
file type
section [ 6] '.rela.dyn': relocation 6270: relocation type invalid for the
file type
section [ 6] '.rela.dyn': relocation 6271: relocation type invalid for the
file type
section [ 6] '.rela.dyn': relocation 6272: relocation type invalid for the
file type
section [10] '.dynamic': entry 0: AUXILIARY value must point into loaded
segment
section [185] '.got' is both executable and writable
section [189] '.plt' is both executable and writable

$ eu-readelf -r kernel_ppc > reloc.out
Looking at relocations 6266-6272 in the output file we get a block of:
  0000000000  PPC_NONE        0000000000      +0
  0000000000  PPC_NONE        0000000000      +0
  0000000000  PPC_NONE        0000000000      +0
  0000000000  PPC_NONE        0000000000      +0
  0000000000  PPC_NONE        0000000000      +0
  0000000000  PPC_NONE        0000000000      +0
  0000000000  PPC_NONE        0000000000      +0


Thanks! 

Alexander von Gluck
http://unixzen.com

Other related posts: