|
From: | nickc at redhat dot com |
Subject: | [Bug ld/22929] New: x86_64 linker seg-faults when creating a shared object from an input containg relocations against a note section |
Date: | Tue, 06 Mar 2018 13:35:11 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 Bug ID: 22929 Summary: x86_64 linker seg-faults when creating a shared object from an input containg relocations against a note section Product: binutils Version: 2.31 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: nickc at redhat dot com CC: hjl.tools at gmail dot com Target Milestone: --- Created attachment 10870 --> https://sourceware.org/bugzilla/attachment.cgi?id=10870&action=edit Object file for triggering seg-fault. The x86_64 linker will generate a seg-fault when asked to create a shared library from an input file that contains relocations against non-allocatable sections. For example try linking the attached object file with: ld -shared ifuncmod8.os The problem in this case is that the input file contains relocations against a note section. At a minimum the linker should generate an error message and exit with a failure code, but a better result would be if the linker could resolve the relocations instead. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |