Commit ad73370f authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

nativeGen/dwarf: Use DW_AT_linkage instead of DW_AT_MIPS_linkage

parent 1e19183d
......@@ -48,7 +48,7 @@ dW_TAG_ghc_src_note = 0x5b00
-- * Dwarf attributes
dW_AT_name, dW_AT_stmt_list, dW_AT_low_pc, dW_AT_high_pc, dW_AT_language,
dW_AT_comp_dir, dW_AT_producer, dW_AT_external, dW_AT_frame_base,
dW_AT_use_UTF8, dW_AT_MIPS_linkage_name :: Word
dW_AT_use_UTF8, dW_AT_linkage_name :: Word
dW_AT_name = 0x03
dW_AT_stmt_list = 0x10
dW_AT_low_pc = 0x11
......@@ -59,7 +59,7 @@ dW_AT_producer = 0x25
dW_AT_external = 0x3f
dW_AT_frame_base = 0x40
dW_AT_use_UTF8 = 0x53
dW_AT_MIPS_linkage_name = 0x2007
dW_AT_linkage_name = 0x6e
-- * Custom DWARF attributes
-- Chosen a more or less random section of the vendor-extensible region
......
......@@ -105,7 +105,7 @@ pprAbbrevDecls platform haveDebugLine =
-- DwAbbrSubprogramWithParent
subprogramAttrs =
[ (dW_AT_name, dW_FORM_string)
, (dW_AT_MIPS_linkage_name, dW_FORM_string)
, (dW_AT_linkage_name, dW_FORM_string)
, (dW_AT_external, dW_FORM_flag)
, (dW_AT_low_pc, dW_FORM_addr)
, (dW_AT_high_pc, dW_FORM_addr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment