Geoff Chappell - Software Analyst
No arguments are anticipated. The option is /relocations only.
This option applies to executables in PE format and to COFF objects (whether as self-standing files or embedded in a library).
In executables, the Base Relocations are located via the Optional Header’s Data Directory. As with other such data, the Base Relocations are part of the executable’s image and are expected to lie wholly within some section of that image.
For each input file that is an executable in PE format, for each eligible section (as determined by the /range and /section options), if the /relocations option is active and the Base Relocations are contained in that section, then DUMPBIN adds a listing of the Base Relocations to its dump of the section.
In COFF objects, each section may have its own relocations, reached from the section header.
For each applicable input file, for each eligible section (as determined by the /range and /section options), if the /relocations option is active and the section has its own relocations, then DUMPBIN adds a listing of those relocations to its dump of the section.