aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-05-04 19:39:33 +0000
committerIan Lance Taylor <ian@airs.com>1993-05-04 19:39:33 +0000
commitef86818669496091999feb4c25d60ed00dd99e0a (patch)
tree9c8b46114a9e8069b2ce182b3a9ab938dd5b59a5
parent5b8462fa63bd91e37f5553bac5172976c5d7d26a (diff)
downloadgdb-ef86818669496091999feb4c25d60ed00dd99e0a.zip
gdb-ef86818669496091999feb4c25d60ed00dd99e0a.tar.gz
gdb-ef86818669496091999feb4c25d60ed00dd99e0a.tar.bz2
* mips.sc-sh: Put constructors in the .data section.
* Makefile.in (cdtest): Added dependency on ld.new.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/Makefile.in2
-rw-r--r--ld/mips.sc-sh1
3 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e3a8b46..43aa842 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 4 12:37:35 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * mips.sc-sh: Put constructors in the .data section.
+ * Makefile.in (cdtest): Added dependency on ld.new.
+
Mon May 3 19:43:39 1993 Per Bothner (bothner@cygnus.com)
* Makefile.in: Change definition of $(tooldir) to match FSF.
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 02823aa..f390b24 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -310,7 +310,7 @@ ld3: ld2
bootstrap: ld3
cmp ld2 ld3
-cdtest: cdtest-main.o cdtest-func.o cdtest-foo.o
+cdtest: cdtest-main.o cdtest-func.o cdtest-foo.o ld.new
$(HOSTING_EMU); ./ld.new -o cdtest $(HOSTING_CRT0) \
cdtest-main.o cdtest-func.o cdtest-foo.o $(HOSTING_LIBS)
diff --git a/ld/mips.sc-sh b/ld/mips.sc-sh
index afb3216..3ce7bd2 100644
--- a/ld/mips.sc-sh
+++ b/ld/mips.sc-sh
@@ -26,6 +26,7 @@ SECTIONS
}
.data ${RELOCATING+ .} : {
*(.data)
+ ${CONSTRUCTING+CONSTRUCTORS}
}
${RELOCATING+ _gp = . + 0x8000;}
.lit8 ${RELOCATING+ .} : {