+Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)
+
+ * config/mt-<foo> renamed to <foo>.mt
+ * config/mh-<foo> renamed to <foo>.mt
+ * configure.in changed to reflect this
+ * genscripts.sh now make .xbn files rather than .xN files
+
+Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com)
+
+ * ldver.h: fix decl of ldversion.
+
+Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com)
+
+ * Makefile.in: added check target.
+
Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* ldmain.c (Q_enter_file_symbols): now aliases work again
+Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com)
+
+ * Makefile.in: added clean-info target.
+
Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* ldexp.c (exp_print_tree): don't try and follow null pointers
around.
* ldgram.y: remove 11 shift reduce errors
+Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com)
+
+ * Makefile.in: added tooldir and program_prefix.
+
Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
* ldlang.c (size_input_section): don't move absolute sections
* ldmisc.c: support for cplus demangling
+Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
+
+ * Makefile.in, configure.in: removed traces of namesubdir,
+ -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
+ copyrights to '92, changed some from Cygnus to FSF.
+
Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
* Makefile.in: Change mkscript rule into one for ./mkscript
# Makefile for the GNU linker ld (version 2)
-# Copyright (C) 1989-1991 Free Software Foundation, Inc.
+# Copyright (C) 1989-1992 Free Software Foundation, Inc.
# This file is part of GNU ld..
prefix = /usr/local
-bindir = $(prefix)/bin
+program_prefix =
+exec_prefix = $(prefix)
+bindir = $(exec_prefix)/bin
+libdir = $(exec_prefix)/lib
+tooldir = $(libdir)
+
datadir = $(prefix)/lib
-libdir = $(prefix)/lib
-mandir = $(datadir)/man
+mandir = $(prefix)/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
man3dir = $(mandir)/man3
man7dir = $(mandir)/man7
man8dir = $(mandir)/man8
man9dir = $(mandir)/man9
-infodir = $(datadir)/info
+infodir = $(prefix)/info
includedir = $(prefix)/include
docdir = $(datadir)/doc
MAKEINFO = makeinfo
RANLIB = ranlib
-#version=/`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
+#version=/`./../gcc/gcc -dumpversion`
version=
# Seach path to override the default search path for -lfoo libraries.
CFLAGS = $(INCLUDES) $(MINUS_G) $(HDEFINES) $(TDEFINES) $(CDEFINES)
LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
-.SUFFIXES: .y .x .xr .xu .xn .xN .sc .scu .scr .scn $(SUFFIXES)
+.SUFFIXES: .y .x .xr .xu .xn .xbn .sc .scu .scr .scn $(SUFFIXES)
# go directly to ld.new in case this ld isn't capable of
# linking native object on this host. It can be renamed on
LD_PROG = ld.new
# for self hosting
-BFDLIB=$(unsubdir)/../bfd$(subdir)/libbfd.a
-LIBIBERTY=$(unsubdir)/../libiberty$(subdir)/libiberty.a
+BFDLIB=./../bfd/libbfd.a
+LIBIBERTY=./../libiberty/libiberty.a
ALL_EMULATIONS=ld__lnk960.o ld__sun3.o ld__i386aout.o \
ld__m88kbcs.o ld__a29k.o ld__news.o ld__hp300bsd.o ld__h8300hms.o ld__ebmon29k.o \
OFILES= ldgram.o ldlex.o lexsup.o ldlang.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 ${EMULATION_OFILES}
+ ldfile.o relax.o lderror.o cplus-dem.o ${EMULATION_OFILES}
HEADERS=config.h ldmain.h ldmain.h ldwarn.h ldmisc.h ldindr.h \
ldsym.h ldctor.h ldlang.h ldexp.h \
LDCSOURCES=ldlang.c lexsup.c ldctor.c ldindr.c ldmain.c ldwrite.c ldwarn.c ldlnk960.c \
ld__gld.c ld__sun3.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
+ relax.c lderror.c cplus-dem.c
GENERATED_SOURCES=ldgram.c ldlex.c ld__*.c ldemul-list.h
GENERATED_HEADERS=ldgram.h ldemul-list.h
all: Makefile $(LD_PROG)
+check:
info: ld.info
ldgram.h ldgram.c: ldgram.y
######################################################################
-mkscript: $(srcdir)/mkscript.c
+./mkscript: $(srcdir)/mkscript.c
$(CC) $(CFLAGS) $(LDFLAGS) -o mkscript $(srcdir)/mkscript.c $(LOADLIBES)
ldlex.c: ldlex.l ldgram.h
objdump:objdump.c
+.PHONY: install
install: $(LD_PROG)
- $(INSTALL_PROGRAM) ld.new $(bindir)/ld
+ -rm -f $(bindir)/$(program_prefix)ld
+ $(INSTALL_PROGRAM) ld.new $(bindir)/$(program_prefix)ld
+ -rm -f $(tooldir)/ld
+ ln $(bindir)/$(program_prefix)ld $(tooldir)/ld
install-info: info
for i in ld.info* ; do \
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
done
+clean-info:
+ -rm -rf *.info*
+
# Something like the following might make sense for install, but doesn't work
# - it is too fragile, depending on a gcc binary int the right place.
# Perhaps using gcc/version.c might work?
# # If $(gcclibdir) exists, install ld there, and put a link to it
# # from $(bindir); otherwise put ld in $(bindir).
-# if ([ -x $(unsubdir)/../gcc$(subdir)/gcc -a -d $(gcclibdir) ]); then \
+# if ([ -x ./../gcc/gcc -a -d $(gcclibdir) ]); then \
# $(INSTALL_PROGRAM) ld.new $(gcclibdir)/ld; \
# cd $(bindir); rm -f ld; ln -s $(gcclibdir)/ld ld; \
# else \