[rtems-source-builder commit] microblaze: Add GCC patch to define __ELF__

Joel Sherrill joel at rtems.org
Wed Mar 9 20:24:24 UTC 2022


Module:    rtems-source-builder
Branch:    master
Commit:    54a0428cc3132b4156e7f150d1c3fcd218350234
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=54a0428cc3132b4156e7f150d1c3fcd218350234

Author:    Alex White <alex.white at oarcorp.com>
Date:      Thu Feb  3 12:50:44 2022 -0600

microblaze: Add GCC patch to define __ELF__

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



More information about the vc mailing list