Re: handling of symbol prefixes in the "target" of the alias("target") attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Frysinger <vapier@xxxxxxxxxx> writes:

> i'm wondering whether it is expected that the "target" of the alias() 
> attribute should automatically handle the symbol prefix 
> (__USER_LABEL_PREFIX__).  the documentation doesnt mention anything along 
> these lines, but going by existing ports like Windows and Blackfin/Linux, it 
> would seem that they do.  however, it seems like Apple's gcc fork does not.  
> it also seems more logical for the prefix to be handled transparently rather 
> than forcing everyone to do magic CPP crap with __USER_LABEL_PREFIX__.
> -mike

As far as I know it was never documented.  However, every target that I
checked does add __USER_LABEL_PREFIX__ before the alias name.

Apple's gcc fork must do something different anyhow, since Darwin
doesn't support aliases.  I don't know how Apple's gcc handles them.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux