*BSD News Article 74252


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!sgigate.sgi.com!nntp.coast.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: GNU assembler
Date: 20 Jul 1996 04:04:00 +0100
Organization: Coverform Ltd.
Lines: 17
Message-ID: <4spib0$23u@anorak.coverform.lan>
References: <31ED89D2.41C6@raleigh.ibm.com> <4sl7ik$53o@uriah.heep.sax.de>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

J Wunsch (j@uriah.heep.sax.de) wrote:

[demo deleted]

: (I think the -e entry is not strictly necessary if your program cares
: to jump into its entry point.  Mine doesn't, without the -e entry, the
: "Hello world!\n" would have been executed as program code.)

The ld man page:
CAVEATS
     An entry point must now explicitly be given if the output is intended to
     be a normal executable program. This was not the case for the previous
     version of ld.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....