ld:
[deliverable/binutils-gdb.git] / ld / ldmain.c
index f1112cfc518ee0f6eb8c719df79f4785a27fa185..29f00d621cd87816d434c0a5569075046c6f4412 100644 (file)
@@ -292,9 +292,7 @@ main (int argc, char **argv)
 
   if (link_info.relocatable)
     {
-      if (link_info.gc_sections)
-       einfo ("%P%F: --gc-sections and -r may not be used together\n");
-      else if (command_line.relax)
+      if (command_line.relax)
        einfo (_("%P%F: --relax and -r may not be used together\n"));
       if (link_info.shared)
        einfo (_("%P%F: -r and -shared may not be used together\n"));
This page took 0.02574 seconds and 4 git commands to generate.