diff options
author | Ron Yorston <rmy@pobox.com> | 2021-01-14 13:28:49 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-01-14 13:28:49 +0000 |
commit | 89963b524d211e1aec12b72b3725be05ee95c8cf (patch) | |
tree | 48590aef62b7ee7686b7898256f29def8d9c50b9 /arch | |
parent | 9aa5a829070392c2ac6494d0c4e674c0c2bc7dab (diff) | |
parent | 2b7c1aa92c68524559a2067609d09309d5c09adc (diff) | |
download | busybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.tar.gz busybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.tar.bz2 busybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Makefile | 8 | ||||
-rw-r--r-- | arch/x86_64/Makefile | 11 |
2 files changed, 19 insertions, 0 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 425361fd9..2fa008fa7 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -11,3 +11,11 @@ ifeq ($(CONFIG_STACK_OPTIMIZATION_386),y) | |||
11 | # from aligning stack to 16 bytes. (Which is gcc's way of supporting SSE). | 11 | # from aligning stack to 16 bytes. (Which is gcc's way of supporting SSE). |
12 | CFLAGS += $(call cc-option,-mpreferred-stack-boundary=2,) | 12 | CFLAGS += $(call cc-option,-mpreferred-stack-boundary=2,) |
13 | endif | 13 | endif |
14 | |||
15 | # "Control how GCC aligns variables. | ||
16 | # Supported values for type are compat uses increased alignment value | ||
17 | # compatible uses GCC 4.8 and earlier, abi uses alignment value as specified by the psABI, | ||
18 | # and cacheline uses increased alignment value to match the cache line size. | ||
19 | # compat is the default." | ||
20 | # "abi" seems to be somewhat successful in preventing oversealous data alignment. | ||
21 | CFLAGS += $(call cc-option,-malign-data=abi,) | ||
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile new file mode 100644 index 000000000..16576fb81 --- /dev/null +++ b/arch/x86_64/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | # ========================================================================== | ||
2 | # Build system | ||
3 | # ========================================================================== | ||
4 | |||
5 | # "Control how GCC aligns variables. | ||
6 | # Supported values for type are compat uses increased alignment value | ||
7 | # compatible uses GCC 4.8 and earlier, abi uses alignment value as specified by the psABI, | ||
8 | # and cacheline uses increased alignment value to match the cache line size. | ||
9 | # compat is the default." | ||
10 | # "abi" seems to be somewhat successful in preventing oversealous data alignment. | ||
11 | CFLAGS += $(call cc-option,-malign-data=abi,) | ||