aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-04-21 05:34:11 +0000
committerK. Richard Pixley <rich@cygnus>1992-04-21 05:34:11 +0000
commit119afd7b5f57b1b27a3cfa1b502e85321a6754c2 (patch)
tree19d17407ec78f43737dda8f24418edda1cbf412d
parentd96c09ed3f7a81541b8b4dd26ab735a93e0caa0b (diff)
downloadgdb-119afd7b5f57b1b27a3cfa1b502e85321a6754c2.zip
gdb-119afd7b5f57b1b27a3cfa1b502e85321a6754c2.tar.gz
gdb-119afd7b5f57b1b27a3cfa1b502e85321a6754c2.tar.bz2
tooldir copy of ld belongs directly in tooldir
-rw-r--r--ld/ChangeLog13
-rw-r--r--ld/Makefile.in17
2 files changed, 22 insertions, 8 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index ed5a8a6..1d878b7 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,14 @@
+Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
+
+ * relax.c: added handling for new "padding" seclet type, used to
+ fill out gaps between section.
+ * ldgram.y, ldlex.l: now -defsym on the command line is done
+ properly.
+
+Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
+
+ * Makefile.in: the tooldir copy of ld goes directly in tooldir.
+
Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* mri.c, ldgram.y, ldlex.l: added support for minimal strange link
@@ -14,8 +25,6 @@ Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* h8300*: fix bit rot and add support for h8300xray target
* go32.sh: target emulation for go32.
-
-
Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com)
* gld960.em, i960.sc-sh. Fix i960 bit rot
diff --git a/ld/Makefile.in b/ld/Makefile.in
index f9b4eeb..1a3317c 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -56,6 +56,7 @@ AR_FLAGS = qv
BISON = bison -y
MAKEINFO = makeinfo
RANLIB = ranlib
+LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
#version=/`./../gcc/gcc -dumpversion`
version=
@@ -103,12 +104,12 @@ LIBIBERTY=./../libiberty/libiberty.a
ALL_EMULATIONS=ld__lnk960.o ld__sun3.o ld__i386aout.o \
ld__go32.o ld__m88kbcs.o ld__a29k.o ld__news.o ld__hp300bsd.o ld__h8300hms.o ld__ebmon29k.o \
- ld__sun4.o ld__gld960.o ld__vanilla.o ld__h8300xray.o
+ ld__sun4.o ld__gld960.o ld__vanilla.o ld__h8300xray.o ld__st2000.o
EMULATION_OFILES=${ALL_EMULATIONS}
#EMULATION_OFILES=ld__${EMUL}.o ${OTHER_EMULATIONS}
-OFILES= ldgram.o ldlex.o lexsup.o ldlang.o ldctor.o ldmain.o ldindr.o \
+OFILES= ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldindr.o \
ldwarn.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldsym.o \
ldfile.o relax.o lderror.o cplus-dem.o ${EMULATION_OFILES}
@@ -118,7 +119,7 @@ HEADERS=config.h ldmain.h ldmain.h ldwarn.h ldmisc.h ldindr.h \
MANSOURCES=ld.tex
-LDCSOURCES=ldlang.c lexsup.c ldctor.c ldindr.c ldmain.c ldwrite.c ldwarn.c ldlnk960.c \
+LDCSOURCES=ldlang.c lexsup.c ldctor.c mri.c ldindr.c ldmain.c ldwrite.c ldwarn.c ldlnk960.c \
ld__gld.c ld__sun3.c ld__go32.c ld__m88k.c ld__ebmon29k.c \
ldgld960.c ldemul.c ldver.c ldmisc.c ldexp.c ldsym.c ldfile.c \
relax.c lderror.c cplus-dem.c
@@ -166,7 +167,7 @@ ldemul.o: ldemul-list.h
ldlex.c: ldlex.l
# /lib/cpp -E -P $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(VPATH)/ldlex.l >ldlex.p
- flex -Cem -t $(VPATH)/ldlex.l >ldlex.c
+ $(LEX) -Cem -t $(VPATH)/ldlex.l >ldlex.c
# cp ldlex.q ldlex.c
@@ -208,6 +209,9 @@ ld__h8300hms.c: $(srcdir)/h8300hms.sh \
ld__h8300xray.c: $(srcdir)/h8300xray.sh \
$(srcdir)/h8300xray.em $(srcdir)/h8300xray.sc-sh ${GEN_DEPENDS}
${GENSCRIPTS} h8300xray.sh
+ld__st2000.c: $(srcdir)/st2000.sh \
+ $(srcdir)/st2000.em $(srcdir)/st2000.sc-sh ${GEN_DEPENDS}
+ ${GENSCRIPTS} st2000.sh
ld__vanilla.c: $(srcdir)/vanilla.sh \
$(srcdir)/vanilla.em $(srcdir)/vanilla.sc-sh ${GEN_DEPENDS}
${GENSCRIPTS} vanilla.sh
@@ -339,6 +343,7 @@ ldgram.c:ldgram.y
h8300hms.o:h8300hms.c
h8300xray.o:h8300xray.c
+st2000.o:st2000.c
stage1: force
-mkdir stage1
@@ -403,8 +408,8 @@ install: $(LD_PROG)
mv ld.new ld
-rm -f $(bindir)/$(program_prefix)ld
$(INSTALL_PROGRAM) ld $(bindir)/$(program_prefix)ld
- -rm -f $(tooldir)/bin/ld
- $(INSTALL_PROGRAM) ld $(tooldir)/bin/ld
+ -rm -f $(tooldir)/ld
+ $(INSTALL_PROGRAM) ld $(tooldir)/ld
-rm -f $(man1dir)/$(program_prefix)ld.1
$(INSTALL_DATA) $(srcdir)/gld.1 $(man1dir)/$(program_prefix)ld.1