bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/30448] ld fails to make a valid DLL when used with gnatdll


From: tkacvins at gmail dot com
Subject: [Bug binutils/30448] ld fails to make a valid DLL when used with gnatdll
Date: Mon, 15 May 2023 12:09:23 +0000

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

--- Comment #2 from Tom Kacvinsky <tkacvins at gmail dot com> ---
Yes, --disable-reloc-section is a viable workaround.  And it can be added to
the gnatdll option -largs (which is the option that allows you to specify
options to the linker).

I would have to check to see if an MSVC DLL has a .reloc section.  If it
doesn't, it could just be the presence of the .reloc section that cause the
problem, or how it is set up to be referenced in the DLL.  If an MSVC DLL has a
.reloc section (I think they call it an .rdata section, but I am not sure),
then it might be a relocation in the .reloc section is wrong.

I have no non-Windows specific way of reproducing the problem.  This is a
Windows only issues as it involves the Windows PE code in binutils.

I'll look into the .reloc section stuff today.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]