]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Rework GNATdll shared library relocation support.
authorPascal Obry <obry@adacore.com>
Sat, 19 Oct 2024 14:24:04 +0000 (16:24 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 12 Nov 2024 13:00:47 +0000 (14:00 +0100)
commit29df1a10059575c62372e7992c95500572478fa2
tree267ba292a172ce8136c663f08e703ffe98fe17fa
parent492f9cdf0046ba6d2452f8363d15b4449229b64c
ada: Rework GNATdll shared library relocation support.

The code has been simplified to use a single way to create a DLL.
The relocation support is based on whether the base address for the
DLL is passed to the final linker step or not.

gcc/ada/ChangeLog:

* mdll.adb: Use the same procedure to create relocatable or non
relocatable DLL. The only difference is wether the base address is
passed to the final linker. If no base-address is given the DLL is
relocatable.
gcc/ada/mdll.adb