"Alexander N. Kabaev" wrote:
> > This suggests a problem with the runtime-linker (rtld), not binutils.
> Actually, the bug is somewhere in the new binutils code, and I am very
> close to finding where it is exactly. The new liker fails to set
> DT_TEXTREL property in the shared library header even though its relocation
> table contains several entries which refer to the code segment. As a result,
> ld-elf.so.1 fails to enable writes on the text segment when relocating the
> binary and crashes with SIGBUS while processing the very first relocation
> record.

Woohoo!  He shoots, he scores!

> I still need some time in debugger to find a proper way to fix this.

My binutils-foo is rusty.  Personally, I just reverted to
the old binutils and called it a day.  8-).

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
  • ... Vladimir B . Grebenschikov
    • ... Андрей Чернов
      • ... David O'Brien
        • ... Андрей Чернов
        • ... David O'Brien
          • ... Terry Lambert
          • ... Alexander N. Kabaev
            • ... Terry Lambert
            • ... Bjoern Fischer
        • ... Peter Schultz

Reply via email to