* Makefile.in (check): Add missing "else true" clause.
authorKen Raeburn <raeburn@cygnus>
Fri, 4 Nov 1994 00:39:49 +0000 (00:39 +0000)
committerKen Raeburn <raeburn@cygnus>
Fri, 4 Nov 1994 00:39:49 +0000 (00:39 +0000)
* 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.

ld/ChangeLog
ld/Makefile.in
ld/scripttempl/go32coff.sc

index fe7ccfd..3402792 100644 (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>
 
        * ldctor.c (ldctor_add_set_entry): Don't permit a set to be
index 57ac88a..29d9eac 100644 (file)
@@ -509,7 +509,8 @@ check: site.exp
        EXPECT=${EXPECT} ; export EXPECT ; \
        if [ -f $$r/../expect/expect ] ; then  \
           TCL_LIBRARY=$${srcroot}/../tcl/library ; \
-          export TCL_LIBRARY ; fi ; \
+          export TCL_LIBRARY ; \
+       else true ; fi ; \
        $(RUNTEST) --tool ld --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
          CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
          CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)"
index 8ea702d..40f6076 100644 (file)
@@ -1,7 +1,7 @@
 # Linker script for 386 go32
 # DJ Delorie (dj@ctron.com)
 
-test -z "$ENTRY" && ENTRY=_start
+test -z "$ENTRY" && ENTRY=start
 cat <<EOF
 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
 ${LIB_SEARCH_DIRS}
@@ -10,22 +10,24 @@ ENTRY(${ENTRY})
 
 SECTIONS
 {
-  .text ${RELOCATING+ SIZEOF_HEADERS} : {
+  .text ${RELOCATING+ 0x1000+SIZEOF_HEADERS} : {
     *(.text)
-    ${RELOCATING+ etext  =  .};
+    ${RELOCATING+ etext  =  . ; _etext = .};
+    ${RELOCATING+ . = ALIGN(0x200);}
   }
   .data ${RELOCATING+ ${DATA_ALIGNMENT}} : {
     ${RELOCATING+ *(.ctor)}
     ${RELOCATING+ *(.dtor)}
     *(.data)
-    ${RELOCATING+ edata  =  .};
-    ${RELOCATING+. = ALIGN(${PAGE_SIZE});}
+    ${RELOCATING+ edata  =  . ; _edata = .};
+    ${RELOCATING+ . = ALIGN(0x200);}
   }
   .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
   {                                    
     *(.bss)
     *(COMMON)
-    ${RELOCATING+ end = .};
+    ${RELOCATING+ end = . ; _end = .};
+    ${RELOCATING+ . = ALIGN(0x200);}
   }
 }
 EOF