[coreboot] romcc -mcpu=p3?

Andriy Gapon avg at icyb.net.ua
Thu Oct 30 10:16:56 CET 2008

It seems that romcc with -mcpu=p3 -O produces incorrect code for 
cpu/x86/16bit/reset16.inc. -mpcu=p2 -O does work fine.

I will try to provide more hard data later but it looks like the 
following code is compiled into an (slightly) incorrect jump which 
breaks things terribly, of course.
  .section ".reset"
.globl reset_vector
  .byte 0xe9
  .int _start - ( . + 2 )
  . = 0x8;

Jump seems to be off by -4 bytes.

Andriy Gapon

More information about the coreboot mailing list