alias

Previous Specifying Attributes of Functions Next

Syntax: alias ("target")

The alias attribute causes the declaration to be emitted as an alias for another symbol, which must be specified. For instance,

void __f () { /* Do something. */; }
void f () __attribute__ ((weak, alias ("__f")));
declares f to be a weak alias for __f.

Not all target machines support this attribute. We haven't tested yet whether it is supported for the Motorola 68000.