Added a check for the -R linker option.