command_line.warn_mismatch = TRUE;
command_line.warn_search_mismatch = TRUE;
- command_line.check_section_addresses = TRUE;
+ command_line.check_section_addresses = -1;
/* We initialize DEMANGLING based on the environment variable
COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the
if (link_info.relocatable)
{
- if (command_line.relax)
- einfo (_("%P%F: --relax and -r may not be used together\n"));
+ if (command_line.check_section_addresses < 0)
+ command_line.check_section_addresses = 0;
if (link_info.shared)
einfo (_("%P%F: -r and -shared may not be used together\n"));
}
char *s = ldemul_get_script (&isfile);
if (isfile)
- ldfile_open_command_file (s);
+ ldfile_open_default_command_file (s);
else
{
lex_string = s;