Add -z undefs option to the ELF linker.
[deliverable/binutils-gdb.git] / ld / emultempl / elf32.em
index 8ff19bf8833f93313b7eecdc3453c7b9bb164688..c0925fc9b970e66a6d014960e5a09919369d69ac 100644 (file)
@@ -2726,6 +2726,8 @@ fragment <<EOF
     case 'z':
       if (strcmp (optarg, "defs") == 0)
        link_info.unresolved_syms_in_objects = RM_GENERATE_ERROR;
+      else if (strcmp (optarg, "undefs") == 0)
+       link_info.unresolved_syms_in_objects = RM_IGNORE;
       else if (strcmp (optarg, "muldefs") == 0)
        link_info.allow_multiple_definition = TRUE;
       else if (CONST_STRNEQ (optarg, "max-page-size="))
This page took 0.027038 seconds and 4 git commands to generate.