[patch] tc-sh64.c (shmedia_frob_section_type): Another 32/64 check
DJ Delorie
dj@redhat.com
Wed Nov 19 00:04:00 GMT 2003
There are lots of other places that test this, this seems to have been
missed. Ok?
2003-11-18 DJ Delorie <dj@redhat.com>
* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
sections.
Index: config/tc-sh64.c
===================================================================
RCS file: /cvs/uberbaum/./gas/config/tc-sh64.c,v
retrieving revision 1.9
diff -p -2 -r1.9 config/tc-sh64.c
*** config/tc-sh64.c 11 Oct 2003 13:40:21 -0000 1.9
--- config/tc-sh64.c 19 Nov 2003 00:00:14 -0000
*************** shmedia_frob_section_type (asection *sec
*** 428,432 ****
defined for other formats), so we use the target-specific pointer
field of the ELF section data. */
! if (seginfo)
{
struct sh64_section_data *sec_elf_data;
--- 428,432 ----
defined for other formats), so we use the target-specific pointer
field of the ELF section data. */
! if (seginfo && sh64_abi == sh64_abi_32)
{
struct sh64_section_data *sec_elf_data;
More information about the Binutils
mailing list