[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20360] New: DT_TEXTREL appearing in output with no textrels on x
From: |
bugdal at aerifal dot cx |
Subject: |
[Bug ld/20360] New: DT_TEXTREL appearing in output with no textrels on x86_64 |
Date: |
Tue, 12 Jul 2016 17:44:32 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20360
Bug ID: 20360
Summary: DT_TEXTREL appearing in output with no textrels on
x86_64
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: bugdal at aerifal dot cx
Target Milestone: ---
This is based on a bug report from dotnet CoreCLR:
https://github.com/dotnet/coreclr/issues/6211
What seems to be happening is that bfd ld is producing a DT_TEXTREL header in
the output shared library despite it not having any actual textrels (according
to scanelf and manual reading of readelf output). This results in a library
that is not loadable on hardened kernels (due to rejected mprotect operation),
despite the fact that no relocations in the writable LOAD segment are actually
needed/present.
I have reviewed the readelf outputs but not the actual files and I have not
performed the build myself. I'm asking the dotnet folks to follow up on this
bug report with additional information.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/20360] New: DT_TEXTREL appearing in output with no textrels on x86_64,
bugdal at aerifal dot cx <=
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, hjl.tools at gmail dot com, 2016/07/12
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, danglingpointer at live dot com, 2016/07/12
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, bugdal at aerifal dot cx, 2016/07/12
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, danglingpointer at live dot com, 2016/07/12
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, danglingpointer at live dot com, 2016/07/12
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, bugdal at aerifal dot cx, 2016/07/12
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, hjl.tools at gmail dot com, 2016/07/12
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, danglingpointer at live dot com, 2016/07/12
- [Bug ld/20360] DT_TEXTREL appearing in output with no textrels on x86_64, hjl.tools at gmail dot com, 2016/07/12