* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
authorDJ Delorie <dj@redhat.com>
Thu, 20 Nov 2003 20:08:20 +0000 (20:08 +0000)
committerDJ Delorie <dj@redhat.com>
Thu, 20 Nov 2003 20:08:20 +0000 (20:08 +0000)
sections.

gas/ChangeLog
gas/config/tc-sh64.c

index 58e3efc..e449e43 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-20  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-sh64.c (shmedia_frob_section): Only frob elf32
+       sections.
+
 2003-11-19  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/tc-h8300.c: Make some functions and global
index 4ccbe1d..7c401b9 100644 (file)
@@ -427,7 +427,7 @@ shmedia_frob_section_type (asection *sec)
      target-specific semantics.  This target is ELF only (semantics not
      defined for other formats), so we use the target-specific pointer
      field of the ELF section data.  */
-  if (seginfo)
+  if (seginfo && sh64_abi == sh64_abi_32)
     {
       struct sh64_section_data *sec_elf_data;
       flagword sec_type = 0;