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

--- Comment #2 from Di Chen <dichen at redhat dot com> ---
Hey @mjw

```
$ eu-readelf -a qq.o | grep Type
  Type: REL (Relocatable file)

$ eu-readelf -S qq.o | grep REL
[ 2] .rela.text           RELA         0000000000000000 000004b8 00000048 24 I 
   19   1  8
[ 6] .rela.debug_info     RELA         0000000000000000 00000500 000000f0 24 I 
   19   5  8
[ 9] .rela.debug_aranges  RELA         0000000000000000 000005f0 00000030 24 I 
   19   8  8
[11] .rela.debug_line     RELA         0000000000000000 00000620 00000060 24 I 
   19  10  8
[18] .rela.eh_frame       RELA         0000000000000000 00000680 00000030 24 I 
   19  17  8

```


When applying relocation on a relocatable file (the above qq.o) with the new
function
dwelf_relocation_debug_sections (Elf *elf), it only needs to apply relocation
on debug sections (which are 
[ 6] .rela.debug_info, 
[ 9] .rela.debug_aranges,
[11] .rela.debug_line
), am I right?

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

Reply via email to