3.3 Encoding Position Independence

The Position Independence Status note encodes the setting of the -fpic/-fpie used when compiling the program. The value of the note can be

0

Static code, ie neither pic nor pie.

1

Compiled with -fpic.

2

Compiled with -fPIC.

3

Compiled with -fpie.

4

Compiled with -fPIE

If both pic and pie have been specified on the command line then pie takes the precedence in the encoding.