diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-05-25 22:37:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-05-25 22:37:41 +0000 |
commit | 63545898381f35cfa4b0bffebe21b2fcf1621551 (patch) | |
tree | a64714a71680028567c3b94c6ab7606a23df3708 | |
parent | aea2312bde4a0496c0238842f36cfc8dd70b0164 (diff) | |
download | gdb-63545898381f35cfa4b0bffebe21b2fcf1621551.zip gdb-63545898381f35cfa4b0bffebe21b2fcf1621551.tar.gz gdb-63545898381f35cfa4b0bffebe21b2fcf1621551.tar.bz2 |
* Makefile.in: configure looks for ####, so remove lines with many
'#' characters.
* config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
and HOSTING_LIBS correctly so that ``make check'' will work.
-rw-r--r-- | ld/ChangeLog | 13 | ||||
-rw-r--r-- | ld/Makefile.in | 27 | ||||
-rw-r--r-- | ld/config/.Sanitize | 2 | ||||
-rw-r--r-- | ld/config/i386v.mh | 4 | ||||
-rw-r--r-- | ld/config/irix4.mh | 3 |
5 files changed, 39 insertions, 10 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 6da4644..37e3c0f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,16 @@ +Tue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: configure looks for ####, so remove lines with many + '#' characters. + * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 + and HOSTING_LIBS correctly so that ``make check'' will work. + +Thu May 20 13:56:16 1993 Per Bothner (bothner@deneb.cygnus.com) + + * mips.sc-sh: Define _etext, _edata, and _end, in addition + to etext, edata, and end. Needed for IRIX 4.0.5F. + Patch from mwp@iconix.oz.au (Michael Paddon). + Thu May 20 11:42:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh. diff --git a/ld/Makefile.in b/ld/Makefile.in index f390b24..a4cd51b 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -98,7 +98,7 @@ HOSTING_EMU=LDEMULATION=$(EMUL); export LDEMULATION C++ = g++ -fgnu-linker ### Host, target, and site specific Makefile fragments come in here. -### +#### LINTFLAGS = $(INCLUDES) $(EXTRA_DEF) @@ -120,11 +120,12 @@ BFDLIB=./../bfd/libbfd.a LIBIBERTY=./../libiberty/libiberty.a ALL_EMULATIONS=em_lnk960.o em_sun3.o em_i386aout.o em_go32.o \ - em_m88kbcs.o em_a29k.o em_news.o em_hp300bsd.o \ + em_m88kbcs.o em_a29k.o em_news.o em_hp300bsd.o em_hp3hpux.o \ em_h8300hms.o em_ebmon29k.o em_sun4.o em_gld960.o \ em_m68kcoff.o em_st2000.o em_sa29200.o \ em_vanilla.o em_i386coff.o em_z8ksim.o em_mipslit.o em_i386bsd.o \ - em_mipsbig.o em_mipsbsd.o em_mipsidt.o em_vax.o em_h8500hms.o + em_mipsbig.o em_mipsbsd.o em_mipsidt.o em_vax.o em_h8500hms.o \ + em_hppaosf.o # start-sanitize-sh OTHER_EMULATIONS=em_sh.o @@ -144,7 +145,7 @@ HEADERS=config.h ldmain.h ldmain.h ldwarn.h ldmisc.h ldindr.h \ MANSOURCES=ld.tex LDCSOURCES=ldlang.c lexsup.c ldctor.c mri.c ldindr.c ldmain.c ldwrite.c ldwarn.c ldlnk960.c \ - em_gld.c em_sun3.c em_go32.c em_m88k.c em_ebmon29k.c \ + em_gld.c em_sun3.c em_go32.c em_m88k.c em_ebmon29k.c em_hppaosf.c \ ldgld960.c ldemul.c ldver.c ldmisc.c ldexp.c ldsym.c ldfile.c \ relax.c lderror.c @@ -205,7 +206,7 @@ ldlex.c: ldlex.l ldgram.h # These all start with em_ so 'make clean' can find them. GENSCRIPTS=sh $(srcdir)/genscripts.sh ${srcdir} ${host_alias} ${target_alias} -GEN_DEPENDS=./mkscript $(srcdir)/genscripts.sh +GEN_DEPENDS=mkscript $(srcdir)/genscripts.sh em_sun4.c: $(srcdir)/sun4.sh \ $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS} @@ -225,6 +226,12 @@ em_vax.c: $(srcdir)/vax.sh \ em_hp300bsd.c: $(srcdir)/hp300bsd.sh \ $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS} ${GENSCRIPTS} hp300bsd.sh +em_hp3hpux.c: $(srcdir)/hp3hpux.sh \ + $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS} + ${GENSCRIPTS} hp3hpux.sh +em_hppaosf.c: $(srcdir)/hppaosf.sh \ + $(srcdir)/hppaosf.em $(srcdir)/hppaosf.sc-sh ${GEN_DEPENDS} + ${GENSCRIPTS} hppaosf.sh em_i386aout.c: $(srcdir)/i386aout.sh \ $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS} ${GENSCRIPTS} i386aout.sh @@ -318,7 +325,6 @@ check-cdtest: cdtest $(srcdir)/cdtest.exp ./cdtest >cdtest.out diff $(srcdir)/cdtest.exp cdtest.out -###################################################################### # DOCUMENTATION TARGETS # Manual configuration file; not usually attached to normal configuration, # because almost all configs use "gen" version of manual. @@ -418,10 +424,11 @@ ld-index.me: ld.me texi2index >ld-index.me -###################################################################### +mkscript.o: $(srcdir)/mkscript.c + $(CC_FOR_BUILD) -c $(srcdir)/mkscript.c -./mkscript: $(srcdir)/mkscript.c - $(CC_FOR_BUILD) -o mkscript $(srcdir)/mkscript.c +mkscript: mkscript.o + $(CC_FOR_BUILD) -o mkscript mkscript.o ldlex.o: ldlex.c ldgram.h ldgram.o: ldgram.c @@ -476,7 +483,7 @@ de-stage3: force -rmdir stage3 # Stuff that should be included in a distribution: -LDDISTSTUFF=ldgram.c ldgram.h ldlex.c ld.mm +LDDISTSTUFF=ldgram.c ldgram.h ldlex.c diststuff: $(LDDISTSTUFF) mostlyclean: diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index 7412c2d..194fd29 100644 --- a/ld/config/.Sanitize +++ b/ld/config/.Sanitize @@ -40,9 +40,11 @@ hppaosf.mt i386-aout.mt i386-bsd.mt i386-coff.mt +i386v.mh i386v.mt i960.mt ieee-h8300.mt +irix4.mh m68k-coff.mt m68k.mt m68kv.mt diff --git a/ld/config/i386v.mh b/ld/config/i386v.mh new file mode 100644 index 0000000..15207fb --- /dev/null +++ b/ld/config/i386v.mh @@ -0,0 +1,4 @@ +# For testing, we want to use /lib/crt1.o and /lib/crtn.o so that +# constructors work properly. +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 echo $(libdir)/libgcc.a; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o diff --git a/ld/config/irix4.mh b/ld/config/irix4.mh new file mode 100644 index 0000000..7e778a4 --- /dev/null +++ b/ld/config/irix4.mh @@ -0,0 +1,3 @@ +# Irix 4.0.1 does not use /lib/crt0.o +HOSTING_CRT0=/usr/lib/crt1.o +HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo $(libdir)/libgcc.a; fi` -lc /usr/lib/crtn.o |