diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-04-25 13:22:32 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-04-26 09:27:22 -0600 |
commit | 7ff2940d82d3e15eecd6f69c298700afa345c47a (patch) | |
tree | ae8b919f4ea3e8e8555fb4856f788e6fc2be97e1 /meta-xilinx-standalone | |
parent | 00a9929d15215ed5031cdbcd7776cef82c7eab7d (diff) | |
download | meta-xilinx-7ff2940d82d3e15eecd6f69c298700afa345c47a.tar.gz |
meta-xilinx-standalone: gcc-xilinx-standalone: Microblaze disable transactional memory
These two files were missed when the other part of the patch was applied.
On microblaze, add "--disable-tm-clone-registry" due to the image size increasing
Disable TM clone registry in libgcc. It is enabled in libgcc by default.
This option helps to reduce code size for embedded targets which do
not use transactional memory.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone')
-rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | 1 | ||||
-rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend index 3a7d1395..52360e2b 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
@@ -28,6 +28,7 @@ EXTRA_OECONF:append:xilinx-standalone:armv8r:class-target = " \ | |||
28 | 28 | ||
29 | EXTRA_OECONF:append:xilinx-standalone:microblaze:class-target = " \ | 29 | EXTRA_OECONF:append:xilinx-standalone:microblaze:class-target = " \ |
30 | --without-long-double-128 \ | 30 | --without-long-double-128 \ |
31 | --disable-tm-clone-registry \ | ||
31 | " | 32 | " |
32 | 33 | ||
33 | # Changes local to gcc-runtime... | 34 | # Changes local to gcc-runtime... |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend index 861b3f9c..2d33f5a9 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend | |||
@@ -2,6 +2,10 @@ require gcc-configure-xilinx-standalone.inc | |||
2 | 2 | ||
3 | COMPATIBLE_HOST = "${HOST_SYS}" | 3 | COMPATIBLE_HOST = "${HOST_SYS}" |
4 | 4 | ||
5 | EXTRA_OECONF:append:xilinx-standalone:microblaze:class-target = " \ | ||
6 | --disable-tm-clone-registry \ | ||
7 | " | ||
8 | |||
5 | python do_multilib_install:xilinx-standalone:class-target () { | 9 | python do_multilib_install:xilinx-standalone:class-target () { |
6 | pass | 10 | pass |
7 | } | 11 | } |