bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27590] `.gnu.debuglto_.debug_macro' referenced in section `.gnu.


From: hjl.tools at gmail dot com
Subject: [Bug ld/27590] `.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of X defined in discarded section
Date: Wed, 17 Mar 2021 13:13:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27590

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-cfl-2 pr27590]$ readelf -rW x.o.debug.temp.o

Relocation section '.rela.gnu.debuglto_.debug_info' at offset 0x4b0 contains 5
entries:
    Offset             Info             Type               Symbol's Value 
Symbol's Name + Addend
0000000000000006  000000020000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_abbrev + 0
000000000000000c  000000050000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_str + 35
0000000000000015  000000050000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_str + e
0000000000000019  000000040000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_line + 0
000000000000001d  000000030000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_macro + 0

Relocation section '.rela.gnu.debuglto_.debug_macro' at offset 0x550 contains 2
entries:
    Offset             Info             Type               Symbol's Value 
Symbol's Name + Addend
0000000000000003  000000040000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_line + 0
000000000000000e  000000060000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_macro + 0

Relocation section '.rela.gnu.debuglto_.debug_macro' at offset 0x590 contains 2
entries:
    Offset             Info             Type               Symbol's Value 
Symbol's Name + Addend
0000000000000005  000000050000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_str + 0
000000000000000b  000000050000000a R_X86_64_32            0000000000000000
.gnu.debuglto_.debug_str + 91
[hjl@gnu-cfl-2 pr27590]$ 

COMDAT group section [    1] `.group'
[wm4.wordsize.h.1.b68ef8235bd466c01307f942f7f51e04] contains 2 sections:
   [Index]    Name
   [    7]   .gnu.debuglto_.debug_macro
   [    8]   .rela.gnu.debuglto_.debug_macro
[hjl@gnu-cfl-2 pr27590]$ 

There are 2 relocation sections for .gnu.debuglto_.debug_macro, but only one
of them is in COMDAT group.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]