bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/19019] [SPARC64] Only registers %g[2367] can be declared using


From: sourceware-bugzilla at mkarcher dot dialup.fu-berlin.de
Subject: [Bug gold/19019] [SPARC64] Only registers %g[2367] can be declared using STT_REGISTER when linking against libsystemd
Date: Fri, 02 Oct 2015 21:01:16 +0000

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

--- Comment #10 from Michael Karcher <sourceware-bugzilla at mkarcher dot 
dialup.fu-berlin.de> ---
Created attachment 8676
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8676&action=edit
machine object files created during LTO link

Attached: seemingly correct object files resulting in the broken shared object.

(sid-sparc64-sbuild)address@hidden:~/systemd-226/build-deb$ for x in
libsystemd.so.0.11.0.ltrans*.s.o; do readelf -s $x | grep REGISTER ; done 
    65: 0000000000000002     0 REGISTER GLOBAL DEFAULT  UND 
    66: 0000000000000003     0 REGISTER GLOBAL DEFAULT  UND 
[...]
    27: 0000000000000002     0 REGISTER GLOBAL DEFAULT  UND 
    28: 0000000000000003     0 REGISTER GLOBAL DEFAULT  UND 
(sid-sparc64-sbuild)address@hidden:~/systemd-226/build-deb$ gold -shared
lib*ltrans*s.o -o temp.so
(sid-sparc64-sbuild)address@hidden:~/systemd-226/build-deb$ readelf -s
temp.so  | grep REGISTER
  1379: 0000000000000000     0 REGISTER GLOBAL DEFAULT  UND 
(sid-sparc64-sbuild)address@hidden:~/systemd-226/build-deb$ tar -cvjf
intermediates.tar.bz2 lib*ltrans*.s.o

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