[llvm-bugs] [Bug 50473] New: [ARM] RELA relocations not resolved correctly for 32-bit little endian ARM
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 25 17:28:36 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50473
Bug ID: 50473
Summary: [ARM] RELA relocations not resolved correctly for
32-bit little endian ARM
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Object
Assignee: unassignedbugs at nondot.org
Reporter: Wolfgang_Pieb at playstation.sony.com
CC: llvm-bugs at lists.llvm.org
Created attachment 24888
--> https://bugs.llvm.org/attachment.cgi?id=24888&action=edit
Object file with stub .debug_info etc.
The object file produced by the attached yaml file (with yaml2obj) subsequently
is not processed correctly by llvm-dwarfdump because of RELA relocations not
being resolved correctly:
> yaml2obj obj.yaml > x.o
> llvm-dwarfdump -i x.o
x.o: file format elf32-littlearm
.debug_info contents:
0x00000000: Compile Unit: length = 0x00000025, format = DWARF32, version =
0x0002, abbr_offset = 0x0000, addr_size = 0x04 (next unit at 0x00000029)
0x0000000b: DW_TAG_compile_unit
DW_AT_name ("wrong")
DW_AT_comp_dir ("wrong")
DW_AT_producer ("wrong")
DW_AT_language (DW_LANG_C_plus_plus)
DW_AT_stmt_list (0x00000000)
DW_AT_low_pc (0x00000000)
DW_AT_high_pc (0x00000000)
0x00000025: NULL
We expect the string "correct" to be displayed for first 3 attributes.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210526/e004aa66/attachment.html>
More information about the llvm-bugs
mailing list