Remove binutils 2.9.
This commit is contained in:
parent
39c9c4310b
commit
0f9c63ed39
794
gnu/dist/ld/Makefile.am
vendored
794
gnu/dist/ld/Makefile.am
vendored
@ -1,794 +0,0 @@
|
||||
## Process this file with automake to generate Makefile.in
|
||||
|
||||
AUTOMAKE_OPTIONS = cygnus dejagnu
|
||||
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
|
||||
YFLAGS = -d
|
||||
LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
|
||||
|
||||
# We put the scripts in the directory $(scriptdir)/ldscripts.
|
||||
# We can't put the scripts in $(datadir) because the SEARCH_DIR
|
||||
# directives need to be different for native and cross linkers.
|
||||
scriptdir = $(tooldir)/lib
|
||||
|
||||
EMUL = @EMUL@
|
||||
EMULATION_OFILES = @EMULATION_OFILES@
|
||||
|
||||
# Search path to override the default search path for -lfoo libraries.
|
||||
# If LIB_PATH is empty, the ones in the script (if any) are left alone.
|
||||
# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
|
||||
# a cross-linker, in which case the default is empty. See genscripts.sh.)
|
||||
# Otherwise, they are replaced with the ones given in LIB_PATH,
|
||||
# which may have the form: LIB_PATH=/lib:/usr/local/lib
|
||||
LIB_PATH =
|
||||
|
||||
BASEDIR = $(srcdir)/..
|
||||
BFDDIR = $(BASEDIR)/bfd
|
||||
INCDIR = $(BASEDIR)/include
|
||||
DEP = mkdep
|
||||
|
||||
# What version of the manual to build
|
||||
DOCVER = gen
|
||||
|
||||
#stuff for self hosting (can be overridden in config file).
|
||||
HOSTING_CRT0 = @HOSTING_CRT0@
|
||||
HOSTING_LIBS = @HOSTING_LIBS@
|
||||
HOSTING_EMU = -m $(EMUL)
|
||||
|
||||
# Setup the testing framework, if you have one
|
||||
EXPECT = `if [ -f $$r/../expect/expect ] ; \
|
||||
then echo $$r/../expect/expect ; \
|
||||
else echo expect ; fi`
|
||||
|
||||
RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
|
||||
then echo $${srcroot}/../dejagnu/runtest ; \
|
||||
else echo runtest ; fi`
|
||||
|
||||
RUNTESTFLAGS =
|
||||
|
||||
CC_FOR_TARGET = ` \
|
||||
if [ -f $$r/../gcc/xgcc ] ; then \
|
||||
if [ -f $$r/../newlib/Makefile ] ; then \
|
||||
echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
|
||||
else \
|
||||
echo $$r/../gcc/xgcc -B$$r/../gcc/; \
|
||||
fi; \
|
||||
else \
|
||||
if [ "@host@" = "@target@" ] ; then \
|
||||
echo $(CC); \
|
||||
else \
|
||||
echo gcc | sed '$(transform)'; \
|
||||
fi; \
|
||||
fi`
|
||||
|
||||
CXX = gcc
|
||||
CXX_FOR_TARGET = ` \
|
||||
if [ -f $$r/../gcc/xgcc ] ; then \
|
||||
if [ -f $$r/../newlib/Makefile ] ; then \
|
||||
echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
|
||||
else \
|
||||
echo $$r/../gcc/xgcc -B$$r/../gcc/; \
|
||||
fi; \
|
||||
else \
|
||||
if [ "@host@" = "@target@" ] ; then \
|
||||
echo $(CXX); \
|
||||
else \
|
||||
echo gcc | sed '$(transform)'; \
|
||||
fi; \
|
||||
fi`
|
||||
|
||||
noinst_PROGRAMS = ld-new
|
||||
info_TEXINFOS = ld.texinfo
|
||||
noinst_TEXINFOS = ldint.texinfo
|
||||
man_MANS = ld.1
|
||||
|
||||
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) $(HDEFINES) $(CFLAGS)
|
||||
|
||||
BFDLIB = ../bfd/libbfd.la
|
||||
LIBIBERTY = ../libiberty/libiberty.a
|
||||
|
||||
ALL_EMULATIONS = \
|
||||
ea29k.o \
|
||||
eaixppc.o \
|
||||
eaixrs6.o \
|
||||
ealpha.o \
|
||||
earcelf.o \
|
||||
earmaoutb.o \
|
||||
earmaoutl.o \
|
||||
earmcoff.o \
|
||||
earmnbsd.o \
|
||||
earmpe.o \
|
||||
ecoff_sparc.o \
|
||||
ed10velf.o \
|
||||
edelta68.o \
|
||||
eebmon29k.o \
|
||||
eelf32_sparc.o \
|
||||
eelf32b4300.o \
|
||||
eelf32bmip.o \
|
||||
eelf32ebmip.o \
|
||||
eelf32elmip.o \
|
||||
eelf32l4300.o \
|
||||
eelf32lmip.o \
|
||||
eelf32lppc.o \
|
||||
eelf32ppc.o \
|
||||
eelf_i386.o \
|
||||
egld960.o \
|
||||
egld960coff.o \
|
||||
ego32.o \
|
||||
eh8300.o \
|
||||
eh8300h.o \
|
||||
eh8300s.o \
|
||||
eh8500.o \
|
||||
eh8500b.o \
|
||||
eh8500c.o \
|
||||
eh8500m.o \
|
||||
eh8500s.o \
|
||||
ehp300bsd.o \
|
||||
ehp3hpux.o \
|
||||
ehppaelf.o \
|
||||
ei386aout.o \
|
||||
ei386bsd.o \
|
||||
ei386coff.o \
|
||||
ei386go32.o \
|
||||
ei386linux.o \
|
||||
ei386lynx.o \
|
||||
ei386mach.o \
|
||||
ei386moss.o \
|
||||
ei386msdos.o \
|
||||
ei386nbsd.o \
|
||||
ei386nw.o \
|
||||
ei386pe.o \
|
||||
elnk960.o \
|
||||
em68k4knbsd.o \
|
||||
em68kaout.o \
|
||||
em68kaux.o \
|
||||
em68kcoff.o \
|
||||
em68kelf.o \
|
||||
em68klinux.o \
|
||||
em68klynx.o \
|
||||
em68knbsd.o \
|
||||
em68kpsos.o \
|
||||
em88kbcs.o \
|
||||
emipsbig.o \
|
||||
emipsbsd.o \
|
||||
emipsidt.o \
|
||||
emipsidtl.o \
|
||||
emipslit.o \
|
||||
emipslnews.o \
|
||||
enews.o \
|
||||
ens32knbsd.o \
|
||||
epc532macha.o \
|
||||
eppcmacos.o \
|
||||
eppcnw.o \
|
||||
eppcpe.o \
|
||||
eriscix.o \
|
||||
esa29200.o \
|
||||
esh.o \
|
||||
eshelf.o \
|
||||
eshlelf.o \
|
||||
eshl.o \
|
||||
esparcaout.o \
|
||||
esparclinux.o \
|
||||
esparclynx.o \
|
||||
esparcnbsd.o \
|
||||
est2000.o \
|
||||
esun3.o \
|
||||
esun4.o \
|
||||
etic30aout.o \
|
||||
etic30coff.o \
|
||||
evanilla.o \
|
||||
evax.o \
|
||||
evsta.o \
|
||||
ew65.o \
|
||||
ez8001.o \
|
||||
ez8002.o
|
||||
|
||||
ALL_64_EMULATIONS = \
|
||||
eelf64_sparc.o \
|
||||
eelf64alpha.o
|
||||
|
||||
CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
|
||||
ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
|
||||
mri.c ldcref.c
|
||||
|
||||
HFILES = config.h ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
|
||||
ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
|
||||
ldwrite.h mri.h
|
||||
|
||||
GENERATED_CFILES = ldgram.c ldlex.c
|
||||
GENERATED_HFILES = ldgram.h ldemul-list.h
|
||||
|
||||
OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
|
||||
ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
|
||||
ldfile.o ldcref.o ${EMULATION_OFILES}
|
||||
|
||||
STAGESTUFF = *.o ldscripts/* e*.c
|
||||
|
||||
ldmain.o: ldmain.c config.status
|
||||
$(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
|
||||
|
||||
ldemul-list.h: Makefile
|
||||
(echo "/* This file is automatically generated. DO NOT EDIT! */";\
|
||||
for f in `echo " " ${EMULATION_OFILES} "" \
|
||||
| sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
|
||||
echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
|
||||
done;\
|
||||
echo "";\
|
||||
echo "#define EMULATION_LIST \\";\
|
||||
for f in `echo " " ${EMULATION_OFILES} "" \
|
||||
| sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
|
||||
echo " &ld_$${f}_emulation, \\"; \
|
||||
done;\
|
||||
echo " 0") >ldemul-tmp.h
|
||||
mv ldemul-tmp.h ldemul-list.h
|
||||
|
||||
# These all start with e so 'make clean' can find them.
|
||||
|
||||
GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} @host@ @target@ @target_alias@ ${EMUL} "@NATIVE_LIB_DIRS@"
|
||||
GEN_DEPENDS = $(srcdir)/genscripts.sh $(srcdir)/emultempl/stringify.sed
|
||||
@TDIRS@
|
||||
|
||||
ea29k.c: $(srcdir)/emulparams/a29k.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} a29k "$(tdir_a29k)"
|
||||
eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
|
||||
$(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} aixppc "$(tdir_aixppc)"
|
||||
eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
|
||||
$(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
|
||||
ealpha.c: $(srcdir)/emulparams/alpha.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} alpha "$(tdir_alpha)"
|
||||
earcelf.c: $(srcdir)/emulparams/arcelf.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} arcelf "$(tdir_arcelf)"
|
||||
earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
|
||||
earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
|
||||
earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} armcoff "$(tdir_armcoff)"
|
||||
earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
|
||||
earmpe.c: $(srcdir)/emulparams/armpe.sh \
|
||||
$(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} armpe "$(tdir_armpe)"
|
||||
ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
|
||||
ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} d10velf "$(tdir_d10v)"
|
||||
edelta68.c: $(srcdir)/emulparams/delta68.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} delta68 "$(tdir_delta68)"
|
||||
eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
|
||||
em32relf.c: $(srcdir)/emulparams/m32relf.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m32relf "$(tdir_m32r)"
|
||||
eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
|
||||
eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
|
||||
eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
|
||||
eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
|
||||
eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
|
||||
eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
|
||||
eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
|
||||
eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
|
||||
eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
|
||||
eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
|
||||
eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
|
||||
eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
|
||||
eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
|
||||
eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
|
||||
egld960.c: $(srcdir)/emulparams/gld960.sh \
|
||||
$(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} gld960 "$(tdir_gld960)"
|
||||
egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
|
||||
$(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
|
||||
ego32.c: $(srcdir)/emulparams/go32.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} go32 "$(tdir_go32)"
|
||||
eh8300.c: $(srcdir)/emulparams/h8300.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} h8300 "$(tdir_h8300)"
|
||||
eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} h8300h "$(tdir_h8300h)"
|
||||
eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} h8300s "$(tdir_h8300s)"
|
||||
eh8500.c: $(srcdir)/emulparams/h8500.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} h8500 "$(tdir_h8500)"
|
||||
eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} h8500b "$(tdir_h8500b)"
|
||||
eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} h8500c "$(tdir_h8500c)"
|
||||
eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} h8500m "$(tdir_h8500m)"
|
||||
eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} h8500s "$(tdir_h8500s)"
|
||||
ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
|
||||
ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
|
||||
ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
|
||||
$(srcdir)/emultempl/hppaelf.em $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
|
||||
ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386aout "$(tdir_i386aout)"
|
||||
ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
|
||||
ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386coff "$(tdir_i386coff)"
|
||||
ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
|
||||
ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
|
||||
$(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386linux "$(tdir_i386linux)"
|
||||
ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
|
||||
ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386mach "$(tdir_i386mach)"
|
||||
ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386moss "$(tdir_i386moss)"
|
||||
ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
|
||||
ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
|
||||
ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386nw "$(tdir_i386nw)"
|
||||
ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
|
||||
$(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} i386pe "$(tdir_i386pe)"
|
||||
elnk960.c: $(srcdir)/emulparams/lnk960.sh \
|
||||
$(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
|
||||
em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
|
||||
em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
|
||||
em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
|
||||
em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
|
||||
em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
|
||||
em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
|
||||
$(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
|
||||
em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
|
||||
em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
|
||||
em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
|
||||
em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
|
||||
emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} mipsbig
|
||||
emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} mipsbsd
|
||||
emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
|
||||
$(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
|
||||
emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
|
||||
$(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
|
||||
emipslit.c: $(srcdir)/emulparams/mipslit.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} mipslit "$(tdir_mipslit)"
|
||||
emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} mipslnews
|
||||
emn10300.c: $(srcdir)/emulparams/mn10300.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
|
||||
emn10200.c: $(srcdir)/emulparams/mn10200.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
|
||||
enews.c: $(srcdir)/emulparams/news.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} news "$(tdir_news)"
|
||||
ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
|
||||
epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
|
||||
eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
|
||||
$(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
|
||||
eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
|
||||
eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
|
||||
$(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
|
||||
eriscix.c: $(srcdir)/emulparams/riscix.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} riscix "$(tdir_riscix)"
|
||||
esa29200.c: $(srcdir)/emulparams/sa29200.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
|
||||
esh.c: $(srcdir)/emulparams/sh.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} sh "$(tdir_sh)"
|
||||
eshelf.c: $(srcdir)/emulparams/shelf.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} shelf "$(tdir_shelf)"
|
||||
eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} shlelf "$(tdir_shlelf)"
|
||||
eshl.c: $(srcdir)/emulparams/shl.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} shl "$(tdir_shl)"
|
||||
eshunx.c: $(srcdir)/emulparams/shunx.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} shunx "$(tdir_shunx)"
|
||||
eshlunx.c: $(srcdir)/emulparams/shlunx.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/shunx.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} shlunx "$(tdir_shlunx)"
|
||||
eelf32shunx.c: $(srcdir)/emulparams/elf32shunx.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32shunx "$(tdir_elf32shunx)"
|
||||
eelf32shlunx.c: $(srcdir)/emulparams/elf32shlunx.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf32shlunx "$(tdir_elf32shlunx)"
|
||||
esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
|
||||
esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
|
||||
$(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
|
||||
esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
|
||||
esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
|
||||
est2000.c: $(srcdir)/emulparams/st2000.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} st2000 "$(tdir_st2000)"
|
||||
esun3.c: $(srcdir)/emulparams/sun3.sh \
|
||||
$(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} sun3 "$(tdir_sun3)"
|
||||
esun4.c: $(srcdir)/emulparams/sun4.sh \
|
||||
$(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} sun4 "$(tdir_sun4)"
|
||||
etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
|
||||
etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
|
||||
evanilla.c: $(srcdir)/emulparams/vanilla.sh \
|
||||
$(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} vanilla "$(tdir_vanilla)"
|
||||
evax.c: $(srcdir)/emulparams/vax.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} vax "$(tdir_vax)"
|
||||
evsta.c: $(srcdir)/emulparams/vsta.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} vsta "$(tdir_vsta)"
|
||||
ev850.c: $(srcdir)/emulparams/v850.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} v850 "$(tdir_v850)"
|
||||
ew65.c: $(srcdir)/emulparams/w65.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} w65 "$(tdir_w65)"
|
||||
ez8001.c: $(srcdir)/emulparams/z8001.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} z8001 "$(tdir_z8001)"
|
||||
ez8002.c: $(srcdir)/emulparams/z8002.sh \
|
||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} z8002 "$(tdir_z8002)"
|
||||
|
||||
ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
|
||||
ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
|
||||
ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY)
|
||||
ld_new_LDADD = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY)
|
||||
|
||||
# The generated emulation files mostly have the same dependencies.
|
||||
$(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
|
||||
ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
|
||||
ldctor.h ldexp.h ldlang.h ldgram.h
|
||||
|
||||
# This is the real libbfd.a created by libtool.
|
||||
TESTBFDLIB = @TESTBFDLIB@
|
||||
|
||||
check-DEJAGNU: site.exp
|
||||
srcroot=`cd $(srcdir) && pwd`; export srcroot; \
|
||||
r=`pwd`; export r; \
|
||||
EXPECT=$(EXPECT); export EXPECT; \
|
||||
if [ -f $(top_builddir)/../expect/expect ]; then \
|
||||
TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
|
||||
export TCL_LIBRARY; \
|
||||
fi; \
|
||||
runtest=$(RUNTEST); \
|
||||
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
|
||||
$$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
|
||||
CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
|
||||
CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
|
||||
CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
|
||||
OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
|
||||
LIBIBERTY="$(LIBIBERTY)" HOSTING_EMU="$(HOSTING_EMU)" \
|
||||
HOSTING_CRT0="$(HOSTING_CRT0)" HOSTING_LIBS="$(HOSTING_LIBS)" \
|
||||
$(RUNTESTFLAGS); \
|
||||
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
|
||||
fi
|
||||
|
||||
# Rules for testing by relinking ld itself.
|
||||
# A similar test is in the testsuite. This target is for ease of use
|
||||
# when porting ld.
|
||||
|
||||
ld-partial.o: ld-new$(EXEEXT)
|
||||
./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
|
||||
ld1$(EXEEXT): ld-partial.o
|
||||
./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
|
||||
|
||||
ld1-full$(EXEEXT): ld-new
|
||||
./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
|
||||
|
||||
ld2$(EXEEXT): ld1$(EXEEXT)
|
||||
./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
|
||||
|
||||
ld3$(EXEEXT): ld2$(EXEEXT)
|
||||
./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
|
||||
|
||||
bootstrap: ld3$(EXEEXT)
|
||||
cmp ld2$(EXEEXT) ld3$(EXEEXT)
|
||||
|
||||
.PHONY: bootstrap
|
||||
|
||||
# A test program for C++ constructors and destructors.
|
||||
# This test is now in the testsuite.
|
||||
#
|
||||
#cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
|
||||
# ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
|
||||
# cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
|
||||
#
|
||||
#cdtest.out: cdtest
|
||||
# ./cdtest > cdtest.tmp
|
||||
# mv cdtest.tmp cdtest.out
|
||||
#
|
||||
#cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
|
||||
# ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
|
||||
# cdtest-bar.o cdtest-foo.o
|
||||
#
|
||||
#cdtest-ur: cdtest-ur.o
|
||||
# ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
|
||||
# $(HOSTING_LIBS)
|
||||
#
|
||||
#cdtest-ur.out: cdtest-ur
|
||||
# ./cdtest-ur > cdtest-ur.tmp
|
||||
# mv cdtest-ur.tmp cdtest-ur.out
|
||||
#
|
||||
#check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
|
||||
# diff $(srcdir)/cdtest.exp cdtest.out
|
||||
# diff $(srcdir)/cdtest.exp cdtest-ur.out
|
||||
#
|
||||
#.PHONY: check-cdtest
|
||||
|
||||
# END OF CHECK TARGETS
|
||||
|
||||
# DOCUMENTATION TARGETS
|
||||
# Manual configuration file; not usually attached to normal configuration,
|
||||
# because almost all configs use "gen" version of manual.
|
||||
# Set DOCVER above to change.
|
||||
configdoc.texi: ${DOCVER}-doc.texi
|
||||
ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
|
||||
|| ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
|
||||
|| cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
|
||||
|
||||
ld.info: $(srcdir)/ld.texinfo configdoc.texi
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
|
||||
|
||||
ld.dvi: $(srcdir)/ld.texinfo configdoc.texi
|
||||
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc' $(TEXI2DVI) $(srcdir)/ld.texinfo
|
||||
|
||||
# We want to reconfigure if configure.host or configure.tgt changes.
|
||||
Makefile: configure.host configure.tgt
|
||||
|
||||
MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
|
||||
ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
|
||||
mostlyclean-local:
|
||||
-rm -rf tmpdir
|
||||
CLEANFILES = dep.sed .dep .dep1
|
||||
|
||||
.PHONY: install-exec-local install-data-local
|
||||
|
||||
install-exec-local: ld-new$(EXEEXT)
|
||||
$(mkinstalldirs) $(bindir) $(tooldir)/bin
|
||||
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`"; \
|
||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`; \
|
||||
else :; fi; \
|
||||
done
|
||||
rm -f $(tooldir)/bin/ld$(EXEEXT)
|
||||
n=`echo ld | sed '$(transform)'`; \
|
||||
if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
|
||||
ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
|
||||
|| $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \
|
||||
fi
|
||||
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(scriptdir)
|
||||
for f in ldscripts/*; do \
|
||||
$(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
|
||||
done
|
||||
|
||||
# Stuff that should be included in a distribution. The diststuff
|
||||
# target is run by the taz target in ../Makefile.in.
|
||||
LDDISTSTUFF = ldgram.c ldgram.h ldlex.c
|
||||
diststuff: $(LDDISTSTUFF) info
|
||||
|
||||
DISTCLEANFILES = site.exp site.bak
|
||||
|
||||
distclean-local:
|
||||
rm -rf ldscripts
|
||||
|
||||
# Targets to rebuild dependencies in this Makefile.
|
||||
# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
|
||||
.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
|
||||
rm -f .dep1
|
||||
$(MAKE) DEP=$(DEP) .dep1
|
||||
sed -f dep.sed <.dep1 >.dep
|
||||
|
||||
# This rule really wants a mkdep that runs "gcc -MM".
|
||||
.dep1: $(CFILES) $(GENERATED_CFILES)
|
||||
rm -f .dep2
|
||||
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
|
||||
$(DEP) -f .dep2 $(INCLUDES) $?
|
||||
$(srcdir)/../move-if-change .dep2 .dep1
|
||||
|
||||
dep.sed: dep-in.sed config.status
|
||||
sed <$(srcdir)/dep-in.sed >dep.sed \
|
||||
-e 's!@INCDIR@!$(INCDIR)!' \
|
||||
-e 's!@SRCDIR@!$(srcdir)!'
|
||||
|
||||
dep: .dep
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
|
||||
cat .dep >> tmp-Makefile
|
||||
$(srcdir)/../move-if-change tmp-Makefile Makefile
|
||||
|
||||
dep-in: .dep
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
|
||||
cat .dep >> tmp-Makefile.in
|
||||
$(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
|
||||
|
||||
dep-am: .dep
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
|
||||
cat .dep >> tmp-Makefile.am
|
||||
$(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
|
||||
|
||||
.PHONY: dep dep-in dep-am
|
||||
|
||||
# What appears below is generated by a hacked mkdep using gcc -MM.
|
||||
|
||||
# DO NOT DELETE THIS LINE -- mkdep uses it.
|
||||
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
|
||||
|
||||
ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
|
||||
ld.h ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
|
||||
ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldemul.h \
|
||||
ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldemul-list.h
|
||||
ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
|
||||
ld.h ldmain.h ldmisc.h ldexp.h ldgram.h ldlang.h
|
||||
ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
|
||||
ld.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
|
||||
ldlex.h ldemul.h
|
||||
ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
|
||||
ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \
|
||||
ldctor.h ldfile.h $(INCDIR)/fnmatch.h
|
||||
ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
||||
$(INCDIR)/progress.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
|
||||
ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h ldemul.h \
|
||||
ldlex.h ldfile.h ldctor.h
|
||||
ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
||||
$(INCDIR)/demangle.h ld.h ldmisc.h ldexp.h ldlang.h \
|
||||
ldgram.h ldlex.h ldmain.h ldfile.h
|
||||
ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldver.h \
|
||||
ldemul.h ldmain.h
|
||||
ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/libiberty.h ld.h ldexp.h ldlang.h ldwrite.h \
|
||||
ldmisc.h ldgram.h ldmain.h
|
||||
lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
||||
$(INCDIR)/getopt.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
|
||||
ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
|
||||
ldver.h ldemul.h
|
||||
mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \
|
||||
config.h $(INCDIR)/fopen-same.h ld.h ldexp.h ldlang.h \
|
||||
ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
|
||||
ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/libiberty.h ld.h ldmain.h ldmisc.h ldexp.h \
|
||||
ldlang.h
|
||||
ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
||||
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
|
||||
ld.h ldexp.h ldver.h ldlang.h ldemul.h ldfile.h ldmisc.h \
|
||||
ldmain.h mri.h ldlex.h
|
||||
ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
|
||||
ld.h ldgram.h ldmisc.h ldexp.h ldlang.h ldfile.h ldlex.h \
|
||||
ldmain.h
|
||||
|
||||
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
|
1290
gnu/dist/ld/Makefile.in
vendored
1290
gnu/dist/ld/Makefile.in
vendored
File diff suppressed because it is too large
Load Diff
169
gnu/dist/ld/NEWS
vendored
169
gnu/dist/ld/NEWS
vendored
@ -1,169 +0,0 @@
|
||||
-*- text -*-
|
||||
|
||||
Changes in version 2.9:
|
||||
|
||||
* Added SQUAD to the linker script language.
|
||||
|
||||
* New option --no-warn-mismatch.
|
||||
|
||||
* The MEMORY command now parses the attributes to determine where sections that
|
||||
are not placed in a specific memory region are placed.
|
||||
|
||||
Changes in version 2.8:
|
||||
|
||||
* Linker scripts may now contain shell wildcard characters for file and section
|
||||
names.
|
||||
|
||||
* The linker now supports symbol versions in ELF.
|
||||
|
||||
* The NOCROSSREFS command was added to the linker script language.
|
||||
|
||||
* The LOADADDR expression was added to the linker script language.
|
||||
|
||||
* MAX and MIN functions were added to the linker script language.
|
||||
|
||||
* The OVERLAY construct was added to the linker script language.
|
||||
|
||||
* New option --warn-section-align to warn when the address of an output section
|
||||
changes due to alignment of an input section.
|
||||
|
||||
* New options --filter/-F and --auxiliary/-f.
|
||||
|
||||
Changes in version 2.7:
|
||||
|
||||
* New option --cref to print out a cross reference table.
|
||||
|
||||
* New option --wrap SYMBOL.
|
||||
|
||||
* New option --no-whole-archive, to turn off the effect of --whole-archive.
|
||||
|
||||
* Input sections assigned to the output section /DISCARD/ in the linker script
|
||||
are not included in the output file.
|
||||
|
||||
* The SunOS and ELF linkers now merge stabs debugging information which uses
|
||||
the N_BINCL and N_EINCL stab types. This reduces the amount of debugging
|
||||
information generated.
|
||||
|
||||
Changes in version 2.6:
|
||||
|
||||
* When an ELF section name is representable as a C identifier (this is not true
|
||||
of most ELF section names), the linker will automatically define symbols
|
||||
__start_SECNAME and __stop_SECNAME, where SECNAME is the section name, at the
|
||||
beginning and the end of the section. This is used by glibc.
|
||||
|
||||
* When an ELF section named .gnu.warning is encountered in an input file, the
|
||||
contents of the section are displayed as an error message, and the section is
|
||||
not copied into the output file. This is used by glibc.
|
||||
|
||||
* When an ELF section named .gnu.warning.SYMBOL is encountered in an input
|
||||
file, and the symbol SYMBOL is referenced by some object file, the contents of
|
||||
the section are displayed as an error message. The section is not copied into
|
||||
the output file, unless doing a relocateable or shared link. This is used by
|
||||
glibc.
|
||||
|
||||
* New options -split-by-reloc and -split-by-file.
|
||||
|
||||
* The linker now supports linking PIC compiled code on SPARC SunOS. It can
|
||||
also create SPARC SunOS shared libraries, and, like the native SunOS linker,
|
||||
will do so whenever there is an undefined symbol in the link and neither the -e
|
||||
nor the -r option was used.
|
||||
|
||||
* The -rpath option may be used on SunOS to set the list of directories to be
|
||||
searched at run time. This overrides the default of building the list from the
|
||||
-L options.
|
||||
|
||||
* The COFF linker now combines debugging information for structs, unions, and
|
||||
enums, so that even if the same type is defined in multiple input files it will
|
||||
only be defined once in the output file. The --traditional-format switch will
|
||||
prevent this optimization.
|
||||
|
||||
Changes in version 2.5:
|
||||
|
||||
* The linker now supports linking against SunOS shared libraries. It still can
|
||||
not link SunOS PIC (Position Independent Code) files, so it can not be used to
|
||||
generate shared libaries.
|
||||
|
||||
* The linker now supports linking against ELF shared libraries for the i386
|
||||
(UnixWare) and SPARC (Solaris). It can also link ELF PIC files, and can be
|
||||
used to generate shared libraries. Shared library generation is not well
|
||||
tested; please report any problems encountered. The linker is now enabled for
|
||||
Solaris again.
|
||||
|
||||
* Eric Youngdale has contributed Linux support code, including linking against
|
||||
Linux a.out shared libraries. The linker produces Linux QMAGIC binaries.
|
||||
|
||||
* The ELF backend has been converted to the new linker code. To use the new
|
||||
ELF linker, each particular target requires a relocation function. So far,
|
||||
this function has been written for i386 (UnixWare), SPARC (Solaris) MIPS (Irix
|
||||
5), and HPPA ELF targets.
|
||||
|
||||
* The -( (--start-group) and -) (--end-group) options have been added to
|
||||
support searching a group of archives as though they were a single archive.
|
||||
This can also be used in a linker script, as GROUP ( files ).
|
||||
|
||||
* When a file is named on the command line, and the linker does not recognize
|
||||
it as an object file, the linker will now treat the file as a linker script
|
||||
file. A linker script named in this way augments, but does not replace, the
|
||||
default linker script.
|
||||
|
||||
* The -warn-once option was added. It causes the linker to only warn once per
|
||||
undefined symbol, rather than once per reference.
|
||||
|
||||
* The COFF backend has been converted to the new linker code. As with ELF, to
|
||||
use the new linker, each particular target requires a relocation function. So
|
||||
far, this function has been written for the i386, m68k, a29k and SH targets.
|
||||
|
||||
* The -V flag was made a synonym for -v, for SVR4 compatibility. The old -V
|
||||
behaviour is available via --verbose.
|
||||
|
||||
Changes in version 2.4:
|
||||
|
||||
* New linker code, by Steve Chamberlain and Ian Taylor. For a.out and ecoff
|
||||
formats (so far), this should result in considerable savings in time
|
||||
and memory used while linking; slightly poorer performance than
|
||||
before for formats not converted yet.
|
||||
|
||||
* Command-line parsing is no longer done with flex. This means
|
||||
oddball characters in filenames won't get treated as argument
|
||||
separators.
|
||||
|
||||
* HP-PA ELF support, by Jeff Law. (No SOM support yet.)
|
||||
|
||||
* Mach i386 support, by David Mackenzie.
|
||||
|
||||
* Irix 4 shared libraries are now supported (Irix 5 uses ELF, and ELF shared
|
||||
libraries are not yet supported).
|
||||
|
||||
* COFF shared libraries (as on SCO) should work as well.
|
||||
|
||||
* The linker is disabled for Solaris. (Actually, it was in 2.3 also, I just
|
||||
forgot to note it.) Some of their C library routines don't work when
|
||||
statically linked, and the GNU linker doesn't support dynamic linking yet.
|
||||
|
||||
Changes in version 2.3:
|
||||
|
||||
* Weak symbols are now supported.
|
||||
|
||||
* ELF support has been added. The linker has been bootstrapped on
|
||||
UnixWare and Solaris.
|
||||
|
||||
* Alpha OSF/1 support has been added (non dynamic linking only).
|
||||
|
||||
Changes in version 2.2:
|
||||
|
||||
* The `bfd' library has been updated to reduce a.out-format string
|
||||
table size. The effect of this is that files linked from many input
|
||||
files with duplicate symbols (`-g' debugging records, or identical
|
||||
static symbols) should be much smaller.
|
||||
|
||||
Changes in version 2.1:
|
||||
|
||||
* The ld -ySYMBOL flag (to trace references to SYMBOL) is now implemented.
|
||||
|
||||
* There is now support for writing ECOFF files, so ld and the
|
||||
other utilities should work on Risc/Ultrix and Irix.
|
||||
|
||||
|
||||
Local variables:
|
||||
fill-column: 79
|
||||
End:
|
64
gnu/dist/ld/README
vendored
64
gnu/dist/ld/README
vendored
@ -1,64 +0,0 @@
|
||||
This is the GNU linker. It is distributed with other "binary
|
||||
utilities" which should be in ../binutils. See ../binutils/README for
|
||||
more general notes, including where to send bug reports.
|
||||
|
||||
There are many features of the linker:
|
||||
|
||||
* The linker uses a Binary File Descriptor library (../bfd)
|
||||
that it uses to read and write object files. This helps
|
||||
insulate the linker itself from the format of object files.
|
||||
|
||||
* The linker supports a number of different object file
|
||||
formats. It can even handle multiple formats at once:
|
||||
Read two input formats and write a third.
|
||||
|
||||
* The linker can be configured for cross-linking.
|
||||
|
||||
* The linker supports a control language.
|
||||
|
||||
* There is a user manual (ld.texinfo), as well as the
|
||||
beginnings of an internals manual (ldint.texinfo).
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
See ../binutils/README.
|
||||
|
||||
If you want to make a cross-linker, you may want to specify
|
||||
a different search path of -lfoo libraries than the default.
|
||||
You can do this by setting the LIB_PATH variable in ./Makefile.
|
||||
|
||||
To build just the linker, make the target all-ld from the top level
|
||||
directory (one directory above this one).
|
||||
|
||||
Porting to a new target
|
||||
=======================
|
||||
|
||||
See the ldint.texinfo manual.
|
||||
|
||||
Reporting bugs etc
|
||||
===========================
|
||||
|
||||
See ../binutils/README.
|
||||
|
||||
Known problems
|
||||
==============
|
||||
|
||||
The Solaris linker normally exports all dynamic symbols from an
|
||||
executable. The GNU linker does not do this by default. This is
|
||||
because the GNU linker tries to present the same interface for all
|
||||
similar targets (in this case, all native ELF targets). This does not
|
||||
matter for normal programs, but it can make a difference for programs
|
||||
which try to dlopen an executable, such as PERL or Tcl. You can make
|
||||
the GNU linker export all dynamic symbols with the -E or
|
||||
--export-dynamic command line option.
|
||||
|
||||
HP/UX 9.01 has a shell bug that causes the linker scripts to be
|
||||
generated incorrectly. The symptom of this appears to be "fatal error
|
||||
- scanner input buffer overflow" error messages. There are various
|
||||
workarounds to this:
|
||||
* Build and install bash, and build with "make SHELL=bash".
|
||||
* Update to a version of HP/UX with a working shell (e.g., 9.05).
|
||||
* Replace "(. ${srcdir}/scripttempl/${SCRIPT_NAME}.sc)" in
|
||||
genscripts.sh with "sh ${srcdir}..." (no parens) and make sure the
|
||||
emulparams script used exports any shell variables it sets.
|
9
gnu/dist/ld/TODO
vendored
9
gnu/dist/ld/TODO
vendored
@ -1,9 +0,0 @@
|
||||
Volunteers to tackle some of the following would be welcome:
|
||||
|
||||
Support the "traditional" BSD -A flag (incremental loading).
|
||||
(There is a -A flag in ld now, but it is used to specify the
|
||||
architecture. That should probably be changed.)
|
||||
|
||||
Support for dynamic loading (a la dld, but bfd-based) would be nice.
|
||||
|
||||
Avoid re-open (and re-seeking) output bfd and archives.
|
22
gnu/dist/ld/acconfig.h
vendored
22
gnu/dist/ld/acconfig.h
vendored
@ -1,22 +0,0 @@
|
||||
|
||||
/* Name of package. */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Version of package. */
|
||||
#undef VERSION
|
||||
|
||||
/* Whether strstr must be declared even if <string.h> is included. */
|
||||
#undef NEED_DECLARATION_STRSTR
|
||||
|
||||
/* Whether free must be declared even if <stdlib.h> is included. */
|
||||
#undef NEED_DECLARATION_FREE
|
||||
|
||||
/* Whether sbrk must be declared even if <unistd.h> is included. */
|
||||
#undef NEED_DECLARATION_SBRK
|
||||
|
||||
/* Whether getenv must be declared even if <stdlib.h> is included. */
|
||||
#undef NEED_DECLARATION_GETENV
|
||||
@TOP@
|
||||
|
||||
/* Do we need to use the b modifier when opening binary files? */
|
||||
#undef USE_BINARY_FOPEN
|
1
gnu/dist/ld/acinclude.m4
vendored
1
gnu/dist/ld/acinclude.m4
vendored
@ -1 +0,0 @@
|
||||
sinclude(../bfd/acinclude.m4)
|
460
gnu/dist/ld/aclocal.m4
vendored
460
gnu/dist/ld/aclocal.m4
vendored
@ -1,460 +0,0 @@
|
||||
dnl aclocal.m4 generated automatically by aclocal 1.2e
|
||||
|
||||
dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
dnl This Makefile.in is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl This program is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
dnl PARTICULAR PURPOSE.
|
||||
|
||||
sinclude(../bfd/acinclude.m4)
|
||||
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
# But this isn't really a big deal.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl Usage:
|
||||
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
|
||||
|
||||
AC_DEFUN(AM_INIT_AUTOMAKE,
|
||||
[AC_REQUIRE([AM_PROG_INSTALL])
|
||||
PACKAGE=[$1]
|
||||
AC_SUBST(PACKAGE)
|
||||
VERSION=[$2]
|
||||
AC_SUBST(VERSION)
|
||||
dnl test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
ifelse([$3],,
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
|
||||
AC_REQUIRE([AM_SANITY_CHECK])
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])
|
||||
dnl FIXME This is truly gross.
|
||||
missing_dir=`cd $ac_aux_dir && pwd`
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])])
|
||||
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_PROG_INSTALL,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
||||
AC_SUBST(INSTALL_SCRIPT)dnl
|
||||
])
|
||||
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
#
|
||||
|
||||
AC_DEFUN(AM_SANITY_CHECK,
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftestfile
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
||||
if test "[$]*" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftestfile`
|
||||
fi
|
||||
if test "[$]*" != "X $srcdir/configure conftestfile" \
|
||||
&& test "[$]*" != "X conftestfile $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "[$]2" = conftestfile
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
|
||||
dnl The program must properly implement --version.
|
||||
AC_DEFUN(AM_MISSING_PROG,
|
||||
[AC_MSG_CHECKING(for working $2)
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if ($2 --version) < /dev/null > /dev/null 2>&1; then
|
||||
$1=$2
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
$1="$3/missing $2"
|
||||
AC_MSG_RESULT(missing)
|
||||
fi
|
||||
AC_SUBST($1)])
|
||||
|
||||
|
||||
# serial 24 AM_PROG_LIBTOOL
|
||||
AC_DEFUN(AM_PROG_LIBTOOL,
|
||||
[AC_REQUIRE([AM_ENABLE_SHARED])dnl
|
||||
AC_REQUIRE([AM_ENABLE_STATIC])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AM_PROG_LD])dnl
|
||||
AC_REQUIRE([AM_PROG_NM])dnl
|
||||
AC_REQUIRE([AC_PROG_LN_S])dnl
|
||||
dnl
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
AC_SUBST(LIBTOOL)dnl
|
||||
|
||||
# Check for any special flags to pass to ltconfig.
|
||||
libtool_flags=
|
||||
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
|
||||
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
|
||||
test "$silent" = yes && libtool_flags="$libtool_flags --silent"
|
||||
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
|
||||
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
|
||||
|
||||
# Some flags need to be propagated to the compiler or linker for good
|
||||
# libtool support.
|
||||
case "$host" in
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case "`/usr/bin/file conftest.o`" in
|
||||
*32-bit*)
|
||||
LD="${LD-ld} -32"
|
||||
;;
|
||||
*N32*)
|
||||
LD="${LD-ld} -n32"
|
||||
;;
|
||||
*64-bit*)
|
||||
LD="${LD-ld} -64"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
rm -rf conftest*
|
||||
;;
|
||||
|
||||
*-*-sco3.2v5*)
|
||||
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
||||
CFLAGS="$CFLAGS -belf"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Actually configure libtool. ac_aux_dir is where install-sh is found.
|
||||
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
||||
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
|
||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
|
||||
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
||||
|| AC_MSG_ERROR([libtool configure failed])
|
||||
])
|
||||
|
||||
# AM_ENABLE_SHARED - implement the --enable-shared flag
|
||||
# Usage: AM_ENABLE_SHARED[(DEFAULT)]
|
||||
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||
# `yes'.
|
||||
AC_DEFUN(AM_ENABLE_SHARED,
|
||||
[define([AM_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||
AC_ARG_ENABLE(shared,
|
||||
changequote(<<, >>)dnl
|
||||
<< --enable-shared build shared libraries [default=>>AM_ENABLE_SHARED_DEFAULT]
|
||||
changequote([, ])dnl
|
||||
[ --enable-shared=PKGS only build shared libraries if the current package
|
||||
appears as an element in the PKGS list],
|
||||
[p=${PACKAGE-default}
|
||||
case "$enableval" in
|
||||
yes) enable_shared=yes ;;
|
||||
no) enable_shared=no ;;
|
||||
*)
|
||||
enable_shared=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||
for pkg in $enableval; do
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_shared=yes
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
enable_shared=AM_ENABLE_SHARED_DEFAULT)dnl
|
||||
])
|
||||
|
||||
# AM_DISABLE_SHARED - set the default shared flag to --disable-shared
|
||||
AC_DEFUN(AM_DISABLE_SHARED,
|
||||
[AM_ENABLE_SHARED(no)])
|
||||
|
||||
# AM_DISABLE_STATIC - set the default static flag to --disable-static
|
||||
AC_DEFUN(AM_DISABLE_STATIC,
|
||||
[AM_ENABLE_STATIC(no)])
|
||||
|
||||
# AM_ENABLE_STATIC - implement the --enable-static flag
|
||||
# Usage: AM_ENABLE_STATIC[(DEFAULT)]
|
||||
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||
# `yes'.
|
||||
AC_DEFUN(AM_ENABLE_STATIC,
|
||||
[define([AM_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||
AC_ARG_ENABLE(static,
|
||||
changequote(<<, >>)dnl
|
||||
<< --enable-static build static libraries [default=>>AM_ENABLE_STATIC_DEFAULT]
|
||||
changequote([, ])dnl
|
||||
[ --enable-static=PKGS only build shared libraries if the current package
|
||||
appears as an element in the PKGS list],
|
||||
[p=${PACKAGE-default}
|
||||
case "$enableval" in
|
||||
yes) enable_static=yes ;;
|
||||
no) enable_static=no ;;
|
||||
*)
|
||||
enable_static=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||
for pkg in $enableval; do
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_static=yes
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
enable_static=AM_ENABLE_STATIC_DEFAULT)dnl
|
||||
])
|
||||
|
||||
|
||||
# AM_PROG_LD - find the path to the GNU or non-GNU linker
|
||||
AC_DEFUN(AM_PROG_LD,
|
||||
[AC_ARG_WITH(gnu-ld,
|
||||
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
||||
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
||||
AC_REQUIRE([AC_PROG_CC])
|
||||
ac_prog=ld
|
||||
if test "$ac_cv_prog_gcc" = yes; then
|
||||
# Check if gcc -print-prog-name=ld gives a path.
|
||||
AC_MSG_CHECKING([for ld used by GCC])
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5`
|
||||
case "$ac_prog" in
|
||||
# Accept absolute paths.
|
||||
changequote(,)dnl
|
||||
/* | [A-Za-z]:\\*)
|
||||
changequote([,])dnl
|
||||
test -z "$LD" && LD="$ac_prog"
|
||||
;;
|
||||
"")
|
||||
# If it fails, then pretend we aren't using GCC.
|
||||
ac_prog=ld
|
||||
;;
|
||||
*)
|
||||
# If it is relative, then search for the first ld in PATH.
|
||||
with_gnu_ld=unknown
|
||||
;;
|
||||
esac
|
||||
elif test "$with_gnu_ld" = yes; then
|
||||
AC_MSG_CHECKING([for GNU ld])
|
||||
else
|
||||
AC_MSG_CHECKING([for non-GNU ld])
|
||||
fi
|
||||
AC_CACHE_VAL(ac_cv_path_LD,
|
||||
[if test -z "$LD"; then
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||
for ac_dir in $PATH; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f "$ac_dir/$ac_prog"; then
|
||||
ac_cv_path_LD="$ac_dir/$ac_prog"
|
||||
# Check to see if the program is GNU ld. I'd rather use --version,
|
||||
# but apparently some GNU ld's only accept -v.
|
||||
# Break only if it was the GNU/non-GNU ld that we prefer.
|
||||
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
|
||||
test "$with_gnu_ld" != no && break
|
||||
else
|
||||
test "$with_gnu_ld" != yes && break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
else
|
||||
ac_cv_path_LD="$LD" # Let the user override the test with a path.
|
||||
fi])
|
||||
LD="$ac_cv_path_LD"
|
||||
if test -n "$LD"; then
|
||||
AC_MSG_RESULT($LD)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
||||
AC_SUBST(LD)
|
||||
AM_PROG_LD_GNU
|
||||
])
|
||||
|
||||
AC_DEFUN(AM_PROG_LD_GNU,
|
||||
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
|
||||
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
||||
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
|
||||
ac_cv_prog_gnu_ld=yes
|
||||
else
|
||||
ac_cv_prog_gnu_ld=no
|
||||
fi])
|
||||
])
|
||||
|
||||
# AM_PROG_NM - find the path to a BSD-compatible name lister
|
||||
AC_DEFUN(AM_PROG_NM,
|
||||
[AC_MSG_CHECKING([for BSD-compatible nm])
|
||||
AC_CACHE_VAL(ac_cv_path_NM,
|
||||
[case "$NM" in
|
||||
changequote(,)dnl
|
||||
/* | [A-Za-z]:\\*)
|
||||
changequote([,])dnl
|
||||
ac_cv_path_NM="$NM" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||
for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f $ac_dir/nm; then
|
||||
# Check to see if the nm accepts a BSD-compat flag.
|
||||
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
||||
# nm: unknown option "B" ignored
|
||||
if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
||||
ac_cv_path_NM="$ac_dir/nm -B"
|
||||
elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
||||
ac_cv_path_NM="$ac_dir/nm -p"
|
||||
else
|
||||
ac_cv_path_NM="$ac_dir/nm"
|
||||
fi
|
||||
break
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
|
||||
;;
|
||||
esac])
|
||||
NM="$ac_cv_path_NM"
|
||||
AC_MSG_RESULT([$NM])
|
||||
AC_SUBST(NM)
|
||||
])
|
||||
|
||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
||||
|
||||
AC_DEFUN(AM_CONFIG_HEADER,
|
||||
[AC_PREREQ([2.12])
|
||||
AC_CONFIG_HEADER([$1])
|
||||
dnl When config.status generates a header, we must update the stamp-h file.
|
||||
dnl This file resides in the same directory as the config header
|
||||
dnl that is generated. We must strip everything past the first ":",
|
||||
dnl and everything past the last "/".
|
||||
AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
|
||||
ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
|
||||
<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
|
||||
<<am_indx=1
|
||||
for am_file in <<$1>>; do
|
||||
case " <<$>>CONFIG_HEADERS " in
|
||||
*" <<$>>am_file "*<<)>>
|
||||
echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
|
||||
;;
|
||||
esac
|
||||
am_indx=`expr "<<$>>am_indx" + 1`
|
||||
done<<>>dnl>>)
|
||||
changequote([,]))])
|
||||
|
||||
# Check to see if we're running under Cygwin32, without using
|
||||
# AC_CANONICAL_*. If so, set output variable CYGWIN32 to "yes".
|
||||
# Otherwise set it to "no".
|
||||
|
||||
dnl AM_CYGWIN32()
|
||||
AC_DEFUN(AM_CYGWIN32,
|
||||
[AC_CACHE_CHECK(for Cygwin32 environment, am_cv_cygwin32,
|
||||
[AC_TRY_COMPILE(,[return __CYGWIN32__;],
|
||||
am_cv_cygwin32=yes, am_cv_cygwin32=no)
|
||||
rm -f conftest*])
|
||||
CYGWIN32=
|
||||
test "$am_cv_cygwin32" = yes && CYGWIN32=yes])
|
||||
|
||||
# Check to see if we're running under Win32, without using
|
||||
# AC_CANONICAL_*. If so, set output variable EXEEXT to ".exe".
|
||||
# Otherwise set it to "".
|
||||
|
||||
dnl AM_EXEEXT()
|
||||
dnl This knows we add .exe if we're building in the Cygwin32
|
||||
dnl environment. But if we're not, then it compiles a test program
|
||||
dnl to see if there is a suffix for executables.
|
||||
AC_DEFUN(AM_EXEEXT,
|
||||
[AC_REQUIRE([AM_CYGWIN32])
|
||||
AC_REQUIRE([AM_MINGW32])
|
||||
AC_MSG_CHECKING([for executable suffix])
|
||||
AC_CACHE_VAL(am_cv_exeext,
|
||||
[if test "$CYGWIN32" = yes || test "$MINGW32" = yes; then
|
||||
am_cv_exeext=.exe
|
||||
else
|
||||
cat > am_c_test.c << 'EOF'
|
||||
int main() {
|
||||
/* Nothing needed here */
|
||||
}
|
||||
EOF
|
||||
${CC-cc} -o am_c_test $CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c $LIBS 1>&5
|
||||
am_cv_exeext=`echo am_c_test.* | grep -v am_c_test.c | sed -e s/am_c_test//`
|
||||
rm -f am_c_test*])
|
||||
test x"${am_cv_exeext}" = x && am_cv_exeext=no
|
||||
fi
|
||||
EXEEXT=""
|
||||
test x"${am_cv_exeext}" != xno && EXEEXT=${am_cv_exeext}
|
||||
AC_MSG_RESULT(${am_cv_exeext})
|
||||
AC_SUBST(EXEEXT)])
|
||||
|
||||
# Check to see if we're running under Mingw, without using
|
||||
# AC_CANONICAL_*. If so, set output variable MINGW32 to "yes".
|
||||
# Otherwise set it to "no".
|
||||
|
||||
dnl AM_MINGW32()
|
||||
AC_DEFUN(AM_MINGW32,
|
||||
[AC_CACHE_CHECK(for Mingw32 environment, am_cv_mingw32,
|
||||
[AC_TRY_COMPILE(,[return __MINGW32__;],
|
||||
am_cv_mingw32=yes, am_cv_mingw32=no)
|
||||
rm -f conftest*])
|
||||
MINGW32=
|
||||
test "$am_cv_mingw32" = yes && MINGW32=yes])
|
||||
|
||||
# Add --enable-maintainer-mode option to configure.
|
||||
# From Jim Meyering
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_MAINTAINER_MODE,
|
||||
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||
dnl maintainer-mode is disabled by default
|
||||
AC_ARG_ENABLE(maintainer-mode,
|
||||
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer],
|
||||
USE_MAINTAINER_MODE=$enableval,
|
||||
USE_MAINTAINER_MODE=no)
|
||||
AC_MSG_RESULT($USE_MAINTAINER_MODE)
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
MAINT='#M#'
|
||||
fi
|
||||
AC_SUBST(MAINT)dnl
|
||||
]
|
||||
)
|
||||
|
52
gnu/dist/ld/config.in
vendored
52
gnu/dist/ld/config.in
vendored
@ -1,52 +0,0 @@
|
||||
/* config.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Name of package. */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Version of package. */
|
||||
#undef VERSION
|
||||
|
||||
/* Whether strstr must be declared even if <string.h> is included. */
|
||||
#undef NEED_DECLARATION_STRSTR
|
||||
|
||||
/* Whether free must be declared even if <stdlib.h> is included. */
|
||||
#undef NEED_DECLARATION_FREE
|
||||
|
||||
/* Whether sbrk must be declared even if <unistd.h> is included. */
|
||||
#undef NEED_DECLARATION_SBRK
|
||||
|
||||
/* Whether getenv must be declared even if <stdlib.h> is included. */
|
||||
#undef NEED_DECLARATION_GETENV
|
||||
|
||||
/* Define if lex declares yytext as a char * by default, not a char[]. */
|
||||
#undef YYTEXT_POINTER
|
||||
|
||||
/* Do we need to use the b modifier when opening binary files? */
|
||||
#undef USE_BINARY_FOPEN
|
||||
|
||||
/* Define if you have the sbrk function. */
|
||||
#undef HAVE_SBRK
|
||||
|
||||
/* Define if you have the <dirent.h> header file. */
|
||||
#undef HAVE_DIRENT_H
|
||||
|
||||
/* Define if you have the <ndir.h> header file. */
|
||||
#undef HAVE_NDIR_H
|
||||
|
||||
/* Define if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define if you have the <sys/dir.h> header file. */
|
||||
#undef HAVE_SYS_DIR_H
|
||||
|
||||
/* Define if you have the <sys/ndir.h> header file. */
|
||||
#undef HAVE_SYS_NDIR_H
|
||||
|
||||
/* Define if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
13
gnu/dist/ld/configdoc.texi
vendored
13
gnu/dist/ld/configdoc.texi
vendored
@ -1,13 +0,0 @@
|
||||
@c ------------------------------ CONFIGURATION VARS:
|
||||
@c 1. Inclusiveness of this manual
|
||||
@set GENERIC
|
||||
|
||||
@c 2. Specific target machines
|
||||
@set H8300
|
||||
@set I960
|
||||
|
||||
@c 3. Properties of this configuration
|
||||
@clear SingleFormat
|
||||
@set UsesEnvVars
|
||||
@c ------------------------------ end CONFIGURATION VARS
|
||||
|
2757
gnu/dist/ld/configure
vendored
2757
gnu/dist/ld/configure
vendored
File diff suppressed because it is too large
Load Diff
166
gnu/dist/ld/configure.host
vendored
166
gnu/dist/ld/configure.host
vendored
@ -1,166 +0,0 @@
|
||||
# This is the linker host specific file. This is invoked by the
|
||||
# autoconf generated configure script. Putting it in a separate shell
|
||||
# file lets us skip running autoconf when modifying host specific
|
||||
# information.
|
||||
|
||||
# This file sets the following shell variables:
|
||||
# HDEFINES host specific compiler flags
|
||||
# HOSTING_CRT0 crt0.o file used for bootstrapping
|
||||
# HOSTING_LIBS libraries used for bootstrapping
|
||||
# NATIVE_LIB_DIRS library directories to search on this host
|
||||
|
||||
HDEFINES=
|
||||
HOSTING_CRT0=/lib/crt0.o
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc'
|
||||
NATIVE_LIB_DIRS=
|
||||
|
||||
case "${host}" in
|
||||
|
||||
*-*-netbsd*)
|
||||
# The new BSD `make' has a bug: it doesn't pass empty arguments in
|
||||
# shell commands. So we need to make this value non-empty in order
|
||||
# for the genscripts.sh call to work. There's nothing magic about
|
||||
# the value `/lib'; it's just a dummy.
|
||||
NATIVE_LIB_DIRS=/lib
|
||||
HOSTING_CRT0=/usr/lib/crt0.o
|
||||
;;
|
||||
|
||||
alpha*-*-linux-gnu*)
|
||||
HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`gcc --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `gcc --print-file-name=crt1.o` `gcc --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -L`dirname \`gcc --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` `gcc --print-file-name=crtn.o`'
|
||||
;;
|
||||
|
||||
alpha*-*-*)
|
||||
HOSTING_CRT0=/usr/ccs/lib/crt0.o
|
||||
NATIVE_LIB_DIRS=/usr/ccs/lib
|
||||
;;
|
||||
|
||||
i[3456]86-*-bsd* | i[3456]86-*-freebsd*)
|
||||
# The new BSD `make' has a bug: it doesn't pass empty arguments in
|
||||
# shell commands. So we need to make this value non-empty in order
|
||||
# for the genscripts.sh call to work. There's nothing magic about
|
||||
# the value `/lib'; it's just a dummy.
|
||||
NATIVE_LIB_DIRS=/lib
|
||||
HOSTING_CRT0=/usr/lib/crt0.o
|
||||
;;
|
||||
|
||||
i[3456]86-*-sysv4*)
|
||||
HOSTING_CRT0='/usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-file-name=crtend.o; fi` /usr/ccs/lib/crtn.o'
|
||||
NATIVE_LIB_DIRS=/usr/ccs/lib
|
||||
;;
|
||||
|
||||
i[3456]86-sequent-ptx* | i[3456]86-sequent-sysv*)
|
||||
HOSTING_CRT0='/lib/crt0.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-file-name=crtend.o; fi`'
|
||||
;;
|
||||
|
||||
i[3456]86-*-sysv*)
|
||||
HOSTING_CRT0='/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o'
|
||||
;;
|
||||
|
||||
i[3456]86-*-solaris*)
|
||||
HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else gcc -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else gcc -print-file-name=crti.o; fi` /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else gcc -print-file-name=crtn.o; fi`'
|
||||
NATIVE_LIB_DIRS=/usr/ccs/lib
|
||||
;;
|
||||
|
||||
i[3456]86-*-sco* | i[3456]86-*-isc*)
|
||||
# In some configurations gcc does not use crtbegin.o and crtend.o.
|
||||
# In that case gcc -print-file-name=crtbegin.o will simply print
|
||||
# crtbegin.o. We create dummy crtbegin.o and crtend.o files to
|
||||
# handle this.
|
||||
echo "int dummy_crtbegin () { return 0; }" > crtbegin.c
|
||||
${CC} -c crtbegin.c -o crtbegin.o
|
||||
rm -f crtbegin.c
|
||||
echo "int dummy_crteng () { return 0; }" > crtend.c
|
||||
${CC} -c crtend.c -o crtend.o
|
||||
rm -f crtend.c
|
||||
HOSTING_CRT0='/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-file-name=crtend.o; fi` /lib/crtn.o'
|
||||
;;
|
||||
|
||||
i[3456]86-*-linux*aout* | i[3456]86-*-linuxoldld)
|
||||
HOSTING_CRT0=/usr/lib/crt0.o
|
||||
;;
|
||||
|
||||
i[3456]86-*-linux*libc1*)
|
||||
HOSTING_CRT0='-dynamic-linker /lib/ld-linux.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; elif [ -f /usr/lib/crtbegin.o ]; then echo /usr/lib/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; elif [ -f /usr/lib/crtend.o ]; then echo /usr/lib/crtend.o; else gcc --print-file-name=crtend.o; fi` /usr/lib/crtn.o'
|
||||
;;
|
||||
|
||||
i[3456]86-*-linux-gnu*)
|
||||
HOSTING_CRT0='-dynamic-linker `fgrep ld-linux.so \`gcc --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld-linux.so..\).*,\1,"` `gcc --print-file-name=crt1.o` `gcc --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -L`dirname \`gcc --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` `gcc --print-file-name=crtn.o`'
|
||||
;;
|
||||
|
||||
i[3456]86-*-lynxos*)
|
||||
HOSTING_CRT0=/lib/init1.o
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc -lm /lib/initn.o'
|
||||
;;
|
||||
|
||||
mips*-dec-bsd*)
|
||||
HOSTING_CRT0=/usr/lib/crt0.o
|
||||
;;
|
||||
|
||||
mips*-sgi-irix4*)
|
||||
HOSTING_CRT0=/usr/lib/crt1.o
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o'
|
||||
;;
|
||||
|
||||
mips*-sgi-irix[56]*)
|
||||
HOSTING_CRT0=/usr/lib/crt1.o
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o'
|
||||
;;
|
||||
|
||||
m68*-*-linux*aout*)
|
||||
HOSTING_CRT0=/usr/lib/crt0.o
|
||||
;;
|
||||
|
||||
m68*-*-linux*libc1*)
|
||||
HOSTING_CRT0='-dynamic-linker /lib/ld-linux.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; elif [ -f /usr/lib/crtbegin.o ]; then echo /usr/lib/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; elif [ -f /usr/lib/crtend.o ]; then echo /usr/lib/crtend.o; else gcc --print-file-name=crtend.o; fi` /usr/lib/crtn.o'
|
||||
;;
|
||||
|
||||
m68*-*-linux-gnu*)
|
||||
HOSTING_CRT0='-dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` /usr/lib/crtn.o'
|
||||
;;
|
||||
|
||||
m68*-*-lynxos*)
|
||||
HOSTING_CRT0=/lib/init1.o
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc -lm /lib/initn.o'
|
||||
;;
|
||||
|
||||
m68*-motorola-sysv)
|
||||
HOSTING_CRT0='`if [ -f ../gcc/crt0.o ]; then echo ../gcc/crt0.o; elif [ -f \`gcc -print-file-name=\`crt0.o ]; then echo \`gcc -print-file-name=\`crt0.o; else echo /lib/crt0.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc881 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi`'
|
||||
;;
|
||||
|
||||
m68*-sun-*)
|
||||
HOSTING_CRT0='/usr/lib/crt0.o /usr/lib/Fcrt1.o -L/usr/lib/fsoft.o'
|
||||
;;
|
||||
|
||||
m88*-*-dgux*)
|
||||
HDEFINES=-D__using_DGUX
|
||||
HOSTING_CRT0='/lib/crt0.o -X'
|
||||
HOSTING_LIBS=/usr/sde/m88kbcs/lib/libc.a
|
||||
;;
|
||||
|
||||
m88*-motorola-sysv3)
|
||||
HOSTING_CRT0='/lib/crt0.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-file-name=crtend.o; fi` `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi`'
|
||||
;;
|
||||
|
||||
romp-*-*)
|
||||
HDEFINES=-DNO_VARARGS
|
||||
;;
|
||||
|
||||
sparc*-*-solaris2*)
|
||||
HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else gcc -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else gcc -print-file-name=crti.o; fi` /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else gcc -print-file-name=crtn.o; fi`'
|
||||
NATIVE_LIB_DIRS=/usr/ccs/lib
|
||||
;;
|
||||
|
||||
esac
|
133
gnu/dist/ld/configure.in
vendored
133
gnu/dist/ld/configure.in
vendored
@ -1,133 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script
|
||||
dnl
|
||||
AC_PREREG(2.5)
|
||||
AC_INIT(ldmain.c)
|
||||
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
||||
AM_INIT_AUTOMAKE(ld, 2.9.1)
|
||||
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
AC_ARG_ENABLE(targets,
|
||||
[ --enable-targets alternative target configurations],
|
||||
[case "${enableval}" in
|
||||
yes | "") AC_ERROR(enable-targets option must specify target names or 'all')
|
||||
;;
|
||||
no) enable_targets= ;;
|
||||
*) enable_targets=$enableval ;;
|
||||
esac])dnl
|
||||
AC_ARG_ENABLE(64-bit-bfd,
|
||||
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
|
||||
[case "${enableval}" in
|
||||
yes) want64=true ;;
|
||||
no) want64=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for 64-bit-bfd option) ;;
|
||||
esac],[want64=false])dnl
|
||||
|
||||
AM_CONFIG_HEADER(config.h:config.in)
|
||||
|
||||
if test -z "$target" ; then
|
||||
AC_MSG_ERROR(Unrecognized target system type; please check config.sub.)
|
||||
fi
|
||||
if test -z "$host" ; then
|
||||
AC_MSG_ERROR(Unrecognized host system type; please check config.sub.)
|
||||
fi
|
||||
|
||||
# host-specific stuff:
|
||||
|
||||
AC_PROG_CC
|
||||
AM_PROG_INSTALL
|
||||
AM_CYGWIN32
|
||||
AM_EXEEXT
|
||||
|
||||
AC_PROG_YACC
|
||||
AC_PROG_LEX
|
||||
AC_DECL_YYTEXT
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
. ${srcdir}/configure.host
|
||||
|
||||
AC_SUBST(HDEFINES)
|
||||
AC_SUBST(HOSTING_CRT0)
|
||||
AC_SUBST(HOSTING_LIBS)
|
||||
AC_SUBST(NATIVE_LIB_DIRS)
|
||||
|
||||
AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h)
|
||||
AC_CHECK_FUNCS(sbrk)
|
||||
AC_HEADER_DIRENT
|
||||
|
||||
BFD_BINARY_FOPEN
|
||||
|
||||
BFD_NEED_DECLARATION(strstr)
|
||||
BFD_NEED_DECLARATION(free)
|
||||
BFD_NEED_DECLARATION(sbrk)
|
||||
BFD_NEED_DECLARATION(getenv)
|
||||
|
||||
# target-specific stuff:
|
||||
|
||||
all_targets=
|
||||
EMUL=
|
||||
all_emuls=
|
||||
TDIRS=
|
||||
|
||||
for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
|
||||
do
|
||||
if test "$targ_alias" = "all"; then
|
||||
all_targets=true
|
||||
else
|
||||
# Canonicalize the secondary target names.
|
||||
result=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $targ_alias 2>/dev/null`
|
||||
if test -n "$result"; then
|
||||
targ=$result
|
||||
else
|
||||
targ=$targ_alias
|
||||
fi
|
||||
|
||||
. ${srcdir}/configure.tgt
|
||||
|
||||
if test "$targ" = "$target"; then
|
||||
EMUL=$targ_emul
|
||||
fi
|
||||
|
||||
for i in $targ_emul $targ_extra_emuls; do
|
||||
case " $all_emuls " in
|
||||
*" e${i}.o "*) ;;
|
||||
*)
|
||||
all_emuls="$all_emuls e${i}.o"
|
||||
eval result=\$tdir_$i
|
||||
test -z "$result" && result=$targ_alias
|
||||
TDIRS="$TDIRS\\
|
||||
tdir_$i=$result"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
AC_SUBST(EMUL)
|
||||
AC_SUBST(TDIRS)
|
||||
|
||||
dnl FIXME: We will build a 64 bit BFD for a 64 bit host or a 64 bit
|
||||
dnl target, and in those cases we should also build the 64 bit
|
||||
dnl emulations.
|
||||
if test x${all_targets} = xtrue; then
|
||||
if test x${want64} = xtrue; then
|
||||
EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
|
||||
else
|
||||
EMULATION_OFILES='$(ALL_EMULATIONS)'
|
||||
fi
|
||||
else
|
||||
EMULATION_OFILES=$all_emuls
|
||||
fi
|
||||
AC_SUBST(EMULATION_OFILES)
|
||||
|
||||
if test x${enable_static} = xno; then
|
||||
TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
|
||||
else
|
||||
TESTBFDLIB="../bfd/.libs/libbfd.a"
|
||||
fi
|
||||
AC_SUBST(TESTBFDLIB)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
216
gnu/dist/ld/configure.tgt
vendored
216
gnu/dist/ld/configure.tgt
vendored
@ -1,216 +0,0 @@
|
||||
# This is the linker target specific file. This is invoked by the
|
||||
# autoconf generated configure script. Putting it in a separate shell
|
||||
# file lets us skip running autoconf when modifying target specific
|
||||
# information.
|
||||
|
||||
# This file switches on the shell variable ${targ}, and sets the
|
||||
# following shell variables:
|
||||
# targ_emul name of linker emulation to use
|
||||
# targ_extra_emuls additional linker emulations to provide
|
||||
|
||||
targ_extra_emuls=
|
||||
|
||||
case "${targ}" in
|
||||
arm-*-pe) targ_emul=armpe ;;
|
||||
arc-*-elf*) targ_emul=arcelf ;;
|
||||
d10v-*-*) targ_emul=d10velf ;;
|
||||
sparc64-*-aout*) targ_emul=sparcaout ;;
|
||||
sparc64-*-elf*) targ_emul=elf64_sparc ;;
|
||||
sparc-sun-sunos4*) targ_emul=sun4 ;;
|
||||
sparclite*-*-elf) targ_emul=elf32_sparc ;;
|
||||
sparclite*-*-coff) targ_emul=coff_sparc ;;
|
||||
sparclite*-fujitsu-*) targ_emul=sparcaout ;;
|
||||
sparc*-*-aout) targ_emul=sparcaout ;;
|
||||
sparc*-*-coff) targ_emul=coff_sparc ;;
|
||||
sparc*-*-elf) targ_emul=elf32_sparc ;;
|
||||
sparc*-*-sysv4*) targ_emul=elf32_sparc ;;
|
||||
sparc*-*-linux*aout*) targ_emul=sparclinux
|
||||
targ_extra_emuls="elf32_sparc sun4"
|
||||
tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
|
||||
tdir_sun4=sparc-sun-sunos4
|
||||
;;
|
||||
sparc64-*-linux-gnu*) targ_emul=elf64_sparc
|
||||
targ_extra_emuls="elf32_sparc sparclinux sun4"
|
||||
tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
|
||||
tdir_sparclinux=${tdir_elf32_sparc}aout
|
||||
tdir_sun4=sparc-sun-sunos4
|
||||
;;
|
||||
sparc*-*-linux-gnu*) targ_emul=elf32_sparc
|
||||
targ_extra_emuls="sparclinux sun4"
|
||||
tdir_sparclinux=${targ_alias}aout
|
||||
tdir_sun4=sparc-sun-sunos4
|
||||
;;
|
||||
sparc*-*-lynxos*) targ_emul=sparclynx ;;
|
||||
sparc64-*-netbsd*) targ_emul=elf64_sparc ;;
|
||||
sparc*-*-netbsd*elf*) targ_emul=elf32_sparc ;;
|
||||
sparc*-*-netbsd*) targ_emul=sparcnbsd ;;
|
||||
sparc*-*-solaris2*) targ_emul=elf32_sparc ;;
|
||||
sparc*-wrs-vxworks*) targ_emul=sparcaout ;;
|
||||
sparc*-*-rtems*) targ_emul=sparcaout ;;
|
||||
i960-wrs-vxworks5.0*) targ_emul=gld960 ;;
|
||||
i960-wrs-vxworks5*) targ_emul=gld960coff ;;
|
||||
i960-wrs-vxworks*) targ_emul=gld960 ;;
|
||||
i960-*-coff) targ_emul=gld960coff ;;
|
||||
i960-intel-nindy) targ_emul=gld960 ;;
|
||||
i960-*-rtems*) targ_emul=gld960coff ;;
|
||||
m32r-*-*) targ_emul=m32relf ;;
|
||||
m68*-sun-sunos[34]*) targ_emul=sun3 ;;
|
||||
m68*-wrs-vxworks*) targ_emul=sun3 ;;
|
||||
m68*-ericsson-ose) targ_emul=sun3 ;;
|
||||
m68*-apple-aux*) targ_emul=m68kaux ;;
|
||||
*-tandem-none) targ_emul=st2000 ;;
|
||||
i[3456]86-*-vsta) targ_emul=vsta ;;
|
||||
i[3456]86-go32-rtems*) targ_emul=i386go32 ;;
|
||||
i[3456]86-*-go32) targ_emul=i386go32 ;;
|
||||
i[3456]86-*-msdosdjgpp*) targ_emul=i386go32 ;;
|
||||
i[3456]86-*-aix*) targ_emul=i386coff ;;
|
||||
i[3456]86-*-sco*) targ_emul=i386coff ;;
|
||||
i[3456]86-*-isc*) targ_emul=i386coff ;;
|
||||
i[3456]86-*-lynxos*) targ_emul=i386lynx ;;
|
||||
i[3456]86-*-coff) targ_emul=i386coff ;;
|
||||
i[3456]86-*-rtems*) targ_emul=i386coff ;;
|
||||
i[3456]86-*-bsd) targ_emul=i386bsd ;;
|
||||
i[3456]86-*-bsd386) targ_emul=i386bsd ;;
|
||||
i[3456]86-*-bsdi*) targ_emul=i386bsd ;;
|
||||
i[3456]86-*-aout) targ_emul=i386aout ;;
|
||||
i[3456]86-*-linux*aout*) targ_emul=i386linux
|
||||
targ_extra_emuls=elf_i386
|
||||
tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
|
||||
;;
|
||||
i[3456]86-*-linuxoldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
|
||||
i[3456]86-*-linux-gnu*) targ_emul=elf_i386
|
||||
targ_extra_emuls=i386linux
|
||||
tdir_i386linux=${targ_alias}aout
|
||||
;;
|
||||
i[3456]86-*-sysv4*) targ_emul=elf_i386 ;;
|
||||
i[3456]86-*-unixware) targ_emul=elf_i386 ;;
|
||||
i[3456]86-*-netbsdelf*) targ_emul=elf_i386 ;;
|
||||
i[3456]86-*-netbsd*) targ_emul=i386nbsd ;;
|
||||
i[3456]86-*-netware) targ_emul=i386nw ;;
|
||||
i[3456]86-*-elf*) targ_emul=elf_i386 ;;
|
||||
i[3456]86-*-freebsdelf*) targ_emul=elf_i386 ;;
|
||||
i[3456]86-*-freebsd*) targ_emul=i386bsd ;;
|
||||
i[3456]86-*-sysv*) targ_emul=i386coff ;;
|
||||
i[3456]86-*-ptx*) targ_emul=i386coff ;;
|
||||
i[3456]86-*-mach*) targ_emul=i386mach ;;
|
||||
i[3456]86-*-gnu*) targ_emul=elf_i386 ;;
|
||||
i[3456]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;;
|
||||
i[3456]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
|
||||
i[3456]86-*-winnt*) targ_emul=i386pe ;;
|
||||
i[3456]86-*-pe) targ_emul=i386pe ;;
|
||||
i[3456]86-*-cygwin32*) targ_emul=i386pe ;;
|
||||
i[3456]86-*-mingw32*) targ_emul=i386pe ;;
|
||||
m8*-*-*) targ_emul=m88kbcs ;;
|
||||
a29k-*-udi) targ_emul=sa29200 ;;
|
||||
a29k-*-ebmon) targ_emul=ebmon29k ;;
|
||||
a29k-*-*) targ_emul=a29k ;;
|
||||
# arm-*-riscix*) targ_emul=riscix ;;
|
||||
arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
|
||||
armeb-*-aout) targ_emul=armaoutb ;;
|
||||
arm-*-coff) targ_emul=armcoff ;;
|
||||
arm-*-netbsd*) targ_emul=armnbsd ;;
|
||||
thumb-*-coff) targ_emul=armcoff ;;
|
||||
thumb-*-pe) targ_emul=armpe ;;
|
||||
h8300-*-hms) targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
|
||||
;;
|
||||
h8500-*-hms) targ_emul=h8500
|
||||
targ_extra_emuls="h8500s h8500b h8500m h8500c"
|
||||
;;
|
||||
sh-*-elf*) targ_emul=shelf
|
||||
targ_extra_emuls="shlelf sh shl"
|
||||
;;
|
||||
sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;;
|
||||
m68k-sony-*) targ_emul=news ;;
|
||||
m68k-hp-bsd*) targ_emul=hp300bsd ;;
|
||||
m68*-motorola-sysv*) targ_emul=delta68 ;;
|
||||
m68*-*-aout) targ_emul=m68kaout ;;
|
||||
m68*-*-coff) targ_emul=m68kcoff ;;
|
||||
m68*-*-elf) targ_emul=m68kelf ;;
|
||||
m68*-*-hpux*) targ_emul=hp3hpux ;;
|
||||
m68k-*-linux*aout*) targ_emul=m68klinux
|
||||
targ_extra_emuls=m68kelf
|
||||
tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'`
|
||||
;;
|
||||
m68k-*-linux-gnu*) targ_emul=m68kelf
|
||||
targ_extra_emuls=m68klinux
|
||||
tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'`
|
||||
;;
|
||||
m68*-*-lynxos*) targ_emul=m68klynx ;;
|
||||
m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;;
|
||||
m68*-*-netbsdelf*) targ_emul=m68kelf ;;
|
||||
m68*-*-netbsd*) targ_emul=m68knbsd ;;
|
||||
m68*-*-psos*) targ_emul=m68kpsos ;;
|
||||
m68*-*-rtems*) targ_emul=m68kcoff ;;
|
||||
hppa*-*-*elf*) targ_emul=hppaelf ;;
|
||||
hppa*-*-lites*) targ_emul=hppaelf ;;
|
||||
hppa*-*-rtems*) targ_emul=hppaelf ;;
|
||||
vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
|
||||
mips*-dec-ultrix*) targ_emul=mipslit ;;
|
||||
mips*-dec-osf*) targ_emul=mipslit ;;
|
||||
mips*-sgi-irix[56]*) targ_emul=elf32bsmip ;;
|
||||
mips*-sgi-irix*) targ_emul=mipsbig ;;
|
||||
mips*el-*-ecoff*) targ_emul=mipsidtl ;;
|
||||
mips*-*-ecoff*) targ_emul=mipsidt ;;
|
||||
mips*-dec-bsd*) targ_emul=mipsbsd ;;
|
||||
mips*el*-*-netbsd* | mips-dec-netbsd*) targ_emul=elf32lmip ;;
|
||||
mips*-*-netbsd*) targ_emul=elf32bmip ;;
|
||||
mips*-*-bsd*) targ_emul=mipsbig ;;
|
||||
mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;;
|
||||
mips*vr4300-*-elf*) targ_emul=elf32b4300 ;;
|
||||
mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;;
|
||||
mips*vr4100-*-elf*) targ_emul=elf32b4300 ;;
|
||||
mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;;
|
||||
mips*vr5000-*-elf*) targ_emul=elf32b4300 ;;
|
||||
mips*el-*-elf*) targ_emul=elf32elmip ;;
|
||||
mips*-*-elf*) targ_emul=elf32ebmip ;;
|
||||
mips*-*-rtems*) targ_emul=elf32ebmip ;;
|
||||
mips*el-*-linux-gnu*) targ_emul=elf32lsmip
|
||||
targ_extra_emuls="elf32bsmip mipslit mipsbig"
|
||||
;;
|
||||
mips*-*-linux-gnu*) targ_emul=elf32bsmip
|
||||
targ_extra_emuls="elf32lsmip mipsbig mipslit"
|
||||
;;
|
||||
mips*-*-lnews*) targ_emul=mipslnews ;;
|
||||
mn10200-*-*) targ_emul=mn10200 ;;
|
||||
mn10300-*-*) targ_emul=mn10300 ;;
|
||||
alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha
|
||||
tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'`
|
||||
;;
|
||||
alpha*-*-linux-gnu*) targ_emul=elf64alpha targ_extra_emuls=alpha
|
||||
tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'`
|
||||
;;
|
||||
alpha*-*-osf*) targ_emul=alpha ;;
|
||||
alpha*-*-gnu*) targ_emul=elf64alpha ;;
|
||||
alpha*-*-netware*) targ_emul=alpha ;;
|
||||
alpha*-*-netbsd*) targ_emul=elf64alpha ;;
|
||||
z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;;
|
||||
ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;;
|
||||
ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
|
||||
powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-linux-gnu* | powerpc-*-sysv* \
|
||||
| powerpc-*-netbsd*)
|
||||
targ_emul=elf32ppc ;;
|
||||
powerpcle-*-elf* | powerpcle-*-eabi* | powerpcle-*-solaris* | powerpcle-*-sysv*) targ_emul=elf32lppc ;;
|
||||
powerpc-*-rtems*) targ_emul=elf32ppc ;;
|
||||
powerpc-*-macos*) targ_emul=ppcmacos ;;
|
||||
powerpc-*-netware*) targ_emul=ppcnw ;;
|
||||
powerpcle-*-pe) targ_emul=ppcpe ;;
|
||||
powerpcle-*-winnt*) targ_emul=ppcpe ;;
|
||||
powerpcle-*-cygwin32) targ_emul=ppcpe ;;
|
||||
powerpc-*-aix*) targ_emul=aixppc ;;
|
||||
powerpc-*-beos*) targ_emul=aixppc ;;
|
||||
rs6000-*-aix*) targ_emul=aixrs6 ;;
|
||||
tic30-*-*aout*) targ_emul=tic30aout ;;
|
||||
tic30-*-*coff*) targ_emul=tic30coff ;;
|
||||
v850-*-*) targ_emul=v850 ;;
|
||||
w65-*-*) targ_emul=w65 ;;
|
||||
*-*-aout) targ_emul=${target_cpu}-${target_vendor} ;;
|
||||
*-*-coff) targ_emul=${target_cpu}-${target_vendor} ;;
|
||||
*-*-netware) targ_emul=${target_cpu}-nw ;;
|
||||
*-*-ieee*) targ_emul=vanilla ;;
|
||||
|
||||
*)
|
||||
echo 2>&1 "*** ld does not support target ${targ}"
|
||||
echo 2>&1 "*** see ld/configure.tgt for supported targets"
|
||||
exit 1
|
||||
|
||||
esac
|
16
gnu/dist/ld/dep-in.sed
vendored
16
gnu/dist/ld/dep-in.sed
vendored
@ -1,16 +0,0 @@
|
||||
:loop
|
||||
/\\$/N
|
||||
/\\$/b loop
|
||||
|
||||
s!@INCDIR@!$(INCDIR)!g
|
||||
s!@SRCDIR@/!!g
|
||||
s!\.\./bfd/hosts/[^ ]*\.h ! !g
|
||||
|
||||
s/\\\n */ /g
|
||||
|
||||
s/ *$//
|
||||
s/ */ /g
|
||||
/:$/d
|
||||
|
||||
s/\(.\{50\}[^ ]*\) /\1 \\\
|
||||
/g
|
2
gnu/dist/ld/emulparams/README
vendored
2
gnu/dist/ld/emulparams/README
vendored
@ -1,2 +0,0 @@
|
||||
The files in this directory are read by genscripts.sh as shell commands.
|
||||
They set parameters for the emulations.
|
5
gnu/dist/ld/emulparams/a29k.sh
vendored
5
gnu/dist/ld/emulparams/a29k.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=a29k
|
||||
OUTPUT_FORMAT="coff-a29k-big"
|
||||
TEXT_START_ADDR=0x1000000
|
||||
TARGET_PAGE_SIZE=0x1000000
|
||||
ARCH=a29k
|
4
gnu/dist/ld/emulparams/aixppc.sh
vendored
4
gnu/dist/ld/emulparams/aixppc.sh
vendored
@ -1,4 +0,0 @@
|
||||
TEMPLATE_NAME=aix
|
||||
SCRIPT_NAME=aix
|
||||
OUTPUT_FORMAT="aixcoff-rs6000"
|
||||
ARCH=powerpc
|
4
gnu/dist/ld/emulparams/aixrs6.sh
vendored
4
gnu/dist/ld/emulparams/aixrs6.sh
vendored
@ -1,4 +0,0 @@
|
||||
TEMPLATE_NAME=aix
|
||||
SCRIPT_NAME=aix
|
||||
OUTPUT_FORMAT="aixcoff-rs6000"
|
||||
ARCH=rs6000
|
3
gnu/dist/ld/emulparams/alpha.sh
vendored
3
gnu/dist/ld/emulparams/alpha.sh
vendored
@ -1,3 +0,0 @@
|
||||
SCRIPT_NAME=alpha
|
||||
OUTPUT_FORMAT="ecoff-littlealpha"
|
||||
ARCH=alpha
|
11
gnu/dist/ld/emulparams/arcelf.sh
vendored
11
gnu/dist/ld/emulparams/arcelf.sh
vendored
@ -1,11 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-littlearc"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlearc"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigarc"
|
||||
TEXT_START_ADDR=0x0
|
||||
MAXPAGESIZE=0x1000
|
||||
NONPAGED_TEXT_START_ADDR=0x0
|
||||
ARCH=arc
|
||||
MACHINE=
|
||||
ENTRY=start
|
||||
#TEMPLATE_NAME=elf32
|
7
gnu/dist/ld/emulparams/armaoutb.sh
vendored
7
gnu/dist/ld/emulparams/armaoutb.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=armaout
|
||||
OUTPUT_FORMAT="a.out-arm-big"
|
||||
HEADER_START_ADDR=0x8000
|
||||
TEXT_START_ADDR=0x8000
|
||||
NONPAGED_TEXT_START_ADDRESS=0x8000
|
||||
TARGET_PAGE_SIZE=32768
|
||||
ARCH=arm
|
7
gnu/dist/ld/emulparams/armaoutl.sh
vendored
7
gnu/dist/ld/emulparams/armaoutl.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=armaout
|
||||
OUTPUT_FORMAT="a.out-arm-little"
|
||||
HEADER_START_ADDR=0x8000
|
||||
TEXT_START_ADDR=0x8000
|
||||
NONPAGED_TEXT_START_ADDRESS=0x8000
|
||||
TARGET_PAGE_SIZE=32768
|
||||
ARCH=arm
|
6
gnu/dist/ld/emulparams/armcoff.sh
vendored
6
gnu/dist/ld/emulparams/armcoff.sh
vendored
@ -1,6 +0,0 @@
|
||||
ARCH=arm
|
||||
SCRIPT_NAME=armcoff
|
||||
OUTPUT_FORMAT="coff-arm-little"
|
||||
LITTLE_OUTPUT_FORMAT="coff-arm-little"
|
||||
BIG_OUTPUT_FORMAT="coff-arm-big"
|
||||
TEMPLATE_NAME=armcoff
|
7
gnu/dist/ld/emulparams/armnbsd.sh
vendored
7
gnu/dist/ld/emulparams/armnbsd.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x1020
|
||||
OUTPUT_FORMAT="a.out-arm-netbsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=arm
|
||||
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
6
gnu/dist/ld/emulparams/armpe.sh
vendored
6
gnu/dist/ld/emulparams/armpe.sh
vendored
@ -1,6 +0,0 @@
|
||||
ARCH=arm
|
||||
SCRIPT_NAME=pe
|
||||
OUTPUT_FORMAT="pei-arm-little"
|
||||
LITTLE_OUTPUT_FORMAT="pei-arm-little"
|
||||
BIG_OUTPUT_FORMAT="pei-arm-big"
|
||||
TEMPLATE_NAME=pe
|
7
gnu/dist/ld/emulparams/coff_sparc.sh
vendored
7
gnu/dist/ld/emulparams/coff_sparc.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=sparccoff
|
||||
OUTPUT_FORMAT="coff-sparc"
|
||||
# following are dubious (borrowed from sparc lynx)
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
ARCH=sparc
|
8
gnu/dist/ld/emulparams/d10velf.sh
vendored
8
gnu/dist/ld/emulparams/d10velf.sh
vendored
@ -1,8 +0,0 @@
|
||||
MACHINE=
|
||||
SCRIPT_NAME=elfd10v
|
||||
OUTPUT_FORMAT="elf32-d10v"
|
||||
TEXT_START_ADDR=0x01000000
|
||||
READONLY_START_ADDR=0x00000004
|
||||
ARCH=d10v
|
||||
MAXPAGESIZE=32
|
||||
EMBEDDED=t
|
5
gnu/dist/ld/emulparams/delta68.sh
vendored
5
gnu/dist/ld/emulparams/delta68.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=delta68
|
||||
OUTPUT_FORMAT="coff-m68k-sysv"
|
||||
TEXT_START_ADDR=0x2000
|
||||
PAGE_SIZE=0x1000000
|
||||
ARCH=m68k
|
5
gnu/dist/ld/emulparams/ebmon29k.sh
vendored
5
gnu/dist/ld/emulparams/ebmon29k.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=ebmon29k
|
||||
OUTPUT_FORMAT="coff-a29k-big"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=a29k
|
11
gnu/dist/ld/emulparams/elf32_sparc.sh
vendored
11
gnu/dist/ld/emulparams/elf32_sparc.sh
vendored
@ -1,11 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-sparc"
|
||||
TEXT_START_ADDR=0x10000
|
||||
MAXPAGESIZE=0x10000
|
||||
NONPAGED_TEXT_START_ADDR=0x10000
|
||||
ARCH=sparc
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
DATA_PLT=
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
ELFSIZE=32
|
29
gnu/dist/ld/emulparams/elf32b4300.sh
vendored
29
gnu/dist/ld/emulparams/elf32b4300.sh
vendored
@ -1,29 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-bigmips"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEXT_START_ADDR=0xa0020000
|
||||
MAXPAGESIZE=0x40000
|
||||
INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
||||
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
'
|
||||
OTHER_GOT_SECTIONS='
|
||||
.lit8 : { *(.lit8) }
|
||||
.lit4 : { *(.lit4) }
|
||||
'
|
||||
TEXT_START_SYMBOLS='_ftext = . ;'
|
||||
DATA_START_SYMBOLS='_fdata = . ;'
|
||||
OTHER_BSS_SYMBOLS='_fbss = .;'
|
||||
EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;'
|
||||
OTHER_SECTIONS='
|
||||
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
||||
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
||||
'
|
||||
ARCH=mips
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
DYNAMIC_LINK=false
|
||||
EMBEDDED=yes
|
30
gnu/dist/ld/emulparams/elf32bmip.sh
vendored
30
gnu/dist/ld/emulparams/elf32bmip.sh
vendored
@ -1,30 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-bigmips"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEXT_START_ADDR=0x0400000
|
||||
DATA_ADDR=0x10000000
|
||||
MAXPAGESIZE=0x40000
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
SHLIB_TEXT_START_ADDR=0x5ffe0000
|
||||
TEXT_DYNAMIC=
|
||||
INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
||||
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
'
|
||||
OTHER_GOT_SECTIONS='
|
||||
.lit8 : { *(.lit8) }
|
||||
.lit4 : { *(.lit4) }
|
||||
'
|
||||
TEXT_START_SYMBOLS='_ftext = . ;'
|
||||
DATA_START_SYMBOLS='_fdata = . ;'
|
||||
OTHER_BSS_SYMBOLS='_fbss = .;'
|
||||
OTHER_SECTIONS='
|
||||
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
||||
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
||||
'
|
||||
ARCH=mips
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
31
gnu/dist/ld/emulparams/elf32bsmip.sh
vendored
31
gnu/dist/ld/emulparams/elf32bsmip.sh
vendored
@ -1,31 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-bigmips"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEXT_START_ADDR=0x0400000
|
||||
DATA_ADDR=0x10000000
|
||||
MAXPAGESIZE=0x40000
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
SHLIB_TEXT_START_ADDR=0x5ffe0000
|
||||
TEXT_DYNAMIC=
|
||||
INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
||||
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
'
|
||||
OTHER_GOT_SECTIONS='
|
||||
.lit8 : { *(.lit8) }
|
||||
.lit4 : { *(.lit4) }
|
||||
'
|
||||
TEXT_START_SYMBOLS='_ftext = . ;'
|
||||
DATA_START_SYMBOLS='_fdata = . ;'
|
||||
OTHER_BSS_SYMBOLS='_fbss = .;'
|
||||
OTHER_SECTIONS='
|
||||
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
||||
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
||||
'
|
||||
ARCH=mips
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
ENTRY=__start
|
29
gnu/dist/ld/emulparams/elf32ebmip.sh
vendored
29
gnu/dist/ld/emulparams/elf32ebmip.sh
vendored
@ -1,29 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-bigmips"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEXT_START_ADDR=0x0400000
|
||||
MAXPAGESIZE=0x40000
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
SHLIB_TEXT_START_ADDR=0x5ffe0000
|
||||
INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
||||
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
'
|
||||
OTHER_GOT_SECTIONS='
|
||||
.lit8 : { *(.lit8) }
|
||||
.lit4 : { *(.lit4) }
|
||||
'
|
||||
TEXT_START_SYMBOLS='_ftext = . ;'
|
||||
DATA_START_SYMBOLS='_fdata = . ;'
|
||||
OTHER_BSS_SYMBOLS='_fbss = .;'
|
||||
OTHER_SECTIONS='
|
||||
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
||||
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
||||
'
|
||||
ARCH=mips
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
EMBEDDED=yes
|
29
gnu/dist/ld/emulparams/elf32elmip.sh
vendored
29
gnu/dist/ld/emulparams/elf32elmip.sh
vendored
@ -1,29 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-littlemips"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEXT_START_ADDR=0x0400000
|
||||
MAXPAGESIZE=0x40000
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
SHLIB_TEXT_START_ADDR=0x5ffe0000
|
||||
INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
||||
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
'
|
||||
OTHER_GOT_SECTIONS='
|
||||
.lit8 : { *(.lit8) }
|
||||
.lit4 : { *(.lit4) }
|
||||
'
|
||||
TEXT_START_SYMBOLS='_ftext = . ;'
|
||||
DATA_START_SYMBOLS='_fdata = . ;'
|
||||
OTHER_BSS_SYMBOLS='_fbss = .;'
|
||||
OTHER_SECTIONS='
|
||||
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
||||
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
||||
'
|
||||
ARCH=mips
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
EMBEDDED=yes
|
29
gnu/dist/ld/emulparams/elf32l4300.sh
vendored
29
gnu/dist/ld/emulparams/elf32l4300.sh
vendored
@ -1,29 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-littlemips"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEXT_START_ADDR=0xa0020000
|
||||
MAXPAGESIZE=0x40000
|
||||
INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
||||
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
'
|
||||
OTHER_GOT_SECTIONS='
|
||||
.lit8 : { *(.lit8) }
|
||||
.lit4 : { *(.lit4) }
|
||||
'
|
||||
TEXT_START_SYMBOLS='_ftext = . ;'
|
||||
DATA_START_SYMBOLS='_fdata = . ;'
|
||||
OTHER_BSS_SYMBOLS='_fbss = .;'
|
||||
EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;'
|
||||
OTHER_SECTIONS='
|
||||
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
||||
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
||||
'
|
||||
ARCH=mips
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
DYNAMIC_LINK=false
|
||||
EMBEDDED=yes
|
30
gnu/dist/ld/emulparams/elf32lmip.sh
vendored
30
gnu/dist/ld/emulparams/elf32lmip.sh
vendored
@ -1,30 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-littlemips"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEXT_START_ADDR=0x0400000
|
||||
DATA_ADDR=0x10000000
|
||||
MAXPAGESIZE=0x40000
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
SHLIB_TEXT_START_ADDR=0x5ffe0000
|
||||
TEXT_DYNAMIC=
|
||||
INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
||||
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
'
|
||||
OTHER_GOT_SECTIONS='
|
||||
.lit8 : { *(.lit8) }
|
||||
.lit4 : { *(.lit4) }
|
||||
'
|
||||
TEXT_START_SYMBOLS='_ftext = . ;'
|
||||
DATA_START_SYMBOLS='_fdata = . ;'
|
||||
OTHER_BSS_SYMBOLS='_fbss = .;'
|
||||
OTHER_SECTIONS='
|
||||
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
||||
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
||||
'
|
||||
ARCH=mips
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
8
gnu/dist/ld/emulparams/elf32lppc.sh
vendored
8
gnu/dist/ld/emulparams/elf32lppc.sh
vendored
@ -1,8 +0,0 @@
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
SCRIPT_NAME=elfppc
|
||||
OUTPUT_FORMAT="elf32-powerpcle"
|
||||
TEXT_START_ADDR=0x40000
|
||||
MAXPAGESIZE=0x40000
|
||||
ARCH=powerpc
|
||||
MACHINE=
|
31
gnu/dist/ld/emulparams/elf32lsmip.sh
vendored
31
gnu/dist/ld/emulparams/elf32lsmip.sh
vendored
@ -1,31 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-littlemips"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEXT_START_ADDR=0x0400000
|
||||
DATA_ADDR=0x10000000
|
||||
MAXPAGESIZE=0x40000
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
SHLIB_TEXT_START_ADDR=0x5ffe0000
|
||||
TEXT_DYNAMIC=
|
||||
INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
||||
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
'
|
||||
OTHER_GOT_SECTIONS='
|
||||
.lit8 : { *(.lit8) }
|
||||
.lit4 : { *(.lit4) }
|
||||
'
|
||||
TEXT_START_SYMBOLS='_ftext = . ;'
|
||||
DATA_START_SYMBOLS='_fdata = . ;'
|
||||
OTHER_BSS_SYMBOLS='_fbss = .;'
|
||||
OTHER_SECTIONS='
|
||||
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
||||
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
||||
'
|
||||
ARCH=mips
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
ENTRY=__start
|
8
gnu/dist/ld/emulparams/elf32ppc.sh
vendored
8
gnu/dist/ld/emulparams/elf32ppc.sh
vendored
@ -1,8 +0,0 @@
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
SCRIPT_NAME=elfppc
|
||||
OUTPUT_FORMAT="elf32-powerpc"
|
||||
TEXT_START_ADDR=0x01800000
|
||||
MAXPAGESIZE=0x40000
|
||||
ARCH=powerpc
|
||||
MACHINE=
|
15
gnu/dist/ld/emulparams/elf32shlunx.sh
vendored
15
gnu/dist/ld/emulparams/elf32shlunx.sh
vendored
@ -1,15 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-shl-unx"
|
||||
TEXT_START_ADDR=0x1000
|
||||
MAXPAGESIZE=0x1000
|
||||
ARCH=sh
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
|
||||
# These are for compatibility with the COFF toolchain.
|
||||
ENTRY=start
|
||||
CTOR_START='___ctors = .;'
|
||||
CTOR_END='___ctors_end = .;'
|
||||
DTOR_START='___dtors = .;'
|
||||
DTOR_END='___dtors_end = .;'
|
15
gnu/dist/ld/emulparams/elf32shunx.sh
vendored
15
gnu/dist/ld/emulparams/elf32shunx.sh
vendored
@ -1,15 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-sh-unx"
|
||||
TEXT_START_ADDR=0x1000
|
||||
MAXPAGESIZE=0x1000
|
||||
ARCH=sh
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
|
||||
# These are for compatibility with the COFF toolchain.
|
||||
ENTRY=start
|
||||
CTOR_START='___ctors = .;'
|
||||
CTOR_END='___ctors_end = .;'
|
||||
DTOR_START='___dtors = .;'
|
||||
DTOR_END='___dtors_end = .;'
|
12
gnu/dist/ld/emulparams/elf64_sparc.sh
vendored
12
gnu/dist/ld/emulparams/elf64_sparc.sh
vendored
@ -1,12 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
ELFSIZE=64
|
||||
TEMPLATE_NAME=elf32
|
||||
OUTPUT_FORMAT="elf64-sparc"
|
||||
TEXT_START_ADDR=0x100000
|
||||
MAXPAGESIZE=0x100000
|
||||
NONPAGED_TEXT_START_ADDR=0x100000
|
||||
ARCH="sparc:v9"
|
||||
MACHINE=
|
||||
DATA_PLT=
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
NOP=0x01000000
|
15
gnu/dist/ld/emulparams/elf64alpha.sh
vendored
15
gnu/dist/ld/emulparams/elf64alpha.sh
vendored
@ -1,15 +0,0 @@
|
||||
ENTRY=__start
|
||||
SCRIPT_NAME=elf
|
||||
ELFSIZE=64
|
||||
TEMPLATE_NAME=elf32
|
||||
OUTPUT_FORMAT="elf64-alpha"
|
||||
TEXT_START_ADDR="0x120000000"
|
||||
MAXPAGESIZE=0x100000
|
||||
NONPAGED_TEXT_START_ADDR="0x120000000"
|
||||
ARCH=alpha
|
||||
MACHINE=
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
DATA_PLT=
|
||||
NOP=0x47ff041f
|
||||
|
||||
OTHER_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|
11
gnu/dist/ld/emulparams/elf_i386.sh
vendored
11
gnu/dist/ld/emulparams/elf_i386.sh
vendored
@ -1,11 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-i386"
|
||||
TEXT_START_ADDR=0x08048000
|
||||
MAXPAGESIZE=0x1000
|
||||
NONPAGED_TEXT_START_ADDR=0x08048000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x9090
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
ELFSIZE=32
|
7
gnu/dist/ld/emulparams/gld960.sh
vendored
7
gnu/dist/ld/emulparams/gld960.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=i960
|
||||
OUTPUT_FORMAT=""
|
||||
TEXT_START_ADDR=??
|
||||
TARGET_PAGE_SIZE=??
|
||||
ARCH=i960
|
||||
TEMPLATE_NAME=gld960
|
||||
GLD_STYLE=1
|
19
gnu/dist/ld/emulparams/gld960coff.sh
vendored
19
gnu/dist/ld/emulparams/gld960coff.sh
vendored
@ -1,19 +0,0 @@
|
||||
SCRIPT_NAME=i960
|
||||
OUTPUT_FORMAT=""
|
||||
TEXT_START_ADDR=??
|
||||
TARGET_PAGE_SIZE=??
|
||||
ARCH=i960
|
||||
TEMPLATE_NAME=gld960c
|
||||
GLD_STYLE=1
|
||||
COFF_CTORS='
|
||||
___CTOR_LIST__ = .;
|
||||
LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)
|
||||
*(.ctors)
|
||||
LONG(0)
|
||||
___CTOR_END__ = .;
|
||||
___DTOR_LIST__ = .;
|
||||
LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)
|
||||
*(.dtors)
|
||||
LONG(0)
|
||||
___DTOR_END__ = .;
|
||||
'
|
7
gnu/dist/ld/emulparams/go32.sh
vendored
7
gnu/dist/ld/emulparams/go32.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=go32coff
|
||||
OUTPUT_FORMAT="coff-go32"
|
||||
TEXT_START_ADDR=0x10a8
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
SEGMENT_SIZE=0x1000
|
||||
NONPAGED_TEXT_START_ADDR=0x0
|
||||
ARCH=i386
|
5
gnu/dist/ld/emulparams/h8300.sh
vendored
5
gnu/dist/ld/emulparams/h8300.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=h8300
|
||||
OUTPUT_FORMAT="coff-h8300"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8300
|
5
gnu/dist/ld/emulparams/h8300h.sh
vendored
5
gnu/dist/ld/emulparams/h8300h.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=h8300h
|
||||
OUTPUT_FORMAT="coff-h8300"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8300
|
5
gnu/dist/ld/emulparams/h8300s.sh
vendored
5
gnu/dist/ld/emulparams/h8300s.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=h8300s
|
||||
OUTPUT_FORMAT="coff-h8300"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8300
|
5
gnu/dist/ld/emulparams/h8500.sh
vendored
5
gnu/dist/ld/emulparams/h8500.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=h8500
|
||||
OUTPUT_FORMAT="coff-h8500"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8500
|
5
gnu/dist/ld/emulparams/h8500b.sh
vendored
5
gnu/dist/ld/emulparams/h8500b.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=h8500b
|
||||
OUTPUT_FORMAT="coff-h8500"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8500
|
5
gnu/dist/ld/emulparams/h8500c.sh
vendored
5
gnu/dist/ld/emulparams/h8500c.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=h8500c
|
||||
OUTPUT_FORMAT="coff-h8500"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8500
|
5
gnu/dist/ld/emulparams/h8500m.sh
vendored
5
gnu/dist/ld/emulparams/h8500m.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=h8500m
|
||||
OUTPUT_FORMAT="coff-h8500"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8500
|
5
gnu/dist/ld/emulparams/h8500s.sh
vendored
5
gnu/dist/ld/emulparams/h8500s.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=h8500s
|
||||
OUTPUT_FORMAT="coff-h8500"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8500
|
5
gnu/dist/ld/emulparams/hp300bsd.sh
vendored
5
gnu/dist/ld/emulparams/hp300bsd.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-hp300bsd"
|
||||
TEXT_START_ADDR=0
|
||||
TARGET_PAGE_SIZE=4096
|
||||
ARCH=m68k
|
8
gnu/dist/ld/emulparams/hp3hpux.sh
vendored
8
gnu/dist/ld/emulparams/hp3hpux.sh
vendored
@ -1,8 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-hp300hpux"
|
||||
TEXT_START_ADDR=0
|
||||
TARGET_PAGE_SIZE=4096
|
||||
ARCH=m68k
|
||||
STACKZERO="___stack_zero = 0x2000; __DYNAMIC = 0;"
|
||||
# This is needed for HPUX 9.0; it is unnecessary but harmless for 8.0.
|
||||
SHLIB_PATH="___dld_shlib_path = 0;"
|
7
gnu/dist/ld/emulparams/hppaelf.sh
vendored
7
gnu/dist/ld/emulparams/hppaelf.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=hppaelf
|
||||
OUTPUT_FORMAT="elf32-hppa"
|
||||
TEXT_START_ADDR=0x1000
|
||||
TARGET_PAGE_SIZE=4096
|
||||
ARCH=hppa
|
||||
START="$START$"
|
||||
TEMPLATE_NAME=hppaelf
|
6
gnu/dist/ld/emulparams/i386aout.sh
vendored
6
gnu/dist/ld/emulparams/i386aout.sh
vendored
@ -1,6 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-i386"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
ARCH=i386
|
6
gnu/dist/ld/emulparams/i386bsd.sh
vendored
6
gnu/dist/ld/emulparams/i386bsd.sh
vendored
@ -1,6 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-i386-bsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
ARCH=i386
|
5
gnu/dist/ld/emulparams/i386coff.sh
vendored
5
gnu/dist/ld/emulparams/i386coff.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=i386coff
|
||||
OUTPUT_FORMAT="coff-i386"
|
||||
TEXT_START_ADDR=0x1000000
|
||||
TARGET_PAGE_SIZE=0x1000000
|
||||
ARCH=i386
|
8
gnu/dist/ld/emulparams/i386go32.sh
vendored
8
gnu/dist/ld/emulparams/i386go32.sh
vendored
@ -1,8 +0,0 @@
|
||||
SCRIPT_NAME=i386go32
|
||||
OUTPUT_FORMAT="coff-go32"
|
||||
TEXT_START_ADDR=0x10a8
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
SEGMENT_SIZE=0x200
|
||||
NONPAGED_TEXT_START_ADDR=0x0
|
||||
ARCH=i386
|
||||
|
7
gnu/dist/ld/emulparams/i386linux.sh
vendored
7
gnu/dist/ld/emulparams/i386linux.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-i386-linux"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0x1020
|
||||
NONPAGED_TEXT_START_ADDR=0
|
||||
ARCH=i386
|
||||
TEMPLATE_NAME=linux
|
9
gnu/dist/ld/emulparams/i386lynx.sh
vendored
9
gnu/dist/ld/emulparams/i386lynx.sh
vendored
@ -1,9 +0,0 @@
|
||||
SCRIPT_NAME=i386lynx
|
||||
OUTPUT_FORMAT="coff-i386-lynx"
|
||||
# This is what LynxOS /lib/init1.o wants.
|
||||
ENTRY=_main
|
||||
# following are dubious
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
ARCH=i386
|
7
gnu/dist/ld/emulparams/i386mach.sh
vendored
7
gnu/dist/ld/emulparams/i386mach.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-mach3"
|
||||
TEXT_START_ADDR=0x10020
|
||||
NONPAGED_TEXT_START_ADDR=0x10000
|
||||
SEGMENT_SIZE=0x1000
|
||||
PAD_TEXT=t
|
||||
ARCH=i386
|
10
gnu/dist/ld/emulparams/i386moss.sh
vendored
10
gnu/dist/ld/emulparams/i386moss.sh
vendored
@ -1,10 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-i386"
|
||||
TEXT_START_ADDR=0x00002000
|
||||
MAXPAGESIZE=0x1000
|
||||
NONPAGED_TEXT_START_ADDR=0x00002000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x9090
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
7
gnu/dist/ld/emulparams/i386msdos.sh
vendored
7
gnu/dist/ld/emulparams/i386msdos.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=i386msdos
|
||||
OUTPUT_FORMAT="msdos"
|
||||
TEXT_START_ADDR=0x0
|
||||
NONPAGED_TEXT_START_ADDR=0x0
|
||||
SEGMENT_SIZE=0x10
|
||||
PAD_TEXT=t
|
||||
ARCH=i386
|
6
gnu/dist/ld/emulparams/i386nbsd.sh
vendored
6
gnu/dist/ld/emulparams/i386nbsd.sh
vendored
@ -1,6 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x1020
|
||||
OUTPUT_FORMAT="a.out-i386-netbsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=i386
|
||||
TEMPLATE_NAME=netbsdaout
|
9
gnu/dist/ld/emulparams/i386nw.sh
vendored
9
gnu/dist/ld/emulparams/i386nw.sh
vendored
@ -1,9 +0,0 @@
|
||||
SCRIPT_NAME=nw
|
||||
OUTPUT_FORMAT="elf32-i386"
|
||||
TEXT_START_ADDR=0x08000000
|
||||
MAXPAGESIZE=0x1000
|
||||
NONPAGED_TEXT_START_ADDR=0x08000000
|
||||
ARCH=i386
|
||||
NOP=0x9090
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
5
gnu/dist/ld/emulparams/i386pe.sh
vendored
5
gnu/dist/ld/emulparams/i386pe.sh
vendored
@ -1,5 +0,0 @@
|
||||
ARCH=i386
|
||||
SCRIPT_NAME=pe
|
||||
OUTPUT_FORMAT="pei-i386"
|
||||
RELOCATEABLE_OUTPUT_FORMAT="pe-i386"
|
||||
TEMPLATE_NAME=pe
|
6
gnu/dist/ld/emulparams/lnk960.sh
vendored
6
gnu/dist/ld/emulparams/lnk960.sh
vendored
@ -1,6 +0,0 @@
|
||||
SCRIPT_NAME=i960
|
||||
OUTPUT_FORMAT=""
|
||||
TEXT_START_ADDR=??
|
||||
TARGET_PAGE_SIZE=??
|
||||
ARCH=i960
|
||||
TEMPLATE_NAME=lnk960
|
12
gnu/dist/ld/emulparams/m32relf.sh
vendored
12
gnu/dist/ld/emulparams/m32relf.sh
vendored
@ -1,12 +0,0 @@
|
||||
MACHINE=
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-m32r"
|
||||
TEXT_START_ADDR=0x100
|
||||
ARCH=m32r
|
||||
MACHINE=
|
||||
MAXPAGESIZE=32
|
||||
EMBEDDED=yes
|
||||
|
||||
# Hmmm, there's got to be a better way. This sets the stack to the
|
||||
# top of the simulator memory (currently 1M).
|
||||
OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = 0x100000);'
|
7
gnu/dist/ld/emulparams/m68k4knbsd.sh
vendored
7
gnu/dist/ld/emulparams/m68k4knbsd.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x1020
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
OUTPUT_FORMAT="a.out-m68k4k-netbsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=m68k
|
||||
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
|
7
gnu/dist/ld/emulparams/m68kaout.sh
vendored
7
gnu/dist/ld/emulparams/m68kaout.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-zero-big"
|
||||
TEXT_START_ADDR=0x2020
|
||||
TARGET_PAGE_SIZE=0x2000
|
||||
SEGMENT_SIZE=0x20000
|
||||
NONPAGED_TEXT_START_ADDR=0x2000
|
||||
ARCH=m68k
|
8
gnu/dist/ld/emulparams/m68kaux.sh
vendored
8
gnu/dist/ld/emulparams/m68kaux.sh
vendored
@ -1,8 +0,0 @@
|
||||
SCRIPT_NAME=m68kaux
|
||||
OUTPUT_FORMAT="coff-m68k-aux"
|
||||
SEGMENT_SIZE=0x40000
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR="$SEGMENT_SIZE + SIZEOF_HEADERS"
|
||||
NON_PAGED_TEXT_START_ADDR=SIZEOF_HEADERS
|
||||
DATA_ALIGNMENT_="(. & (-$SEGMENT_SIZE | $TARGET_PAGE_SIZE-1)) + $SEGMENT_SIZE"
|
||||
ARCH=m68k
|
5
gnu/dist/ld/emulparams/m68kcoff.sh
vendored
5
gnu/dist/ld/emulparams/m68kcoff.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=m68kcoff
|
||||
OUTPUT_FORMAT="coff-m68k"
|
||||
TEXT_START_ADDR=0x1000000
|
||||
TARGET_PAGE_SIZE=0x1000000
|
||||
ARCH=m68k
|
11
gnu/dist/ld/emulparams/m68kelf.sh
vendored
11
gnu/dist/ld/emulparams/m68kelf.sh
vendored
@ -1,11 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-m68k"
|
||||
TEXT_START_ADDR=0x80000000
|
||||
MAXPAGESIZE=0x2000
|
||||
NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
|
||||
ARCH=m68k
|
||||
MACHINE=
|
||||
NOP=0x4e75
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
ELFSIZE=32
|
12
gnu/dist/ld/emulparams/m68kelfnbsd.sh
vendored
12
gnu/dist/ld/emulparams/m68kelfnbsd.sh
vendored
@ -1,12 +0,0 @@
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-m68k"
|
||||
TEXT_START_ADDR=0x2000
|
||||
TARGET_PAGE_SIZE=0x2000
|
||||
MAXPAGESIZE=0x2000
|
||||
NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
|
||||
ARCH=m68k
|
||||
MACHINE=
|
||||
NOP=0x4e75
|
||||
TEMPLATE_NAME=elf32
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
ELFSIZE=32
|
7
gnu/dist/ld/emulparams/m68klinux.sh
vendored
7
gnu/dist/ld/emulparams/m68klinux.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-m68k-linux"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0x1020
|
||||
NONPAGED_TEXT_START_ADDR=0
|
||||
ARCH=m68k
|
||||
TEMPLATE_NAME=linux
|
8
gnu/dist/ld/emulparams/m68klynx.sh
vendored
8
gnu/dist/ld/emulparams/m68klynx.sh
vendored
@ -1,8 +0,0 @@
|
||||
SCRIPT_NAME=m68klynx
|
||||
OUTPUT_FORMAT="coff-m68k-lynx"
|
||||
# This is what LynxOS /lib/init1.o wants.
|
||||
ENTRY=__main
|
||||
# following are dubious
|
||||
TEXT_START_ADDR=0
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=m68k
|
7
gnu/dist/ld/emulparams/m68knbsd.sh
vendored
7
gnu/dist/ld/emulparams/m68knbsd.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x2020
|
||||
NONPAGED_TEXT_START_ADDR=0x2000
|
||||
OUTPUT_FORMAT="a.out-m68k-netbsd"
|
||||
TARGET_PAGE_SIZE=0x2000
|
||||
ARCH=m68k
|
||||
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
|
6
gnu/dist/ld/emulparams/m68kpsos.sh
vendored
6
gnu/dist/ld/emulparams/m68kpsos.sh
vendored
@ -1,6 +0,0 @@
|
||||
SCRIPT_NAME=psos
|
||||
OUTPUT_FORMAT="elf32-m68k"
|
||||
TEXT_START_ADDR=0x20000
|
||||
MAXPAGESIZE=0x1000
|
||||
ARCH=m68k
|
||||
TEMPLATE_NAME=elf32
|
5
gnu/dist/ld/emulparams/m88kbcs.sh
vendored
5
gnu/dist/ld/emulparams/m88kbcs.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=m88kbcs
|
||||
OUTPUT_FORMAT="coff-m88kbcs"
|
||||
TEXT_START_ADDR=??
|
||||
TARGET_PAGE_SIZE=??
|
||||
ARCH=m88k
|
6
gnu/dist/ld/emulparams/mipsbig.sh
vendored
6
gnu/dist/ld/emulparams/mipsbig.sh
vendored
@ -1,6 +0,0 @@
|
||||
SCRIPT_NAME=mips
|
||||
OUTPUT_FORMAT="ecoff-bigmips"
|
||||
BIG_OUTPUT_FORMAT="ecoff-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="ecoff-littlemips"
|
||||
TARGET_PAGE_SIZE=0x1000000
|
||||
ARCH=mips
|
7
gnu/dist/ld/emulparams/mipsbsd.sh
vendored
7
gnu/dist/ld/emulparams/mipsbsd.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=mipsbsd
|
||||
OUTPUT_FORMAT="a.out-mips-little"
|
||||
BIG_OUTPUT_FORMAT="a.out-mips-big"
|
||||
LITTLE_OUTPUT_FORMAT="a.out-mips-little"
|
||||
TEXT_START_ADDR=0x1020
|
||||
TARGET_PAGE_SIZE=4096
|
||||
ARCH=mips
|
11
gnu/dist/ld/emulparams/mipsidt.sh
vendored
11
gnu/dist/ld/emulparams/mipsidt.sh
vendored
@ -1,11 +0,0 @@
|
||||
SCRIPT_NAME=mips
|
||||
OUTPUT_FORMAT="ecoff-bigmips"
|
||||
BIG_OUTPUT_FORMAT="ecoff-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="ecoff-littlemips"
|
||||
TARGET_PAGE_SIZE=0x1000000
|
||||
ARCH=mips
|
||||
ENTRY=start
|
||||
TEXT_START_ADDR=0xa0012000
|
||||
DATA_ADDR=.
|
||||
TEMPLATE_NAME=mipsecoff
|
||||
EMBEDDED=yes
|
11
gnu/dist/ld/emulparams/mipsidtl.sh
vendored
11
gnu/dist/ld/emulparams/mipsidtl.sh
vendored
@ -1,11 +0,0 @@
|
||||
SCRIPT_NAME=mips
|
||||
OUTPUT_FORMAT="ecoff-littlemips"
|
||||
BIG_OUTPUT_FORMAT="ecoff-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="ecoff-littlemips"
|
||||
TARGET_PAGE_SIZE=0x1000000
|
||||
ARCH=mips
|
||||
ENTRY=start
|
||||
TEXT_START_ADDR=0xa0012000
|
||||
DATA_ADDR=.
|
||||
TEMPLATE_NAME=mipsecoff
|
||||
EMBEDDED=yes
|
6
gnu/dist/ld/emulparams/mipslit.sh
vendored
6
gnu/dist/ld/emulparams/mipslit.sh
vendored
@ -1,6 +0,0 @@
|
||||
SCRIPT_NAME=mips
|
||||
OUTPUT_FORMAT="ecoff-littlemips"
|
||||
BIG_OUTPUT_FORMAT="ecoff-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="ecoff-littlemips"
|
||||
TARGET_PAGE_SIZE=0x1000000
|
||||
ARCH=mips
|
9
gnu/dist/ld/emulparams/mipslnews.sh
vendored
9
gnu/dist/ld/emulparams/mipslnews.sh
vendored
@ -1,9 +0,0 @@
|
||||
SCRIPT_NAME=mips
|
||||
OUTPUT_FORMAT="ecoff-littlemips"
|
||||
BIG_OUTPUT_FORMAT="ecoff-bigmips"
|
||||
LITTLE_OUTPUT_FORMAT="ecoff-littlemips"
|
||||
TARGET_PAGE_SIZE=0x1000000
|
||||
ARCH=mips
|
||||
TEXT_START_ADDR=0x80080000
|
||||
DATA_ADDR=.
|
||||
EMBEDDED=yes
|
20
gnu/dist/ld/emulparams/mn10200.sh
vendored
20
gnu/dist/ld/emulparams/mn10200.sh
vendored
@ -1,20 +0,0 @@
|
||||
MACHINE=
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-mn10200"
|
||||
TEXT_START_ADDR=0x0
|
||||
ARCH=mn10200
|
||||
MACHINE=
|
||||
MAXPAGESIZE=256
|
||||
ENTRY=_start
|
||||
EMBEDDED=yes
|
||||
|
||||
# Hmmm, there's got to be a better way. This sets the stack to the
|
||||
# top of the simulator memory (2^19 bytes).
|
||||
OTHER_RELOCATING_SECTIONS='.stack 0x80000 : { _stack = .; *(.stack) }'
|
||||
|
||||
# These are for compatibility with the COFF toolchain.
|
||||
# XXX These should definitely disappear.
|
||||
CTOR_START='___ctors = .;'
|
||||
CTOR_END='___ctors_end = .;'
|
||||
DTOR_START='___dtors = .;'
|
||||
DTOR_END='___dtors_end = .;'
|
20
gnu/dist/ld/emulparams/mn10300.sh
vendored
20
gnu/dist/ld/emulparams/mn10300.sh
vendored
@ -1,20 +0,0 @@
|
||||
MACHINE=
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-mn10300"
|
||||
TEXT_START_ADDR=0x0
|
||||
ARCH=mn10300
|
||||
MACHINE=
|
||||
MAXPAGESIZE=256
|
||||
ENTRY=_start
|
||||
EMBEDDED=yes
|
||||
|
||||
# Hmmm, there's got to be a better way. This sets the stack to the
|
||||
# top of the simulator memory (2^19 bytes).
|
||||
OTHER_RELOCATING_SECTIONS='.stack 0x80000 : { _stack = .; *(.stack) }'
|
||||
|
||||
# These are for compatibility with the COFF toolchain.
|
||||
# XXX These should definitely disappear.
|
||||
CTOR_START='___ctors = .;'
|
||||
CTOR_END='___ctors_end = .;'
|
||||
DTOR_START='___dtors = .;'
|
||||
DTOR_END='___dtors_end = .;'
|
5
gnu/dist/ld/emulparams/news.sh
vendored
5
gnu/dist/ld/emulparams/news.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-newsos3"
|
||||
TEXT_START_ADDR=0
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=m68k
|
5
gnu/dist/ld/emulparams/ns32knbsd.sh
vendored
5
gnu/dist/ld/emulparams/ns32knbsd.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x1020
|
||||
OUTPUT_FORMAT="a.out-ns32k-netbsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=ns32k
|
6
gnu/dist/ld/emulparams/pc532macha.sh
vendored
6
gnu/dist/ld/emulparams/pc532macha.sh
vendored
@ -1,6 +0,0 @@
|
||||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-pc532-mach"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR="0x10020"
|
||||
NONPAGED_TEXT_START_ADDR=0x10000
|
||||
ARCH=ns32k
|
4
gnu/dist/ld/emulparams/ppcmacos.sh
vendored
4
gnu/dist/ld/emulparams/ppcmacos.sh
vendored
@ -1,4 +0,0 @@
|
||||
TEMPLATE_NAME=aix
|
||||
SCRIPT_NAME=aix
|
||||
OUTPUT_FORMAT="xcoff-powermac"
|
||||
ARCH=powerpc
|
7
gnu/dist/ld/emulparams/ppcnw.sh
vendored
7
gnu/dist/ld/emulparams/ppcnw.sh
vendored
@ -1,7 +0,0 @@
|
||||
SCRIPT_NAME=nw
|
||||
OUTPUT_FORMAT="elf32-powerpc"
|
||||
TEXT_START_ADDR=0x0400000
|
||||
DATA_ADDR=0x10000000
|
||||
MAXPAGESIZE=0x40000
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
ARCH=powerpc
|
4
gnu/dist/ld/emulparams/ppcpe.sh
vendored
4
gnu/dist/ld/emulparams/ppcpe.sh
vendored
@ -1,4 +0,0 @@
|
||||
ARCH=powerpc
|
||||
SCRIPT_NAME=ppcpe
|
||||
OUTPUT_FORMAT="pei-powerpcle"
|
||||
TEMPLATE_NAME=pe
|
5
gnu/dist/ld/emulparams/riscix.sh
vendored
5
gnu/dist/ld/emulparams/riscix.sh
vendored
@ -1,5 +0,0 @@
|
||||
SCRIPT_NAME=riscix
|
||||
OUTPUT_FORMAT="a.out-riscix"
|
||||
TEXT_START_ADDR=0x8000
|
||||
TARGET_PAGE_SIZE=0x8000
|
||||
ARCH=arm
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user