From 9d069ac37fb121b2794681480f8691d5699de9f7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 25 Jun 2014 16:35:58 +0100 Subject: Fixes to allow a toolchain configured with --enable-all to build on a 32-bit host. * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from here... (ALL_64_EMULATION_SOURCES): ... to here. (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here... (ALL_64_EMUL_EXTRA_OFILES): New. ... to here. * configure.in (EMUL_EXTRA_OFILES): Include ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build. * Makefile.in: Regenerate. * configure: Regenerate. --- ld/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ld/Makefile.am') diff --git a/ld/Makefile.am b/ld/Makefile.am index c537fa7..24560a0 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -318,7 +318,6 @@ ALL_EMULATION_SOURCES = \ ei386nw.c \ ei386pe.c \ ei386pe_posix.c \ - ei386pep.c \ elnk960.c \ em32relf.c \ em32relf_linux.c \ @@ -480,6 +479,7 @@ ALL_64_EMULATION_SOURCES = \ eelf_x86_64_nacl.c \ eelf_x86_64_sol2.c \ ehppa64linux.c \ + ei386pep.c \ emmo.c \ eshelf64.c \ eshelf64_nbsd.c \ @@ -490,7 +490,9 @@ ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@) ALL_EMUL_EXTRA_OFILES = \ deffilep.@OBJEXT@ \ - pe-dll.@OBJEXT@ \ + pe-dll.@OBJEXT@ + +ALL_64_EMUL_EXTRA_OFILES = \ pep-dll.@OBJEXT@ CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ -- cgit v1.1