PR 4437
commit74d9836cd41c38049fc0b43b66065e72afd05b6d
authorNick Clifton <nickc@redhat.com>
Thu, 21 Jan 2010 10:31:31 +0000 (21 10:31 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 21 Jan 2010 10:31:31 +0000 (21 10:31 +0000)
tree0e1f1201608a395c52e5cf2d096a0e9edeb43e97
parentdcfdffa1fbdb2ef0b3aea1c3239601536740f68f
    PR 4437
        * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
        a missing file or library.  Instead mark the entry as missing and
        set the global flag to indicate that missing files were
        encountered.
        * ldlang.c (missing_files): New exported variable.
        (load_symbols): Skip loading if the file is missing.
        (open_input_bfds): Terminate link if any input files were
        missing.
        * ldlang.h (struct lang_input_statement_struct): Add missing_file
        field.
        Add export of missing_file variable.
ld/ChangeLog
ld/ldfile.c
ld/ldlang.c
ld/ldlang.h