Mail Archives: djgpp/1992/07/27/06:04:07
> From: Alvin Starr <alvin AT eyepoint DOT on DOT ca>
> Date: Thu, 23 Jul 1992 17:54:08 -0400
> X-Mailer: ELM [version 2.3 PL11]
> > You can find the latest versions of the binutils at
> > cygnus.com:/pub
> > alpha.gnu.ai.mit.edu (128.52.46.26)
> >
> > Regards,
> > Rami El Charif
>
> The following is an linkage control file that I have been using
> OUTPUT_FORMAT("a.out-i386")
> OUTPUT_ARCH(i386)
> ENTRY(start)
> SEARCH_DIR(../lib/sunlib)
> SECTIONS
> {
> .text 0x1020 :
> {
> CREATE_OBJECT_SYMBOLS
> *(.text)
> _etext = ALIGN(0x1000);
> }
> .data ALIGN(0x400000) :
> {
> *(.data)
> CONSTRUCTORS
> _edata = .;
> }
> .bss SIZEOF(.data) + ADDR(.data) :
> {
> *(.bss)
> [COMMON]
> _end = .;
> }
> }
> this seems to work but the size of the text segment is 0x20 bytes
> larger than what is genrated by the loader under dos. To get around
> this problem I have pached go32, but this is not the result that
> I want in the long run.
I got binutils-920602.tar.Z at cygnus.com, and found a linkage control
file called `go32.sh'. Its format is more abstract than a.out-i386
above. However, this file does not seem to produce correct a.out file
for go32 --- text does not start at 0x20. Is this a bug?
---
YOSHIDA Hideki
Information Systems Lab.
Toshiba R&D Center
hideki AT isl DOT rdc DOT toshiba DOT co DOT jp
- Raw text -