* 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 3251e04fc7ece0b48731b36fb77e95e6670be80e..9f23140f7a664a20a75c6bbef963ac10ea8aad62 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 004ea3d55d3ecf6f93b54bac43b981b10fd2085a..7bc101194ddbc2e8e6efcc3094cd8d00d9fcc598 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 cb88b2a95012888e1bbefc174473170637cf59b8..cc123c85d2db77e23f3d4e7eb65d4072d3b1508b 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  =  .;                    
     }