PR ld/12742
authorKai Tietz <kai.tietz@onevision.com>
Tue, 20 Mar 2012 19:24:32 +0000 (19:24 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Tue, 20 Mar 2012 19:24:32 +0000 (19:24 +0000)
commit17d5dae239c8e8cca84afffd3672981379536491
tree85066d21a90e83a70d4903caa8424f01984001f9
parentbdb892b99584bfd481ed23c90ad7ceafb31ca791
    PR ld/12742
        * configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h.
        * plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined.
        Add windows.h header include if HAVE_WINDOWS_H is defined.
        (dlerror): New static function if windows variant is used instead
        of dlfcn.h.
        (dlclose): Likewise.
        (dlopen): Likewise.
        (dlsym): Likewise.
        * configure: Regenerated.
        * config.in: Regenerated.
bfd/ChangeLog
bfd/config.in
bfd/configure
bfd/configure.in
bfd/plugin.c