[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26164] New: powerpc64le: ld requires a nop after a branch to ano
From: |
tuliom at ascii dot art.br |
Subject: |
[Bug ld/26164] New: powerpc64le: ld requires a nop after a branch to another compilation unit |
Date: |
Wed, 24 Jun 2020 13:09:08 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26164
Bug ID: 26164
Summary: powerpc64le: ld requires a nop after a branch to
another compilation unit
Product: binutils
Version: 2.35 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: tuliom at ascii dot art.br
Target Milestone: ---
During the link stage for libc.so, the linker throws the following error when
the code is assembled with -mpower10 or -mfuture.
sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S:163:(.text+0xfc): call
to `__GI_exit' lacks nop, can't restore toc; (toc save/adjust stub)
The affected code is:
160 li r3,-1
161 L(do_exit):
162 #ifdef SHARED
163 b JUMPTARGET(__GI_exit);
164 #else
165 b JUMPTARGET(exit);
166 nop
167 #endif
168 b L(do_exit)
The original code is available here:
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S;hb=HEAD#l163
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26164] New: powerpc64le: ld requires a nop after a branch to another compilation unit,
tuliom at ascii dot art.br <=