The attached case is from kernel. We still get fail:

head2.s: Assembler messages:
head2.s:60: Error: selected processor does not support requested special 
purpose register -- `mrs r2,cpsr'
head2.s:67: Error: selected processor does not support requested special 
purpose register -- `mrs r2,cpsr'
head2.s:69: Error: selected processor does not support requested special 
purpose register -- `msr cpsr_c,r2'

The fault occurs in 2.22 and current trunk.

To reproduce it:
arm-linux-gnueabi-as --gdwarf2 -EL -march=armv7-a -mfloat-abi=soft 
-mfpu=vfpv3-d16 -meabi=5 -mimplicit-it=always -mno-warn-deprecated -mthumb 
-march=all -o head.o head2.s

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to