This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: alias warning
- To: <gcc-help at gcc dot gnu dot org>
- Subject: Re: alias warning
- From: <lange92 at 2067 dot resnet dot uni dot edu>
- Date: Thu, 2 Aug 2001 21:48:36 -0500 (CDT)
Hello all,
I try to avoid the strange practice of replying to my own posts, but it
looks like I found my answer: the attribute alias is supported in ELF, but
not COFF binaries.
Dan L
On Thu, 2 Aug 2001 lange92@2067.resnet.uni.edu wrote:
> Hi all,
> During the course of my attempt to build gnat/rtems I built a cross
> compiler which produced the following warning:
>
> bspstart.c:215:warning, alias definitions not supported in this
> configuration; ignored
>
> The line in question reads as follows:
>
> void bsp_start (void) __attribute__ ((weak, alias("bsp_start_default")));
>
> Anyone encounter this error before, and/or know how to fix it? I'm working
> with i386-rtemscoff-gcc compiler.
>
> Thanks for any help.
>
> DanL
>
>