* Makefile.in: Take out the version number for install
authorSteve Chamberlain <sac@cygnus>
Wed, 13 Nov 1991 02:39:14 +0000 (02:39 +0000)
committerSteve Chamberlain <sac@cygnus>
Wed, 13 Nov 1991 02:39:14 +0000 (02:39 +0000)
* m88kbcs.sc: put in contructor blocks.

ld/ChangeLog
ld/Makefile.in
ld/ldm88k.sc

index 3251e04..9f23140 100644 (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
index 004ea3d..7bc1011 100644 (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?
index cb88b2a..cc123c8 100755 (executable)
@@ -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  =  .;                    
     }