diff options
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/Makefile.in | 6 | ||||
-rwxr-xr-x | ld/ldm88k.sc | 7 |
3 files changed, 15 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 3251e04..9f23140 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 004ea3d..7bc1011 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 cb88b2a..cc123c8 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 = .; } |