GCC personality

Ian Lance Taylor iant@google.com
Wed Jul 6 19:34:00 GMT 2011


PRASANTH RAJAGOPAL <prasanthris@gmail.com> writes:

> In a Linker Script - What does "personality" in KEEP
> (*(.*personality*)) indicate? Is it a must?

That means that when using linker garbage collection, any section whose
name matches the shell patterh .*personality* will be retained.

The default linker scripts do not do this, and I'm not aware offhand of
any particular meaning to such sections.  Whether you must do it depends
on what you put in sections whose names match that pattern.

Ian



More information about the Gcc-help mailing list