Removed sanitization of PowerPC NetWare. Also rebuilt Makefile

dependencies.
This commit is contained in:
Ian Lance Taylor
1994-05-20 18:22:45 +00:00
parent d5e29b6090
commit 7ce8b9d18d
4 changed files with 139 additions and 165 deletions

View File

@ -33,12 +33,6 @@ else
lose_these_too="ChangeLog.gm ${lose_these_too}" lose_these_too="ChangeLog.gm ${lose_these_too}"
fi fi
if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
keep_these_too="nlm32-ppc.c ${keep_these_too}"
else
lose_these_too="nlm32-ppc.c ${lose_these_too}"
fi
# All files listed between the "Things-to-keep:" line and the # All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed. # "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize # Directories listed in this section will have their own Sanitize
@ -184,6 +178,7 @@ nlm-target.h
nlm.c nlm.c
nlm32-alpha.c nlm32-alpha.c
nlm32-i386.c nlm32-i386.c
nlm32-ppc.c
nlm32-sparc.c nlm32-sparc.c
nlm32.c nlm32.c
nlm64.c nlm64.c
@ -258,28 +253,4 @@ else
chmod a+x config.bfd chmod a+x config.bfd
fi fi
ppcfiles="ChangeLog Makefile.in configure.in config.bfd targets.c"
if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
if [ -n "${verbose}" ] ; then
echo Keeping PowerPC NetWare stuff in $ppcfiles.
fi
else
if [ -n "${verbose}" ]; then
echo -n Removing PowerPC NetWare in `pwd`:
fi
for f in $ppcfiles ; do
if [ -n "${verbose}" ] ; then
echo -n " " $f
fi
sed '/start\-sanitize\-powerpc\-netware/,/end\-sanitize\-powerpc\-netware/d' < $f > new
if [ -n "${safe}" ] ; then
mv $f .Recover
fi
mv new $f
done
chmod a+x config.bfd
fi
# End of file. # End of file.

View File

@ -531,11 +531,9 @@ Wed Apr 20 16:45:51 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
ones defined in stdlib.h. (From Minh Tran-Le.) ones defined in stdlib.h. (From Minh Tran-Le.)
Wed Apr 20 14:15:21 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Wed Apr 20 14:15:21 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
start-sanitize-powerpc-netware
* nlm32-ppc.c: Complete rewrite for new version of PowerPC * nlm32-ppc.c: Complete rewrite for new version of PowerPC
NetWare. Old code still present, but ifdeffed out. NetWare. Old code still present, but ifdeffed out.
end-sanitize-powerpc-netware
* nlmcode.h (nlm_swap_auxiliary_headers_in): Don't assume a * nlmcode.h (nlm_swap_auxiliary_headers_in): Don't assume a
particular format for the customer header. Allocate a block of particular format for the customer header. Allocate a block of
@ -1664,9 +1662,7 @@ Mon Mar 14 11:41:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
Sat Mar 12 09:46:09 1994 Ian Lance Taylor (ian@cygnus.com) Sat Mar 12 09:46:09 1994 Ian Lance Taylor (ian@cygnus.com)
* elf32-ppc.c: Renamed from elf32-powerpc.c. * elf32-ppc.c: Renamed from elf32-powerpc.c.
start-sanitize-powerpc-netware
* nlm32-ppc.c: Renamed from nlm32-powerpc.c. * nlm32-ppc.c: Renamed from nlm32-powerpc.c.
end-sanitize-powerpc-netware
* Makefile.in, configure.in: Corresponding changes. * Makefile.in, configure.in: Corresponding changes.
Fri Mar 11 22:27:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Fri Mar 11 22:27:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
@ -1955,7 +1951,6 @@ Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Fri Feb 18 11:41:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Fri Feb 18 11:41:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
start-sanitize-powerpc-netware
Support for PowerPC NetWare. Support for PowerPC NetWare.
* nlm32-powerpc.c: New file. * nlm32-powerpc.c: New file.
* config.bfd (powerpc-*-netware*): New target; use ppc-nlm. * config.bfd (powerpc-*-netware*): New target; use ppc-nlm.
@ -1964,9 +1959,7 @@ Fri Feb 18 11:41:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
nlm32-powerpc.o, nlm32.o, nlm.o. nlm32-powerpc.o, nlm32.o, nlm.o.
* targets.c (nlm32_powerpc_vec): Declare. * targets.c (nlm32_powerpc_vec): Declare.
* Makefile.in (BFD32_BACKENDS): Add nlm32-powerpc.o. * Makefile.in (BFD32_BACKENDS): Add nlm32-powerpc.o.
(CFILES): Should add nlm32-powerpc.c, but didn't, because the (CFILES): Add nlm32-powerpc.c.
dependencies can't be sanitized.
end-sanitize-powerpc-netware
Initial support for PowerPC ELF. Done without an ABI, and Initial support for PowerPC ELF. Done without an ABI, and
probably to be changed when I get an ABI. probably to be changed when I get an ABI.

