From 7ff2940d82d3e15eecd6f69c298700afa345c47a Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 25 Apr 2024 13:22:32 -0600 Subject: 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 --- meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | 1 + meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'meta-xilinx-standalone') 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 = " \ EXTRA_OECONF:append:xilinx-standalone:microblaze:class-target = " \ --without-long-double-128 \ + --disable-tm-clone-registry \ " # 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 COMPATIBLE_HOST = "${HOST_SYS}" +EXTRA_OECONF:append:xilinx-standalone:microblaze:class-target = " \ + --disable-tm-clone-registry \ + " + python do_multilib_install:xilinx-standalone:class-target () { pass } -- cgit v1.2.3-54-g00ecf