* Makefile.in: Take out the version number for install

* m88kbcs.sc: put in contructor blocks.
This commit is contained in:
Steve Chamberlain 1991-11-13 02:39:14 +00:00
parent 68a2b608ed
commit 092df318fa
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
* Makefile.in: Take out the version number for install
* m88kbcs.sc: put in contructor blocks.
Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
* ldmisc.c, ldmisc.h: Re-write info() to take a filename

View File

@ -25,9 +25,10 @@ srcdir = .
ddestdir = /usr/local
version=`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
#version=/`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
version=
bindir = $(ddestdir)/bin
gcclibdir = $(ddestdir)/lib/gcc/$(target_alias)/$(version)
gcclibdir = $(ddestdir)/lib/gcc/$(target_alias)$(version)
# Seach 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.
@ -395,6 +396,7 @@ objdump:objdump.c
install: $(LD_PROG)
$(INSTALL_PROGRAM) ld.new $(ddestdir)/bin/ld
$(INSTALL_PROGRAM) ld.new $(gcclibdir)/ld
# 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?

View File

@ -30,7 +30,12 @@ SECTIONS
.data SIZEOF(.text) + ADDR(.text) + 0x400000:
{
*(.data)
CONSTRUCTORS;
__CTOR_LIST__ = .;
*(CTOR)
LONG(0);
__DTOR_LIST__ = . ;
*(DTOR)
LONG(0);
*(.comment)
_edata = .;
}