bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/17615] New: arm64: ld.bfd generates SHN_ABS instead of SHN


From: dimitry at google dot com
Subject: [Bug binutils/17615] New: arm64: ld.bfd generates SHN_ABS instead of SHN_UNDEF
Date: Mon, 17 Nov 2014 23:23:05 +0000

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

            Bug ID: 17615
           Summary: arm64: ld.bfd generates SHN_ABS instead of SHN_UNDEF
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: dimitry at google dot com

when compiling iproute2 'ip' binary for arm64 ld.bfd produces following symbol
in .dynsym section

    11: 0000000000000000     4 OBJECT  GLOBAL DEFAULT  ABS
__iproute2_user_hz_internal

The corresponding relocation is:

0000000000045f78  0000000b00000401 R_AARCH64_GLOB_DAT     0000000000000000
__iproute2_user_hz_internal + 0

when I compile the same code for arm I see symbol:

11: 00000000     0 OBJECT  GLOBAL DEFAULT  UND __iproute2_user_hz_internal

and relocation:

00030fbc  00000b15 R_ARM_GLOB_DAT         00000000  
__iproute2_user_hz_internal

I believe that arm64 build should also produce undefined symbol here.

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