Table 19 Symbol names

Symbol

Definition

 

 

__SYSTEM_ID

Largest architecture revision level used by any compilation unit

 

 

_FPU_STATUS

Initial value of FPU status register.

 

 

_end

Address of first byte following the end of the main program's data segment; identifies the beginning

 

of the heap segment.

 

 

__TLS_SIZE

Size of the Thread Local Storage segment required by the program. This symbol is not reserved

 

in PA32 (SOM).

 

 

__text_start

Beginning of the text segment.

 

 

_etext

End of the text segment.

 

 

__data_start

Beginning of the data segment.

 

 

_edata

End of initialized data.

 

 

__gp

Global pointer value. This symbol is not reserved in PA32 (SOM).

 

 

__init_start

Beginning of the .init section.

 

 

__init_end

End of the .init section.

 

 

__fini_start

Beginning of the .fini section.

 

 

__fini_end

End of the .fini section.

 

 

__unwind_start

Beginning of the unwind table. This symbol is not reserved in PA32 (SOM).

 

 

__unwind_end

End of the unwind table. This symbol is not reserved in PA32 (SOM).

 

 

Dynamic Path Searching for Shared Libraries

Dynamic path searching is the process that enables you to specify the location of shared libraries at run time. In PA-32 mode, you can enable run-time dynamic path searching of shared libraries in the following ways:

By linking the program with +s, enabling the program to use the path list defined by the SHLIB_PATH environment variable at run time.

By storing a directory path list in the program with the linker option +b path_list.

If +s or +b path_list is enabled, all shared libraries specified with the -llibrary or -l:librarylinker options are subject to a dynamic path lookup at run time.

In IPF, the dynamic path searching behavior has changed (same as PA-64 mode):

The +s dynamic path searching option is enabled by default. It is not enabled by default in PA-32 mode.

The LD_LIBRARY_PATH environment variable is available in addition to the SHLIB_PATH environment variable.

An embedded run-time path list called RUNPATH may be stored in the executable. If +b path_list is specified at link time, these directories are added to RUNPATH. If +b path_list is not specified, the linker creates a default RUNPATH consisting of:

1.directories in the -Loption (if specified), followed by

2.directories in the LPATH environment variable (if specified).

By default, the linker ignores the ordering of the +b path_list and +s options.

At run time, the dynamic loader searches directory paths in the following order:

1.dynamic path (if set using dlsetlibpath())

2.LD_LIBRARY_PATH (if set)

Dynamic Path Searching for Shared Libraries 83