[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/24456] bfd elf.c assertion for multiple relocations to sam
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/24456] bfd elf.c assertion for multiple relocations to same section |
Date: |
Fri, 23 Aug 2019 12:28:50 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24456
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |nickc at redhat dot com
--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Joe,
Sorry for dropping this PR.
I have now checked in a patch which makes the BFD library generate a
more helpful warning message, and then continue processing the rest
of the input file. The downside though, is that this patch does not
enable processing of the extra reloc section - it is just ignored -
but I feel that that is better than just failing outright.
% objdump -D livepatch-annotated-sample.ko > /dev/null
objdump: livepatch-annotated-sample.ko: warning: multiple relocation
sections for section .text found - ignoring all but the first
% echo $?
0
I hope that this will suffice for your purposes.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.