Table 3 values specify the type (continued)
Parameter Description
Loading ./libfile1.so:
Loading ./libfile2.so:
Loading /usr/lib/hpux32/libc.so:
Loading /usr/lib/hpux32/libdl.so.1:
libraries Dump information about libraries searched.
$ ld main.o +vtype libraries
Selecting /usr/lib/hpux32/libc.a
sections Dump information about each input section added to the output file.
$ ld main.o +vtype sections
section .note NOTE 240 4 added to note segment section .note NOTE 48 4 added to note segment section .IA_64.unwind_info PROGBITS A 28 4
added to text segment
section .text PROGBITS AX 112 16 added to text segment
section .IA_64.unwind UNWIND A 12 4 added to text segment
section .rodata PROGBITS A 9 8 added to text segment
section .HP.opt_annot PROGBITS A 25 8 added to text segment
symbols Dump information about global symbols referenced/defined from/in the input files.
$ ld main.o +vtype symbols
main is DEFINED GLOBAL FUNC printf is UNDEF GLOBAL FUNC lib1_func is UNDEF GLOBAL FUNC lib2_func is UNDEF GLOBAL FUNC
./libfile1.so:
printf is UNDEF GLOBAL FUNC
_DYNAMIC is DEFINED GLOBAL OBJECT lib1_func is DEFINED GLOBAL FUNC
...
all | Dump all of the above. Same as |
$ ld main.o +vtype all
main.o:
main is DEFINED GLOBAL FUNC printf is UNDEF GLOBAL FUNC lib1_func is UNDEF GLOBAL FUNC lib2_func is UNDEF GLOBAL FUNC
main.o:
section .note NOTE 240 4 added to note segment section .note NOTE 48 4 added to note segment section .IA_64.unwind_info PROGBITS A 28 4
added to text segment
section .text PROGBITS AX 112 16 added to text segment
section .IA_64.unwind UNWIND A 12 4 added to text segment
section .rodata PROGBITS A 9 8 added to text segment
section .HP.opt_annot PROGBITS A 25 8 added to text segment
Loading ./libfile1.so:
./libfile1.so:
...
Using Linker Commands 49