bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26020] New: The .rel.dyn is None In Binutils2.34


From: chengcongxiu at huawei dot com
Subject: [Bug ld/26020] New: The .rel.dyn is None In Binutils2.34
Date: Thu, 21 May 2020 07:46:40 +0000

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

            Bug ID: 26020
           Summary: The .rel.dyn is None In Binutils2.34
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: chengcongxiu at huawei dot com
  Target Milestone: ---

main.c:

extern __thread int tls;
int main() {
    return tls;
}

lib.c:

__thread int tls;

In Binutils2.32:
./2.32/arm32le/bin/arm-linux-gnueabi-gcc -nostdlib lib.c main.c -fPIE -pie -o
main.2.32
readelf -r main.2.32

Relocation section '.rel.dyn' at offset 0x1ac contains 1 entry:
 Offset     Info    Type            Sym.Value  Sym. Name
0000900c  00000013 R_ARM_TLS_TPOFF32

In Binutils2.34:
./2.34/arm32le/bin/arm-linux-gnueabi-gcc -nostdlib lib.c main.c -fPIE -pie -o
main.2.34
readelf -r main.2.34
Relocation section '.rel.dyn' at offset 0x1ac contains 1 entry:
 Offset     Info    Type            Sym.Value  Sym. Name
00000000  00000000 R_ARM_NONE

In Binutils2.34 the rel.dyn is R_ARM_NONE,anyone know?

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