MIPS ABI requires creation of the MIPS_RLD_MAP dynamic tag for non-PIE executables only and MIPS_RLD_MAP_REL tag for both PIE and non-PIE executables. The patch skips definition of the MIPS_RLD_MAP for PIE files and defines MIPS_RLD_MAP_REL.
The MIPS_RLD_MAP_REL tag stores the offset to the .rld_map section relative to the address of the tag itself.
I think new member (like addTagRelSec) would be better here.
Because logic controlled with parameter by default here looks too specific and
code looks like 2 methods were merged into one.