From ef86818669496091999feb4c25d60ed00dd99e0a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 4 May 1993 19:39:33 +0000 Subject: [PATCH] * mips.sc-sh: Put constructors in the .data section. * Makefile.in (cdtest): Added dependency on ld.new. --- ld/ChangeLog | 5 +++++ ld/Makefile.in | 2 +- ld/mips.sc-sh | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index e3a8b4669bf..43aa842ed32 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 02823aa0e62..f390b246918 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 afb3216d795..3ce7bd2ab05 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+ .} : { -- 2.30.2