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

Joel Sherrill joel at rtems.org
Thu Feb 3 19:09:00 UTC 2022


This patch also needs to go upstream to GCC?

Has the one for the init symbol been submitted to GCC?

On Thu, Feb 3, 2022, 12:56 PM Alex White <alex.white at oarcorp.com> wrote:

> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>


More information about the devel mailing list