[PATCH RSB] microblaze: Add GCC patch to define __ELF__

Alex White alex.white at oarcorp.com
Thu Feb 3 18:55:53 UTC 2022


This fixes compilation errors in rtems-libbsd.
---
 rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg b/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg
index a83fe46..5366457 100644
--- a/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg
+++ b/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg
@@ -44,3 +44,6 @@
 
 %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4481/0002-config-microblaze-crti.S-Add-single-underscore-init-.patch
 %hash sha512 0002-config-microblaze-crti.S-Add-single-underscore-init-.patch bf1ec7eff0dd51d154dd0507edb085458c90a000f5a3ccefb1064147cf8fdafe0111d2094372e164976f2193c289bff9ea63dcad43555c90893272a494b7e779
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4589/0001-microblaze-Define-__ELF__-for-RTEMS-target.patch
+%hash sha512 0001-microblaze-Define---ELF---for-RTEMS-target.patch 39c0666c2e5c560447f00ed913cd07261e9c0db05b0cc549400667013ccf1d4140c0bd7b012d60dd628235bf7ae27564460a45e969e9cff75d14ed94bfd82632
-- 
2.30.2



More information about the devel mailing list