* mips.sc-sh: Put constructors in the .data section.

* Makefile.in (cdtest): Added dependency on ld.new.
This commit is contained in:
Ian Lance Taylor 1993-05-04 19:39:33 +00:00
parent 5b8462fa63
commit ef86818669
3 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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)

View File

@ -26,6 +26,7 @@ SECTIONS
}
.data ${RELOCATING+ .} : {
*(.data)
${CONSTRUCTING+CONSTRUCTORS}
}
${RELOCATING+ _gp = . + 0x8000;}
.lit8 ${RELOCATING+ .} : {