From: Steve Chamberlain Date: Wed, 13 Nov 1991 02:39:14 +0000 (+0000) Subject: * Makefile.in: Take out the version number for install X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=092df318fa140186f4e80b02248be4dfe949afce;p=binutils-gdb.git * Makefile.in: Take out the version number for install * m88kbcs.sc: put in contructor blocks. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 3251e04fc7e..9f23140f7a6 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/Makefile.in b/ld/Makefile.in index 004ea3d55d3..7bc101194dd 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -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? diff --git a/ld/ldm88k.sc b/ld/ldm88k.sc index cb88b2a9501..cc123c85d2d 100755 --- a/ld/ldm88k.sc +++ b/ld/ldm88k.sc @@ -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 = .; }