This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PE direct linking to dlls, accept any filename.
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Pedro Alves <pedro_alves at portugalmail dot pt>, binutils at sourceware dot org
- Date: Tue, 2 Jan 2007 18:12:14 +1030
- Subject: Re: [PATCH] PE direct linking to dlls, accept any filename.
- References: <000001c7217c$89ce2bc0$3a4861cb@anykey> <45867FBB.5040309@portugalmail.pt> <4586FE01.4030505@portugalmail.pt> <20061218223959.GA25775@trixie.casa.cgf.cx>
Fixes compile and link errors introduced with the 2006-12-18 change
to these files.
* pe-dll.c: Include pe-dll.h.
* pep-dll.c (pe_bfd_is_dll): Define.
Index: ld/pe-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.93
diff -u -p -r1.93 pe-dll.c
--- ld/pe-dll.c 18 Dec 2006 22:38:53 -0000 1.93
+++ ld/pe-dll.c 2 Jan 2007 07:30:25 -0000
@@ -40,6 +40,7 @@
#include "coff/internal.h"
#include "../bfd/libcoff.h"
#include "deffile.h"
+#include "pe-dll.h"
#ifdef pe_use_x86_64
Index: ld/pep-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pep-dll.c,v
retrieving revision 1.1
diff -u -p -r1.1 pep-dll.c
--- ld/pep-dll.c 20 Sep 2006 11:35:09 -0000 1.1
+++ ld/pep-dll.c 2 Jan 2007 07:30:25 -0000
@@ -50,6 +50,7 @@
#define pe_dll_generate_implib pep_dll_generate_implib
#define pe_dll_add_excludes pep_dll_add_excludes
#define pe_walk_relocs_of_symbol pep_walk_relocs_of_symbol
+#define pe_bfd_is_dll pep_bfd_is_dll
/* Uses x86_64 PE+. */
#define pe_use_x86_64
--
Alan Modra
IBM OzLabs - Linux Technology Centre