Kenwood HP 9000 Personal Computer User Manual


 
Chapter 3 97
Linker Tasks
Using 64-bit Mode Linker Options
Selecting Verbose Output with +vtype
Use the +vtype option to get verbose output about specified elements of
the link operation. The following values specify the type:
Parameter Description
files Dump information about each object file loaded.
ld main.o +vtype files -L. -lfile1 -lfile2 -lc
Loading main.o:
Loading ./libfile1.sl:
Loading ./libfile2.sl:
Loading /usr/lib/pa20_64/libc.2:
Loading /usr/lib/pa20_64/libdl.1:
libraries Dump information about libraries searched.
ld main.o +vtype libraries -L. -lfile1 -lfile2 -lc
Searching /usr/lib/pa20_64/libc.a:
Selecting /usr/lib/pa20_64/libc.a[printf.o] to
resolve printf
Selecting /usr/lib/pa20_64/libc.a[data.o] to
resolve __iob
...
sections Dump information about each section added to the
output file.
ld main.o +vtype sections -L. -lfile1 -lfile2 -lc
main.o:
section .text PROG_BITS AX 116 8 added to text
segment
section .PARISC.unwind UNWIND 16 4 added to text
segment
section .data PROG_BITS AW 96 8 added to data
segment
symbols Dump information about global symbols
referenced/defined from/in the input files.
ld main.o +vtype symbols -L. -lfile1 -lfile2 -lc
main.o:
main is DEFINED GLOBAL FUNC
printf is UNDEF GLOBAL FUNC
lib1_func is UNDEF GLOBAL FUNC
lib2_func is UNDEF GLOBAL FUNC
./libfile1.s:
printf is UNDEF GLOBAL FUNC
_DYNAMIC is DEFINED GLOBAL OBJECT
lib1_func is DEFINED GLOBAL FUNC
...
all Dump all of the above. Same as -v.