Fix SPARC relocations generated for the .eh_frame section.
PR gas/20803 * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in the .eh_frame section.
This commit is contained in:
parent
32ce946fd8
commit
93ca393659
@ -1,3 +1,9 @@
|
||||
2016-11-15 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/20803
|
||||
* config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
|
||||
the .eh_frame section.
|
||||
|
||||
2016-11-13 Anthony Green <green@moxielogic.org>
|
||||
|
||||
* config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
|
||||
|
@ -4957,7 +4957,10 @@ cons_fix_new_sparc (fragS *frag,
|
||||
case 8: r = BFD_RELOC_SPARC_TLS_DTPOFF64; break;
|
||||
}
|
||||
}
|
||||
else if (sparc_no_align_cons)
|
||||
else if (sparc_no_align_cons
|
||||
|| /* PR 20803 - relocs in the .eh_frame section
|
||||
need to support unaligned access. */
|
||||
strcmp (now_seg->name, ".eh_frame") == 0)
|
||||
{
|
||||
switch (nbytes)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user