This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: DT_TEXTREL
- To: amodra at one dot net dot au
- Subject: Re: DT_TEXTREL
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Wed, 16 May 2001 16:49:22 +0200
- CC: binutils at sources dot redhat dot com
> From: amodra@one.net.au
> Date: Wed, 16 May 2001 21:46:33 +0930
> Here's one way to fix the problem. If no one can think of anything
> better, I'll commit it tomorrow.
One alternative is that you could avoid setting SEC_READONLY at
all in wild_doit, and instead iterate over sections in
ldlang.c:lang_check while iterating over inputs and set it
there; it's called at a later point. Not tested, though; one
caveat is that the SEC_READONLY flag might be used before
lang_check is called. Heh, lang_check is my hammer and every
bug looks like a nail. :-)
> Index: bfd/section.c
> +. {* Anpther mark flag used by some of the linker backends. Set for
^ p and o sit just too close.
brgds, H-P