This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: alias warning


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
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]