diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em index 256c24f665..ae0d7ddf7f 100644 --- a/ld/emultempl/aix.em +++ b/ld/emultempl/aix.em @@ -191,6 +191,10 @@ gld${EMULATION_NAME}_parse_args (argc, argv) optind = prevoptind; return 0; + case 0: + /* Long option which just sets a flag. */ + break; + case 'D': val = strtol (optarg, &end, 0); if (*end != '\0')