Changeset 874ed210 in mainline for kernel/arch


Ignore:
Timestamp:
2019-06-24T16:13:58Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
59d8235
Parents:
d86393c8
Message:

Fold assembler flags into cflags, for consistent behavior

This way —fatal-warning applies to custom assembly in C files as well,
e.g. inline asm, and to some of the attributes that change emitted
assembly.

Location:
kernel/arch
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/Makefile.inc

    rd86393c8 r874ed210  
    3535        # This is necessary to allow vmsr insn and fpexc manipulation
    3636        # Use vfp32 to allow context save/restore of d16-d31 regs.
    37         AFLAGS += -mfloat-abi=hard -mfpu=vfp3
     37        COMMON_CFLAGS += -mfloat-abi=hard
    3838endif
    3939
  • kernel/arch/ia64/Makefile.inc

    rd86393c8 r874ed210  
    3030COMMON_CFLAGS += -mconstant-gp -fno-unwind-tables -mfixed-range=f32-f127
    3131
    32 AFLAGS += -mconstant-gp
    3332LDFLAGS += -Wl,-EL
    3433
  • kernel/arch/ppc32/Makefile.inc

    rd86393c8 r874ed210  
    2828
    2929
    30 COMMON_CFLAGS += -mcpu=powerpc -msoft-float -m32
    31 AFLAGS += -a32
     30COMMON_CFLAGS += -mcpu=powerpc -msoft-float -m32 -Wa,-a32
    3231LDFLAGS += -Wl,-no-check-sections
    3332
Note: See TracChangeset for help on using the changeset viewer.