[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22720] New: ppc64: function symbol is in the initialized d
From: |
malat at debian dot org |
Subject: |
[Bug binutils/22720] New: ppc64: function symbol is in the initialized data section |
Date: |
Wed, 17 Jan 2018 10:29:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22720
Bug ID: 22720
Summary: ppc64: function symbol is in the initialized data
section
Product: binutils
Version: 2.29
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: malat at debian dot org
Target Milestone: ---
The output of nm looks odd for a library compiled using gcc 7.2.0:
>From ppc64 porterbox Debian machine:
ppc64 % nm -B -D ./libknet/.libs/libknet.so.1.0.0 | grep knet_handle_new
000000000003ec40 D knet_handle_new
For comparison:
ppc64 % objdump -T ./libknet/.libs/libknet.so.1.0.0 | grep knet_handle_new
000000000003ec40 g DF .opd 00000000000011b8 LIBKNET knet_handle_new
ppc64 % readelf -a ./libknet/.libs/libknet.so.1.0.0 | grep knet_handle_new
108: 000000000003ec40 4536 FUNC GLOBAL DEFAULT 19
knet_handle_new@@LIBKNET
258: 000000000003ec40 4536 FUNC GLOBAL DEFAULT 19 knet_handle_new
where:
ppc64 % file ./libknet/.libs/libknet.so.1.0.0
./libknet/.libs/libknet.so.1.0.0: ELF 64-bit MSB shared object, 64-bit
PowerPC or cisco 7500, version 1 (SYSV), dynamically linked,
BuildID[sha1]=3110ff3aaddc51783dc9d7046e365a86b4d04907, with
debug_info, not stripped
While from my amd64:
amd64 $ nm -B -D ./libknet/.libs/libknet.so.1.0.0 | grep knet_handle_new
0000000000004d00 T knet_handle_new
function symbol is clearly in the text (code) section.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/22720] New: ppc64: function symbol is in the initialized data section,
malat at debian dot org <=