summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-04-25 13:22:32 -0600
committerMark Hatle <mark.hatle@amd.com>2024-04-26 09:27:22 -0600
commit7ff2940d82d3e15eecd6f69c298700afa345c47a (patch)
treeae8b919f4ea3e8e8555fb4856f788e6fc2be97e1 /meta-xilinx-standalone
parent00a9929d15215ed5031cdbcd7776cef82c7eab7d (diff)
downloadmeta-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_%.bbappend1
-rw-r--r--meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend4
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
29EXTRA_OECONF:append:xilinx-standalone:microblaze:class-target = " \ 29EXTRA_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
3COMPATIBLE_HOST = "${HOST_SYS}" 3COMPATIBLE_HOST = "${HOST_SYS}"
4 4
5EXTRA_OECONF:append:xilinx-standalone:microblaze:class-target = " \
6 --disable-tm-clone-registry \
7 "
8
5python do_multilib_install:xilinx-standalone:class-target () { 9python do_multilib_install:xilinx-standalone:class-target () {
6 pass 10 pass
7} 11}