https://sourceware.org/bugzilla/show_bug.cgi?id=30448

--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Tom Kacvinsky from comment #5)
Hi Tom,

> So yeah, definite difference between 2.35 and 2.36 with relocation handling.

I suspect that this is all because of this PR:

  https://sourceware.org/bugzilla/show_bug.cgi?id=19011

Which changed some of the defaults for building PE binaries so that they were
more secure.

I guess that the real question is "does anything actually need to be fixed in
the linker ?"  I am assuming that the new, more secure, default settings are
correct for most situations, and that now that you know about using
--disable-reloc-section your builds with gnatdll will start working again.

Possibly some more documentation is warranted ?  Maybe the description of the
--disable-reloc-section in the linker manual should include a paragraph about
using it if building DLLs no longer works ?

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to