This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] tc-sh64.c (shmedia_frob_section_type): Another 32/64 check
- From: DJ Delorie <dj at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 18 Nov 2003 19:03:58 -0500
- Subject: [patch] tc-sh64.c (shmedia_frob_section_type): Another 32/64 check
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;