about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-07-28 09:21:14 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-07-28 09:21:14 -0300
commitd95fcb2df478efbf4f8537ba898374043ac4561f (patch)
tree709f7967ffda4ca9ae7b9f1296f8f10dce183052 /ChangeLog
parent0aab054a92d5b49723ba5343bc1bc2475a289c95 (diff)
downloadglibc-d95fcb2df478efbf4f8537ba898374043ac4561f.tar.gz
glibc-d95fcb2df478efbf4f8537ba898374043ac4561f.tar.xz
glibc-d95fcb2df478efbf4f8537ba898374043ac4561f.zip
microblaze: Resolve non-relocatable branch in pt-vfork.S (BZ#21779)
The relative branch directly to __libc_vfork results in an relocation
that cannot be resolved. Specifically a R_MICROBLAZE_64_PCREL relocation
is created for this branch, however for MicroBlaze R_MICROBLAZE_64_PCREL
type relocations symbols are not resolved. Additionally due to the
branch being located in the .text section the instruction cannot be
rewritten as the section is not writable, and causes a segfault at
runtime when loading libpthread.

To resolve this issue, ensure the branch is done using PLT. This removes
the need to modify the instruction and trades the R_MICROBLAZE_64_PCREL
for a more common R_MICROBLAZE_JUMP via the PLT.

	[BZ #21779]
	* sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b76a6dde8..4cec993f99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-07-23  Nathan Rossi  <nathan@nathanrossi.com>
 
+	[BZ #21779]
+	* sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
+
 	* sysdeps/microblaze/libm-test-ulps: Update.
 
 2017-07-28  Chung-Lin Tang  <cltang@codesourcery.com>