bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/30137] LD --dynamicbase does not generate relocation info


From: ebotcazou at gcc dot gnu.org
Subject: [Bug ld/30137] LD --dynamicbase does not generate relocation info
Date: Sun, 19 Feb 2023 17:34:14 +0000

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-02-19
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING
                 CC|                            |ebotcazou at gcc dot gnu.org

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
--dynamicbase is the default (as well as --enable-reloc-section) and the linker
generates the .reloc section for PE executables, for example with:

.globl  i
.bss
.align 4
i:
.space 4
.globl  ptr
.data
.align 8
ptr:
.quad   i

added to the end of to test-dynamicbase.S:

Entry 5 0000000000006000 0000000c Base Relocation Directory [.reloc]
PE File Base Relocations (interpreted .reloc section contents)
        reloc    0 offset    0 [2000] DIR64
        reloc    1 offset    0 [2000] ABSOLUTE

-- 
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]