Changeset 14782


Ignore:
Timestamp:
May 3, 2011, 1:08:26 PM (14 years ago)
Author:
R. Matthew Emerson
Message:

Pass -march=arm7-a and -mno-warn-deprecated to the assembler.

Without -march=armv7-a, the assembler warns about certain operand
restrictions with the mul and mla instructions. These restrictions
were lifted as of armv6. (Rd and Rn are supposed to be distinct
on earlier architecture versions.)

Unfortunately, with -march=armv7-a, the assembler gets all shirty
if you use the swp instruction, and warns. We never use swp for
synchronization, and are not interested in this warning, so just
turn deprecation warnings off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/linuxarm/Makefile

    r14578 r14782  
    2222AS = as
    2323M4 = m4
    24 ASFLAGS = -mfpu=vfp
     24# we use the swp instruction in a couple of places;  tell the assembler
     25# to remain caim.
     26ASFLAGS = -mfpu=vfp -march=armv7-a -mno-warn-deprecated
    2527M4FLAGS = -DLINUX -DARM
    2628CDEFINES = -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DUSE_FUTEX -DSVN_REVISION=$(SVN_REVISION)
Note: See TracChangeset for help on using the changeset viewer.