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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"ld -r" is broken with      |"ld -r" doesn't remove the
                   |.sframe sections            |sframe relocation against
                   |                            |the discarded section.

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #9)
> hjl@gnu-tgl-3 tmp]$
> /export/build/gnu/tools-build/binutils/build-x86_64-linux/binutils/readelf
> -rW eh-group.o
> 
> Relocation section '.rela.eh_frame' at offset 0x2f8 contains 1 entry:
>     Offset             Info             Type               Symbol's Value 
> Symbol's Name + Addend
> 0000000000000020  0000000400000002 R_X86_64_PC32          0000000000000000
> sect + 0

.rela.eh_frame is handled properly.

> Relocation section '.rela.sframe' at offset 0x310 contains 2 entries:
>     Offset             Info             Type               Symbol's Value 
> Symbol's Name + Addend
> 000000000000001c  0000000400000002 R_X86_64_PC32          0000000000000000
> sect + 0
> 0000000000000038  0000000000000000 R_X86_64_NONE                            
> 0
>                                    ^^^^^^^^^ This one shouldn't be here.
> [hjl@gnu-tgl-3 tmp]$

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

Reply via email to