bfd/
[deliverable/binutils-gdb.git] / bfd / elf64-mmix.c
index 479304769a79296771da3eaf58419ba6cdedddd0..9669fdb6698c86903590880cf3cff83f9edd32b9 100644 (file)
@@ -2590,6 +2590,10 @@ mmix_elf_relax_section (abfd, sec, link_info, again)
   /* Assume nothing changes.  */
   *again = FALSE;
 
+  if (link_info->relocatable)
+    (*link_info->callbacks->einfo)
+      (_("%P%F: --relax and -r may not be used together\n"));
+
   /* We don't have to do anything if this section does not have relocs, or
      if this is not a code section.  */
   if ((sec->flags & SEC_RELOC) == 0
This page took 0.02331 seconds and 4 git commands to generate.