Other eld Processing
eld Manual—527255-009
4-15
Modifying the Data Sections that Contain Stack
Unwinding Information
there are multiple
-strip
options, the temporary filename specified by
-temp_o
applies to all of them.
The ELF symbol table can never be stripped from a linkfile, and the
.dynsym
and
.dynsym.gblzd
sections can never be stripped from a loadfile, because they are
needed by the linker and/or runtime loader.
Modifying the Data Sections that Contain Stack Unwinding
Information
Linkfiles may contain an unwind function section, an unwind information section, and a
relocation table section for that unwind function section. The linker concatenates these
sections when creating another linkfile. The linker similarly concatenates the
information in
.procinfo
and
.procnames
sections.
When building a loadfile, the linker creates an unwind function section, unwind
information section, and string space. The format of the unwind function section in a
loadfile is different from the format that it has in a linkfile, containing additional
information that the linker obtains from the
.procinfo
and
.procnames
sections of its
input linkfiles.
If there were multiple copies of procedures, the information about unused copies is
omitted from the
.procinfo
and unwind function sections of linkfiles, and from the
unwind function sections of loadfiles. In the linkfile case, that also means doing
something about the corresponding relocation table entries.
Creating the MCB
The linker creates the
MCB
(“master control block”) as additional data in the
.data
section. The internal name of the MCB is
_MCB
(one underscore), so this name can be
used to reference the
MCB
. The linker only creates the MCB if it is building a program,
and only if there is a reference to the symbol named
_MCB
.
eld
reports an error if a
symbol named
_MCB
is defined in any of the linker’s input object files, regardless of
the type of file the linker is creating.
Two linker options that specifically affect the value placed into the MCB are
-ansistreams
and
-nostdfiles
. The value that the linker has decided to place
into the ELF header to describe the floating point type is also reflected in the MCB.
The TNS/E linker considers it an error if either of the above options is specified when
the linker is not creating a program. The option
-no_stdfiles
is accepted as a
synonym for
-nostdfiles
.
Further information on the MCB may be found in
The MCB (Master Control Block)
on
page A-14.
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 ...