diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-24 15:03:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-24 15:03:01 +0000 |
commit | 72358f656865476617bb9ee497d08b32a48c95c8 (patch) | |
tree | a438c5f20c6a24bc65c55e49090550d8956f7661 /ld/pe-dll.c | |
parent | 89b57c9acc2dd358b76bdfe5a2b960a2fb17fc22 (diff) | |
download | gdb-72358f656865476617bb9ee497d08b32a48c95c8.zip gdb-72358f656865476617bb9ee497d08b32a48c95c8.tar.gz gdb-72358f656865476617bb9ee497d08b32a48c95c8.tar.bz2 |
Define and use pe_get_data_import_dll_name().
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index ae72eaa..f62835d 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -123,6 +123,10 @@ static void add_bfd_to_link PARAMS ((bfd *, const char *, struct bfd_link_info *)); +/* Defined in emultempl/pe.em. */ +extern char * +pe_get_data_import_dll_name PARAMS ((void)); + /* For emultempl/pe.em. */ def_file * pe_def_file = 0; @@ -2065,9 +2069,8 @@ pe_create_import_fixup (rel) } { - extern char * pe_data_import_dll; /* Defined in emultempl/pe.em. */ - - bfd *b = make_import_fixup_entry (name, fixup_name, pe_data_import_dll, + bfd *b = make_import_fixup_entry (name, fixup_name, + pe_get_data_import_dll_name (), output_bfd); add_bfd_to_link (b, b->filename, &link_info); } |