3.6.1. Using image-related information
You can use the ‑‑map option to create an image map. This includes the address and size of each load region, execution region, and input section in the image, and shows how RW data compression is applied. See Generating image-related information for more information.
You can use --info inputs to identify the source of some link errors. For example, you can search the output to locate undefined references from library objects or multiply defined symbols caused by retargeting some library functions and not others. Search backwards from the end of this output to find and resolve link errors. The --verbose option can also be used to output similar text with additional information on the linker operations.