* 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
This commit is contained in:
parent
5d53038bb9
commit
12fa72d472
3 changed files with 76 additions and 35 deletions
29
ld/ChangeLog
29
ld/ChangeLog
|
@ -1,13 +1,36 @@
|
||||||
|
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)
|
Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||||
|
|
||||||
* ldmain.c (Q_enter_file_symbols): now aliases work again
|
* 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)
|
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
|
* ldexp.c (exp_print_tree): don't try and follow null pointers
|
||||||
around.
|
around.
|
||||||
* ldgram.y: remove 11 shift reduce errors
|
* 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)
|
Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
|
||||||
|
|
||||||
* ldlang.c (size_input_section): don't move absolute sections
|
* ldlang.c (size_input_section): don't move absolute sections
|
||||||
|
@ -23,6 +46,12 @@ Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
|
||||||
* ldmisc.c: support for cplus demangling
|
* 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)
|
Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
|
||||||
|
|
||||||
* Makefile.in: Change mkscript rule into one for ./mkscript
|
* Makefile.in: Change mkscript rule into one for ./mkscript
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Makefile for the GNU linker ld (version 2)
|
# 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..
|
# This file is part of GNU ld..
|
||||||
|
|
||||||
|
@ -22,10 +22,14 @@ srcdir = .
|
||||||
|
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
|
|
||||||
bindir = $(prefix)/bin
|
program_prefix =
|
||||||
|
exec_prefix = $(prefix)
|
||||||
|
bindir = $(exec_prefix)/bin
|
||||||
|
libdir = $(exec_prefix)/lib
|
||||||
|
tooldir = $(libdir)
|
||||||
|
|
||||||
datadir = $(prefix)/lib
|
datadir = $(prefix)/lib
|
||||||
libdir = $(prefix)/lib
|
mandir = $(prefix)/man
|
||||||
mandir = $(datadir)/man
|
|
||||||
man1dir = $(mandir)/man1
|
man1dir = $(mandir)/man1
|
||||||
man2dir = $(mandir)/man2
|
man2dir = $(mandir)/man2
|
||||||
man3dir = $(mandir)/man3
|
man3dir = $(mandir)/man3
|
||||||
|
@ -35,7 +39,7 @@ man6dir = $(mandir)/man6
|
||||||
man7dir = $(mandir)/man7
|
man7dir = $(mandir)/man7
|
||||||
man8dir = $(mandir)/man8
|
man8dir = $(mandir)/man8
|
||||||
man9dir = $(mandir)/man9
|
man9dir = $(mandir)/man9
|
||||||
infodir = $(datadir)/info
|
infodir = $(prefix)/info
|
||||||
includedir = $(prefix)/include
|
includedir = $(prefix)/include
|
||||||
docdir = $(datadir)/doc
|
docdir = $(datadir)/doc
|
||||||
|
|
||||||
|
@ -53,7 +57,7 @@ BISON = bison -y
|
||||||
MAKEINFO = makeinfo
|
MAKEINFO = makeinfo
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
#version=/`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
|
#version=/`./../gcc/gcc -dumpversion`
|
||||||
version=
|
version=
|
||||||
|
|
||||||
# Seach path to override the default search path for -lfoo libraries.
|
# Seach path to override the default search path for -lfoo libraries.
|
||||||
|
@ -86,7 +90,7 @@ ROFF = groff
|
||||||
CFLAGS = $(INCLUDES) $(MINUS_G) $(HDEFINES) $(TDEFINES) $(CDEFINES)
|
CFLAGS = $(INCLUDES) $(MINUS_G) $(HDEFINES) $(TDEFINES) $(CDEFINES)
|
||||||
LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
|
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
|
# go directly to ld.new in case this ld isn't capable of
|
||||||
# linking native object on this host. It can be renamed on
|
# linking native object on this host. It can be renamed on
|
||||||
|
@ -94,8 +98,8 @@ LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
|
||||||
LD_PROG = ld.new
|
LD_PROG = ld.new
|
||||||
|
|
||||||
# for self hosting
|
# for self hosting
|
||||||
BFDLIB=$(unsubdir)/../bfd$(subdir)/libbfd.a
|
BFDLIB=./../bfd/libbfd.a
|
||||||
LIBIBERTY=$(unsubdir)/../libiberty$(subdir)/libiberty.a
|
LIBIBERTY=./../libiberty/libiberty.a
|
||||||
|
|
||||||
ALL_EMULATIONS=ld__lnk960.o ld__sun3.o ld__i386aout.o \
|
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 \
|
ld__m88kbcs.o ld__a29k.o ld__news.o ld__hp300bsd.o ld__h8300hms.o ld__ebmon29k.o \
|
||||||
|
@ -106,7 +110,7 @@ EMULATION_OFILES=${ALL_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 ldctor.o ldmain.o ldindr.o \
|
||||||
ldwarn.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldsym.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 \
|
HEADERS=config.h ldmain.h ldmain.h ldwarn.h ldmisc.h ldindr.h \
|
||||||
ldsym.h ldctor.h ldlang.h ldexp.h \
|
ldsym.h ldctor.h ldlang.h ldexp.h \
|
||||||
|
@ -117,7 +121,7 @@ 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 ldindr.c ldmain.c ldwrite.c ldwarn.c ldlnk960.c \
|
||||||
ld__gld.c ld__sun3.c ld__m88k.c ld__ebmon29k.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 \
|
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_SOURCES=ldgram.c ldlex.c ld__*.c ldemul-list.h
|
||||||
GENERATED_HEADERS=ldgram.h ldemul-list.h
|
GENERATED_HEADERS=ldgram.h ldemul-list.h
|
||||||
|
@ -133,6 +137,7 @@ STAGESTUFF = *.x *.x[runN] *.sc[runN] $(GENERATED_SOURCES) $(GENERATED_HEADERS)
|
||||||
|
|
||||||
all: Makefile $(LD_PROG)
|
all: Makefile $(LD_PROG)
|
||||||
|
|
||||||
|
check:
|
||||||
info: ld.info
|
info: ld.info
|
||||||
|
|
||||||
ldgram.h ldgram.c: ldgram.y
|
ldgram.h ldgram.c: ldgram.y
|
||||||
|
@ -321,7 +326,7 @@ ld-index.me: ld.me
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
mkscript: $(srcdir)/mkscript.c
|
./mkscript: $(srcdir)/mkscript.c
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) -o mkscript $(srcdir)/mkscript.c $(LOADLIBES)
|
$(CC) $(CFLAGS) $(LDFLAGS) -o mkscript $(srcdir)/mkscript.c $(LOADLIBES)
|
||||||
|
|
||||||
ldlex.c: ldlex.l ldgram.h
|
ldlex.c: ldlex.l ldgram.h
|
||||||
|
@ -389,20 +394,27 @@ tags TAGS:$(SOURCES) $(HEADERS)
|
||||||
|
|
||||||
objdump:objdump.c
|
objdump:objdump.c
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install: $(LD_PROG)
|
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
|
install-info: info
|
||||||
for i in ld.info* ; do \
|
for i in ld.info* ; do \
|
||||||
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
|
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
clean-info:
|
||||||
|
-rm -rf *.info*
|
||||||
|
|
||||||
# Something like the following might make sense for install, but doesn't work
|
# 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.
|
# - it is too fragile, depending on a gcc binary int the right place.
|
||||||
# Perhaps using gcc/version.c might work?
|
# Perhaps using gcc/version.c might work?
|
||||||
# # If $(gcclibdir) exists, install ld there, and put a link to it
|
# # If $(gcclibdir) exists, install ld there, and put a link to it
|
||||||
# # from $(bindir); otherwise put ld in $(bindir).
|
# # 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; \
|
# $(INSTALL_PROGRAM) ld.new $(gcclibdir)/ld; \
|
||||||
# cd $(bindir); rm -f ld; ln -s $(gcclibdir)/ld ld; \
|
# cd $(bindir); rm -f ld; ln -s $(gcclibdir)/ld ld; \
|
||||||
# else \
|
# else \
|
||||||
|
|
|
@ -30,27 +30,27 @@ fi
|
||||||
# with rm -rf.
|
# with rm -rf.
|
||||||
|
|
||||||
Things-to-keep:
|
Things-to-keep:
|
||||||
mh-decstation
|
decstation.mh
|
||||||
mh-delta88
|
delta88.mh
|
||||||
mh-dgux
|
dgux.mh
|
||||||
mh-news
|
news.mh
|
||||||
mh-rtbsd
|
rtbsd.mh
|
||||||
mh-sparc
|
sparc.mh
|
||||||
mh-sparc-ll
|
sparc-ll.mh
|
||||||
mh-sun3
|
sun3.mh
|
||||||
mt-coff-a29k
|
coff-a29k.mt
|
||||||
mt-ebmon29k
|
ebmon29k.mt
|
||||||
mt-coff-h8300
|
coff-h8300.mt
|
||||||
mt-i386-aout
|
i386-aout.mt
|
||||||
mt-i386v
|
i386v.mt
|
||||||
mt-m68k
|
m68k.mt
|
||||||
mt-m68kv
|
m68kv.mt
|
||||||
mt-m88k-bcs
|
m88k-bcs.mt
|
||||||
mt-news
|
news.mt
|
||||||
mt-sun3
|
sun3.mt
|
||||||
mt-sun4
|
sun4.mt
|
||||||
mt-vxworks68
|
vxworks68.mt
|
||||||
mt-vxworks960
|
vxworks960.mt
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
echo Done in `pwd`.
|
echo Done in `pwd`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue