Makefile (3eb66e91a25497065c5322b1268cbc3953642227) Makefile (76551468833cd5c356b1d9ff4bc9393fcf768a59)
1#
2# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License version 2 as
6# published by the Free Software Foundation.
7#
8

--- 14 unchanged lines hidden (view full) ---

23
24cflags-y += -fsection-anchors
25
26cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
27cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape
28
29ifdef CONFIG_ISA_ARCV2
30
1#
2# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License version 2 as
6# published by the Free Software Foundation.
7#
8

--- 14 unchanged lines hidden (view full) ---

23
24cflags-y += -fsection-anchors
25
26cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
27cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape
28
29ifdef CONFIG_ISA_ARCV2
30
31ifdef CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS
32cflags-y += -munaligned-access
33else
34cflags-y += -mno-unaligned-access
35endif
36
31ifndef CONFIG_ARC_HAS_LL64
32cflags-y += -mno-ll64
33endif
34
35ifndef CONFIG_ARC_HAS_DIV_REM
36cflags-y += -mno-div-rem
37endif
38

--- 68 unchanged lines hidden ---
37ifndef CONFIG_ARC_HAS_LL64
38cflags-y += -mno-ll64
39endif
40
41ifndef CONFIG_ARC_HAS_DIV_REM
42cflags-y += -mno-div-rem
43endif
44

--- 68 unchanged lines hidden ---