TNS/E Native Object Files
eld Manual—527255-009
A-15
Predefined Symbols
Note that the sections listed above do not imply that the address of the symbol is in
that section. The value in st_scndx doesn't really matter, because the st_value fi
eld
gives the symbol's value, not its offset within a section. But something needs to be
filled in for the st_shndx fi
eld
, and it needs to be a real section, not "absolute", so that
rld and the -alf option of the linker know that it should be updated for rebasing.
Accordingly, the section indices shown above have been chosen. The linker will
always create sections named .text and .data, even if they would be empty, so that
their indices can be used in this way. Note that_unwind_size is absolute. Also, if the
loadfile has no code, and therefore has no .IA_64.unwind section, then the symbol
named _unwind is made absolute, and in this case both _unwind and _unwind_size
have the value 0.
Table A-3.
Additional Predefined Symbols Optionally Created By The Linker In
Loadfiles
Name
Meaning
Value of st_shndx
_BASE_ADDRESS
The address of the text
segment.
The index of the .text
section.
_DYNAMIC
The address of the .dynamic
section.
The index of the
.dynamic section.
_unwind
The start of the .IA_64.unwind
section.
The index of the
.IA_64.unwind
section, or SHN_ABS
(see the explanation
below).
_unwind_size
The number of entries in the
.IA_64.unwind section.
SHN_ABS
etext or _etext
The end of the text segment.
The index of the .text
section.
fdata or _fdata
The start of the data (constant)
segment.
The index of the .data
section.
_GLOBAL_OFFSET_TA
BLE
The address of the .got section.
The index of the .got
section.
__gp
The GP value.
The index of the .got
section.
edata or _edata
The end of the initialized data,
which is also the start of the
uninitialized data.
The index of the .data
section.
end or _end
The end of all the data.
The index of the .data
section.
Summary of Contents for eld
Page 4: ......
Page 8: ...Contents eld Manual 527255 009 iv ...
Page 12: ...What s New in This Manual eld Manual 527255 009 viii Changes to the 527255 005 Manual ...
Page 34: ...Introduction to eld eld Manual 527255 009 1 14 Example of Use ...
Page 54: ...eld Input and Output eld Manual 527255 009 2 20 Using Archives ...
Page 98: ...Other eld Processing eld Manual 527255 009 4 20 Merging Source RTDUs ...
Page 242: ...Output Listings and Error Handling eld Manual 527255 009 6 132 Glossary of Errors ...