remove redundant lines from locore.S
M. Warner Losh
imp at bsdimp.com
Mon Jun 4 14:08:23 UTC 2007
In message: <56211.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180959237.squirrel at webmail.alpha-tierchen.de>
Björn_König <bkoenig at cs.tu-berlin.de> writes:
: there are some lines in sys/arm/arm/locore.S that are needless:
: 170: ldr pc, .Lvirt_done
: 172: virt_done:
: 214: .Lvirt_done:
: 215: .word virt_done
: Furthermore these lines seem to be a problem for my AT91RM9200.
They jump from the physical address we come up in to the virtual
address that has been turned on.
: It's not
: clear to me why the execution stops at line 170, but if I remove them it
: goes on. I use gcc 4.2 with latest HEAD and COPTFLAGS=-O -pipe
It may be a 4.2 issue. I know it worked before 4.2.
More information about the freebsd-arm