* 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:
parent
0cb42d6f8e
commit
0128cbae50
3 changed files with 21 additions and 7 deletions
11
ld/ChangeLog
11
ld/ChangeLog
|
@ -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
|
||||
|
|
|
@ -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)"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue