]> gcc.gnu.org Git - gcc.git/commit
[Ada] Add support for PE-COFF PIE to System.Dwarf_Line
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 24 Jun 2021 10:19:36 +0000 (12:19 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 30 Sep 2021 11:47:21 +0000 (13:47 +0200)
commit632dde0c5ed81e7b9e41ff2ddcf90dc0a87faa49
tree3c7295f3fefadc2e11ad8d1ffae930e7d9596f4e
parentd039346359fb429c19c98ef768eba33651adc1d8
[Ada] Add support for PE-COFF PIE to System.Dwarf_Line

gcc/ada/

* adaint.c (__gnat_get_executable_load_address): Add Win32 support.
* libgnat/s-objrea.ads (Get_Xcode_Bounds): Fix typo in comment.
(Object_File): Minor reformatting.
(ELF_Object_File): Uncomment predicate.
(PECOFF_Object_File): Likewise.
(XCOFF32_Object_File): Likewise.
* libgnat/s-objrea.adb: Minor reformatting throughout.
(Get_Load_Address): Implement for PE-COFF.
* libgnat/s-dwalin.ads: Remove clause for System.Storage_Elements
and use consistent wording in comments.
(Dwarf_Context): Set type of Low, High and Load_Address to Address.
* libgnat/s-dwalin.adb (Get_Load_Displacement): New function.
(Is_Inside): Call Get_Load_Displacement.
(Low_Address): Likewise.
(Open): Adjust to type change.
(Aranges_Lookup): Change type of Addr to Address.
(Read_Aranges_Entry): Likewise for Start and adjust.
(Enable_Cach): Adjust to type change.
(Symbolic_Address): Change type of Addr to Address.
(Symbolic_Traceback): Call Get_Load_Displacement.
gcc/ada/adaint.c
gcc/ada/libgnat/s-dwalin.adb
gcc/ada/libgnat/s-dwalin.ads
gcc/ada/libgnat/s-objrea.adb
gcc/ada/libgnat/s-objrea.ads
This page took 0.064738 seconds and 6 git commands to generate.