View File

@ -160,9 +160,7 @@ BFD32_BACKENDS = \
nlm.o \ nlm.o \
nlm32-i386.o \ nlm32-i386.o \
nlm32-sparc.o \ nlm32-sparc.o \
$(start-sanitize-powerpc-netware) \
nlm32-ppc.o \ nlm32-ppc.o \
$(end-sanitize-powerpc-netware) \
nlm32.o \ nlm32.o \
oasys.o \ oasys.o \
reloc16.o \ reloc16.o \
@ -238,7 +236,7 @@ CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \ elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \
elf64.c elf64-gen.c \ elf64.c elf64-gen.c \
nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \ nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
nlm64.c coff-alpha.c cpu-alpha.c \ nlm64.c coff-alpha.c cpu-alpha.c nlm32-ppc.c \
hp300bsd.c hp300hpux.c \ hp300bsd.c hp300hpux.c \
i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \ i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \ sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
@ -533,9 +531,9 @@ aout32.o : aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
sunos.o: sunos.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \ sunos.o: sunos.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
$(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
$(INCDIR)/aout/ar.h aout-target.h $(INCDIR)/aout/ar.h aout-target.h
demo64.o : demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \ demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
$(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h $(INCDIR)/aout/ar.h aout-target.h
coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \ coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
libcoff.h coffcode.h coffswap.h libcoff.h coffcode.h coffswap.h
srec.o: srec.c srec.o: srec.c
@ -561,8 +559,8 @@ coff-a29k.o : coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
libcoff.h coffcode.h coffswap.h libcoff.h coffcode.h coffswap.h
coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \ coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
$(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h
coff-sparc.o : coff-sparc.c $(INCDIR)/coff/sparc.h \ coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
$(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h libcoff.h coffcode.h coffswap.h
coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h
format.o: format.c format.o: format.c
section.o: section.c section.o: section.c
@ -600,10 +598,10 @@ i386os9k.o : i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
$(INCDIR)/os9k.h $(INCDIR)/os9k.h
bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \ bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
aout-adobe.o : aout-adobe.c $(INCDIR)/aout/adobe.h \ aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/aout/stab.def libaout.h
coff-we32k.o : coff-we32k.c $(INCDIR)/coff/we32k.h \ coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
$(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h libcoff.h coffcode.h coffswap.h
i386bsd.o: i386bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ i386bsd.o: i386bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h libaout.h \ i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h libaout.h \
@ -630,24 +628,29 @@ reloc16.o : reloc16.c $(INCDIR)/bfdlink.h genlink.h \
mipsbsd.o: mipsbsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ mipsbsd.o: mipsbsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
cpu-sh.o: cpu-sh.c cpu-sh.o: cpu-sh.c
elf.o : elf.c libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/external.h
elf32.o : elf32.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
elf32-sparc.o : elf32-sparc.c libelf.h $(INCDIR)/elf/common.h \ elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
elf32-i386.o : elf32-i386.c libelf.h $(INCDIR)/elf/common.h \ elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
elf32-target.h
elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h libelf.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
elf32-target.h
elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \ elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
elf32-target.h
elf32-m68k.o: elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \ elf32-m68k.o: elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
elf32-target.h
elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \ elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
elf32-hppa.h libhppa.h $(INCDIR)/aout/aout64.h hppa_stubs.h \ elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h $(INCDIR)/aout/aout64.h \
elf32-target.h hppa_stubs.h elf32-target.h
elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \ elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
elf32-target.h
elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \ elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \ $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
@ -655,13 +658,16 @@ elf32-mips.o : elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
$(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \ $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
elf32-target.h elf32-target.h
elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \ elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
elf32-target.h
elf32-ppc.o: elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \ elf32-ppc.o: elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
elf64.o : elf64.c elfcode.h libelf.h $(INCDIR)/elf/common.h \ elf32-target.h
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \ elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf64-target.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
elf64-target.h
nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
$(INCDIR)/nlm/external.h $(INCDIR)/nlm/external.h
nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \ nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
@ -682,6 +688,9 @@ coff-alpha.o : coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
$(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \ $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
ecoffswap.h ecoffswap.h
cpu-alpha.o: cpu-alpha.c cpu-alpha.o: cpu-alpha.c
nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
$(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
nlmswap.h nlm-target.h
hp300bsd.o: hp300bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ hp300bsd.o: hp300bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \ hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \

View File

@ -421,6 +421,7 @@ extern bfd_target a29kcoff_big_vec;
extern bfd_target a_out_adobe_vec; extern bfd_target a_out_adobe_vec;
extern bfd_target aout_mips_big_vec; extern bfd_target aout_mips_big_vec;
extern bfd_target aout_mips_little_vec; extern bfd_target aout_mips_little_vec;
extern bfd_target aout0_big_vec;
extern bfd_target apollocoff_vec; extern bfd_target apollocoff_vec;
extern bfd_target b_out_vec_big_host; extern bfd_target b_out_vec_big_host;
extern bfd_target b_out_vec_little_host; extern bfd_target b_out_vec_little_host;
@ -472,9 +473,7 @@ extern bfd_target newsos3_vec;
extern bfd_target nlm32_i386_vec; extern bfd_target nlm32_i386_vec;
extern bfd_target nlm32_sparc_vec; extern bfd_target nlm32_sparc_vec;
extern bfd_target nlm32_alpha_vec; extern bfd_target nlm32_alpha_vec;
/*start-sanitize-powerpc-netware*/
extern bfd_target nlm32_powerpc_vec; extern bfd_target nlm32_powerpc_vec;
/*end-sanitize-powerpc-netware*/
extern bfd_target oasys_vec; extern bfd_target oasys_vec;
extern bfd_target rs6000coff_vec; extern bfd_target rs6000coff_vec;
extern bfd_target shcoff_vec; extern bfd_target shcoff_vec;
@ -541,6 +540,7 @@ bfd_target *bfd_target_vector[] = {
&bfd_elf32_m68k_vec, &bfd_elf32_m68k_vec,
&bfd_elf32_m88k_vec, &bfd_elf32_m88k_vec,
&bfd_elf32_sparc_vec, &bfd_elf32_sparc_vec,
&bfd_elf32_powerpc_vec,
#ifdef BFD64 /* No one seems to use this. */ #ifdef BFD64 /* No one seems to use this. */
&bfd_elf64_big_generic_vec, &bfd_elf64_big_generic_vec,
&bfd_elf64_little_generic_vec, &bfd_elf64_little_generic_vec,
@ -614,6 +614,7 @@ bfd_target *bfd_target_vector[] = {
&sparclynx_aout_vec, &sparclynx_aout_vec,
&sparclynx_coff_vec, &sparclynx_coff_vec,
&sunos_big_vec, &sunos_big_vec,
&aout0_big_vec,
#if 0 #if 0
&tekhex_vec, &tekhex_vec,
#endif #endif