> Sorry, got confused with file(1) output.

Yes, you will have noticed that file(1) no longer says "static".

The confusion is because static means a few things, historically.

One aspect is whether the program depends on any other shared
libraries.

Another aspect is the code generation model.

Traditionally the programs were fixed location, and not dependent on
shared libraries.  To make them PIE (position-independent-executable),
the generated (compiled+linked) code had to move towards PIC
(position-independent-code) much like shared libraries.

These programs are PIC/PIE, but static because the libraries (like
libc) are linked-in.

We should continue to call them "static".  (static PIE to be more
specific).

Reply via email to