This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: More Solaris 2 ABI fixes: emit local _START_, _END_
- From: Richard Henderson <rth at redhat dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: binutils at sourceware dot org
- Date: Mon, 27 Sep 2010 10:23:58 -0700
- Subject: Re: More Solaris 2 ABI fixes: emit local _START_, _END_
- References: <yddlj6n863a.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On 09/27/2010 10:11 AM, Rainer Orth wrote:
> TEXT_START_SYMBOLS='_START_ = .;'
> OTHER_END_SYMBOLS='_END_ = .;'
Create global symbols like this code does, but ...
> My next attempt was to achieve this directly in ld/emultempl/solaris2.em
> with C code: I tried all of gld${EMULATION_NAME}_before_allocation,
> _after_allocation, and _finish with a snippet like this
... do it here, then mark them STV_HIDDEN.
r~