Alexander N. Kabaev wrote:
>> Interesting. Is the DF_TEXTREL flag set in DT_FLAGS instead? Is the
>> library linked w/ -enable-new-dtags? Are the new dtags enabled by
>> default in the new binutils? Someting in elf32.em?
> 
> No. DT_FLAGS entry is not created regardless of whether the 
> --enable-new-dtags parameter has been passed to the linker. Ld simply
> ignores dynamic relocation entries for local symbols while checking
> whether either DT_FLAGS or DT_TEXTREL should be created. Attached patch  
> appears to fix the problem for me and has not caused any problems on my 
> test box so far but I am not making any claims about its correctness. 
> Use on your own risk.
> 
It's got to be at least partially correct because this patch does indeed 
  work.  I've been punishing my machine and it's doing great!

Thank you, Alexander, and all.

Pete...

>> Are the new dtags enabled by default in the new binutils?
> 
> No, it seems like the new dtags are disabled by default.
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to