tech-kern archive

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

Re: NetBSD-6.0.1 arm1136jf-s Warning: swp{b} use is deprecated for this architecture

armv6j (e.g. i.MX31) does not support ldrexb/strexb.

(2013/01/27 6:46), Matt Thomas wrote:

On Jan 26, 2013, at 12:36 PM, Frank Zerangue wrote:

Has anyone seen this warning on a NetBSD-6.0.1 build using an arm core 

This is an armv6 architecture which deprecates the swp{b} instruction. It looks 
like gcc version 4.5.3 (NetBSD nb2 20111202) is incorrectly producing swp 
instructions for this cpu type, -mcpu=arm1136jf-s.

It's deprecated but still works.  There are changes in current which moves
it to ldrexb/strexb.

You can ignore it for now.

Home | Main Index | Thread Index | Old Index