DT_TEXTREL

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed May 16 07:49:00 GMT 2001


> 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



More information about the Binutils mailing list