You can use the nm command:
The nm utility shall display symbolic information appearing in the object file, executable file, or object-file library named by file. If no symbolic information is available for a valid input file, the nm utility shall report that fact, but not consider it an error condition.
The common usage:
it will prints the names.
For more options, check the nm manual.