Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

A potential issue in arm-port



Hi,

I am writing this mail to point out a potential issue in arm-port.

Consider the following code in sys/arch/evbarm/bcm53xx/bcm53xx_start.S

    movw    r1, #:lower16:(mmu_init_table-.LPIC1)
    add    r1, r1, pc
.LPIC1:

Here the intention is to set "r1" to hold the address of mmu_init_table. But the above seems to set it to mmu_init_table+4.

It seems ".LPIC1" should be moved down one instruction.

Thanks and Regards,
Ramakrishna DTV


Home | Main Index | Thread Index | Old Index