On Mon, 11 Apr 2022 09:43:37 GMT, Andrew Leonard <aleon...@openjdk.org> wrote:
> This PR removes the need for relative object file linking introduced by > JDK-8284437 for linux libraries, by specifying > .file <relative source path> directives in the linux .S source files. The > source files specify a .file ASSEMBLY_SRC_FILE > where ASSEMBLY_SRC_FILE is defined by the NativeCompliation.gmk. > > Signed-off-by: Andrew Leonard <anleo...@redhat.com> dwarf debuginfo output for the assembly entries now looks good: < 0><0x0000000b> DW_TAG_compile_unit DW_AT_stmt_list 0x0022146d DW_AT_low_pc 0x004707c0 DW_AT_high_pc 0x00470a40 DW_AT_name src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.S DW_AT_comp_dir make/hotspot DW_AT_producer GNU AS 2.27 DW_AT_language DW_LANG_Mips_Assembler ------------- PR: https://git.openjdk.java.net/jdk/pull/8177