* Makefile.in (check): Add missing "else true" clause.

* emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out".

* scripttempl/go32coff.sc: Changes from DJ Delorie: Change default entry point
to "start".  Align at end of each section to 0x200.  Start .text section 0x1000
later.  Add _etext, _edata, _end symbols.
This commit is contained in:
Ken Raeburn
1994-11-04 00:39:49 +00:00
parent 0cb42d6f8e
commit 0128cbae50
3 changed files with 21 additions and 7 deletions

View File

@ -1,3 +1,14 @@
Thu Nov 3 19:35:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (check): Add missing "else true" clause.
* emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out".
* scripttempl/go32coff.sc: Changes from DJ Delorie: Change default
entry point to "start". Align at end of each section to 0x200.
Start .text section 0x1000 later. Add _etext, _edata, _end
symbols.
Wed Nov 2 12:17:49 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> Wed Nov 2 12:17:49 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* ldctor.c (ldctor_add_set_entry): Don't permit a set to be * ldctor.c (ldctor_add_set_entry): Don't permit a set to be

View File

@ -509,7 +509,8 @@ check: site.exp
EXPECT=${EXPECT} ; export EXPECT ; \ EXPECT=${EXPECT} ; export EXPECT ; \
if [ -f $$r/../expect/expect ] ; then \ if [ -f $$r/../expect/expect ] ; then \
TCL_LIBRARY=$${srcroot}/../tcl/library ; \ TCL_LIBRARY=$${srcroot}/../tcl/library ; \
export TCL_LIBRARY ; fi ; \ export TCL_LIBRARY ; \
else true ; fi ; \
$(RUNTEST) --tool ld --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \ $(RUNTEST) --tool ld --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \ CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)"

View File

@ -1,7 +1,7 @@
# Linker script for 386 go32 # Linker script for 386 go32
# DJ Delorie (dj@ctron.com) # DJ Delorie (dj@ctron.com)
test -z "$ENTRY" && ENTRY=_start test -z "$ENTRY" && ENTRY=start
cat <<EOF cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}") OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS} ${LIB_SEARCH_DIRS}
@ -10,22 +10,24 @@ ENTRY(${ENTRY})
SECTIONS SECTIONS
{ {
.text ${RELOCATING+ SIZEOF_HEADERS} : { .text ${RELOCATING+ 0x1000+SIZEOF_HEADERS} : {
*(.text) *(.text)
${RELOCATING+ etext = .}; ${RELOCATING+ etext = . ; _etext = .};
${RELOCATING+ . = ALIGN(0x200);}
} }
.data ${RELOCATING+ ${DATA_ALIGNMENT}} : { .data ${RELOCATING+ ${DATA_ALIGNMENT}} : {
${RELOCATING+ *(.ctor)} ${RELOCATING+ *(.ctor)}
${RELOCATING+ *(.dtor)} ${RELOCATING+ *(.dtor)}
*(.data) *(.data)
${RELOCATING+ edata = .}; ${RELOCATING+ edata = . ; _edata = .};
${RELOCATING+. = ALIGN(${PAGE_SIZE});} ${RELOCATING+ . = ALIGN(0x200);}
} }
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} : .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
{ {
*(.bss) *(.bss)
*(COMMON) *(COMMON)
${RELOCATING+ end = .}; ${RELOCATING+ end = . ; _end = .};
${RELOCATING+ . = ALIGN(0x200);}
} }
} }
EOF EOF