Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Cary Coutant <cary@cup.hp.com>
To: "Jeff Law" <law@cygnus.com>,
	"Philipp Rumpf" <prumpf@mathe.stud.uni-erlangen.de>
Cc: "Paul Bame" <bame@debian.fc.hp.com>, <parisc-linux@thepuffingroup.com>
Subject: Re: [parisc-linux] _end symbol in parisc linux?
Date: Mon, 8 Nov 1999 11:18:01 -0800	[thread overview]
Message-ID: <199911081915.LAA28813@adlmail.cup.hp.com> (raw)

>  > > Anybody know how to get PA-Linux to have an _end symbol like
>  > > most other programs, including Intel Linux?
>  > 
>  > AFAIK we would need to have linker scripts to do so, which seems to be 
>impo
>  > ssible
>  > with the HP/UX ld.  So this is on the "things that will get nicer when 
>we h
>  > ave
>  > GNU binutils again" list.
>Actually, you can with SOM with clever use of the sort_key attribute within
>a subspace.  Create a new subspace with a larger than normal sort key.  
>Within
>that space create a single symbol "_end".

Donald Scobbie already answered the question:

>Define the symbol as:
>
>extern void *_end;
>
>and the linker will sort it out for you. See the HP-UX man page for
>'end'.

The HP-UX SOM linker will create the symbols _etext, _edata, and _end if 
they are referenced; it won't create them if they're not referenced.

-cary

             reply	other threads:[~1999-11-08 19:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-08 19:18 Cary Coutant [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-11-02 19:13 [parisc-linux] _end symbol in parisc linux? Donald Scobbie
1999-11-02  0:39 Paul Bame
1999-11-06 18:26 ` Philipp Rumpf
1999-11-06 20:08   ` Jeffrey A Law
1999-11-11 15:36     ` Paul Bame
1999-11-11 15:51       ` Jeffrey A Law
1999-11-11 16:14         ` Paul Bame
1999-11-11 17:32           ` Jeffrey A Law
1999-11-11 16:46       ` John David Anglin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199911081915.LAA28813@adlmail.cup.hp.com \
    --to=cary@cup.hp.com \
    --cc=bame@debian.fc.hp.com \
    --cc=law@cygnus.com \
    --cc=parisc-linux@thepuffingroup.com \
    --cc=prumpf@mathe.stud.uni-erlangen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox