Skip to contentSkip to conversation

_end symbol in parisc linux?

parisc-linux Donald Scobbie 1 participant 1 message Nov 2, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines

Anybody know how to get PA-Linux to have an _end symbol like most other programs, including Intel Linux?

-Paul Bame

Define the symbol as:

extern void *_end;

and the linker will sort it out for you. See the HP-UX man page for 'end'.
I think everyone is linking with the HP-UX ld, but it works for gcc ld too.

Cheers

Donald

-------------------------------------------------------
Donald Scobbie

Hewlett Packard Ltd.        email:  [email protected]
Telecom Systems Division    Phone:  +44 131 331 6149