This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Ld fixes for powerpcle-winnt.


Hi!

This patch fixes two ld configuration bugs for powerpcle-winnt.


Regards,

Eric Kohl


ld/ChangeLog:
	* configure.tgt: Added missing 'target_extra_ofiles' for powerpcle-winnt.
	* emultempl/pe.em: Enabled DLL-support for powerpcle-winnt.

Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.76
diff -u -r1.76 configure.tgt
--- configure.tgt	2002/01/08 04:23:02	1.76
+++ configure.tgt	2002/01/17 00:26:40
@@ -404,7 +404,8 @@
 powerpc-*-macos*)	targ_emul=ppcmacos ;;
 powerpc-*-netware*)	targ_emul=ppcnw ;;
 powerpcle-*-pe)         targ_emul=ppcpe ;;
-powerpcle-*-winnt*)     targ_emul=ppcpe ;;
+powerpcle-*-winnt*)     targ_emul=ppcpe ;
+			targ_extra_ofiles="deffilep.o pe-dll.o" ;;
 powerpcle-*-cygwin*)    targ_emul=ppcpe ;;
 powerpc-*-aix*)		targ_emul=aixppc ;;
 powerpc-*-beos*)	targ_emul=aixppc ;;
Index: ld/emultempl/pe.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/pe.em,v
retrieving revision 1.58
diff -u -r1.58 pe.em
--- pe.em	2002/01/05 13:14:00	1.58
+++ pe.em	2002/01/17 00:26:52
@@ -80,7 +80,7 @@
 #define PE_DEF_SECTION_ALIGNMENT ${OVERRIDE_SECTION_ALIGNMENT}
 #endif
 
-#if defined(TARGET_IS_i386pe)
+#if defined(TARGET_IS_i386pe) || defined(TARGET_IS_ppcpe)
 #define DLL_SUPPORT
 #endif
 #if defined(TARGET_IS_shpe) || defined(TARGET_IS_mipspe) || 
defined(TARGET_IS_armpe)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]