[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/20803] Sparc R_SPARC_32 reloc with miss-align offset.
From: |
nickc at redhat dot com |
Subject: |
[Bug gas/20803] Sparc R_SPARC_32 reloc with miss-align offset. |
Date: |
Fri, 11 Nov 2016 14:04:19 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20803
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 9623
--> https://sourceware.org/bugzilla/attachment.cgi?id=9623&action=edit
Proposed patch
Hi Chris,
Please could you try out this patch and let me know if it is enough to solve
the problem.
I am not sure if this approach is the correct way to fix the issue, but it
does seem to be the simplest. As far as I can tell, the relocs in the
.eh_frame section can eb unaligned, so using R_SPARC_UA32 seems to be the
correct thing to do. I did look to see if I could enable sparc_no_align_cons
when fixing the output for the .eh_frame section, but I could not find an easy
way to do this. Hence I went for a hack based on the section name. Not very
subtle, but if it works then that is enough for now.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.