public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Ld fixes for powerpcle-winnt.
@ 2002-01-16 18:03 Eric Kohl
  2002-01-16 19:55 ` DJ Delorie
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Kohl @ 2002-01-16 18:03 UTC (permalink / raw)
  To: binutils

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Ld fixes for powerpcle-winnt.
  2002-01-16 18:03 [PATCH] Ld fixes for powerpcle-winnt Eric Kohl
@ 2002-01-16 19:55 ` DJ Delorie
  0 siblings, 0 replies; 2+ messages in thread
From: DJ Delorie @ 2002-01-16 19:55 UTC (permalink / raw)
  To: ekohl; +Cc: binutils


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

Ok.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-17  2:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-16 18:03 [PATCH] Ld fixes for powerpcle-winnt Eric Kohl
2002-01-16 19:55 ` DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).